Comments (3)
I got the exact same issue for the last two weeks:
2024-03-14 08:08:16,419 - tydom.MessageHandler - INFO - Device update (id=1388534424, endpoint=1388534411, name=Tyxal Alarm, type=alarm)
2024-03-14 08:08:16,420 - tydom.MessageHandler - ERROR - Error in alarm parsing !
2024-03-14 08:08:16,421 - tydom.MessageHandler - ERROR - 'NoneType' object has no attribute 'publish'
2024-03-14 08:08:16,422 - tydom.MessageHandler - INFO - Device update (id=1616710619, endpoint=1616710619, name=Salon N, type=shutter)
2024-03-14 08:08:16,422 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('NoneType' object has no attribute 'publish')
2024-03-14 08:08:16,423 - tydom.MessageHandler - ERROR - Incoming data ([{"id":1388534424,"endpoints":[{"id":1388534411,"error":0,"data":[{"name":"alarmState","validity":"upToDate","value":"OFF"},{"name":"alarmMode","validity":"upToDate","value":"OFF"},{"name":"alarmTechnical","validity":"upToDate","value":false},{"name":"alarmSOS","validity":"upToDate","value":false},{"name":"unitAutoProtect","validity":"upToDate","value":false},{"name":"unitBatteryDefect","validity":"upToDate","value":false},{"name":"unackedEvent","validity":"upToDate","value":false},{"name":"systAutoProtect","validity":"upToDate","value":false},{"name":"systBatteryDefect","validity":"upToDate","value":true},{"name":"systSupervisionDefect","validity":"upToDate","value":true},{"name":"systOpenIssue","validity":"upToDate","value":false},{"name":"systSectorDefect","validity":"upToDate","value":false},{"name":"systTechnicalDefect","validity":"upToDate","value":false},{"name":"videoLinkDefect","validity":"upToDate","value":false},{"name":"remoteSurveyDefect","validity":"upToDate","value":false},{"name":"simDefect","validity":"upToDate","value":false},{"name":"networkDefect","validity":"upToDate","value":false},{"name":"inactiveProduct","validity":"upToDate","value":false},{"name":"liveCheckRunning","validity":"upToDate","value":false},{"name":"zone1State","validity":"upToDate","value":"UNUSED"},{"name":"zone2State","validity":"upToDate","value":"UNUSED"},{"name":"zone3State","validity":"upToDate","value":"UNUSED"},{"name":"zone4State","validity":"upToDate","value":"UNUSED"},{"name":"zone5State","validity":"upToDate","value":"UNUSED"},{"name":"zone6State","validity":"upToDate","value":"UNUSED"},{"name":"zone7State","validity":"upToDate","value":"UNUSED"},{"name":"zone8State","validity":"upToDate","value":"UNUSED"},{"name":"outTemperature","validity":"upToDate","value":13.000},{"name":"gsmLevel","validity":"upToDate","value":7},{"name":"irv1State","validity":"upToDate","value":"AVAILABLE"},{"name":"irv2State","validity":"upToDate","value":"UNAVAILABLE"},{"name":"irv3State","validity":"upToDate","value":"UNAVAILABLE"},{"name":"irv4State","validity":"upToDate","value":"UNAVAILABLE"},{"name":"kernelUpToDate","validity":"upToDate","value":true},{"name":"preAlarm","validity":"expired","value":false}]}]},{"id":1616710619,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"upDefect","validity":"upToDate","value":false},{"name":"downDefect","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]},{"id":1616710620,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710622,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":0},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710623,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":0},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710625,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710626,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"upDefect","validity":"upToDate","value":false},{"name":"downDefect","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]},{"id":1616710627,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":0},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710628,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":0},{"name":"onFavPos","validity":"upToDate","value":false}]}]},{"id":1616710630,"endpoints":[{"id":1616710619,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"upDefect","validity":"upToDate","value":false},{"name":"downDefect","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]},{"id":1689658770,"endpoints":[{"id":1689658770,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]},{"id":1689659053,"endpoints":[{"id":1689659053,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]},{"id":1689659154,"endpoints":[{"id":1689659154,"error":0,"data":[{"name":"thermicDefect","validity":"upToDate","value":false},{"name":"position","validity":"upToDate","value":100},{"name":"onFavPos","validity":"upToDate","value":false},{"name":"obstacleDefect","validity":"upToDate","value":false},{"name":"intrusion","validity":"upToDate","value":false},{"name":"battDefect","validity":"upToDate","value":false}]}]}]
)
2024-03-14 08:08:16,424 - 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 686, in parse_endpoint_data
await new_cover.update()
File "/app/sensors/Cover.py", line 73, in update
await self.setup()
File "/app/sensors/Cover.py", line 68, in setup
self.mqtt.mqtt_client.publish(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from tydom2mqtt.
same issue here as well. so either message format changed or a rollback to an older version should help?
from tydom2mqtt.
Same issue here but for my heating system (detected as boiler).
I don't know why. in the code it seems that current_temp is checked for NoneType before but it goes into it.
Here the error if it helps:
stderr 04/04/2024 09:55:20 AM 2024-04-04 09:55:20,054 - tydom.MessageHandler - ERROR - Error on parsing tydom response ('>' not supported between instances of 'float' and 'NoneType') stderr 04/04/2024 09:55:20 AM 2024-04-04 09:55:20,054 - tydom.MessageHandler - ERROR - Incoming data ([{"id": 1695751186, "endpoints": [{"id": 1695751188, "error": 0, "data": [{"name": "setpoint", "validity": "upToDate", "value": null}, {"name": "thermicLevel", "validity": "upToDate", "value": "STOP"}, {"name": "antifrostOn", "validity": "upToDate", "value": true}]}]}]) stderr 04/04/2024 09:55:20 AM 2024-04-04 09:55:20,054 - tydom.MessageHandler - ERROR - '>' not supported between instances of 'float' and 'NoneType' stderr 04/04/2024 09:55:20 AM Traceback (most recent call last): stderr 04/04/2024 09:55:20 AM File "/app/tydom/MessageHandler.py", line 362, in parse_response stderr 04/04/2024 09:55:20 AM await self.parse_devices_data(parsed=parsed) stderr 04/04/2024 09:55:20 AM File "/app/tydom/MessageHandler.py", line 472, in parse_devices_data stderr 04/04/2024 09:55:20 AM await self.parse_endpoint_data(endpoint, i["id"]) stderr 04/04/2024 09:55:20 AM File "/app/tydom/MessageHandler.py", line 709, in parse_endpoint_data stderr 04/04/2024 09:55:20 AM await new_sh_hvac.update() stderr 04/04/2024 09:55:20 AM File "/app/sensors/Boiler.py", line 163, in update stderr 04/04/2024 09:55:20 AM "idle" if self.current_temp > self.current_setpoint else "heating", stderr 04/04/2024 09:55:20 AM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr 04/04/2024 09:55:20 AM TypeError: '>' not supported between instances of 'float' and 'NoneType'
from tydom2mqtt.
Related Issues (20)
- Tyxal alarm: can we use a numpad rather than a hardcoded code in the configuration ? HOT 2
- Tydom2mqtt Current version: 3.4.3 - Add On unable to start at boot etc.. HOT 4
- 1 seul volet non reconnu sur 16 HOT 4
- Tydom2Mqtt home assistant http 401 error HOT 3
- HVAC Mode : climatisation ne fonctionne pas et fait un Reset de ma température HOT 2
- No device added to home-assistant even if everything started correctly HOT 2
- Error on parsing tydom response
- Fail to connect to Tydom
- Tydom password must be defined HOT 1
- Compatibilité Pack Tysense Outsoor (Sun et thermomètre) HOT 8
- Déconnexion Tydom
- Problem with the addon HOT 1
- Echec de connexion (ERROR - Task exception was never retrieved) HOT 6
- Containerized tydom2mqtt to Mosquitto connection issue HOT 2
- Compatibilité avec TywellControl HOT 5
- La configuration MQTT n'est plus prise en compte HOT 4
- HVAC_Action in coooling Mod HOT 1
- Manage garage as a cover instead of switch
- Gestion de plusieurs tydom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tydom2mqtt.