Closed Roving-Ronin closed 1 month ago
@wlcrs I'm still getting my Emma installed, when it's connected I'll offer you remote access if technically possible. 🤙
Again a new version to test. I improved how I test for write-capabilities. Still no clue on how EMMA handles this: do I need to do the same "magic" modbus commands to perform the login sequence as I need to do for the inverters, or will it just be enabled without needing to enter the installer credentials?
Other notable change: I've added slave auto-discovery as documented in the EMMA modbus definitions pdf. Luckily my SUN2000 inverter does also support those special messages.
Can you remove and re-install the integration? Please leave the slave id field set to 'AUTO' to test this feature.
Please also add the following to your configurtion.yaml to make some things a bit more verbose:
logger:
default: info
logs:
custom_components.huawei_solar: debug
huawei_solar: debug
@dragosmd Also, as your logs indicate that your HA is in an inconsistent state because of half-populated sensors, can you please:
as for later Emma registry can I help add some of them? with some guidance as well? I would like the info from some registry and the on-grid / off-grid switch for example
Sensors needs to be defined on 2 locations: in the underlying library, and in the HA integration.
In the underlying library @Roving-Ronin has already provided some helpful input: https://github.com/Roving-Ronin/huawei-solar-lib/blob/dfd6f5dce7d20052c3a35e01994bfa2c1a866950/src/huawei_solar/registers.py#L1302
For the moment, only a part of his work has already been integrated, as I wanted to verify that we are able to connect to EMMA to begin with. As you have now validated that connecting via Modbus TCP actually works, we can continue implementing these registers.
The second part is defining the sensors in the integration. The first few sensors were defined here: https://github.com/wlcrs/huawei_solar/blob/74bdd52c9be23a677e01827b1b5a909b6e7c1d33/sensor.py#L961-L1025
AUTO slave:
2024-08-06 23:00:38.664 DEBUG (MainThread) [pymodbus.logging] Connecting to 192.168.1.11:502.
2024-08-06 23:00:38.664 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2024-08-06 23:00:38.665 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2024-08-06 23:00:38.665 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:00:40.166 DEBUG (MainThread) [pymodbus.logging] Adding transaction 1
2024-08-06 23:00:40.167 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:00:40.167 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x1 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x30 0x0 0x41
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x4e 0x53 0x32 0x34 0x34 0x31 0x33 0x33 0x31 0x30 0x38 0x37 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x20 0x56 0x31 0x30 0x30 0x52 0x30 0x32 0x34 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x4e 0x53 0x32 0x34 0x34 0x31 0x33 0x33 0x31 0x30 0x38 0x37 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x20 0x56 0x31 0x30 0x30 0x52 0x30 0x32 0x34 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] Getting transaction 1
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:00:40.170 DEBUG (MainThread) [pymodbus.logging] [21357, 24946, 29768, 17741, 21248, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20051, 12852, 13361, 13107, 12592, 14391, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21357, 24946, 29768, 17741, 21280, 22065, 12336, 21040, 12852, 17200, 12371, 20547, 12592, 12288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-08-06 23:00:40.171 WARNING (MainThread) [huawei_solar.bridge] TODO: EMMA product model is not known at the moment. Assuming that it is SmartHEMS.
2024-08-06 23:00:40.221 DEBUG (MainThread) [pymodbus.logging] Adding transaction 2
2024-08-06 23:00:40.221 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:00:40.221 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2 0x0 0x0 0x0 0x6 0x0 0x3 0x76 0xe 0x0 0x14
2024-08-06 23:00:40.223 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x45 0x4d 0x4d 0x41 0x2d 0x41 0x30 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x45 0x4d 0x4d 0x41 0x2d 0x41 0x30 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Getting transaction 2
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] [17741, 19777, 11585, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Adding transaction 3
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:00:40.224 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x3 0x0 0x0 0x0 0x5 0x0 0x2b 0xe 0x3 0x87
2024-08-06 23:00:40.227 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x3 0x0 0x0 0x0 0xb 0x0 0x2b 0xe 0x3 0x3 0xff 0x88 0x6 0x87 0x1 0x5 old_data: addr=None
2024-08-06 23:00:40.227 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x0 0x2b 0xe 0x3 0x3 0xff 0x88 0x6 0x87 0x1 0x5
2024-08-06 23:00:40.227 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadDeviceIdentifierResponse': 43]
2024-08-06 23:00:40.227 ERROR (MainThread) [pymodbus.logging] General exception: unpack_from requires a buffer of at least 11 bytes for unpacking 2 bytes at offset 9 (actual buffer size is 9)
2024-08-06 23:00:40.227 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer - 0x0 0x3 0x0 0x0 0x0 0xb 0x0 0x2b 0xe 0x3 0x3 0xff 0x88 0x6 0x87 0x1 0x5
2024-08-06 23:00:40.227 ERROR (MainThread) [homeassistant] Error doing job: Fatal error: protocol.data_received() call failed. (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1017, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.12/site-packages/pymodbus/transport/transport.py", line 302, in data_received
self.datagram_received(data, None)
File "/usr/local/lib/python3.12/site-packages/pymodbus/transport/transport.py", line 336, in datagram_received
cut = self.callback_data(self.recv_buffer, addr=addr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 207, in callback_data
self.framer.processIncomingPacket(data, self._handle_response, slave=0)
File "/usr/local/lib/python3.12/site-packages/pymodbus/framer/base.py", line 139, in processIncomingPacket
self.frameProcessIncomingPacket(single, callback, slave, **kwargs)
File "/usr/local/lib/python3.12/site-packages/pymodbus/framer/socket_framer.py", line 91, in frameProcessIncomingPacket
raise ModbusIOException("Unable to decode request")
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
2024-08-06 23:00:40.229 DEBUG (MainThread) [pymodbus.logging] Connection lost comm due to Modbus Error: [Input/Output] Unable to decode request
2024-08-06 23:00:40.229 DEBUG (MainThread) [pymodbus.logging] callback_disconnected called: Modbus Error: [Input/Output] Unable to decode request
2024-08-06 23:00:40.229 DEBUG (MainThread) [pymodbus.logging] Wait comm 1000000 ms before reconnecting.
2024-08-06 23:00:50.226 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:00:50.226 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-08-06 23:00:50.226 ERROR (MainThread) [custom_components.huawei_solar.config_flow] Unexpected exception while connecting via ModbusTCP
Traceback (most recent call last):
File "/config/custom_components/huawei_solar/config_flow.py", line 499, in async_step_setup_network
info = await validate_network_setup_auto_slave_discovery(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/huawei_solar/config_flow.py", line 122, in validate_network_setup_auto_slave_discovery
device_infos = await bridge.client.get_device_infos()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 464, in get_device_infos
response = await self._client.execute(ReadDeviceIdentifierRequest(read_dev_id_code=0x03, object_id=0x87))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 175, in async_execute
resp = await asyncio.wait_for(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Client is not connected
### Slave 0,123 - elevated (don't work ) Slave 0,123
2024-08-06 23:01:17.741 DEBUG (MainThread) [pymodbus.logging] Connecting to 192.168.1.11:502.
2024-08-06 23:01:17.741 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2024-08-06 23:01:17.743 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2024-08-06 23:01:17.743 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:01:19.244 DEBUG (MainThread) [pymodbus.logging] Adding transaction 1
2024-08-06 23:01:19.244 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:01:19.244 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x1 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x30 0x0 0x41
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x4e 0x53 0x32 0x34 0x34 0x31 0x33 0x33 0x31 0x30 0x38 0x37 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x20 0x56 0x31 0x30 0x30 0x52 0x30 0x32 0x34 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x4e 0x53 0x32 0x34 0x34 0x31 0x33 0x33 0x31 0x30 0x38 0x37 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x53 0x6d 0x61 0x72 0x74 0x48 0x45 0x4d 0x53 0x20 0x56 0x31 0x30 0x30 0x52 0x30 0x32 0x34 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] Getting transaction 1
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:01:19.247 DEBUG (MainThread) [pymodbus.logging] [21357, 24946, 29768, 17741, 21248, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20051, 12852, 13361, 13107, 12592, 14391, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21357, 24946, 29768, 17741, 21280, 22065, 12336, 21040, 12852, 17200, 12371, 20547, 12592, 12288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-08-06 23:01:19.248 WARNING (MainThread) [huawei_solar.bridge] TODO: EMMA product model is not known at the moment. Assuming that it is SmartHEMS.
2024-08-06 23:01:19.299 DEBUG (MainThread) [pymodbus.logging] Adding transaction 2
2024-08-06 23:01:19.299 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:01:19.299 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2 0x0 0x0 0x0 0x6 0x0 0x3 0x76 0xe 0x0 0x14
2024-08-06 23:01:19.301 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x45 0x4d 0x4d 0x41 0x2d 0x41 0x30 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:01:19.301 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x45 0x4d 0x4d 0x41 0x2d 0x41 0x30 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:01:19.302 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:01:19.302 DEBUG (MainThread) [pymodbus.logging] Getting transaction 2
2024-08-06 23:01:19.302 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:01:19.302 DEBUG (MainThread) [pymodbus.logging] [17741, 19777, 11585, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-08-06 23:01:19.353 DEBUG (MainThread) [pymodbus.logging] Adding transaction 3
2024-08-06 23:01:19.353 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:01:19.353 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x3 0x0 0x0 0x0 0x6 0x7b 0x3 0x75 0x30 0x0 0x41
2024-08-06 23:01:19.356 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x3 0x0 0x0 0x0 0x85 0x7b 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:01:19.356 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x3 0x0 0x0 0x0 0x85 0x7b 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:01:19.356 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:01:19.356 DEBUG (MainThread) [pymodbus.logging] Getting transaction 3
2024-08-06 23:01:19.356 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:01:19.357 DEBUG (MainThread) [pymodbus.logging] [21333, 20018, 12336, 12333, 13899, 21580, 11596, 12544, 0, 0, 0, 0, 0, 0, 0, 18518, 12850, 14640, 12857, 14644, 12344, 0, 0, 0, 0, 12337, 12343, 13619, 13365, 11568, 12597, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12371, 20547, 12596, 12800, 0, 0, 0, 0, 0, 0]
2024-08-06 23:01:19.408 DEBUG (MainThread) [pymodbus.logging] Adding transaction 4
2024-08-06 23:01:19.408 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:01:19.408 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x4 0x0 0x0 0x0 0x6 0x7b 0x3 0x75 0x77 0x0 0x1
2024-08-06 23:01:19.410 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x4 0x0 0x0 0x0 0x5 0x7b 0x3 0x2 0x0 0x2 old_data: addr=None
2024-08-06 23:01:19.410 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x4 0x0 0x0 0x0 0x5 0x7b 0x3 0x2 0x0 0x2
2024-08-06 23:01:19.410 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
No Battery Numbers
Added 2nd connection to Inverter as Auto / Elevated
0x34 0x30 0x38 0x3b 0x35 0x3d 0x30 0x3b 0x36 0x3d 0x31 0x2e 0x33
2024-08-06 23:05:40.857 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadDeviceIdentifierResponse': 43]
2024-08-06 23:05:40.857 DEBUG (MainThread) [pymodbus.logging] Getting transaction 13
2024-08-06 23:05:40.857 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:40.858 WARNING (MainThread) [custom_components.huawei_solar.config_flow] Skipping slave 0. Product type: None, model: SUN2000L-6KTL-L1, software version: V200R001C00SPC142
2024-08-06 23:05:44.911 DEBUG (MainThread) [pymodbus.logging] Connecting to 192.168.200.1:6607.
2024-08-06 23:05:44.911 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2024-08-06 23:05:44.916 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2024-08-06 23:05:44.916 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.417 DEBUG (MainThread) [pymodbus.logging] Adding transaction 1
2024-08-06 23:05:46.417 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.417 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x1 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x30 0x0 0x41
2024-08-06 23:05:46.496 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:05:46.496 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:05:46.496 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:46.497 DEBUG (MainThread) [pymodbus.logging] Getting transaction 1
2024-08-06 23:05:46.497 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:46.497 DEBUG (MainThread) [pymodbus.logging] [21333, 20018, 12336, 12333, 13899, 21580, 11596, 12544, 0, 0, 0, 0, 0, 0, 0, 18518, 12850, 14640, 12857, 14644, 12344, 0, 0, 0, 0, 12337, 12343, 13619, 13365, 11568, 12597, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12371, 20547, 12596, 12800, 0, 0, 0, 0, 0, 0]
2024-08-06 23:05:46.553 DEBUG (MainThread) [pymodbus.logging] Adding transaction 2
2024-08-06 23:05:46.553 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.553 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x77 0x0 0x1
2024-08-06 23:05:46.562 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2 old_data: addr=None
2024-08-06 23:05:46.562 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2
2024-08-06 23:05:46.562 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:46.562 DEBUG (MainThread) [pymodbus.logging] Getting transaction 2
2024-08-06 23:05:46.562 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:46.563 DEBUG (MainThread) [pymodbus.logging] [2]
2024-08-06 23:05:46.613 DEBUG (MainThread) [pymodbus.logging] Adding transaction 3
2024-08-06 23:05:46.613 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.613 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x3 0x0 0x0 0x0 0x6 0x0 0x3 0x91 0x50 0x0 0x1
2024-08-06 23:05:46.622 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x3 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:46.622 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x3 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:46.623 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:46.623 DEBUG (MainThread) [pymodbus.logging] Getting transaction 3
2024-08-06 23:05:46.623 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:46.623 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:46.674 DEBUG (MainThread) [pymodbus.logging] Adding transaction 4
2024-08-06 23:05:46.674 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.674 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x4 0x0 0x0 0x0 0x6 0x0 0x3 0xb7 0x98 0x0 0x1
2024-08-06 23:05:46.691 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2 old_data: addr=None
2024-08-06 23:05:46.691 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2
2024-08-06 23:05:46.691 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:46.692 DEBUG (MainThread) [pymodbus.logging] Getting transaction 4
2024-08-06 23:05:46.692 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:46.692 DEBUG (MainThread) [pymodbus.logging] [2]
2024-08-06 23:05:46.743 DEBUG (MainThread) [pymodbus.logging] Adding transaction 5
2024-08-06 23:05:46.743 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.743 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x5 0x0 0x0 0x0 0x6 0x0 0x3 0xb7 0xf1 0x0 0x1
2024-08-06 23:05:46.761 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x5 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:46.761 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x5 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:46.761 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:46.762 DEBUG (MainThread) [pymodbus.logging] Getting transaction 5
2024-08-06 23:05:46.762 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:46.762 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:46.812 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-08-06 23:05:46.812 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:46.812 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x0 0x3 0xbb 0x52 0x0 0x1
2024-08-06 23:05:47.109 DEBUG (MainThread) [pymodbus.logging] Adding transaction 40
2024-08-06 23:05:47.109 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.109 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x28 0x0 0x0 0x0 0x6 0x0 0x3 0x76 0x5e 0x0 0x1c
2024-08-06 23:05:47.112 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x28 0x0 0x0 0x0 0x3b 0x0 0x3 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x3b 0xca 0x0 0x0 0x3 0xf8 0x0 0x0 0x0 0x0 0x0 0x3 0x8c 0x35 0x0 0x0 0x3 0xd1 0x0 0x0 0x0 0x0 0x0 0x3 0x84 0xa 0x0 0x0 0x23 0x28 0x0 0x0 0x23 0x28 0x0 0x0 0x27 0x10 0x0 0x0 0x7 0x62 0x0 0x0 0x0 0x0 0x0 0x18 0x5e 0xa8 old_data: addr=None
2024-08-06 23:05:47.112 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x28 0x0 0x0 0x0 0x3b 0x0 0x3 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x3b 0xca 0x0 0x0 0x3 0xf8 0x0 0x0 0x0 0x0 0x0 0x3 0x8c 0x35 0x0 0x0 0x3 0xd1 0x0 0x0 0x0 0x0 0x0 0x3 0x84 0xa 0x0 0x0 0x23 0x28 0x0 0x0 0x23 0x28 0x0 0x0 0x27 0x10 0x0 0x0 0x7 0x62 0x0 0x0 0x0 0x0 0x0 0x18 0x5e 0xa8
2024-08-06 23:05:47.112 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.112 DEBUG (MainThread) [pymodbus.logging] Getting transaction 40
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] [0, 0, 0, 15306, 0, 1016, 0, 0, 3, 35893, 0, 977, 0, 0, 3, 33802, 0, 9000, 0, 9000, 0, 10000, 0, 1890, 0, 0, 24, 24232]
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x00', b'\x00\x00', b';\xca']
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x03\xf8']
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x00', b'\x00\x03', b'\x8c5']
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x03\xd1']
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x07b']
2024-08-06 23:05:47.113 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x00', b'\x00\x18', b'^\xa8']
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] Getting transaction 6
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.133 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:47.185 DEBUG (MainThread) [pymodbus.logging] Adding transaction 7
2024-08-06 23:05:47.185 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.185 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x7 0x0 0x0 0x0 0x6 0x0 0x3 0x90 0xec 0x0 0x1
2024-08-06 23:05:47.287 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x7 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:05:47.287 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x7 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:05:47.287 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.287 DEBUG (MainThread) [pymodbus.logging] Getting transaction 7
2024-08-06 23:05:47.287 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.288 DEBUG (MainThread) [pymodbus.logging] [1]
2024-08-06 23:05:47.338 DEBUG (MainThread) [pymodbus.logging] Adding transaction 8
2024-08-06 23:05:47.338 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.338 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x8 0x0 0x0 0x0 0x6 0x0 0x3 0x91 0x5 0x0 0x1
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x8 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x8 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] Getting transaction 8
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.348 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:47.399 DEBUG (MainThread) [pymodbus.logging] Adding transaction 9
2024-08-06 23:05:47.399 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.399 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x9 0x0 0x0 0x0 0x6 0x0 0x3 0xa7 0x94 0x0 0x1
2024-08-06 23:05:47.478 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x9 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:05:47.478 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x9 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:05:47.478 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.479 DEBUG (MainThread) [pymodbus.logging] Getting transaction 9
2024-08-06 23:05:47.479 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.479 DEBUG (MainThread) [pymodbus.logging] [1]
2024-08-06 23:05:47.530 DEBUG (MainThread) [pymodbus.logging] Adding transaction 10
2024-08-06 23:05:47.531 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.531 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xa 0x0 0x0 0x0 0x6 0x0 0x3 0xa7 0xfe 0x0 0x1
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xa 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78 old_data: addr=None
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xa 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] Getting transaction 10
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.539 DEBUG (MainThread) [pymodbus.logging] [120]
2024-08-06 23:05:47.591 DEBUG (MainThread) [pymodbus.logging] Adding transaction 11
2024-08-06 23:05:47.591 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.591 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xb 0x0 0x0 0x0 0x5 0x0 0x41 0x24 0x1 0x0
2024-08-06 23:05:47.666 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xb 0x0 0x0 0x0 0x15 0x0 0x41 0x24 0x11 0xf8 0x79 0x9f 0x93 0x93 0x20 0x12 0x9f 0x7d 0x75 0xf 0xa 0xad 0x63 0x4c 0x57 0x1 old_data: addr=None
2024-08-06 23:05:47.666 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xb 0x0 0x0 0x0 0x15 0x0 0x41 0x24 0x11 0xf8 0x79 0x9f 0x93 0x93 0x20 0x12 0x9f 0x7d 0x75 0xf 0xa 0xad 0x63 0x4c 0x57 0x1
2024-08-06 23:05:47.667 DEBUG (MainThread) [pymodbus.logging] Factory Response[PrivateHuaweiModbusResponse': 65]
2024-08-06 23:05:47.667 DEBUG (MainThread) [pymodbus.logging] Getting transaction 11
2024-08-06 23:05:47.667 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:47.718 DEBUG (MainThread) [pymodbus.logging] Adding transaction 12
2024-08-06 23:05:47.718 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:47.718 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xc 0x0 0x0 0x0 0x3f 0x0 0x41 0x25 0x3b 0xab 0x8b 0x20 0xfd 0xd9 0xeb 0x6d 0xbf 0xca 0x9a 0x5d 0x4a 0x1a 0x33 0x84 0x76 0x9 0x69 0x6e 0x73 0x74 0x61 0x6c 0x6c 0x65 0x72 0x20 0x2c 0xdf 0x31 0xe0 0xe2 0xc 0xbb 0xc9 0x1f 0x6b 0xb5 0xbe 0x58 0x8e 0x85 0xb3 0xf 0xef 0x4b 0xf5 0xb1 0x3 0x8a 0x22 0xff 0x34 0x14 0x28 0x77 0xe5 0xd5 0x1c
2024-08-06 23:05:48.132 DEBUG (MainThread) [pymodbus.logging] Adding transaction 41
2024-08-06 23:05:48.132 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:48.132 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x29 0x0 0x0 0x0 0x6 0x7b 0x3 0x7d 0x0 0x0 0x14
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x29 0x0 0x0 0x0 0x2b 0x7b 0x3 0x28 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xe 0x81 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x29 0x0 0x0 0x0 0x2b 0x7b 0x3 0x28 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xe 0x81 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] Getting transaction 41
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] [6, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3713, 0, 0, 0, 0]
2024-08-06 23:05:48.135 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x00']
2024-08-06 23:05:48.186 DEBUG (MainThread) [pymodbus.logging] Adding transaction 42
2024-08-06 23:05:48.186 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:48.186 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2a 0x0 0x0 0x0 0x6 0x7b 0x3 0x7d 0x40 0x0 0x34
2024-08-06 23:05:48.189 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2a 0x0 0x0 0x0 0x6b 0x7b 0x3 0x68 0x0 0x0 0x0 0x0 0x8 0xe5 0x0 0x0 0x0 0x0 0x4 0x70 0x0 0x2 0x0 0x0 0x0 0x0 0x8 0x13 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x17 0x70 0x0 0x0 0x1 0xe5 0xff 0xff 0xff 0xfe 0x3 0xe8 0x13 0x85 0x27 0x10 0x1 0x10 0xb 0xb8 0x2 0x0 0x0 0x0 0x66 0xb1 0xcc 0x94 0xff 0xff 0xff 0xff 0x0 0x0 0x1 0xf2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xfd 0x0 0x0 0x3b 0xca 0x0 0x18 0xd7 0x3a 0x0 0x1a 0x7c 0xe 0x66 0xb2 0xac 0x46 0x0 0x0 0x0 0x4 0x0 0x0 0xa 0x7b old_data: addr=None
2024-08-06 23:05:48.189 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2a 0x0 0x0 0x0 0x6b 0x7b 0x3 0x68 0x0 0x0 0x0 0x0 0x8 0xe5 0x0 0x0 0x0 0x0 0x4 0x70 0x0 0x2 0x0 0x0 0x0 0x0 0x8 0x13 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x17 0x70 0x0 0x0 0x1 0xe5 0xff 0xff 0xff 0xfe 0x3 0xe8 0x13 0x85 0x27 0x10 0x1 0x10 0xb 0xb8 0x2 0x0 0x0 0x0 0x66 0xb1 0xcc 0x94 0xff 0xff 0xff 0xff 0x0 0x0 0x1 0xf2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xfd 0x0 0x0 0x3b 0xca 0x0 0x18 0xd7 0x3a 0x0 0x1a 0x7c 0xe 0x66 0xb2 0xac 0x46 0x0 0x0 0x0 0x4 0x0 0x0 0xa 0x7b
2024-08-06 23:05:48.189 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:48.189 DEBUG (MainThread) [pymodbus.logging] Getting transaction 42
2024-08-06 23:05:48.189 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] [0, 0, 2277, 0, 0, 1136, 2, 0, 0, 2067, 0, 0, 0, 0, 0, 6000, 0, 485, 65535, 65534, 1000, 4997, 10000, 272, 3000, 512, 0, 26289, 52372, 65535, 65535, 0, 498, 0, 0, 0, 0, 0, 65535, 65533, 0, 15306, 24, 55098, 26, 31758, 26290, 44102, 0, 4, 0, 2683]
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x00']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x17p']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x01\xe5']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'f\xb1', b'\xcc\x94']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\xff\xff', b'\xff\xff']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x18', b'\xd7:']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x1a', b'|\x0e']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x00\x04']
2024-08-06 23:05:48.190 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\n{']
2024-08-06 23:05:48.314 DEBUG (MainThread) [pymodbus.logging] Adding transaction 43
2024-08-06 23:05:48.314 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:48.314 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2b 0x0 0x0 0x0 0x6 0x7b 0x3 0x93 0x80 0x0 0x1c
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2b 0x0 0x0 0x0 0x3b 0x7b 0x3 0x38 0x3 0x2 0x0 0x0 0x0 0x2 0x11 0x8a 0xff 0xf6 0xff 0xff 0xfe 0x1b 0x0 0x0 0x27 0x10 0x0 0x0 0x27 0x10 0x0 0x0 0x23 0x28 0x0 0x0 0x23 0x28 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3 0x8c 0x35 0x0 0x3 0x84 0xa 0x0 0x0 0x3 0xf8 0x0 0x0 0x3 0xd1 old_data: addr=None
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2b 0x0 0x0 0x0 0x3b 0x7b 0x3 0x38 0x3 0x2 0x0 0x0 0x0 0x2 0x11 0x8a 0xff 0xf6 0xff 0xff 0xfe 0x1b 0x0 0x0 0x27 0x10 0x0 0x0 0x27 0x10 0x0 0x0 0x23 0x28 0x0 0x0 0x23 0x28 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3 0x8c 0x35 0x0 0x3 0x84 0xa 0x0 0x0 0x3 0xf8 0x0 0x0 0x3 0xd1
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] Getting transaction 43
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] [770, 0, 2, 4490, 65526, 65535, 65051, 0, 10000, 0, 10000, 0, 9000, 0, 9000, 0, 0, 0, 0, 0, 3, 35893, 3, 33802, 0, 1016, 0, 977]
2024-08-06 23:05:48.317 DEBUG (MainThread) [pymodbus.logging] handle: [b'\xff\xff', b'\xfe\x1b']
2024-08-06 23:05:48.318 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x03', b'\x8c5']
2024-08-06 23:05:48.318 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x03', b'\x84\n']
2024-08-06 23:05:48.318 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x03\xf8']
2024-08-06 23:05:48.318 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x03\xd1']
2024-08-06 23:05:49.736 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xc 0x0 0x0 0x0 0x58 0x0 0x41 0x25 0x54 0x0 0x20 0xf6 0x69 0x16 0x82 0x86 0x76 0x78 0xa6 0x3b 0x41 0xe6 0x7c 0x30 0x18 0xb6 0x3d 0xf0 0x34 0x92 0xeb 0xdf 0xfc 0x72 0x31 0xdd 0x94 0x89 0x8e 0x16 0x27 0x64 0xb2 0x1 0x0 0x3a 0xd1 0xe 0xba 0x8e 0xb9 0x33 0x0 0x2a 0xf2 0x7e 0xe1 0x7b 0x8a 0xf 0x6d 0x51 0x25 0xf9 0xea 0x54 0x68 0x8e 0xd1 0x28 0xd 0x9f 0xf8 0x7 0x49 0xb5 0x7c 0x9f 0x32 0x9d 0xf6 0xa 0x9a 0xc2 0xd1 0x54 0x2a 0xea 0x89 0x95 0xad 0x58 0x43 old_data: addr=None
2024-08-06 23:05:49.736 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xc 0x0 0x0 0x0 0x58 0x0 0x41 0x25 0x54 0x0 0x20 0xf6 0x69 0x16 0x82 0x86 0x76 0x78 0xa6 0x3b 0x41 0xe6 0x7c 0x30 0x18 0xb6 0x3d 0xf0 0x34 0x92 0xeb 0xdf 0xfc 0x72 0x31 0xdd 0x94 0x89 0x8e 0x16 0x27 0x64 0xb2 0x1 0x0 0x3a 0xd1 0xe 0xba 0x8e 0xb9 0x33 0x0 0x2a 0xf2 0x7e 0xe1 0x7b 0x8a 0xf 0x6d 0x51 0x25 0xf9 0xea 0x54 0x68 0x8e 0xd1 0x28 0xd 0x9f 0xf8 0x7 0x49 0xb5 0x7c 0x9f 0x32 0x9d 0xf6 0xa 0x9a 0xc2 0xd1 0x54 0x2a 0xea 0x89 0x95 0xad 0x58 0x43
2024-08-06 23:05:49.737 DEBUG (MainThread) [pymodbus.logging] Factory Response[PrivateHuaweiModbusResponse': 65]
2024-08-06 23:05:49.737 DEBUG (MainThread) [pymodbus.logging] Getting transaction 12
2024-08-06 23:05:49.737 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:49.737 DEBUG (MainThread) [pymodbus.logging] Adding transaction 13
2024-08-06 23:05:49.738 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:49.738 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1
2024-08-06 23:05:49.743 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1 old_data: addr=None
2024-08-06 23:05:49.743 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1
2024-08-06 23:05:49.743 DEBUG (MainThread) [pymodbus.logging] Factory Response[WriteSingleRegisterResponse': 6]
2024-08-06 23:05:49.743 DEBUG (MainThread) [pymodbus.logging] Getting transaction 13
2024-08-06 23:05:49.744 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:49.788 DEBUG (MainThread) [pymodbus.logging] Adding transaction 14
2024-08-06 23:05:49.788 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:49.788 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xe 0x0 0x0 0x0 0x6 0x0 0x3 0xa7 0xfe 0x0 0x1
2024-08-06 23:05:49.797 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xe 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78 old_data: addr=None
2024-08-06 23:05:49.797 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xe 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78
2024-08-06 23:05:49.797 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:49.797 DEBUG (MainThread) [pymodbus.logging] Getting transaction 14
2024-08-06 23:05:49.797 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:49.798 DEBUG (MainThread) [pymodbus.logging] [120]
2024-08-06 23:05:49.798 DEBUG (MainThread) [pymodbus.logging] [120]
2024-08-06 23:05:49.849 DEBUG (MainThread) [pymodbus.logging] [120]
2024-08-06 23:05:49.849 DEBUG (MainThread) [pymodbus.logging] Adding transaction 15
2024-08-06 23:05:49.849 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:49.849 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xf 0x0 0x0 0x0 0x6 0x0 0x6 0xa7 0xfe 0x0 0x78
2024-08-06 23:05:50.041 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xf 0x0 0x0 0x0 0x6 0x0 0x6 0xa7 0xfe 0x0 0x78 old_data: addr=None
2024-08-06 23:05:50.041 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xf 0x0 0x0 0x0 0x6 0x0 0x6 0xa7 0xfe 0x0 0x78
2024-08-06 23:05:50.041 DEBUG (MainThread) [pymodbus.logging] Factory Response[WriteSingleRegisterResponse': 6]
2024-08-06 23:05:50.042 DEBUG (MainThread) [pymodbus.logging] Getting transaction 15
2024-08-06 23:05:50.042 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:50.042 DEBUG (MainThread) [pymodbus.logging] Connecting to 192.168.200.1:6607.
2024-08-06 23:05:50.042 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2024-08-06 23:05:50.052 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2024-08-06 23:05:50.052 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.554 DEBUG (MainThread) [pymodbus.logging] Adding transaction 1
2024-08-06 23:05:51.554 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.554 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x1 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x30 0x0 0x41
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x1 0x0 0x0 0x0 0x85 0x0 0x3 0x82 0x53 0x55 0x4e 0x32 0x30 0x30 0x30 0x2d 0x36 0x4b 0x54 0x4c 0x2d 0x4c 0x31 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x48 0x56 0x32 0x32 0x39 0x30 0x32 0x39 0x39 0x34 0x30 0x38 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x30 0x31 0x30 0x37 0x35 0x33 0x34 0x35 0x2d 0x30 0x31 0x35 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x56 0x32 0x30 0x30 0x52 0x30 0x30 0x31 0x43 0x30 0x30 0x53 0x50 0x43 0x31 0x34 0x32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] Getting transaction 1
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:51.593 DEBUG (MainThread) [pymodbus.logging] [21333, 20018, 12336, 12333, 13899, 21580, 11596, 12544, 0, 0, 0, 0, 0, 0, 0, 18518, 12850, 14640, 12857, 14644, 12344, 0, 0, 0, 0, 12337, 12343, 13619, 13365, 11568, 12597, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22066, 12336, 21040, 12337, 17200, 12371, 20547, 12596, 12800, 0, 0, 0, 0, 0, 0]
2024-08-06 23:05:51.644 DEBUG (MainThread) [pymodbus.logging] Adding transaction 2
2024-08-06 23:05:51.644 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.644 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x2 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x77 0x0 0x1
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x2 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2 old_data: addr=None
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x2 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] Getting transaction 2
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:51.749 DEBUG (MainThread) [pymodbus.logging] [2]
2024-08-06 23:05:51.800 DEBUG (MainThread) [pymodbus.logging] Adding transaction 3
2024-08-06 23:05:51.800 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.800 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x3 0x0 0x0 0x0 0x6 0x0 0x3 0x91 0x50 0x0 0x1
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x3 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x3 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] Getting transaction 3
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:51.813 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:51.864 DEBUG (MainThread) [pymodbus.logging] Adding transaction 4
2024-08-06 23:05:51.864 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.865 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x4 0x0 0x0 0x0 0x6 0x0 0x3 0xb7 0x98 0x0 0x1
2024-08-06 23:05:51.875 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2 old_data: addr=None
2024-08-06 23:05:51.876 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x2
2024-08-06 23:05:51.876 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:51.876 DEBUG (MainThread) [pymodbus.logging] Getting transaction 4
2024-08-06 23:05:51.876 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:51.876 DEBUG (MainThread) [pymodbus.logging] [2]
2024-08-06 23:05:51.927 DEBUG (MainThread) [pymodbus.logging] Adding transaction 5
2024-08-06 23:05:51.927 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.927 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x5 0x0 0x0 0x0 0x6 0x0 0x3 0xb7 0xf1 0x0 0x1
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x5 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x5 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] Getting transaction 5
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:51.934 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:51.984 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-08-06 23:05:51.985 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:51.985 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x0 0x3 0xbb 0x52 0x0 0x1
2024-08-06 23:05:52.266 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:52.267 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x6 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:52.267 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:52.267 DEBUG (MainThread) [pymodbus.logging] Getting transaction 6
2024-08-06 23:05:52.267 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.267 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:52.318 DEBUG (MainThread) [pymodbus.logging] Adding transaction 7
2024-08-06 23:05:52.318 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.318 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x7 0x0 0x0 0x0 0x6 0x0 0x3 0x90 0xec 0x0 0x1
2024-08-06 23:05:52.328 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x7 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:05:52.328 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x7 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:05:52.329 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:52.329 DEBUG (MainThread) [pymodbus.logging] Getting transaction 7
2024-08-06 23:05:52.329 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.329 DEBUG (MainThread) [pymodbus.logging] [1]
2024-08-06 23:05:52.379 DEBUG (MainThread) [pymodbus.logging] Adding transaction 8
2024-08-06 23:05:52.380 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.380 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x8 0x0 0x0 0x0 0x6 0x0 0x3 0x91 0x5 0x0 0x1
2024-08-06 23:05:52.396 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x8 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:52.396 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x8 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:52.397 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:52.397 DEBUG (MainThread) [pymodbus.logging] Getting transaction 8
2024-08-06 23:05:52.397 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.397 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:52.448 DEBUG (MainThread) [pymodbus.logging] Adding transaction 9
2024-08-06 23:05:52.448 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.448 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x9 0x0 0x0 0x0 0x6 0x0 0x3 0xa7 0x94 0x0 0x1
2024-08-06 23:05:52.457 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x9 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:05:52.457 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x9 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:05:52.458 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:52.458 DEBUG (MainThread) [pymodbus.logging] Getting transaction 9
2024-08-06 23:05:52.458 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.458 DEBUG (MainThread) [pymodbus.logging] [1]
2024-08-06 23:05:52.509 DEBUG (MainThread) [pymodbus.logging] Adding transaction 10
2024-08-06 23:05:52.509 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.509 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xa 0x0 0x0 0x0 0x6 0x0 0x3 0xa7 0xfe 0x0 0x1
2024-08-06 23:05:52.521 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xa 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78 old_data: addr=None
2024-08-06 23:05:52.521 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xa 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x78
2024-08-06 23:05:52.522 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:52.522 DEBUG (MainThread) [pymodbus.logging] Getting transaction 10
2024-08-06 23:05:52.522 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.522 DEBUG (MainThread) [pymodbus.logging] [120]
2024-08-06 23:05:52.572 DEBUG (MainThread) [pymodbus.logging] Adding transaction 11
2024-08-06 23:05:52.573 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.573 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xb 0x0 0x0 0x0 0x5 0x0 0x41 0x24 0x1 0x0
2024-08-06 23:05:52.613 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xb 0x0 0x0 0x0 0x15 0x0 0x41 0x24 0x11 0xbd 0x51 0x1a 0x2a 0x9e 0xb6 0x58 0xc1 0xbb 0x60 0xcb 0x7f 0xed 0x52 0x4b 0x17 0x1 old_data: addr=None
2024-08-06 23:05:52.613 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xb 0x0 0x0 0x0 0x15 0x0 0x41 0x24 0x11 0xbd 0x51 0x1a 0x2a 0x9e 0xb6 0x58 0xc1 0xbb 0x60 0xcb 0x7f 0xed 0x52 0x4b 0x17 0x1
2024-08-06 23:05:52.613 DEBUG (MainThread) [pymodbus.logging] Factory Response[PrivateHuaweiModbusResponse': 65]
2024-08-06 23:05:52.614 DEBUG (MainThread) [pymodbus.logging] Getting transaction 11
2024-08-06 23:05:52.614 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:52.665 DEBUG (MainThread) [pymodbus.logging] Adding transaction 12
2024-08-06 23:05:52.665 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:52.665 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xc 0x0 0x0 0x0 0x3f 0x0 0x41 0x25 0x3b 0x1c 0x5a 0xb5 0x9b 0x2f 0xf6 0xc4 0x78 0x67 0xd4 0x8d 0xa 0xdd 0xf3 0x4d 0xf7 0x9 0x69 0x6e 0x73 0x74 0x61 0x6c 0x6c 0x65 0x72 0x20 0x28 0x56 0xef 0xfd 0x87 0x8e 0x38 0x57 0x87 0x93 0x10 0x46 0x81 0x23 0x32 0xc8 0xb8 0x2c 0xe5 0x1c 0x18 0xaa 0x48 0x82 0xc1 0xc6 0x3a 0xf9 0xd 0xea 0x32 0xf3
2024-08-06 23:05:54.852 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xc 0x0 0x0 0x0 0x58 0x0 0x41 0x25 0x54 0x0 0x20 0x68 0x49 0x78 0x63 0xc 0xba 0xd2 0xe 0xaf 0x30 0x46 0x87 0xf0 0xbe 0xd7 0xda 0xf4 0xaf 0xd2 0x1f 0xa1 0xf2 0xcd 0xc9 0xd5 0x6b 0x88 0xac 0x24 0x95 0x92 0x56 0x1 0x0 0x32 0x26 0x99 0x2c 0x1d 0x37 0x4d 0x1e 0xdf 0xa4 0x29 0x26 0xcc 0x90 0x5 0xba 0xa9 0x36 0xdc 0xdb 0x4c 0x2d 0xf 0x34 0x4a 0x50 0xfc 0xfa 0x20 0x3 0xd0 0xb6 0xf2 0xbf 0x4c 0x13 0x63 0x58 0x9f 0x1b 0x29 0x44 0x32 0xbd 0x54 0xed 0x4e 0x7b old_data: addr=None
2024-08-06 23:05:54.852 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xc 0x0 0x0 0x0 0x58 0x0 0x41 0x25 0x54 0x0 0x20 0x68 0x49 0x78 0x63 0xc 0xba 0xd2 0xe 0xaf 0x30 0x46 0x87 0xf0 0xbe 0xd7 0xda 0xf4 0xaf 0xd2 0x1f 0xa1 0xf2 0xcd 0xc9 0xd5 0x6b 0x88 0xac 0x24 0x95 0x92 0x56 0x1 0x0 0x32 0x26 0x99 0x2c 0x1d 0x37 0x4d 0x1e 0xdf 0xa4 0x29 0x26 0xcc 0x90 0x5 0xba 0xa9 0x36 0xdc 0xdb 0x4c 0x2d 0xf 0x34 0x4a 0x50 0xfc 0xfa 0x20 0x3 0xd0 0xb6 0xf2 0xbf 0x4c 0x13 0x63 0x58 0x9f 0x1b 0x29 0x44 0x32 0xbd 0x54 0xed 0x4e 0x7b
2024-08-06 23:05:54.852 DEBUG (MainThread) [pymodbus.logging] Factory Response[PrivateHuaweiModbusResponse': 65]
2024-08-06 23:05:54.852 DEBUG (MainThread) [pymodbus.logging] Getting transaction 12
2024-08-06 23:05:54.852 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:54.857 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_input_power already exists - ignoring sensor.inverter_input_power
2024-08-06 23:05:54.859 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_day_active_power_peak already exists - ignoring sensor.inverter_day_active_power_peak
2024-08-06 23:05:54.859 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_active_power already exists - ignoring sensor.inverter_active_power
2024-08-06 23:05:54.860 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_efficiency already exists - ignoring sensor.inverter_efficiency
2024-08-06 23:05:54.860 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_device_status already exists - ignoring sensor.inverter_device_status
2024-08-06 23:05:54.860 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_startup_time already exists - ignoring sensor.inverter_startup_time
2024-08-06 23:05:54.860 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_shutdown_time already exists - ignoring sensor.inverter_shutdown_time
2024-08-06 23:05:54.860 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_accumulated_yield_energy already exists - ignoring sensor.inverter_total_yield
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_total_dc_input_power already exists - ignoring sensor.inverter_total_dc_input_energy
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_hourly_yield_energy already exists - ignoring sensor.inverter_hourly_yield
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_daily_yield_energy already exists - ignoring sensor.inverter_daily_yield
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_1 already exists - ignoring sensor.inverter_inverter_state
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#0 already exists - ignoring sensor.inverter_locking_status
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#1 already exists - ignoring sensor.inverter_pv_connection_status
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#2 already exists - ignoring sensor.inverter_dsp_data_collection
2024-08-06 23:05:54.861 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_3#0 already exists - ignoring sensor.inverter_off_grid_status
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_3#1 already exists - ignoring sensor.inverter_off_grid_switch
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_ALARMS already exists - ignoring sensor.inverter_alarms
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_01_voltage already exists - ignoring sensor.inverter_pv_1_voltage
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_01_current already exists - ignoring sensor.inverter_pv_1_current
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_02_voltage already exists - ignoring sensor.inverter_pv_2_voltage
2024-08-06 23:05:54.862 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_02_current already exists - ignoring sensor.inverter_pv_2_current
2024-08-06 23:05:54.873 DEBUG (MainThread) [pymodbus.logging] Adding transaction 13
2024-08-06 23:05:54.873 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:54.873 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1
2024-08-06 23:05:54.881 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1 old_data: addr=None
2024-08-06 23:05:54.881 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xd 0x0 0x0 0x0 0x6 0x0 0x6 0xc3 0x4f 0x0 0x1
2024-08-06 23:05:54.881 DEBUG (MainThread) [pymodbus.logging] Factory Response[WriteSingleRegisterResponse': 6]
2024-08-06 23:05:54.881 DEBUG (MainThread) [pymodbus.logging] Getting transaction 13
2024-08-06 23:05:54.881 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:54.903 DEBUG (MainThread) [pymodbus.logging] Adding transaction 14
2024-08-06 23:05:54.903 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:54.903 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xe 0x0 0x0 0x0 0x6 0x0 0x3 0x75 0x7b 0x0 0x2
2024-08-06 23:05:54.923 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xe 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x17 0x70 old_data: addr=None
2024-08-06 23:05:54.923 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xe 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x17 0x70
2024-08-06 23:05:54.923 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:54.923 DEBUG (MainThread) [pymodbus.logging] Getting transaction 14
2024-08-06 23:05:54.923 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:54.924 DEBUG (MainThread) [pymodbus.logging] [0, 6000]
2024-08-06 23:05:54.924 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x17p']
2024-08-06 23:05:54.974 DEBUG (MainThread) [pymodbus.logging] Adding transaction 15
2024-08-06 23:05:54.974 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:54.974 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0xf 0x0 0x0 0x0 0x6 0x0 0x3 0xb7 0xee 0x0 0x2
2024-08-06 23:05:54.983 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0xf 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x5 0x0 0x0 old_data: addr=None
2024-08-06 23:05:54.983 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0xf 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x5 0x0 0x0
2024-08-06 23:05:54.983 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:54.983 DEBUG (MainThread) [pymodbus.logging] Getting transaction 15
2024-08-06 23:05:54.984 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:54.984 DEBUG (MainThread) [pymodbus.logging] [5, 0]
2024-08-06 23:05:55.035 DEBUG (MainThread) [pymodbus.logging] Adding transaction 16
2024-08-06 23:05:55.035 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:55.035 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x10 0x0 0x0 0x0 0x6 0x0 0x3 0x90 0xb6 0x0 0x2
2024-08-06 23:05:55.051 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x10 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x13 0x88 old_data: addr=None
2024-08-06 23:05:55.051 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x10 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x13 0x88
2024-08-06 23:05:55.051 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:55.052 DEBUG (MainThread) [pymodbus.logging] Getting transaction 16
2024-08-06 23:05:55.052 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:55.052 DEBUG (MainThread) [pymodbus.logging] [0, 5000]
2024-08-06 23:05:55.052 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x13\x88']
2024-08-06 23:05:55.102 DEBUG (MainThread) [pymodbus.logging] Adding transaction 17
2024-08-06 23:05:55.102 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:55.102 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x11 0x0 0x0 0x0 0x6 0x0 0x3 0xb8 0xc3 0x0 0x1
2024-08-06 23:05:55.177 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x11 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:05:55.177 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x11 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:05:55.177 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:55.177 DEBUG (MainThread) [pymodbus.logging] Getting transaction 17
2024-08-06 23:05:55.177 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:55.178 DEBUG (MainThread) [pymodbus.logging] [1]
2024-08-06 23:05:55.228 DEBUG (MainThread) [pymodbus.logging] Adding transaction 18
2024-08-06 23:05:55.228 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:55.229 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x12 0x0 0x0 0x0 0x6 0x0 0x3 0x90 0xb8 0x0 0x2
2024-08-06 23:05:55.240 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x12 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x13 0x88 old_data: addr=None
2024-08-06 23:05:55.240 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x12 0x0 0x0 0x0 0x7 0x0 0x3 0x4 0x0 0x0 0x13 0x88
2024-08-06 23:05:55.240 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:55.240 DEBUG (MainThread) [pymodbus.logging] Getting transaction 18
2024-08-06 23:05:55.240 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:55.241 DEBUG (MainThread) [pymodbus.logging] [0, 5000]
2024-08-06 23:05:55.241 DEBUG (MainThread) [pymodbus.logging] handle: [b'\x00\x00', b'\x13\x88']
2024-08-06 23:05:55.292 DEBUG (MainThread) [pymodbus.logging] Adding transaction 19
2024-08-06 23:05:55.292 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:05:55.292 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x13 0x0 0x0 0x0 0x6 0x0 0x3 0xbb 0x52 0x0 0x1
2024-08-06 23:05:55.561 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x13 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0 old_data: addr=None
2024-08-06 23:05:55.562 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x13 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x0
2024-08-06 23:05:55.562 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:05:55.562 DEBUG (MainThread) [pymodbus.logging] Getting transaction 19
2024-08-06 23:05:55.562 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:05:55.562 DEBUG (MainThread) [pymodbus.logging] [0]
2024-08-06 23:05:55.566 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_state_of_capacity already exists - ignoring sensor.batteries_state_of_capacity
2024-08-06 23:05:55.566 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_running_status already exists - ignoring sensor.batteries_status
2024-08-06 23:05:55.567 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_bus_voltage already exists - ignoring sensor.batteries_bus_voltage
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_bus_current already exists - ignoring sensor.batteries_bus_current
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_charge_discharge_power already exists - ignoring sensor.batteries_charge_discharge_power
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_total_charge already exists - ignoring sensor.batteries_total_charge
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_total_discharge already exists - ignoring sensor.batteries_total_discharge
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_current_day_charge_capacity already exists - ignoring sensor.batteries_day_charge
2024-08-06 23:05:55.568 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_current_day_discharge_capacity already exists - ignoring sensor.batteries_day_discharge
2024-08-06 23:06:00.370 WARNING (MainThread) [homeassistant.helpers.script] Error in 'if[0]' evaluation: In 'numeric_state':
In 'numeric_state' condition: unknown entity sensor.inverter_internal_temperature
2024-08-06 23:06:04.858 DEBUG (MainThread) [pymodbus.logging] Adding transaction 20
2024-08-06 23:06:04.858 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:06:04.859 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x14 0x0 0x0 0x0 0x6 0x0 0x3 0x7d 0x59 0x0 0x1
2024-08-06 23:06:04.878 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x14 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x2 0x0 old_data: addr=None
2024-08-06 23:06:04.878 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x14 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x2 0x0
2024-08-06 23:06:04.879 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:06:04.879 DEBUG (MainThread) [pymodbus.logging] Getting transaction 20
2024-08-06 23:06:04.879 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:06:04.879 DEBUG (MainThread) [pymodbus.logging] [512]
2024-08-06 23:06:04.930 DEBUG (MainThread) [pymodbus.logging] Adding transaction 21
2024-08-06 23:06:04.930 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:06:04.930 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x15 0x0 0x0 0x0 0x6 0x0 0x3 0x90 0xec 0x0 0x1
2024-08-06 23:06:04.938 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x15 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1 old_data: addr=None
2024-08-06 23:06:04.938 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x15 0x0 0x0 0x0 0x5 0x0 0x3 0x2 0x0 0x1
2024-08-06 23:06:04.938 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2024-08-06 23:06:04.939 DEBUG (MainThread) [pymodbus.logging] Getting transaction 21
2024-08-06 23:06:04.939 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:06:04.939 DEBUG (MainThread) [pymodbus.logging] [1]
Some Of the entities move from Emma to Inverter as you can see the count no. Numbers started to appear
deleted again added Inverter:
2024-08-06 23:13:01.991 DEBUG (MainThread) [pymodbus.logging] Getting transaction 11
2024-08-06 23:13:01.991 DEBUG (MainThread) [pymodbus.logging] Very short frame (NO MBAP): wait for more data
2024-08-06 23:13:01.992 DEBUG (MainThread) [pymodbus.logging] [480]
2024-08-06 23:13:01.997 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID NS2441331087_energy_charged_today already exists - ignoring sensor.emma_energy_charged_today
2024-08-06 23:13:02.000 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_input_power already exists - ignoring sensor.inverter_input_power
2024-08-06 23:13:02.002 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_day_active_power_peak already exists - ignoring sensor.inverter_day_active_power_peak
2024-08-06 23:13:02.002 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_active_power already exists - ignoring sensor.inverter_active_power
2024-08-06 23:13:02.006 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_efficiency already exists - ignoring sensor.inverter_efficiency
2024-08-06 23:13:02.007 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_device_status already exists - ignoring sensor.inverter_device_status
2024-08-06 23:13:02.007 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_startup_time already exists - ignoring sensor.inverter_startup_time
2024-08-06 23:13:02.007 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_shutdown_time already exists - ignoring sensor.inverter_shutdown_time
2024-08-06 23:13:02.007 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_accumulated_yield_energy already exists - ignoring sensor.inverter_total_yield
2024-08-06 23:13:02.007 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_total_dc_input_power already exists - ignoring sensor.inverter_total_dc_input_energy
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_hourly_yield_energy already exists - ignoring sensor.inverter_hourly_yield
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_daily_yield_energy already exists - ignoring sensor.inverter_daily_yield
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_1 already exists - ignoring sensor.inverter_inverter_state
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#0 already exists - ignoring sensor.inverter_locking_status
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#1 already exists - ignoring sensor.inverter_pv_connection_status
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_2#2 already exists - ignoring sensor.inverter_dsp_data_collection
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_3#0 already exists - ignoring sensor.inverter_off_grid_status
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_state_3#1 already exists - ignoring sensor.inverter_off_grid_switch
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_ALARMS already exists - ignoring sensor.inverter_alarms
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_01_voltage already exists - ignoring sensor.inverter_pv_1_voltage
2024-08-06 23:13:02.008 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_01_current already exists - ignoring sensor.inverter_pv_1_current
2024-08-06 23:13:02.009 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_02_voltage already exists - ignoring sensor.inverter_pv_2_voltage
2024-08-06 23:13:02.009 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_pv_02_current already exists - ignoring sensor.inverter_pv_2_current
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_state_of_capacity already exists - ignoring sensor.batteries_state_of_capacity
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_running_status already exists - ignoring sensor.batteries_status
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_bus_voltage already exists - ignoring sensor.batteries_bus_voltage
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_bus_current already exists - ignoring sensor.batteries_bus_current
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_charge_discharge_power already exists - ignoring sensor.batteries_charge_discharge_power
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_total_charge already exists - ignoring sensor.batteries_total_charge
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_total_discharge already exists - ignoring sensor.batteries_total_discharge
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_current_day_charge_capacity already exists - ignoring sensor.batteries_day_charge
2024-08-06 23:13:02.010 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID HV2290299408_storage_current_day_discharge_capacity already exists - ignoring sensor.batteries_day_discharge
2024-08-06 23:13:05.347 DEBUG (MainThread) [pymodbus.logging] Adding transaction 39
2024-08-06 23:13:05.347 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-08-06 23:13:05.347 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x27 0x0 0x0 0x0 0x6 0x0 0x3 0x7d 0x0 0x0 0x14
2024-08-06 23:13:05.623 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x27 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x0 0x6 0x0 0x2 0x0 0x5 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xe 0x81 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 old_data: addr=None
2024-08-06 23:13:05.623 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x27 0x0 0x0 0x0 0x2b 0x0 0x3 0x28 0x0 0x6 0x0 0x2 0x0 0x5 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xe 0x81 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
AUTO doesn't work. After adding EMMA with Slaves 0,123 the above errors are seen again but they work.
@wlcrs didn't see the last debug comment. I'll redo everything from my pc tomorrow and paste the logs here.
@wlcrs Hi, great work so far, thx a lot. I can get you access to my Emma via VPN if needed, just lmk
@wlcrs Morning, here is the debug session
2024-08-07 09:18:46.082 INFO (MainThread) [huawei_solar.huawei_solar] Waiting for connection ... 2024-08-07 09:18:47.583 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30000 with length 65 from slave 0 2024-08-07 09:18:47.586 WARNING (MainThread) [huawei_solar.bridge] TODO: EMMA product model is not known at the moment. Assuming that it is SmartHEMS. 2024-08-07 09:18:47.587 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049150 seconds before making next call. 2024-08-07 09:18:47.637 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30222 with length 20 from slave 0 2024-08-07 09:18:47.642 INFO (MainThread) [custom_components.huawei_solar.config_flow] Successfully connected to inverter SmartHEMS with SN NS2441331087 2024-08-07 09:18:47.645 ERROR (MainThread) [pymodbus.logging] General exception: unpack_from requires a buffer of at least 11 bytes for unpacking 2 bytes at offset 9 (actual buffer size is 9) 2024-08-07 09:18:47.645 ERROR (MainThread) [homeassistant] Error doing job: Fatal error: protocol.data_received() call failed. (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1017, in _read_ready__data_received self._protocol.data_received(data) File "/usr/local/lib/python3.12/site-packages/pymodbus/transport/transport.py", line 302, in data_received self.datagram_received(data, None) File "/usr/local/lib/python3.12/site-packages/pymodbus/transport/transport.py", line 336, in datagram_received cut = self.callback_data(self.recv_buffer, addr=addr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 207, in callback_data self.framer.processIncomingPacket(data, self._handle_response, slave=0) File "/usr/local/lib/python3.12/site-packages/pymodbus/framer/base.py", line 139, in processIncomingPacket self.frameProcessIncomingPacket(single, callback, slave, **kwargs) File "/usr/local/lib/python3.12/site-packages/pymodbus/framer/socket_framer.py", line 91, in frameProcessIncomingPacket raise ModbusIOException("Unable to decode request") pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request 2024-08-07 09:18:57.644 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected! 2024-08-07 09:18:57.644 ERROR (MainThread) [custom_components.huawei_solar.config_flow] Unexpected exception while connecting via ModbusTCP Traceback (most recent call last): File "/config/custom_components/huawei_solar/config_flow.py", line 499, in async_step_setup_network info = await validate_network_setup_auto_slave_discovery( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/huawei_solar/config_flow.py", line 122, in validate_network_setup_auto_slave_discovery device_infos = await bridge.client.get_device_infos() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 464, in get_device_infos response = await self._client.execute(ReadDeviceIdentifierRequest(read_dev_id_code=0x03, object_id=0x87)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 175, in async_execute resp = await asyncio.wait_for( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Client is not connected
2024-08-07 09:21:01.969 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 40490 with length 1 from slave 0 2024-08-07 09:21:01.972 ERROR (MainThread) [custom_components.huawei_solar.config_flow] Unexpected exception while connecting via ModbusTCP Traceback (most recent call last): File "/config/custom_components/huawei_solar/config_flow.py", line 499, in async_step_setup_network info = await validate_network_setup_auto_slave_discovery( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/huawei_solar/config_flow.py", line 120, in validate_network_setup_auto_slave_discovery result["has_write_permission"] = await bridge.has_write_permission() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huawei_solar/bridge.py", line 300, in has_write_permission await self.client.set(self._write_test_register, result.value, self.slave_id) File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 630, in set raise WriteException("Register is not writable") huawei_solar.exceptions.WriteException: Register is not writable
2024-08-07 09:21:55.203 DEBUG (MainThread) [huawei_solar.modbus] Waiting for 1500 milliseconds after connection before performing operations 2024-08-07 09:21:55.204 INFO (MainThread) [huawei_solar.huawei_solar] Waiting for connection ... 2024-08-07 09:21:56.704 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30000 with length 65 from slave 0 2024-08-07 09:21:56.707 WARNING (MainThread) [huawei_solar.bridge] TODO: EMMA product model is not known at the moment. Assuming that it is SmartHEMS. 2024-08-07 09:21:56.707 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049655 seconds before making next call. 2024-08-07 09:21:56.758 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30222 with length 20 from slave 0 2024-08-07 09:21:56.762 INFO (MainThread) [custom_components.huawei_solar.config_flow] Successfully connected to inverter SmartHEMS with SN NS2441331087 2024-08-07 09:21:56.762 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049471 seconds before making next call. 2024-08-07 09:21:56.812 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30000 with length 65 from slave 123 2024-08-07 09:21:56.815 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049571 seconds before making next call. 2024-08-07 09:21:56.866 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30071 with length 1 from slave 123 2024-08-07 09:21:56.869 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049581 seconds before making next call. 2024-08-07 09:21:56.919 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37200 with length 1 from slave 123 2024-08-07 09:21:56.922 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049560 seconds before making next call. 2024-08-07 09:21:56.973 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47000 with length 1 from slave 123 2024-08-07 09:21:56.975 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049657 seconds before making next call. 2024-08-07 09:21:57.026 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47089 with length 1 from slave 123 2024-08-07 09:21:57.029 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049605 seconds before making next call. 2024-08-07 09:21:57.081 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47954 with length 1 from slave 123 2024-08-07 09:21:57.085 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049552 seconds before making next call. 2024-08-07 09:21:57.136 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37100 with length 1 from slave 123 2024-08-07 09:21:57.140 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049640 seconds before making next call. 2024-08-07 09:21:57.190 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 42900 with length 1 from slave 123 2024-08-07 09:21:57.194 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049655 seconds before making next call. 2024-08-07 09:21:57.244 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006 with length 1 from slave 123 2024-08-07 09:21:57.247 INFO (MainThread) [custom_components.huawei_solar.config_flow] Successfully connected to slave inverter 123: SUN2000-6KTL-L1 with SN HV2290299408 2024-08-07 09:21:57.249 DEBUG (MainThread) [huawei_solar.modbus] Waiting for 1500 milliseconds after connection before performing operations 2024-08-07 09:21:57.250 INFO (MainThread) [huawei_solar.huawei_solar] Waiting for connection ... 2024-08-07 09:21:58.751 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30000 with length 65 from slave 0 2024-08-07 09:21:58.754 WARNING (MainThread) [huawei_solar.bridge] TODO: EMMA product model is not known at the moment. Assuming that it is SmartHEMS. 2024-08-07 09:21:58.755 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049384 seconds before making next call. 2024-08-07 09:21:58.805 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30222 with length 20 from slave 0 2024-08-07 09:21:58.808 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049472 seconds before making next call. 2024-08-07 09:21:58.858 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30000 with length 65 from slave 123 2024-08-07 09:21:58.862 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049461 seconds before making next call. 2024-08-07 09:21:58.913 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30071 with length 1 from slave 123 2024-08-07 09:21:58.916 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049505 seconds before making next call. 2024-08-07 09:21:58.967 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37200 with length 1 from slave 123 2024-08-07 09:21:58.970 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049550 seconds before making next call. 2024-08-07 09:21:59.021 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47000 with length 1 from slave 123 2024-08-07 09:21:59.024 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049557 seconds before making next call. 2024-08-07 09:21:59.074 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47089 with length 1 from slave 123 2024-08-07 09:21:59.077 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049628 seconds before making next call. 2024-08-07 09:21:59.128 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47954 with length 1 from slave 123 2024-08-07 09:21:59.131 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049683 seconds before making next call. 2024-08-07 09:21:59.181 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37100 with length 1 from slave 123 2024-08-07 09:21:59.184 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049617 seconds before making next call. 2024-08-07 09:21:59.235 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 42900 with length 1 from slave 123 2024-08-07 09:21:59.238 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049532 seconds before making next call. 2024-08-07 09:21:59.288 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006 with length 1 from slave 123 2024-08-07 09:21:59.292 INFO (MainThread) [homeassistant.components.number] Setting up huawei_solar.number 2024-08-07 09:21:59.292 INFO (MainThread) [custom_components.huawei_solar.number] Skipping number setup, as parameter configuration is not enabled 2024-08-07 09:21:59.292 INFO (MainThread) [homeassistant.components.select] Setting up huawei_solar.select 2024-08-07 09:21:59.292 INFO (MainThread) [custom_components.huawei_solar.select] Skipping select setup, as parameter configuration is not enabled 2024-08-07 09:21:59.292 INFO (MainThread) [homeassistant.components.sensor] Setting up huawei_solar.sensor 2024-08-07 09:21:59.294 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching NS2441331087_inverter_data_update_coordinator data in 0.000 seconds (success: True) 2024-08-07 09:21:59.295 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_total_absorbed_energy 2024-08-07 09:21:59.298 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_energy_charged_today 2024-08-07 09:21:59.299 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_total_charged_energy 2024-08-07 09:21:59.300 ERROR (MainThread) [homeassistant.components.sensor] Platform huawei_solar does not generate unique IDs. ID NS2441331087_energy_charged_today already exists - ignoring sensor.emma_energy_charged_today 2024-08-07 09:21:59.301 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_energy_discharged_today 2024-08-07 09:21:59.302 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_ess_chargeable_energy 2024-08-07 09:21:59.303 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_ess_dischargeable_energy 2024-08-07 09:21:59.303 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_rated_ess_capacity 2024-08-07 09:21:59.303 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_consumption_today 2024-08-07 09:21:59.304 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.emma_total_energy_consumption 2024-08-07 09:21:59.304 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching HV2290299408_inverter_data_update_coordinator data in 0.000 seconds (success: True) 2024-08-07 09:21:59.304 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_rated_power 2024-08-07 09:21:59.305 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_max_active_power 2024-08-07 09:21:59.305 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_input_power 2024-08-07 09:21:59.306 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_a_b_line_voltage 2024-08-07 09:21:59.307 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_b_c_line_voltage 2024-08-07 09:21:59.307 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_c_a_line_voltage 2024-08-07 09:21:59.307 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_a_voltage 2024-08-07 09:21:59.307 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_b_voltage 2024-08-07 09:21:59.308 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_c_voltage 2024-08-07 09:21:59.308 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_a_current 2024-08-07 09:21:59.308 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_b_current 2024-08-07 09:21:59.308 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_phase_c_current 2024-08-07 09:21:59.309 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_day_active_power_peak 2024-08-07 09:21:59.310 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_active_power 2024-08-07 09:21:59.311 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_reactive_power 2024-08-07 09:21:59.312 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_power_factor 2024-08-07 09:21:59.312 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_efficiency 2024-08-07 09:21:59.312 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_internal_temperature 2024-08-07 09:21:59.313 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_insulation_resistance 2024-08-07 09:21:59.313 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_device_status 2024-08-07 09:21:59.313 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_startup_time 2024-08-07 09:21:59.314 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_shutdown_time 2024-08-07 09:21:59.315 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_total_yield 2024-08-07 09:21:59.316 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_total_dc_input_energy 2024-08-07 09:21:59.317 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_current_electricity_generation_statistics_time 2024-08-07 09:21:59.317 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_hourly_yield 2024-08-07 09:21:59.318 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_daily_yield 2024-08-07 09:21:59.319 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_inverter_state 2024-08-07 09:21:59.321 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_locking_status 2024-08-07 09:21:59.321 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_pv_connection_status 2024-08-07 09:21:59.322 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_dsp_data_collection 2024-08-07 09:21:59.322 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_off_grid_status 2024-08-07 09:21:59.323 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_off_grid_switch 2024-08-07 09:21:59.324 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_alarms 2024-08-07 09:21:59.325 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_pv_1_voltage 2024-08-07 09:21:59.327 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_pv_1_current 2024-08-07 09:21:59.329 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_pv_2_voltage 2024-08-07 09:21:59.330 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.inverter_pv_2_current 2024-08-07 09:21:59.331 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching HV2290299408_battery_data_update_coordinator data in 0.000 seconds (success: True) 2024-08-07 09:21:59.332 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_maximum_charge_power 2024-08-07 09:21:59.332 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_maximum_discharge_power 2024-08-07 09:21:59.333 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_rated_capacity 2024-08-07 09:21:59.333 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_state_of_capacity 2024-08-07 09:21:59.335 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_status 2024-08-07 09:21:59.335 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_bus_voltage 2024-08-07 09:21:59.335 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_bus_current 2024-08-07 09:21:59.336 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_charge_discharge_power 2024-08-07 09:21:59.336 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_total_charge 2024-08-07 09:21:59.337 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_total_discharge 2024-08-07 09:21:59.338 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_day_charge 2024-08-07 09:21:59.338 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.batteries_day_discharge 2024-08-07 09:21:59.339 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_working_mode 2024-08-07 09:21:59.339 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_day_charge 2024-08-07 09:21:59.340 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_day_discharge 2024-08-07 09:21:59.340 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_bus_current 2024-08-07 09:21:59.340 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_bus_voltage 2024-08-07 09:21:59.340 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_temperature 2024-08-07 09:21:59.340 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_remaining_charge_discharge_time 2024-08-07 09:21:59.341 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_total_charge 2024-08-07 09:21:59.341 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_total_discharge 2024-08-07 09:21:59.341 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_state_of_capacity 2024-08-07 09:21:59.341 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.huawei_solar entity: sensor.battery_1_charge_discharge_power 2024-08-07 09:21:59.342 INFO (MainThread) [homeassistant.components.switch] Setting up huawei_solar.switch 2024-08-07 09:21:59.342 INFO (MainThread) [custom_components.huawei_solar.switch] Skipping switch setup, as parameter configuration is not enabled 2024-08-07 09:22:00.177 INFO (MainThread) [homeassistant.components.automation.automation_12] Apa - Ok: Running automation actions 2024-08-07 09:22:00.284 INFO (MainThread) [homeassistant.components.automation.huawei_ventilator] Huawei Ventilator - Switch: Running automation actions 2024-08-07 09:22:00.285 WARNING (MainThread) [homeassistant.helpers.script] Error in 'if[0]' evaluation: In 'numeric_state': In 'numeric_state' condition: unknown entity sensor.inverter_internal_temperature 2024-08-07 09:22:00.286 WARNING (MainThread) [homeassistant.helpers.script] Error in 'if[1]' evaluation: In 'numeric_state': In 'numeric_state' condition: unknown entity sensor.inverter_internal_temperature 2024-08-07 09:22:09.295 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: inverter_total_absorbed_energy, energy_charged_today, total_charged_energy, energy_discharged_today, consumption_today, total_energy_consumption 2024-08-07 09:22:09.296 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30302 with length 28 from slave 0 2024-08-07 09:22:09.300 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching NS2441331087_inverter_data_update_coordinator data in 0.005 seconds (success: True) 2024-08-07 09:22:09.305 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: state_1, state_2, state_3, alarm_1, alarm_2, alarm_3, pv_01_voltage, pv_01_current, pv_02_voltage, pv_02_current 2024-08-07 09:22:09.306 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.044061 seconds before making next call. 2024-08-07 09:22:09.350 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32000 with length 20 from slave 123 2024-08-07 09:22:09.353 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: input_power, day_active_power_peak, active_power, efficiency, device_status, startup_time, shutdown_time, accumulated_yield_energy, total_dc_input_power, hourly_yield_energy, daily_yield_energy 2024-08-07 09:22:09.354 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049303 seconds before making next call. 2024-08-07 09:22:09.404 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32064 with length 52 from slave 123 2024-08-07 09:22:09.407 DEBUG (MainThread) [huawei_solar.bridge] Detected a device state change from None to On-grid : resetting power meter online status 2024-08-07 09:22:09.407 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching HV2290299408_inverter_data_update_coordinator data in 0.102 seconds (success: True) 2024-08-07 09:22:09.438 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: storage_state_of_capacity, storage_running_status, storage_bus_voltage, storage_bus_current, storage_charge_discharge_power, storage_total_charge, storage_total_discharge, storage_current_day_charge_capacity, storage_current_day_discharge_capacity 2024-08-07 09:22:09.438 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.017914 seconds before making next call. 2024-08-07 09:22:09.457 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37760 with length 28 from slave 123 2024-08-07 09:22:09.460 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching HV2290299408_battery_data_update_coordinator data in 0.127 seconds (success: True) 2024-08-07 09:22:39.195 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: storage_state_of_capacity, storage_running_status, storage_bus_voltage, storage_bus_current, storage_charge_discharge_power, storage_total_charge, storage_total_discharge, storage_current_day_charge_capacity, storage_current_day_discharge_capacity 2024-08-07 09:22:39.195 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 37760 with length 28 from slave 123 2024-08-07 09:22:39.198 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching HV2290299408_battery_data_update_coordinator data in 0.004 seconds (success: True) 2024-08-07 09:22:39.328 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: inverter_total_absorbed_energy, energy_charged_today, total_charged_energy, energy_discharged_today, consumption_today, total_energy_consumption 2024-08-07 09:22:39.328 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 30302 with length 28 from slave 0 2024-08-07 09:22:39.332 DEBUG (MainThread) [custom_components.huawei_solar] Finished fetching NS2441331087_inverter_data_update_coordinator data in 0.004 seconds (success: True) 2024-08-07 09:22:39.417 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: state_1, state_2, state_3, alarm_1, alarm_2, alarm_3, pv_01_voltage, pv_01_current, pv_02_voltage, pv_02_current 2024-08-07 09:22:39.417 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32000 with length 20 from slave 123 2024-08-07 09:22:39.421 DEBUG (MainThread) [huawei_solar.bridge] Batch update of the following registers: input_power, day_active_power_peak, active_power, efficiency, device_status, startup_time, shutdown_time, accumulated_yield_energy, total_dc_input_power, hourly_yield_energy, daily_yield_energy 2024-08-07 09:22:39.421 DEBUG (MainThread) [huawei_solar.huawei_solar] Sleeping for 0.049415 seconds before making next call. 2024-08-07 09:22:39.471 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 32064 with length 52 from slave 123
2024-08-07 09:23:59.119 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 40490 with length 1 from slave 0 2024-08-07 09:23:59.121 ERROR (MainThread) [custom_components.huawei_solar.config_flow] Unexpected exception while connecting via ModbusTCP Traceback (most recent call last): File "/config/custom_components/huawei_solar/config_flow.py", line 527, in async_step_setup_network info = await validate_network_setup( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/huawei_solar/config_flow.py", line 215, in validate_network_setup result["has_write_permission"] = await bridge.has_write_permission() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huawei_solar/bridge.py", line 300, in has_write_permission await self.client.set(self._write_test_register, result.value, self.slave_id) File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 630, in set raise WriteException("Register is not writable") huawei_solar.exceptions.WriteException: Register is not writable
Good morning, unfortunately nothing is connecting for me either. I have set all the parameters as described. @wlcrs If you like, I can give you remote access to my HA. And another question, does Modbus tcp only work via Ethernet or also via wifi? Because I can't get a connection via wifi.
@wlcrs I've setup a HA + EMMA besides it SSH+Web available. How do I pass the credentials?
@wlcrs mail sent
@wlcrs Hi, great work so far, thx a lot. I can get you access to my Emma via VPN if needed, just lmk
@andheller123 That would be very useful! Can you send the authentication details + connection details to the EMMA to my username at outlook.com ?
Linux, Mac, Windows ?
I'm already set with the SSH access that Dragos gave me, thanks anyway.
With the latest commit in this repo, auto discovery works and elevated permissions also work (no installer credentials needed anymore for EMMA devices :-) ) Not everything works yet: it seems that some queries are now failing, not sure yet what the cause is. I'll continue debugging in the next few days when I find a moment to spare.
THX, great work. Modbus tcp only work via Ethernet or also via wifi?
First of all a big thank you for this integration with EMMA, I have just configured this successfully.
My wish is to use the “batteries_maximum_discharging_power” attribute, unfortunately it doesn't seem to work, is this part of:
it seems that some queries are now failing
?
I set it to zero but it keeps discharging the battery (I'm recharging my EV).
Hello @alexdess how did you manage that? What settings did you make? I've tried everything but can't get a Modbus connection via wifi
@ismiregal17 it doesn't work on WiFi. At least not at this version. The modbus register pdf file provided by huawei Specifies just by wire L.E. Uploaded Picture
@alexdess yes same issue for me. Working mode has moved to Emma, same as excess PV in you. The other options used with elevated permissions no longer work... like battery config. I have a secondary connection to the inverter and this is how I manage them at this moment
Hello @alexdess how did you manage that? What settings did you make? I've tried everything but can't get a Modbus connection via wifi
EMMA is wired, I didn't try by WIFi and I can't anymore (I need my installer)
Hello @StefanOltmann , I have a few questions about your script. Can I write to you via PN? Best regards
@StefanOltmann You could ask me here or open a ticket on my repo. Maybe it's interesting for other people, too.
@StefanOltmann ok, perfect. How can I install your script? As a layman, I can't get any further.
@ismiregal17 You need to open it using IntelliJ IDEA
It's a project to demonstrate how to query EMMA using Kotlin, not a production ready module you can install somewhere.
@wlcrs Can I help you do something to fix the request to limit battery discharge ?
@dragosmd Hello, ok, thx. How did you connect the Emma. Ethernet from the router to the emma, which connection to the emma wan or lan. So does the Emma provide Modbus protocols via Ethernet and I can access it from the router via wifi? Or is the Emma connected directly to the Home Assistant server via Ethernet? Thanks for your help
@ismiregal17 WAN port-> your router home lan / switch what ever ( not directly to HA cause it needs internet connection ). WAN / WIFI same thing. Don't know why Huawei called it WAN.
LAN port-> Dedicated for SCharger.
I have it in a separate vlan :) with a dedicated HA for @wlcrs to try his mojo jojo stuff. :) MODBUS is configured in EMMA with the ip of HA. You can access by any device as long as the ip is configured in emma
Then I have Remote HA installed so I can pull sensor from EMMA.
@dragosmd , Ok, thank you. How did you configure Remote HA and what else should I bear in mind?
@ismiregal17 follow the documentation if you want remote HA. once the integration is ready I'll move emma back in my big lan. This is my temporary solution to help wlcrs to test.
@dragosmd This means that I do not necessarily need remote HA. Thanks again for your work. Huawei can take a leaf out of your book. My last contacts with Fusion Solar Support were not crowned with success. Your performance is mega, thank you @wlcrs @dragosmd @StefanOltmann
I finally have my EMMA up and running and can make my contribution here. Finally a summary thanks to the many tips written here. :) I was able to establish a connection between Home Assistant and my EMMA without any problems after considering the following summarized facts. You need your installer (account) if you are not the installer yourself. :)
Working setup:
Firmware updates (2 options):
Connect to EMMA via the Fusion Solar app with the installer via Services > “Commissioning the device” (installer device code required) > Maintenance > Update. All assigned/managed devices can be updated from there.
Update the individual devices via the Fusion Solar Web Portal with the installer via Systems > Upgrade management.
Newer versions are displayed via the web portal than in the app.
General requirements:
Install “Huawei Solar” in HA via HACS and add “Huawei Solar” via Settings>“Devices and services” with the folllowing Configuration: Network, Slave ID: 2, Port 502 and enter the IP of the EMMA as the host. (If you don't get a connect with ID 2, try from 0-5 one by one.)
Thats it. :)
As of today, I receive the following values for 3 devices. The wallbox is not (yet) included.
I hope this summary will help some of you.
Installed Huawei Solar integration: Version 1.4.1
New learning from EMMA integration:
EMMA no longer seems to have a “Daily Yield”, but an “Hourly Yield” instead. The value still does not reflect the PV yield as described here: https://github.com/wlcrs/huawei_solar/wiki/Daily-Solar-Yield
However, there seems to be the value “_inverter_total_dc_inputenergy” which pretty closely reflects the PV yield value from the Fusion Solar Portal. This means that the helper workaround no longer seems to be required. I was able to build the HA Energy Dashboard very validly to the portals value with the following settings and without a helper:
I only have to take the grid consumption and supply from the smart meter (i am using the Hitchi IR) of the power meter. But shouldn't these values also be available from the Emma as smart meters? @wlcrs
@tmycgn
You need the proper release version. Do over the thread and see.
@dragosmd These values from your screen capture would be awesome. Version 1.4.1 is installed, and I don't see a newer version in the release pulldown.
@dragosmd These values from your screen capture would be awesome. Version 1.4.1 is installed, and I don't see a newer version in the release pulldown.
Read up👆. It should be a main.zip link. Also you are pulling data out of the inverter at this moment. Nothing from Emma.
WLCRS / Thijs, any idea as to when we might be looking at the 'next release', ala v1.4.2 / v.15 ? Thanks.
[surprised] Markus Klecka reacted to your message:
From: gitradiostar83 @.> Sent: Tuesday, September 17, 2024 6:24:46 AM To: wlcrs/huawei_solar @.> Cc: Markus Klecka @.>; Mention @.> Subject: Re: [wlcrs/huawei_solar] [Feature Request]: Huawei Energy Management Assistant (EMMA-A01 / A02) Support (Issue #498)
I finally have my EMMA up and running and can make my contribution here. Finally a summary thanks to the many tips written here. :) I was able to establish a connection between Home Assistant and my EMMA without any problems after considering the following summarized facts. You need your installer (account) if you are not the installer yourself. :)
Working setup:
Firmware updates (2 options):
Newer versions are displayed via the web portal than in the app.
General requirements:
Install “Huawei Solar” in HA via HACS and add “Huawei Solar” via Settings>“Devices and services” with the folllowing Configuration: Network, Slave ID: 2, Port 502 and enter the IP of the EMMA as the host. (If you don't get a connect with ID 2, try from 0-5 one by one.)
Thats it. :)
As of today, I receive the following values for 3 devices. The wallbox is not (yet) included.
[image]https://private-user-images.githubusercontent.com/82310796/365388737-e1b842cc-1c04-4f9f-a943-41ee5431c890.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjY1NTQyODksIm5iZiI6MTcyNjU1Mzk4OSwicGF0aCI6Ii84MjMxMDc5Ni8zNjUzODg3MzctZTFiODQyY2MtMWMwNC00ZjlmLWE5NDMtNDFlZTU0MzFjODkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTE3VDA2MTk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3ODA0ZWU0OTBkZDc5Y2I2ZWI2YTRjNGZiYjE5NTIyOWMwYzRiOGRjMGQ2MTU1MDY5ZmNjNGE5OWIxMmQ5MDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3-R__vC5dggURfqw81T3-AgjHLJJCjstZRcOVCD3RRQ [image] https://private-user-images.githubusercontent.com/82310796/365388768-834b82cc-20d8-4d7a-ad4f-24a58661d6b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjY1NTQyODksIm5iZiI6MTcyNjU1Mzk4OSwicGF0aCI6Ii84MjMxMDc5Ni8zNjUzODg3NjgtODM0YjgyY2MtMjBkOC00ZDdhLWFkNGYtMjRhNTg2NjFkNmI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTE3VDA2MTk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwNGRjYzBjZDg2ZjZmM2U4MWMwMDkyOGI2ZmEzYTg2ZTY3YjYwNTE1NGRjOGUwYzQ0Y2MwMzdmNTc3MjkxYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.K89qyal0PKlmdQ32oeyYpKdutlbKWREWNKybdHwjNzo
I hope this summary will help some of you.
Hey... Unfortunately, the EMMA integration is not yet working for me. I have the same inverter as you. Have you set anything else in the installer account or just configured the Modbus interface in the Fusion Solar app as described?
— Reply to this email directly, view it on GitHubhttps://github.com/wlcrs/huawei_solar/issues/498#issuecomment-2354633093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYDBKMBK45MDE4QCP4SAWTLZW7DK5AVCNFSM6AAAAAA5YF3WB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGYZTGMBZGM. You are receiving this because you were mentioned.Message ID: @.***>
Version 1.5.0a1 works great for me without any recognizable bugs. I would support the release of the version via the public release path. :)
Hello! First of all, thank you very mulch for the hard work. Integration is working almost perfect with EMMA.
Any chance to fix the battery configuration parameters?
This worked before I installed the smartguard with emma, but now with emma I can't set any battery parameter such as maximum charge/discharge power. This was quite useful as local grid is weak, and in the peak solar production, inverter constantly enters in protection. I've managed this before emma by setting charging power to 0 untill voltage was almost triggering protection, and then resume charging.
I would gladly provide help if needed.
I have to mention that I've checked the elevated permission, but there was no prompt for installer password.
All are grayed out
@tudor0410 try this setup: 1 Connection to EMMA without secondary Slave-ID 2 New connection to inverter querying only the Inverter ID. This way I currently manage the battery.
Great work so far!
How often are you able to receive new values from EMMA? I need the battery charge/discharge power every second but my Huawei hybrid inverter is busy when I poll the Modbus/TCP register every second. It works very unreliable and only when I wait at least 5-10 seconds in between each request.
Have a read of other threads, the Modbus poll needs enough time to go thru and query all the different registers (& complete a poll) before it can start a new poll.
Something like 10-15sec is the best you're going to get, Thijs (WLCRS) states changing the poll frequency is a 'on your own / no support' thing you can do.
👍🏼
@dragosmd , I've tried and second connection does not want to connect unless I disable the emma integration. Even if I do that, the config is still not accessible /grayed out. Did you connect to the same emma IP or how do you connect to inverter? Do you have a direct wifi connection to inverter?
There is a new Emma release 101 that fixes the modbus connectivity via WiFi. So who is still struggling to connect via WiFi try installing: SmartHems V100R024C00SPC101
Soon there will be also a new release for smartguard: V100R023C10SPC104
@tudor0410 try this setup: 1 Connection to EMMA without secondary Slave-ID 2 New connection to inverter querying only the Inverter ID. This way I currently manage the battery.
Any other ideea on how to fix the batteries settings? This is clearly not working for me :( any other preconditions needed? Would help a lot to limit battery charging on a sunny day and still export with small power when I'm not consuming. Otherwise after battery is full, inverter starts exporting full power and enters in protection very often.
@tudor0410 like I've mentioned before you need a secondary connection for now. Not to Emma up. You need to connect to the inverters IP. I'm using a TPLink MR-3020 that has the option for AP-Client.
I didn't find any other option fixing this though Emma.
Your problem with the grid can be solved with Q-U + HVLT and battery set to TOU and excess fed to grid. When HVLT will be triggered the export excess will be redirected to the battery. That was my option for Romanian Grid 🤦♂️
hopefully @wlcrs or someone more experienced will find the fix.
There is a new Emma release 101 that fixes the modbus connectivity via WiFi. So who is still struggling to connect via WiFi try installing: SmartHems V100R024C00SPC101
Soon there will be also a new release for smartguard: V100R023C10SPC104
@dragosmd Sounds good, where did you get it shown? They're not available in the portal or on mobile. Or was it possibly recalled?
@wlcrs Is there a chance that the currently great running version 1.5.0a1 will become public? 😉
@tmycgn Emma is public, as for SG the relevant version is specified in the Emma release notes but not yet published in the huawei website.
https://support.huawei.com/enterprise/en/fusionsolar/smarthems-pid-256539983/software/263209812
@tudor0410 like I've mentioned before you need a secondary connection for now. Not to Emma up. You need to connect to the inverters IP. I'm using a TPLink MR-3020 that has the option for AP-Client.
I didn't find any other option fixing this though Emma.
Your problem with the grid can be solved with Q-U + HVLT and battery set to TOU and excess fed to grid. When HVLT will be triggered the export excess will be redirected to the battery. That was my option for Romanian Grid 🤦♂️
hopefully @wlcrs or someone more experienced will find the fix.
Thank you very much! It works like that. I've moved the raspberry Pi closer to inverter and used it's internal wifi to connect to inverter and everything works good now. all settings for battery are there. Also, I'm starting to experiment with TOU with only one slot to discharge and it exports all excess and doesn't charge battery. I'll see tomorrow if lower HVRT also helps to redirect excess to battery or I need a script to calculate the max charging power depending on voltage and give the rest outside. But anyways, TOU will be awesome for charging EV from solar only using Lektri.co with EM.
Let's wait for a fix from @wlcrs to get rid of secondary connection. For sure it's some register change when addressing EMMA
@tmenguy would you be able to assist, trying to confirm the output for the modbus register that gives the model of battery connected? To date I've only been able to gain access to a LUNA S0 15kWh system to test this (it reports "LUNA 2000"), but needing to confirm what a LUNA S0 system reports (would be nice if it reported 'LUNA 2000 S0' or something to diffentiate from S0).
If possible, would you be able to paste these two pieces of code into the Develop Tools --> Template page and let me know what it reports? Edit: Just noticed you have an MB0 also, if you could confirm the output for it also ?
template:
##########################################################
#
# Detects if there is a Huawei L0, L1, M1, MB0 or iStore
# 1PH or 3PH inverter, and publishes its model number.
#
- sensor:
- name: "Inverter 1 - Model"
unique_id: inverter_model
icon: phu:huawei-solar-inverter
state: >-
{{ device_attr("sensor.inverter_input_power", "model") | regex_findall_index('(SUN\d+-\d+KTL-[L|M|MB]\d+)|(IS-HYB-\d-\[1|3]PH)', 0) | first }}
availability: >-
{{ (states('sensor.inverter_input_power') not in [ 'unknown', 'unavailable', 'none' ] ) }}
- sensor:
- name: "Inverter 2 - Model"
unique_id: inverter_model_2
icon: phu:huawei-solar-inverter
state: >-
{{ device_attr("sensor.inverter_input_power_2", "model") | regex_findall_index('(SUN\d+-\d+KTL-[L|M|MB]\d+)|(IS-HYB-\d-\[1|3]PH)', 0) | first }}
availability: >-
{{ (states('sensor.inverter_input_power_2') not in [ 'unknown', 'unavailable', 'none' ] ) }}
##########################################################
#
# Detects if there is a Battery attached to either inverter
# and publishes the total number of batteries (stacks), up to 4.
#
- sensor:
- name: "Battery 1 - Model"
unique_id: battery_model
icon: phu:solar-battery-15
state: >-
{% set device_model = device_attr('sensor.battery_1_state_of_capacity', 'model') %}
{% if device_model == none %}
Not Installed
{% else %}
{{ device_model }}
{% endif %}
- sensor:
- name: "Battery 2 - Model"
unique_id: battery_model_2
icon: phu:solar-battery-15
state: >-
{% set device_model = device_attr('sensor.battery_2_state_of_capacity', 'model') %}
{% if device_model == none %}
Not Installed
{% else %}
{{ device_model }}
{% endif %}
##########################################################
#
# Uses the 'Model' sensors above, to count the number of
# battery stacks (not cells) installed in the site.
#
- sensor:
- name: "Batteries - Installed"
unique_id: batteries_installed
icon: phu:solar-battery-15
state: >-
{% set battery_sensors = [
states('sensor.battery_model'),
states('sensor.battery_model_2'),
states('sensor.battery_model_3'),
states('sensor.battery_model_4')
] %}
{% set installed_batteries = battery_sensors | reject('in', ['unknown', 'unavailable', 'none', 'Not Installed']) | list %}
{{ installed_batteries | count }}
##########################################################
Version 2 - Model Detection
- name: "Inverter #1 Model"
unique_id: inverter_1_model
state: >-
{{ device_attr("sensor.inverter_input_power","model") | regex_findall_index('(SUN\d+-\d+(KTL|K)-(L|LC|M|MB|MAP)\d)|(IS-HYB-\d+-[1|3]PH)', 0) | first }}
availability: >-
{{ states('sensor.inverter_input_power') not in ['unknown','unavailable','none'] }}
- name: "Inverter #2 Model"
unique_id: inverter_2_model
state: >-
{{ device_attr("sensor.inverter_input_power_2","model") | regex_findall_index('(SUN\d+-\d+(KTL|K)-(L|LC|M|MB|MAP)\d)|(IS-HYB-\d+-[1|3]PH)', 0) | first }}
availability: >
{{ states('sensor.inverter_input_power_2') not in ['unknown','unavailable','none'] }}
Using custom/derived sensors and some new sensors coming with the next release from WLCRS, allows seeing:
..now if there was just a way to query firmware versions.
Many Thanks!
Dear all,
I noticed this subject while looking for more information. In spring 2025 I will install solar panels, home batteries and an EV charger all of the Huawei brand. The installer prefers to install it with the EMMA smart meter.
Reading through this topic, I still don't know if the EMMA smart meter can be integrated in HA. What are the things I should be aware of to have the solar panel, home battery and EV charger integrated in HA?
I already use HA for 8 years but still have a lot to learn about the green energy integrations.
Many thanks for the feedback and advice. I hope to be able to support you as well in half a year.
Kind regards,
Robin
Describe your feature request
As per the wall charger feature request, this 'issue' is intended as a location for people to be able to start gathering information and discussing how it works and how it may potentially be supported in the integration.
Given that the EMMA in future will be the preferred method of installation for Huawei Solar installations, with it :
Hopefully Huawei will be utilising the same modbus registers used on the DDSU/DTSU-666H meters, to provide themselves with maximum compatibility for existing installations upgrading, that will allow for 'out of the box' compatibility with WLCRS. However this needs to be confirmed when documentation is published detailing the modbus register definitions for EMMA. As EMMA is adding additional functionality, it would be a good expectation that there may be additional modbus registers added to EMMA, that would then need to be reviewed and see if any are 'worthwhile' or of use to request being added to WLCRS.
To date documentation published on EMMA is: EMMA-(A01, A02) User Manual.pdf v01 - Superceded FusionSolar App Quick Guide (EMMA).pdf Huawei - EMMA Quick Installation Guide.pdf
Proper usage