cyrilcc / org.openhab.binding.rflink

RFLink binding for OpenHAB 2.0
23 stars 32 forks source link

RTS Status value is inverted compared to Openhab practices #60

Open rgabo74 opened 3 years ago

rgabo74 commented 3 years ago

In Openhab the status value of the Rollershutter item is 0 when bind is open (up) and 100 when blind is closed (down). Rollershutter sitemap controller, icon states working based on this.

In Rflink binding the RTS integration is working invertes. After UP command received the rollershutter rflink binding sets the state to 100 (closed) state. So the state is always inverted.

I could not find a workaround for this. I think this should be fixed in the binding.

obones commented 3 years ago

I believe there is a RTSINVERT command for RFLink but I don't know if it would help.

kennetn commented 1 year ago

Hi @rgabo74

Did you find a solution / workaround for this issue ? If the RTSINVERT refers to isCommandReversed then I do not think this will work because it will invert the command and not the numeric status value.