Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tydom.MessageHandler - ERROR #48

Open
damien-d-gerard opened this issue Feb 10, 2024 · 0 comments
Open

tydom.MessageHandler - ERROR #48

damien-d-gerard opened this issue Feb 10, 2024 · 0 comments

Comments

@damien-d-gerard
Copy link

In log file I see this error message:

2024-02-10 19:57:30,437 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('>' not supported between instances of 'float' and 'NoneType')
2024-02-10 19:57:30,437 - tydom.MessageHandler - ERROR - Incoming data ([{"id": 1669123344, "endpoints": [{"id": 1669123342, "error": 0, "data": [{"name": "authorization", "validity": "upToDate", "value": "HEATING"}, {"name": "setpoint", "validity": "upToDate", "value": null}, {"name": "thermicLevel", "validity": "upToDate", "value": "STOP"}, {"name": "hvacMode", "validity": "upToDate", "value": "STOP"}, {"name": "timeDelay", "validity": "upToDate", "value": 0}, {"name": "temperature", "validity": "upToDate", "value": 12.63}, {"name": "tempoOn", "validity": "upToDate", "value": false}, {"name": "antifrostOn", "validity": "upToDate", "value": true}, {"name": "loadSheddingOn", "validity": "upToDate", "value": false}, {"name": "openingDetected", "validity": "upToDate", "value": false}, {"name": "presenceDetected", "validity": "upToDate", "value": false}, {"name": "absence", "validity": "upToDate", "value": false}, {"name": "productionDefect", "validity": "upToDate", "value": false}, {"name": "batteryCmdDefect", "validity": "upToDate", "value": false}, {"name": "tempSensorDefect", "validity": "upToDate", "value": false}, {"name": "tempSensorShortCut", "validity": "upToDate", "value": false}, {"name": "tempSensorOpenCirc", "validity": "upToDate", "value": false}, {"name": "boostOn", "validity": "upToDate", "value": false}, {"name": "anticipCoeff", "validity": "upToDate", "value": 30}]}]}])
2024-02-10 19:57:30,437 - tydom.MessageHandler - ERROR - '>' not supported between instances of 'float' and 'NoneType'
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 163, in update
"idle" if self.current_temp > self.current_setpoint else "heating",

Somebody has discover the same error before ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant