add sample messages
This commit is contained in:
14
data/sample_messages/downtime.json
Normal file
14
data/sample_messages/downtime.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Downtime detected for service https://example.com",
|
||||
"message": "More than 1 minute of downtime detected",
|
||||
"actions": [
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Open Dashboard",
|
||||
"url": "https://example.com"
|
||||
}
|
||||
],
|
||||
"priority": 5,
|
||||
"tags": ["arrow_down_small"]
|
||||
}
|
||||
23
data/sample_messages/front_door_friendly.json
Normal file
23
data/sample_messages/front_door_friendly.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Your friend has arrived!",
|
||||
"message": "A familiar person has been recognized waiting on your front door",
|
||||
"actions": [
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Video Stream",
|
||||
"url": "https://example.com"
|
||||
},
|
||||
{
|
||||
"action": "http",
|
||||
"label": "Play \"I'm coming!\" sound",
|
||||
"url": "https://example.com"
|
||||
},
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Door Controls",
|
||||
"url": "https://example.com"
|
||||
}
|
||||
],
|
||||
"tags": ["smiley", "door"]
|
||||
}
|
||||
24
data/sample_messages/front_door_stranger.json
Normal file
24
data/sample_messages/front_door_stranger.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Unknown person detected on your front door",
|
||||
"message": "An unknown person has been detected in front of your door",
|
||||
"actions": [
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Video Stream",
|
||||
"url": "https://example.com"
|
||||
},
|
||||
{
|
||||
"action": "http",
|
||||
"label": "Play \"Barking Dog\" sound",
|
||||
"url": "https://example.com"
|
||||
},
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Door Controls",
|
||||
"url": "https://example.com"
|
||||
}
|
||||
],
|
||||
"priority": 4,
|
||||
"tags": ["service_dog", "door"]
|
||||
}
|
||||
7
data/sample_messages/notify.json
Normal file
7
data/sample_messages/notify.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Notify, the native ntfy.sh client",
|
||||
"message": "Open Notify, subscribe to a topic, start receiving notifications! Send a notification to ntfy.sh whenever a long script finishes running, or when you detect a person in front of your door, or when the humidity sensor attached to your tomatoes is asking for help",
|
||||
"priority": 5,
|
||||
"tags": ["star_struck", "fireworks"]
|
||||
}
|
||||
6
data/sample_messages/tomatoes.json
Normal file
6
data/sample_messages/tomatoes.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Your tomatoes are asking for water!",
|
||||
"message": "Water Level: 0%\nTemperature: 34°C\nAir Humidity Level: 20%",
|
||||
"tags": ["tomato", "water"]
|
||||
}
|
||||
13
data/sample_messages/uptime.json
Normal file
13
data/sample_messages/uptime.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"topic": "_",
|
||||
"title": "Service https://example.com returned operational",
|
||||
"message": "Service is up for more than 1m, after being in downtime for 30m",
|
||||
"actions": [
|
||||
{
|
||||
"action": "view",
|
||||
"label": "Open Dashboard",
|
||||
"url": "https://example.com"
|
||||
}
|
||||
],
|
||||
"tags": ["top"]
|
||||
}
|
||||
Reference in New Issue
Block a user