Shelly Button1

References and Documentation

Topics

ShellyButton1 uses the following topics:

  • shellies/shellybutton1-<deviceid>/sensor/battery (value of remaining battery level; between 0-100)
  • shellies/shellybutton1-<deviceid>/input_event/0 (array of text for different push-values or number for event count)

Possible events from Button:

event stringInput event, S = shortpush, SS = double shortpush, SSS = triple shortpush, L = longpush
event_cntnumberInput event counter, uint16

Screenshots and Examples

Example: HTTP Virtual Inputs

Example on how the events/messages are reported within the MQTT-Plugin on Loxberry:

Example: Text-to-Value conversions

The Miniserver is not accepting string/text as input. Hence you have to convert them using the Conversion function of the MQTT-Plugin. Example: