gree-remote
gree-remote copied to clipboard
No devices on Android
Hey, I have recently setup a gree air conditioning system and wanted to combine it with some android skills of my own. I've checked out your code and and ran it only to have no devices and no response on the discover method. Could you please provide me with a few simple steps on how to setup the connection between the app and the device? I believe there is something silly and simple escaping my reasoning :)
Remarkable job gathering all this information under this repository! Kind regards,
Hi @rjsvieira,
The current implementation is very simple and may not be usable in all scenarios. It sends out a broadcast packet to the connected network and waits for responses from the active units. Unfortunately, this method won't work if the units are on a different network because most routers keeps broadcast packets in the current network to avoid broadcast storming. Also, these WiFi modules in the AC units are dumb enough to not advertise themselves on multicast addresses.
The only thing comes into my mind is to define a list of networks where the scan should run, or simply look through a range of them, lets say, from 192.168.0.0 to 192.168.255.0, but thats inefficient and slow. That's the reason I've implemented device caching in GreeBlynkBridge to avoid unnecessary overhead of scanning and store the devices.
@rjsvieira connect directly to the AC rhe password is 12345678
Closing this due to inactivity.