Last Updated or created 2022-12-01
For a while i’ve been using the wireless shelly button for all kinds of notifications.
Most of the time i like to use it as a kind of alarm/need-help-now button.

The f*ckin’ awesome button i’m talking about (pictured above) is a small (45x45mm 16mm height) button, which can connect to your wifi and send MQTT messages.
It even has a strap thingy to attach it to your keychain,
Four types of messages:
- short press
- 2x short presses
- 3x short presses
- and long press
When using pushover, you can push alarm and messages to your android (even overriding mute/silent if you configure it that way!)
Configuring the button:
https://www.shelly.cloud/documents/user_guide/shelly_button_1.pdf
Configuring pushover:
https://www.npmjs.com/package/node-red-node-pushover
My node red config:
Switch node

[
{
"id": "abb6a4fea5021683",
"type": "mqtt in",
"z": "458ff8a6.218fa8",
"name": "",
"topic": "shellies/shellybutton1-11CDAC2C21D3/input_event/0",
"qos": "2",
"datatype": "auto",
"broker": "8c74c5f6.9a7a48",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 320,
"y": 760,
"wires": [
[
"bebce75c2be0b54d"
]
]
},
{
"id": "8eac36b9c194977b",
"type": "comment",
"z": "458ff8a6.218fa8",
"name": "Shelly Button",
"info": "",
"x": 200,
"y": 720,
"wires": []
},
{
"id": "699c63fede80052b",
"type": "debug",
"z": "458ff8a6.218fa8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 700,
"wires": []
},
{
"id": "604ae0babdcf3929",
"type": "switch",
"z": "458ff8a6.218fa8",
"name": "",
"property": "payload.event",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "S",
"vt": "str"
},
{
"t": "eq",
"v": "SS",
"vt": "str"
},
{
"t": "eq",
"v": "SSS",
"vt": "str"
},
{
"t": "eq",
"v": "L",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 690,
"y": 700,
"wires": [
[
"699c63fede80052b",
"5f289f050b9eea26"
],
[
"e895ce98af0a9c35"
],
[
"50c9c06fc3dbdcdd"
],
[
"06efa30e61695599"
]
]
},
{
"id": "e895ce98af0a9c35",
"type": "debug",
"z": "458ff8a6.218fa8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 760,
"wires": []
},
{
"id": "50c9c06fc3dbdcdd",
"type": "debug",
"z": "458ff8a6.218fa8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 820,
"wires": []
},
{
"id": "06efa30e61695599",
"type": "debug",
"z": "458ff8a6.218fa8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 880,
"wires": []
},
{
"id": "bebce75c2be0b54d",
"type": "json",
"z": "458ff8a6.218fa8",
"name": "",
"property": "payload",
"action": "",
"pretty": false,
"x": 600,
"y": 780,
"wires": [
[
"604ae0babdcf3929",
"699c63fede80052b"
]
]
},
{
"id": "5f289f050b9eea26",
"type": "pushover",
"z": "458ff8a6.218fa8",
"name": "",
"device": "",
"title": "Alarm",
"priority": "2",
"sound": "persistent",
"url": "",
"url_title": "",
"html": false,
"x": 1150,
"y": 640,
"wires": []
},
{
"id": "8c74c5f6.9a7a48",
"type": "mqtt-broker",
"name": "MQTTBROKER",
"broker": "MQTTBROKER",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "15",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
}
]
