What is proper presentation type for binary push button? S_BINARY ? And how make controller distinguish between binary button (RO) and binary switch (RW)?
Development
2
Posts
2
Posters
274
Views
2
Watching
-
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?
-
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?