Open nic1601 opened 1 year ago
Same for me, no problem with the Store or the Temp but Tywatt values never refresh
Home Assistant 2023.10.5 Supervisor 2023.10.1 Operating System 11.1 Frontend 20231005.0 - latest
Mosquitto broker Current version: 6.3.1
tydom2mqtt Current version: 3.4.1
MOSQUITTO
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
[13:52:57] INFO: Starting NGINX for authentication handling...
[13:52:58] INFO: Starting mosquitto MQTT broker...
2023-11-01 13:52:58: Warning: Mosquitto should not be run as root/administrator.
2023-11-01 13:52:58: mosquitto version 2.0.17 starting
2023-11-01 13:52:58: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-11-01 13:52:58: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-11-01 13:52:58: ├── Username/password checking enabled.
2023-11-01 13:52:58: ├── TLS-PSK checking enabled.
2023-11-01 13:52:58: └── Extended authentication not enabled.
2023-11-01 13:52:58: Opening ipv4 listen socket on port 1883.
2023-11-01 13:52:58: Opening ipv6 listen socket on port 1883.
2023-11-01 13:52:58: Opening websockets listen socket on port 1884.
2023-11-01 13:52:58: mosquitto version 2.0.17 running
2023-11-01 13:52:59: New connection from 127.0.0.1:56828 on port 1883.
2023-11-01 13:52:59: Client
tydom2mqtt
2023-11-01 13:53:10,285 - gmqtt.mqtt.handler - DEBUG - [RECV sensor/tydom/ELEC_TOTAL_tydom_1543266764_1543266762/state with QoS: 0] b'\x0031309527' 2023-11-01 13:53:10,285 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2023-11-01 13:53:10,473 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:10,474 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:10,475 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:10,476 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:10,704 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:10,706 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:10,707 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:10,708 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:10,888 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:10,891 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:10,892 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:10,893 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:11,098 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:11,100 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:11,101 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:11,102 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:11,288 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [379 bytes] 2023-11-01 13:53:11,290 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:11,292 - tydom.MessageHandler - DEBUG - Message received detected as (msg_cdata) 2023-11-01 13:53:11,293 - tydom.MessageHandler - INFO - Device configured (id=1543266762, endpoint=1543266764, name=Tywatt, type=conso) 2023-11-01 13:53:11,294 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:11,515 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:11,516 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:11,517 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:11,518 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:11,735 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [266 bytes] 2023-11-01 13:53:11,736 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:11,737 - tydom.MessageHandler - WARNING - Unknown message type received (4231) 2023-11-01 13:53:11,738 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:11,909 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [265 bytes] 2023-11-01 13:53:11,911 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:11,912 - tydom.MessageHandler - WARNING - Unknown message type received (4230) 2023-11-01 13:53:11,913 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:12,099 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 63 64 61 ... 0a 0d 0a 30 0d 0a 0d 0a [265 bytes] 2023-11-01 13:53:12,100 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:53:12,101 - tydom.MessageHandler - WARNING - Unknown message type received (4230) 2023-11-01 13:53:12,102 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:53:14,534 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:53:14,534 - websockets.client - DEBUG - > PING 81 f9 2f fd [binary, 4 bytes] 2023-11-01 13:53:14,587 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:53:15,243 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:20,250 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:25,281 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:30,290 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:34,539 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:53:34,540 - websockets.client - DEBUG - > PING 9d 97 10 03 [binary, 4 bytes] 2023-11-01 13:53:34,575 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:53:35,293 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:40,300 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:45,306 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:50,313 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:53:54,550 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:53:54,551 - websockets.client - DEBUG - > PING 1d 8e cf b0 [binary, 4 bytes] 2023-11-01 13:53:54,561 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:53:55,316 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:00,322 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:04,145 - gmqtt.mqtt.handler - DEBUG - [CMD 0xd0] b'' 2023-11-01 13:54:04,145 - gmqtt.mqtt.handler - DEBUG - [PONG REQUEST] 0xd0 b'' 2023-11-01 13:54:05,326 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:10,333 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:14,558 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:54:14,559 - websockets.client - DEBUG - > PING 29 c5 43 2b [binary, 4 bytes] 2023-11-01 13:54:14,596 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:54:15,336 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:20,343 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:24,694 - websockets.client - DEBUG - < BINARY 50 55 54 20 2f 64 65 76 69 63 65 73 2f 64 61 74 ... 0a 0d 0a 30 0d 0a 0d 0a [264 bytes] 2023-11-01 13:54:24,695 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2023-11-01 13:54:24,696 - tydom.MessageHandler - DEBUG - Message received detected as (msg_data) 2023-11-01 13:54:24,697 - tydom.MessageHandler - INFO - Device update (id=1543266762, endpoint=1543266762, name=Invisibile 1, type=conso) 2023-11-01 13:54:24,698 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'homeassistant/sensor/tydom/outtemperature_tydom_1543266762_1543266762/config'', ... (306 bytes) 2023-11-01 13:54:24,700 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'sensor/tydom/outTemperature_tydom_1543266762_1543266762/state'', ... (4 bytes) 2023-11-01 13:54:24,701 - sensors.Sensor - INFO - Sensor created / updated : outTemperature 11.7 2023-11-01 13:54:24,701 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2023-11-01 13:54:25,346 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:25,532 - gmqtt.mqtt.handler - DEBUG - [CMD 0x30] b'\x00=sensor/tydom/outTemperature_tydom_1543266762_1543266762/state\x0011.7' 2023-11-01 13:54:25,533 - gmqtt.mqtt.handler - DEBUG - [RECV sensor/tydom/outTemperature_tydom_1543266762_1543266762/state with QoS: 0] b'\x0011.7' 2023-11-01 13:54:25,535 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2023-11-01 13:54:30,353 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:34,564 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:54:34,565 - websockets.client - DEBUG - > PING 1d 04 c3 da [binary, 4 bytes] 2023-11-01 13:54:34,571 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:54:35,356 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:40,362 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:45,370 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:50,377 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:54:54,570 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:54:54,572 - websockets.client - DEBUG - > PING 07 ba 2b ae [binary, 4 bytes] 2023-11-01 13:54:54,607 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:54:55,380 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:00,386 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:05,390 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:10,396 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:14,582 - websockets.client - DEBUG - % sending keepalive ping 2023-11-01 13:55:14,583 - websockets.client - DEBUG - > PING af 4b 11 cd [binary, 4 bytes] 2023-11-01 13:55:14,591 - websockets.client - DEBUG - < PONG '' [0 bytes] 2023-11-01 13:55:15,399 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:20,406 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2023-11-01 13:55:25,413 - gmqtt.client - DEBUG - [QoS query IS EMPTY]
Hi,
Thanks for your great work here.
The Tywatt values never refresh, exept when i manually rebbot mosquitto broker.
Regard, Nicolas