I’ve followed the guide, and have had some success. Created the Tuya dev project and retrieved all the device ids. However, i have 2 different types of Tuya devices…Tuya Wifi and Tuya Zigbee.
The Zigbee ones are also connected to a Zigbee Wifi Gateway.
Up to now, I’ve been using the Tuya Smart Life app with both types of blinds fine. The wifi blinds connect directly to the app, however, the zigbee ones connect via the Zigbee gateway. They are defined as ‘sub devices’.
When i try and connect the blinds to Openhab using the Tuya binding I can only see the wifi connected blinds and the Zigbee Hub. I see no way of exposing the blinds that appear as sub-devices of the Zigbee hub.
Anyone tried connecting these types of sub-devices?
Tha’s a shame - it feels so close!
Must be quite common to use these Zigbee to Wifi gateways - theres a lot about and they are cheap. The smartThings app does work well - and ive linked up my GoogleHome to it. I’d just love to get these blinds integrated into my Openhab. Local connection would be nice too, but i could live without that.
I tried doing this long ago and found that Tuya’s API only exposes WiFi devices.
For local control of Tuya Zigbee devices, I suggest getting a USB Zigbee dongle and running Zigbee2MQTT. But first check the Z2M database to make sure your devices supported.
I use a Sonoff ZB Dongle-E for all of my Zigbee devices from a variety of brands.
Thanks, did explore that once - but my zigbee devices are quite far from my openhab box, so i struggled with the signal. maybe ill live with my Smatlife/googlehome combo for now until my motors burn out and ill replace with Matter ones - i’m sure that will be easier - famous last words
There are zigbee sticks that can connect via Ethernet too (sonoff, smlight…). Maybe you can plug one into your Wi-Fi hub if it has an Ethernet connector?
There are even devices that connect via Wi-Fi but I don’t remember anybody in the community with that setup.
I found my old Sonoff 3.0 stick - and got that up and running again. My blinds are all controllable via the Zigbee2MQTT page, so that’s great. I do have to move my Openhab RPI into the separate building for it to work - but this is much better than when i tried before - my blinds must now be supported properly. I even get battery %age! Hopefully, when the Sonoff Dongle Max arrives, I can just have that in my separate building and put my openhab rpi back!
Just an update…my Sonoff Dongle Max has arrived….and its great! Works perfectly with zigbee2mqtt and Openhab.
Very easy to setup. Great little config website and really easy to enable it as a Zigbee bridge and to use WiFi to connect up to my network and onto my RPI. In z2m you just set the serial connection to the device name and port tcp:/Dongle-M.local:6638 Note though that it’s an Ember device, my old Sonoff 3.0 stick was zstack, so i had to make sure that was selected in z2m.
I have it now positioned in my external building connected to the WiFi and acting as my Zigbee gateway. My Openhab RPI back in its original location
Zigbee signal is great on all my blinds and the Dongle Max is performing really well. It looks great too, very solid piece of kit with a metal housing. Best Zigbee item I’ve bought!
I could use a wired connection to a spare port on my Google Nest puck, but I’m gonna keep it connected via WiFi for now as I’m interested if that stays stable. Most people on youtube seem to be using the wired network option.