deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
212 stars 58 forks source link

Climate device unavailable #191

Open samuelolteanu opened 2 years ago

samuelolteanu commented 2 years ago

I'm using Home Assistant addon. When Home Assistant server (not core) restarts and/or after restores a snapshot/backup, the previously working climate enity is unavailable. Don't know what fixes it temporarily: core restart, addon restart or addon reinstall. I always end up trying out all 3... Update: seems that stopping the mqtt broker, restarting core and starting back the mqtt broker will do the job.

saveriospeziali commented 2 years ago

Hi I have the same issue with addon, I am able to have my devices back restarting the addon, here it is a possible solution that seem to work:

The even "start" is fired in the very final reload phase in my case the name of the addon is c34eddb3_hisense_ac, I do not know if this name is the same for everyone, and if it changes after update o reinstall

APSlagboom commented 2 years ago

I have a problem that's a kind of simaler like this. It looks when i call a service to heat or cool, the airco is unavailable before ! that. When i restart the addon the airco is in Home Assistant available again.

For now i added an automation to restart the service when it is unavailabe for 1 minute. But unfortunately is that not enough to controll the climate in a room.