ralphm2004 / broadlink-thermostat

link broadlink thermostat with mqtt to openhab
GNU General Public License v3.0
35 stars 15 forks source link

broadlink discover reconnect #7

Closed betyar closed 5 years ago

betyar commented 5 years ago

Hi,

I have been trying to have my Floureon-Smart-Wi-Fi-Programmable-Thermostat discovered but I keep getting the following:

broadlink discover Reconnect Connect, reason: 0 broadlink discover Reconnect broadlink discover Reconnect

and so on

I was never able to get my thermostat recognized by the original APP on Google Play either because the cloud was never able to connect to my network. Thus I have a feeling that the reason this script is not working is because my network parameters haven't been entered anywhere.

Any idea what the solution is? Perhaps in future versions there should be an option to enter network parameters so that those who don’t wish to register with the APP cloud (or in my case I was unable to) won’t have this problem.

betyar commented 5 years ago

OK, problem fixed. Finally got the app working. For anyone interested in this device, the so-called English "manual" is very difficult to understand. Anyway, after the device was registered with the app and everything went perfectly: my device can be discovered and is showing the current room temperature. There is however something which is a little unusual during when the device is being discovered. This is what I get:

broadlink discover found: 192.168.1.115 0a447034ea34 PID child 16816 Hysen heating controller set time 19:32:52 5 Reconnect Connect, reason: 0 0a447034ea34 room_temp 16.5 0a447034ea34 room_temp 16.5

I tried the discovery several times and I always get the Reconnect and Connect, reason: 0 as before, but then everything proceeds normally. From what I have seen from others with a successful discovery, those two lines don't appear. Has anyone had anything similar? Why does it reconnect after finding the device? BTW, this reconnect always occurs at the very beginning and then sometimes reoccurs later (without Connect, reason: 0), but not often. Also the broadlink discover line sometimes reappear but then the room temperature continues to be shown as before.