shelly-script-examples
shelly-script-examples copied to clipboard
ble-pasv-mqtt-gw.js not working with Shelly BLU Wall Switch 4 #123
Added support for repeating datatype occurrences. The first occurrence get the normal name. The other occurrences are appended with a number. i.e. button, button1, button2, etc.
This adds support for Shelly BLU Buttons with more than one button. (i.e. Wall Switch 4, RC Button 4)
Additionally I've added map_btn_click_values to the CONFIG variable. If this is set, the mqtt button field contains the button state as text (single, double, triple, long, hold or null) and not as number.