My wife had a window blind controller installed. Based on the pic of the controller, it appears to be a Smart Window device: Controller website
It is WiFi connected but wondering if anyone has interfaced to this hub?
My wife had a window blind controller installed. Based on the pic of the controller, it appears to be a Smart Window device: Controller website
It is WiFi connected but wondering if anyone has interfaced to this hub?
that website say
Open API @cloud level and @LAN / WLAN level available, more options for 3rd party IoT intergration
So in theory, yes, using http-request node. But there doesnt seem to be any docs.
You might want to email them asking about this "open API for local LAN access"
Looking a bit at their documentation and drivers, it is a bit complex (the device is based on 'dooya' and requires drivers).
There is a python library available to control them, this library is used in home assistant, but can be used standalone as well and in turn controlled via node-red.
Much thanks for the library information... I'm going to try using Python first to see if I can successfully control them.
And once you do succeed, I'm sure you will, you can rather easily write a small Python script that integrates with Node-RED via MQTT. That could give you full control of your blinds from Node-RED
I've already written a test Python script to retrieve status of all of the blinds but does not use or need MQTT. The library allows me to communicate with the gateway directly on my LAN. The next step is to have the script write out JSON so I can call it from an Exec node and then process the response like any other JSON data (I've done this for other devices which does not have a NR node). Depending on my availability, I may at some point develop a node to replace the script.
It's a matter of taste, as long as you get what you need you can do it any way. I did the same earlier but found that having continuosly running scripts for various tasks gave me more additional values like monitoring the equipment, performance and getting other information that was sent from the devices or systems