-
Notifications
You must be signed in to change notification settings - Fork 4
MQTT
Stephan Mühl edited this page Sep 3, 2022
·
24 revisions
SmartPusher publish the button states via MQTT to following topics:
* [prefix]/button[x]/click
* [prefix]/button[x]/double_click
* [prefix]/button[x]/long_click
* [prefix]/button[x]/push
while [prefix] is "SmartPusher" by default and [x] represents the number of the pressed button (1-8)
If you set the LED Mode to extern youre able to control the LED state of each button by yourself.
- [prefix]/button[x]/state as payload send a number from 0 to 2
- 0 = Off
- 1 = On
- 2 = Breathe
Your able to send a text to the OLED display to show a response from your Smarthome
- [prefix]/message
The Message will scroll vertically if it not fit
Like Send Text youre also able to render a image on the OLED display to show a response from your Smarthome
- [prefix]/image
a small tutorial on how to get your own image on SmartPusher follow this Wiki: