Open Boscarato opened 8 months ago
Same for me The connection is ok but it seems that there is something wrong.
AttributeError: 'NoneType' object has no attribute 'publish'
2024-02-02 14:50:02,201 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('NoneType' object has no attribute 'publish')
2024-02-02 14:50:02,201 - tydom.MessageHandler - ERROR - Incoming data ([{"id": 1706004890, "endpoints": [{"id": 1706004889, "error": 0, "data": [{"name": "temperature", "validity": "upToDate", "value": 20.05}]}]}])
2024-02-02 14:50:02,201 - tydom.MessageHandler - ERROR - 'NoneType' object has no attribute 'publish'
Traceback (most recent call last):
File "/app/tydom/MessageHandler.py", line 362, in parse_response
await self.parse_devices_data(parsed=parsed)
File "/app/tydom/MessageHandler.py", line 472, in parse_devices_data
await self.parse_endpoint_data(endpoint, i["id"])
File "/app/tydom/MessageHandler.py", line 709, in parse_endpoint_data
await new_sh_hvac.update()
File "/app/sensors/Boiler.py", line 115, in update
await self.setup()
File "/app/sensors/Boiler.py", line 110, in setup
self.mqtt.mqtt_client.publish(
Same for me too with a Calybox 230 on my Tydom 1.0:
2024-03-24 16:05:11,770 - tydom.MessageHandler - INFO - Device update (id=1711205676, endpoint=1711205676, name=Thermique 1, type=boiler)
2024-03-24 16:05:11,770 - tydom.TydomClient - DEBUG - get presets
2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('NoneType' object has no attribute 'publish')
2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - Incoming data ([{"id": 1711205676, "endpoints": [{"id": 1711205676, "error": 0, "data": [{"name": "thermicLevel", "validity": "upToDate", "value": "COMFORT"}]}]}])
2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - 'NoneType' object has no attribute 'publish'
Traceback (most recent call last):
File "/app/tydom/MessageHandler.py", line 362, in parse_response
await self.parse_devices_data(parsed=parsed)
File "/app/tydom/MessageHandler.py", line 472, in parse_devices_data
await self.parse_endpoint_data(endpoint, i["id"])
File "/app/tydom/MessageHandler.py", line 709, in parse_endpoint_data
await new_sh_hvac.update()
File "/app/sensors/Boiler.py", line 120, in update
await self.setup()
File "/app/sensors/Boiler.py", line 115, in setup
self.mqtt.mqtt_client.publish(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'publish'
Same for me too with a Calybox 230 on my Tydom 1.0:
2024-03-24 16:05:11,770 - tydom.MessageHandler - INFO - Device update (id=1711205676, endpoint=1711205676, name=Thermique 1, type=boiler) 2024-03-24 16:05:11,770 - tydom.TydomClient - DEBUG - get presets 2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('NoneType' object has no attribute 'publish') 2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - Incoming data ([{"id": 1711205676, "endpoints": [{"id": 1711205676, "error": 0, "data": [{"name": "thermicLevel", "validity": "upToDate", "value": "COMFORT"}]}]}]) 2024-03-24 16:05:11,770 - tydom.MessageHandler - ERROR - 'NoneType' object has no attribute 'publish' Traceback (most recent call last): File "/app/tydom/MessageHandler.py", line 362, in parse_response await self.parse_devices_data(parsed=parsed) File "/app/tydom/MessageHandler.py", line 472, in parse_devices_data await self.parse_endpoint_data(endpoint, i["id"]) File "/app/tydom/MessageHandler.py", line 709, in parse_endpoint_data await new_sh_hvac.update() File "/app/sensors/Boiler.py", line 120, in update await self.setup() File "/app/sensors/Boiler.py", line 115, in setup self.mqtt.mqtt_client.publish( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'publish'
I'm on a Tydom 1.0 as well, it may be a common denominator
Hello, it seems the connection is working, since I get incoming data, but it doesn't manage to correctly parse it.