diff --git a/data/sample_messages/downtime.json b/data/sample_messages/downtime.json new file mode 100644 index 0000000..6f4a06d --- /dev/null +++ b/data/sample_messages/downtime.json @@ -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"] +} diff --git a/data/sample_messages/front_door_friendly.json b/data/sample_messages/front_door_friendly.json new file mode 100644 index 0000000..8a1b7e6 --- /dev/null +++ b/data/sample_messages/front_door_friendly.json @@ -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"] +} diff --git a/data/sample_messages/front_door_stranger.json b/data/sample_messages/front_door_stranger.json new file mode 100644 index 0000000..503e684 --- /dev/null +++ b/data/sample_messages/front_door_stranger.json @@ -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"] +} diff --git a/data/sample_messages/notify.json b/data/sample_messages/notify.json new file mode 100644 index 0000000..09ab598 --- /dev/null +++ b/data/sample_messages/notify.json @@ -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"] +} diff --git a/data/sample_messages/tomatoes.json b/data/sample_messages/tomatoes.json new file mode 100644 index 0000000..9007df0 --- /dev/null +++ b/data/sample_messages/tomatoes.json @@ -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"] +} diff --git a/data/sample_messages/uptime.json b/data/sample_messages/uptime.json new file mode 100644 index 0000000..a27cce1 --- /dev/null +++ b/data/sample_messages/uptime.json @@ -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"] +}