What is proper presentation type for binary push button? S_BINARY ? And how make controller distinguish between binary button (RO) and binary switch (RW)?
-
Assuming I have light switch/push button with only readable state (via pin on Arduino).
Following https://www.mysensors.org/download/serial_api_20#sensor-types ,should I present it via:present(CHILD_ID, S_BINARY);
?
Later, having binary switch (which should be settable from controller) how it should be presented?
How controller can distinguish between RO button and RW switch?
-
@matkor it is currently not possible. https://github.com/mysensors/MySensors/issues/1312 suggests a solution but there has been no forward progress lately.
1 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Need some minor help with MQTT strings
Troubleshooting • 22 Dec 2015, 23:09 • drock1985 23 Dec 2015, 16:01 -
Mys Interposer NRF/Arduino Pro Mini
OpenHardware.io • 23 Mar 2016, 20:45 • openhardware.io 25 May 2017, 15:59 -
Binary / Temp sensor help - sleep time
Development • 16 Nov 2014, 05:21 • niccodemi 17 Nov 2014, 05:08 -
Sensor presentation failure
Bug Reports • 31 Jul 2016, 19:23 • Sergio Rius 3 Mar 2021, 18:48 -
fail presentation
Home Assistant • 17 Apr 2016, 19:51 • Luc3as 23 Apr 2016, 20:28 -
💬 Very narrow and minimal switch node
OpenHardware.io • 9 Feb 2016, 22:22 • openhardware.io 14 Nov 2016, 20:14