E0501 Failed to connect to <IP>, maybe it is offline?
Hey, First of all thank you for this integration!
I am trying to make it work on my setup. I'm using "hismart-eu" and i'm able to retrieve AC information and get it available on my HA setup however on the Add-on logs i'm getting:
E0501 10:35:28.198 notifier.py:121] Failed to connect to [IP], maybe it is offline?
for all devices I have.
when I execute a command I can see the output correctly e.g. I0501 10:38:02.567 mqtt_client.py:37] MQTT message Topic: hisense_ac/ca2c4f5f9b03/t_work_mode/command, Payload b'cool'
But no action at all on the device itself
I've tested (using curl, ping) and there is connectivity to the devices.
Another interesting thing is that when I remove retrieved AC config files and restart the add-on I loose the "hismart-eu" app integration and stop being able to control the device from the app also. If I stop the Add-on it starts working again (from the app).
Do you have any idea what I might be missing?
@PTLGuerra Hey, I also had this problem today. However it worked for me before, but suddenly it stopped working.
What I did was that I removed device from hisense application and pair it again. Lan keys and other information was changed by this step. Then it was working again 😊
It might be some kind of a race on Aylanetwork. In my setup I entirely blocked access for the A/C to the Internet after the initial setup, to avoid issues due to remote changes.
Hey! Thank you for your feedback! You're answers helped me a lot. It was actually my firewall that was blocking inbound from IOT vlan :) I've always assumed HA needed to reach out to the ACs. Not the other way around (that was being blocked on my firewall). It's now working :)
I have more or less the same issue. The addon works for some time, but after a restart of HomeAssistant it stops working. This is not after each restart, but it consequently happens after a couple of restarts. I have blocked all internet access to and from the AC. Incoming and outgoing connectivity is blocked. I've even removed the AC from the HiSmart app. It doesn't help :(. After adding the AC again, everything in the config file is the same, except for the lanip_key and the lanip_key_id. Any ideas?
This is my config file:
{"name": "Air conditioner 1", "app": "hisense-eu", "model": "Smart-1-110-eu", "sw_version": "ADA 1.4.3-beta ameba 2018-03-28 19:20:06 8f40fe89d", "dsn": "AC000W010898208", "temp_type": "C", "mac_address": "ca2c4f9491b8", "ip_address": "192.168.1.135", "lanip_key": "PrYC/rt6koBbcrnauiCk/uSleTZqhw==", "lanip_key_id": 6397}
Also: see https://github.com/deiger/AirCon/issues/130
I have a feeling it could be related to my router/network. After updating my router/accesspoint, the addon stops working. Maybe the lanip_key or lanip_key_id changed? I'm using Unify at home.