There are three buttons on my remote, up, down and stop.
Pressing either three does update the state of the objects but the value of either is always "false".
The reason it is always false is because the logic in parse.js, line 13 says:
The remote sends CMD: UP, DOWN and STOP. There is never an ON thus false.
I would like to add extra logic there to distinguish between up, down and stop.
But the question I have is why do we have two objects in iobroker for a remote. And why would the stop be of type button and the other be of type blind? And why is object blind of type boolean? what values can a blind have? Is that not up, down and stop?
I am happy to add some logic here but need some guidance.
Would it not be a simple solution to return a string value of UP, DOWN and STOP for the object channels.RTS_1.BLIND_01 and just ignore the other channels.RTS_1.BLIND_STOP_01 object?
When I "enable inclusion mode" on my rflink and then press a button on my telis remote I get the following structure of objects in iobroker:
channels channels.RTS_1 channels.RTS_1.BLIND_01 boolean blind channels.RTS_1.BLIND_STOP_01 boolean button
There are three buttons on my remote, up, down and stop. Pressing either three does update the state of the objects but the value of either is always "false".
The reason it is always false is because the logic in parse.js, line 13 says:
The remote sends CMD: UP, DOWN and STOP. There is never an ON thus false.
I would like to add extra logic there to distinguish between up, down and stop. But the question I have is why do we have two objects in iobroker for a remote. And why would the stop be of type button and the other be of type blind? And why is object blind of type boolean? what values can a blind have? Is that not up, down and stop?
I am happy to add some logic here but need some guidance.
Would it not be a simple solution to return a string value of UP, DOWN and STOP for the object channels.RTS_1.BLIND_01 and just ignore the other channels.RTS_1.BLIND_STOP_01 object?