You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…O#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.
Describe the bug
The ble-pasv-mqtt-gw.js script is not working properly with the Shelly BLU Wall Switch 4.
Only button 4 is working, button 1, 2 and 3 are not.
To Reproduce
Steps to reproduce the behavior:
Button 4 (working as expected) click:
Button 3 click
Button 2 click
Button 1 click:
Button 1-3 double click example
Expected behavior
I would expect to have another item called maybe button_1 properly reacting to click events
Screenshots
I hope it might help debugging this, here are one click events from the console for all 4 buttons of the device
In the console, button 4 is:
button 3 is:
button 2 is:
button 1 is:
Device and script details (please complete the following information):
Additional context
None that I can think of
The text was updated successfully, but these errors were encountered: