anotherjulien / MyHOME

MyHOME integration for Home-Assistant
GNU Affero General Public License v3.0
137 stars 57 forks source link

Error and lost connection… #67

Open manueltn78 opened 1 year ago

manueltn78 commented 1 year ago

Hi, I have lot of issue with ntegratin since last 5-6 months… I have to reload or to reboot ha to make it working again. I’m connecting to Mh201 Someone have #solved? Here some errors:

Logger: homeassistant Source: custom_components/myhome/climate.py:458 Integration: MyHome First occurred: 13:27:54 (1 occurrences) Last logged: 13:27:54

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/myhome/gateway.py", line 231, in listening_loop ].handle_event(message) File "/config/custom_components/myhome/climate.py", line 458, in handle_event self._attr_hvac_action = HVACAction.HEAT File "/usr/local/lib/python3.10/enum.py", line 437, in getattr raise AttributeError(name) from None AttributeError: HEAT

Questo errore ha avuto origine da un'integrazione personalizzata Logger: custom_components.myhome Source: custom_components/myhome/gateway.py:323 Integration: MyHome (documentation, issues) First occurred: 13:58:05 (1 occurrences) Last logged: 13:58:05

Could not send message 4311*6##.

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.myhome Source: custom_components/myhome/gateway.py:314 Integration: MyHome (documentation, issues) First occurred: 13:00:29 (4 occurrences) Last logged: 13:00:36

Command session connection refused, retrying in 1s. Command session connection refused, retrying in 2s. Command session connection refused, retrying in 4s. Command session connection refused, retrying in 6s.

manueltn78 commented 1 year ago

Some new errors...

Logger: custom_components.myhome Source: custom_components/myhome/gateway.py:233 Integration: MyHome (documentation, issues) First occurred: 15:00:48 (302 occurrences) Last logged: 20:01:12

Unknown device: WHO=4 WHERE=6 Unknown device: WHO=4 WHERE=2 Unknown device: WHO=4 WHERE=3 Unknown device: WHO=4 WHERE=5 Unknown device: WHO=4 WHERE=1

manueltn78 commented 1 year ago

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: homeassistant Source: custom_components/myhome/climate.py:458 Integration: MyHome (documentation, issues) First occurred: 19:30:00 (1 occurrences) Last logged: 19:30:00

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/myhome/gateway.py", line 231, in listening_loop ].handle_event(message) File "/config/custom_components/myhome/climate.py", line 458, in handle_event self._attr_hvac_action = HVACAction.HEAT File "/usr/local/lib/python3.10/enum.py", line 437, in getattr raise AttributeError(name) from None AttributeError: HEAT

bubez81 commented 1 year ago

same problem here

caiosweet commented 1 year ago

see #65

manueltn78 commented 1 year ago

see #65 thank you Now I try

manueltn78 commented 1 year ago

Also with #65 it does not works, I get no error, but only climate items didn't update. But If I reload integration and scan scs bus with another app on smartphone, then they update immediatly

caiosweet commented 1 year ago

ok, after 2022.8 you need to create a start up automation. see #59

manueltn78 commented 1 year ago

ok, after 2022.8 you need to create a start up automation. see #59

I made automation, but still not works, maybe the problem is the gateway I'm using: mh201 ? Note that all problem are related to thermostat items!

caiosweet commented 1 year ago

I don’t know. I also have mh201. After editing the file with the right attribute names, (HVACAction.HEATING and HVACAction.COOLING) I rebooted the system and everything is fine.

manueltn78 commented 1 year ago

I don’t know. I also have mh201. After editing the file with the right attribute names, (HVACAction.HEATING and HVACAction.COOLING) I rebooted the system and everything is fine.

I also re edited climate.py and rebooted... Now it started, let's see....