my garage gate is connected to a tuya wifi USB. according to the Tuya API… it is this:
I have gone through its properties in the Tuya API:
I have played around with all DPI. It seems like wfc_return_status is the sensor and wfc_fast_open was the only one that I could add as a switch and barely operate it.
If i turn on wfc_fast_open as a switch, the gate opens physically. if I turn it off halfway, it stops. activating it again, continues opening the gate. I dont have an option to close the gate. I tried adding it as a cover, but to no avail.. I tried using dp_101 as a cover instead of a sensor. it does not work as well. the 3 states of dp_101 are opened, stop, closed. I got it via operating it on Smart Life and querying the api on the property of dp_101..
with that, I also tried changing cover.py manually for COVER_OPENCLOSE_CMDS to "opened_closed_stop", thinking it might be something to do with that. but it doesnt help as well.
DP102, DP103 and DP104 are NOT inside the populated list. I manually added them but it doesnt seem to work. i tried adding them as switches but the option is greyed out after adding. how do i use these 3 DP IDs?
I think if I can get DP102, DP103 and DP104 in it would work. But i am not sure how to edit the code to include them. The auto detect doesnt seem to have this 3 DPs..
my garage gate is connected to a tuya wifi USB. according to the Tuya API… it is this:
I have gone through its properties in the Tuya API:
I have played around with all DPI. It seems like wfc_return_status is the sensor and wfc_fast_open was the only one that I could add as a switch and barely operate it.
If i turn on wfc_fast_open as a switch, the gate opens physically. if I turn it off halfway, it stops. activating it again, continues opening the gate. I dont have an option to close the gate. I tried adding it as a cover, but to no avail.. I tried using dp_101 as a cover instead of a sensor. it does not work as well. the 3 states of dp_101 are opened, stop, closed. I got it via operating it on Smart Life and querying the api on the property of dp_101..
with that, I also tried changing cover.py manually for COVER_OPENCLOSE_CMDS to "opened_closed_stop", thinking it might be something to do with that. but it doesnt help as well.
DP102, DP103 and DP104 are NOT inside the populated list. I manually added them but it doesnt seem to work. i tried adding them as switches but the option is greyed out after adding. how do i use these 3 DP IDs?
I am not sure if this is a bug or not.
Thank you v much for your help