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?
-
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login