Open jpmartin71 opened 1 week ago
Bonjour, après un peu d'investigation j'ai trouvé une trame qui transmet les informations attendues. 2024-10-28 08:06:26,475 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-001A2505C84A\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\nE3\r\n[{"name":"energyDistrib","status":"OK","parameters":{"src":"ELEC","period":"YEAR","periodOffset":0},"values":{"date":"2024-10-28","ELEC_HEATING":1643611,"ELEC_HOTWATER":560395,"ELEC_OUTLET":2725601,"ELEC_OTHER":2708906}}]}]}]\r\n\r\n0\r\n\r\n')
Mais lorsque quelle passe dans la fonction "incoming = self.parse_put_response(bytes_str)" la trame semble rejetée à cause de la valeur cdata = E3 et ne passe pas dans la ligne # Tywatt response starts at 7 incoming = self.parse_put_response(bytes_str, 7)
2024-10-28 09:20:21,883 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-28 09:20:21,884 - tydom.MessageHandler - DEBUG - MNJ: parse_put_response - output = (30E3) 2024-10-28 09:20:21,884 - tydom.MessageHandler - DEBUG - MNJ: parse_put_response - parsed = (30000.0)
J'ai réussi à traiter la trame en modifiant la valeur E3 en AC (valeur d'une trame valide) mais c'est pas très propre if len(field) == 0 or field == '0': end_parsing = True else:
if field == 'E3':
field = 'AC'
#MNJ: fin
output += field
Bonjour, depuis plusieurs mois je n'ai plus de remonté des senseurs de consommation électrique (ELEC_HEATING, ELEC_HOTWATER, ELEC_OUTLET, ELEC_OTHER). Les senseurs ELEC_A et ELEC_TOTAL. J'ai configuré les logs en DEBUG et ajouté un logger (MNJ:incomming_bytes) pour visualiser les trames reçues.
exemple de data: 2024-10-26 18:10:31,800 - 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 [248 bytes] 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n31\r\n[{"name":"energyIndex","status":"destNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3031) 2024-10-26 18:10:31,801 - tydom.MessageHandler - WARNING - Unknown message type received (3031) 2024-10-26 18:10:31,801 - tydom.MessageHandler - DEBUG - Incoming data parsed with success
La version de ma box TYDOM 1 est 03.15.31. tydom2mqtt => 3.5.3 Calybox 1020WT
Est-ce cela pourrai être une incompatibilité avec la TYDOM ou un problème de mon installation DELTADORE
LOGS 2024-10-26 18:10:30,794 - tydom.TydomClient - DEBUG - Sending message to tydom (POST /refresh/all) 2024-10-26 18:10:30,794 - websockets.client - DEBUG - > BINARY 50 4f 53 54 20 2f 72 65 66 72 65 73 68 2f 61 6c ... 64 3a 20 30 0d 0a 0d 0a [111 bytes] 2024-10-26 18:10:30,795 - tydom.TydomClient - DEBUG - nb_poll_devices : 9 2024-10-26 18:10:30,795 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyDistrib&period=YEAR&periodOffset=0&src=ELEC 2024-10-26 18:10:30,795 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyDistrib&period=YEAR&periodOffset=0&src=ELEC) 2024-10-26 18:10:30,796 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [181 bytes] 2024-10-26 18:10:30,796 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyInstant&unit=ELEC_A&reset=false 2024-10-26 18:10:30,796 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyInstant&unit=ELEC_A&reset=false) 2024-10-26 18:10:30,797 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [169 bytes] 2024-10-26 18:10:30,797 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_TOTAL&reset=false 2024-10-26 18:10:30,797 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_TOTAL&reset=false) 2024-10-26 18:10:30,797 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [171 bytes] 2024-10-26 18:10:30,798 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_HEATING&reset=false 2024-10-26 18:10:30,798 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_HEATING&reset=false) 2024-10-26 18:10:30,798 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [173 bytes] 2024-10-26 18:10:30,799 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_HOTWATER&reset=false 2024-10-26 18:10:30,799 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_HOTWATER&reset=false) 2024-10-26 18:10:30,799 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [174 bytes] 2024-10-26 18:10:30,799 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_OUTLET&reset=false 2024-10-26 18:10:30,799 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_OUTLET&reset=false) 2024-10-26 18:10:30,800 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [172 bytes] 2024-10-26 18:10:30,800 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_OTHER&reset=false 2024-10-26 18:10:30,800 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=ELEC_OTHER&reset=false) 2024-10-26 18:10:30,801 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [171 bytes] 2024-10-26 18:10:30,801 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=TEMP_INDOOR&reset=false 2024-10-26 18:10:30,801 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=TEMP_INDOOR&reset=false) 2024-10-26 18:10:30,801 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [172 bytes] 2024-10-26 18:10:30,802 - tydom.TydomClient - DEBUG - get_poll_device_data : /devices/0/endpoints/4/cdata?name=energyIndex&dest=TEMP_OUTDOOR&reset=false 2024-10-26 18:10:30,802 - tydom.TydomClient - DEBUG - Sending message to tydom (GET /devices/0/endpoints/4/cdata?name=energyIndex&dest=TEMP_OUTDOOR&reset=false) 2024-10-26 18:10:30,802 - websockets.client - DEBUG - > BINARY 47 45 54 20 2f 64 65 76 69 63 65 73 2f 30 2f 65 ... 64 3a 20 30 0d 0a 0d 0a [173 bytes] 2024-10-26 18:10:30,803 - gmqtt.client - DEBUG - [CMD 0xd0] b'' 2024-10-26 18:10:30,803 - gmqtt.client - DEBUG - [PONG REQUEST] 0xd0 b'' 2024-10-26 18:10:30,803 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [139 bytes] 2024-10-26 18:10:30,804 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /refresh/all\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,804 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,805 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,806 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,806 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,807 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,807 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,807 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,826 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,826 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,827 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,827 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,827 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,827 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,828 - websockets.client - DEBUG - < BINARY 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d ... 64 3a 20 30 0d 0a 0d 0a [155 bytes] 2024-10-26 18:10:30,828 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,829 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,829 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,829 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,830 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,830 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,830 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,831 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,831 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,831 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,831 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,832 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,832 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'HTTP/1.1 200 OK\r\nServer: Tydom-macAddress\r\nUri-Origin: /devices/0/endpoints/4/cdata\r\nContent-Type: application/json\r\nContent-Length: 0\r\nTransac-Id: 0\r\n\r\n') 2024-10-26 18:10:30,832 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming () 2024-10-26 18:10:30,852 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2024-10-26 18:10:30,941 - 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 [426 bytes] 2024-10-26 18:10:30,941 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\nE3\r\n[{"name":"energyDistrib","status":"OK","parameters":{"src":"ELEC","period":"YEAR","periodOffset":0},"values":{"date":"2024-10-26","ELEC_HEATING":1643490,"ELEC_HOTWATER":558391,"ELEC_OUTLET":2711346,"ELEC_OTHER":2694959}}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:30,942 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:30,942 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (30000.0) 2024-10-26 18:10:30,942 - tydom.MessageHandler - WARNING - Unknown message type received (30000.0) 2024-10-26 18:10:30,942 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:31,390 - 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 [371 bytes] 2024-10-26 18:10:31,391 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\nAC\r\n[{"name":"energyInstant","status":"OK","parameters":{"unit":"ELEC_A"},"values":{"date":"2024-10-26","measure":500,"min":100,"max":5200,"minScale":0,"maxScale":4500}}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:31,391 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:31,392 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming ([{"id": 0, "endpoints": [{"id": 4, "error": 0, "cdata": [{"name": "energyInstant", "status": "OK", "parameters": {"unit": "ELEC_A"}, "values": {"date": "2024-10-26", "measure": 500, "min": 100, "max": 5200, "minScale": 0, "maxScale": 4500}}]}]}]) 2024-10-26 18:10:31,392 - tydom.MessageHandler - DEBUG - Message received detected as (msg_cdata) 2024-10-26 18:10:31,392 - tydom.MessageHandler - INFO - Device configured (id=0, endpoint=4, name=Tywatt, type=conso) 2024-10-26 18:10:31,392 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'homeassistant/sensor/tydom/elec_a_tydom_4_0/config'', ... (254 bytes) 2024-10-26 18:10:31,392 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'sensor/tydom/ELEC_A_tydom_4_0/state'', ... (3 bytes) 2024-10-26 18:10:31,393 - sensors.Sensor - INFO - Sensor created / updated : ELEC_A 5.0 2024-10-26 18:10:31,393 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:31,394 - gmqtt.client - DEBUG - [CMD 0x30] b'\x00#sensor/tydom/ELEC_A_tydom_4_0/state\x005.0' 2024-10-26 18:10:31,394 - gmqtt.client - DEBUG - [RECV sensor/tydom/ELEC_A_tydom_4_0/state with QoS: 0] b'\x005.0' 2024-10-26 18:10:31,394 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2024-10-26 18:10:31,600 - 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 [373 bytes] 2024-10-26 18:10:31,601 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\nAE\r\n[{"name":"energyIndex","status":"OK","parameters":{"dest":"ELEC_TOTAL"},"values":{"date":"2024-10-26","counter":21022999,"subCounter":20963809,"dateRAZ":"2022-11-07"}}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:31,601 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:31,601 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming ([{"id": 0, "endpoints": [{"id": 4, "error": 0, "cdata": [{"name": "energyIndex", "status": "OK", "parameters": {"dest": "ELEC_TOTAL"}, "values": {"date": "2024-10-26", "counter": 21022999, "subCounter": 20963809, "dateRAZ": "2022-11-07"}}]}]}]) 2024-10-26 18:10:31,601 - tydom.MessageHandler - DEBUG - Message received detected as (msg_cdata) 2024-10-26 18:10:31,602 - tydom.MessageHandler - INFO - Device configured (id=0, endpoint=4, name=Tywatt, type=conso) 2024-10-26 18:10:31,602 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'homeassistant/sensor/tydom/elec_total_tydom_4_0/config'', ... (271 bytes) 2024-10-26 18:10:31,602 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'sensor/tydom/ELEC_TOTAL_tydom_4_0/state'', ... (8 bytes) 2024-10-26 18:10:31,603 - sensors.Sensor - INFO - Sensor created / updated : ELEC_TOTAL 21022999 2024-10-26 18:10:31,603 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:31,604 - gmqtt.client - DEBUG - [CMD 0x30] b"\x00'sensor/tydom/ELEC_TOTAL_tydom_4_0/state\x0021022999" 2024-10-26 18:10:31,604 - gmqtt.client - DEBUG - [RECV sensor/tydom/ELEC_TOTAL_tydom_4_0/state with QoS: 0] b'\x0021022999' 2024-10-26 18:10:31,604 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2024-10-26 18:10:31,800 - 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 [248 bytes] 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n31\r\n[{"name":"energyIndex","status":"destNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:31,800 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3031) 2024-10-26 18:10:31,801 - tydom.MessageHandler - WARNING - Unknown message type received (3031) 2024-10-26 18:10:31,801 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:32,010 - 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 [248 bytes] 2024-10-26 18:10:32,010 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n31\r\n[{"name":"energyIndex","status":"destNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:32,010 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:32,011 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3031) 2024-10-26 18:10:32,011 - tydom.MessageHandler - WARNING - Unknown message type received (3031) 2024-10-26 18:10:32,011 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:32,021 - websockets.client - DEBUG - % sending keepalive ping 2024-10-26 18:10:32,021 - websockets.client - DEBUG - > PING ec 98 8a ed [binary, 4 bytes] 2024-10-26 18:10:32,023 - websockets.client - DEBUG - < PONG '' [0 bytes] 2024-10-26 18:10:32,220 - 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 [248 bytes] 2024-10-26 18:10:32,220 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n31\r\n[{"name":"energyIndex","status":"destNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:32,220 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:32,221 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3031) 2024-10-26 18:10:32,221 - tydom.MessageHandler - WARNING - Unknown message type received (3031) 2024-10-26 18:10:32,221 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:32,430 - 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 [248 bytes] 2024-10-26 18:10:32,430 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n31\r\n[{"name":"energyIndex","status":"destNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:32,430 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:32,431 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3031) 2024-10-26 18:10:32,431 - tydom.MessageHandler - WARNING - Unknown message type received (3031) 2024-10-26 18:10:32,431 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:32,640 - 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 [247 bytes] 2024-10-26 18:10:32,640 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n30\r\n[{"name":"energyIndex","status":"srcNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:32,640 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:32,640 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3030) 2024-10-26 18:10:32,641 - tydom.MessageHandler - WARNING - Unknown message type received (3030) 2024-10-26 18:10:32,641 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-10-26 18:10:32,850 - 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 [247 bytes] 2024-10-26 18:10:32,850 - tydom.MessageHandler - DEBUG - MNJ:incomming_bytes (b'PUT /devices/cdata HTTP/1.1\r\nServer: Tydom-macAddress\r\ncontent-type: application/json\r\nTransac-Id: 0\r\nTransfer-Encoding: chunked\r\n\r\n30\r\n[{"id":0,"endpoints":[{"id":4,"error":0,"cdata":\r\n30\r\n[{"name":"energyIndex","status":"srcNOK"}]}]}]\r\n\r\n0\r\n\r\n') 2024-10-26 18:10:32,850 - tydom.MessageHandler - DEBUG - PUT /devices/data or /areas/data message detected ! 2024-10-26 18:10:32,851 - tydom.MessageHandler - DEBUG - MNJ:Trame incoming (3030) 2024-10-26 18:10:32,851 - tydom.MessageHandler - WARNING - Unknown message type received (3030) 2024-10-26 18:10:32,851 - tydom.MessageHandler - DEBUG - Incoming data parsed with success