Open chutch opened 5 years ago
Hi Chutch, why do you need to send the broadcast messages to another subnet, not the one your Gree unit resides on? I am far from being expert, just would like to understand, because i didn't specify the subnet in Thing config file, still everything works (maybe because my AirCon is sitting on the same subnet as my Openhab server?).
Well, it's because current version of code doesn't work if you don't provide broadcast address in configuration.
Though, looking at the logs it seems that both of my devices respond nicely after getting broadcast message, which is a great way for auto discovery.
The binding is working for me without broadcast ip definition. I can control my 4 Gree AC units, they are sitting on the same subnet as my Openhab server, using the 2.4 version of the binding. Auto discovery function would be nice.
Works for my cooper & hunter ac perfectly Even without internet (wan disconnected) still can control the ac. Great binding!
Hey, I've struggled a bit with this binding and the problem was in configuration. Here's PR to spare some time for others. :-)