Unknown state in curtains switch #1787
-
Hi! I've managed to set up a curtain switch from Zemismart (model ) and I'm able to control it, but, in any case the device's state is unknown or unavailable.
This is the downloaded log
And finally, this is the device data obtained from TinyTuya:
There was a previous discussion #1681 but I don't think is the same case because the state is in the same dp as control. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
States for a cover device are opening, closing, opened, closed and unknown. You cannot get those states from the data available, and I am not sure it is true that dp 1 is showing the state, I think it is only showing the last command sent on the Tuya protocol, which may get out of sync if there are other ways of controlling the curtain (RF remote, hardwared buttons, or manual pulling) |
Beta Was this translation helpful? Give feedback.
States for a cover device are opening, closing, opened, closed and unknown. You cannot get those states from the data available, and I am not sure it is true that dp 1 is showing the state, I think it is only showing the last command sent on the Tuya protocol, which may get out of sync if there are other ways of controlling the curtain (RF remote, hardwared buttons, or manual pulling)