stason325 / node-red-contrib-miio-localdevices

Nodes for controlling MIIO devices via node-mihome lib. List of devices and commands to be extended.
GNU General Public License v3.0
18 stars 7 forks source link

Xiaomi air purifier 3C - different VLAN - docker macvlan #23

Open RedJohn14 opened 1 year ago

RedJohn14 commented 1 year ago

Hallo everyone,

I used this Plugin in Node-RED to controll my xiaomi air purifier. At the moment all IOT devices (include the air purifier) are in a different WLAN with a VLAN, everything works fine. (I also used Nuki Plugin inside Node-RED and the lock is also in the differnt WLAN with VLAN.

My problem is now that the node-red-contrib-miio-localdvices plugin use random network card or ip address from the Node-RED container. Inside Docker I used macvlan to have access to the different VLAN from Node-RED.

My question is now, how can I controll the traffic from this plugin? Because sometimes it works and sometimes not. At the moment I have problems to connect to the air purifier. The Firewall is not the problem here!

I have read about Node-RED network configuration but this is no option because than all traffic is routet over this network.

It would be so great if some (maybe @stason325 ) can help me to find a solution for this.