Szia,
A mérő: Sanxing SX601 (P12S01)
A HA egy VM Synology-n
Próbáltam DSMR Slimme Meter integrációval de hibát ad vissza:
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:96
First occurred: 13:43:07 (1 occurrences)
Last logged: 13:43:07
Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 870, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.9/site-packages/dsmr_parser/clients/protocol.py", line 124, in data_received
telegram = telegram.encode("latin1").decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 1177: ordinal not in range(128)
and
Logger: dsmr_parser.clients.protocol
Source: /usr/local/lib/python3.9/site-packages/dsmr_parser/clients/protocol.py:141
First occurred: 13:43:07 (1 occurrences)
Last logged: 13:43:07
disconnected due to exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 870, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.9/site-packages/dsmr_parser/clients/protocol.py", line 124, in data_received
telegram = telegram.encode("latin1").decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 1177: ordinal not in range(128)
a smartgateways ip-n érhető el.
Telneten látom az adatait, igaz utf-8 kódolás esetén vacakút néz ki
/AUX59940192257
0-0:1.0.0(220207153250W)
0-0:42.0.0(AUX1020340192257)
0-0:96.1.0(9940192257)
0-0:96.14.0(0001)
0-0:96.50.68(ON)
0-0:17.0.0(24.000*kW)
1-0:1.8.0(003822.900*kWh)
1-0:1.8.1(001726.662*kWh)
1-0:1.8.2(002096.238*kWh)
1-0:1.8.3(000000.000*kWh)
1-0:1.8.4(000000.000*kWh)
1-0:2.8.0(000000.000*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
1-0:2.8.3(000000.000*kWh)
1-0:2.8.4(000000.000*kWh)
1-0:3.8.0(000077.938*kvarh)
1-0:4.8.0(000338.459*kvarh)
1-0:5.8.0(000077.938*kvarh)
1-0:6.8.0(000000.000*kvarh)
1-0:7.8.0(000000.000*kvarh)
1-0:8.8.0(000338.459*kvarh)
1-0:15.8.0(003822.900*kWh)
1-0:32.7.0(232.0*V)
1-0:31.7.0(004*A)
1-0:33.7.0(0.948)
1-0:14.7.0(50.00*Hz)
1-0:1.7.0(01.116*kW)
1-0:2.7.0(00.000*kW)
1-0:5.7.0(00.163*kvar)
1-0:6.7.0(00.000*kvar)
1-0:7.7.0(00.000*kvar)
1-0:8.7.0(00.000*kvar)
0-0:98.1.0(220201000000W)(003574.321*kWh)(001624.224*kWh)(001950.097*kWh)(000000.000*kWh)(000000.000*kWh)(000000.000*kWh)(000072.292*kvarh)(000317.886*kvarh)(000072.292*kvarh)(000000.000*kvarh)(000000.000*kvarh)(000317.886*kvarh)(003574.321*kWh)(05.248*kW)(05.248*kW)(04.228*kW)(00.000*kW)(00.000*kW)(00.000*kW)
0-0:96.13.0(˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙!0231
MQTT is próbáltam, ott meg olyan mintha üres adatokat tolna, bár RSSI értéket küld.
Írtam privátban is
Tamás