StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
508 stars 191 forks source link

only Pylontech H1 #471

Open robin73 opened 6 months ago

robin73 commented 6 months ago

Hi,

i have pylontech battery H1 with logger SN: 412xxxxxxx. It communicates with the solarman server. Is there any way to read the data? You can see this in the homeassistant log:

2023-12-23 15:16:43.813 INFO (SyncWorker_8) [custom_components.solarman.solarman] Connecting to solarman data logger 192.168.1.37:8899 2023-12-23 15:16:43.817 DEBUG (SyncWorker_8) [custom_components.solarman.solarman] Socket setup completed... <socket.socket fd=48, family=2, type=1, proto=6, laddr=('172.17.0.5', 50464), raddr=('192.168.1.xx', 8899)> 2023-12-23 15:16:43.817 DEBUG (SyncWorker_8) [custom_components.solarman.solarman] SENT: a5 17 00 10 45 4b 00 0a 7c 23 f6 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 04 81 05 00 43 89 c6 75 15 2023-12-23 15:16:43.873 DEBUG (SyncWorker_8) [custom_components.solarman.solarman] RECD: a5 13 00 10 15 4b ea 0a 7c 23 f6 02 01 52 2c 8c 36 e9 28 00 00 89 cd fa 2e 01 84 01 82 c0 a6 15 2023-12-23 15:16:43.873 WARNING (SyncWorker_8) [custom_components.solarman.solarman] Querying [33029 - 33095] failed with exception [IllegalFunctionError: Function code is not an allowable action for the server.] 2023-12-23 15:16:43.873 INFO (SyncWorker_8) [custom_components.solarman.solarman] Disconnecting from solarman data logger 192.168.1.37:8899 2023-12-23 15:16:44.374 WARNING (SyncWorker_8) [custom_components.solarman.solarman] Querying [33029 - 33095] failed, [0] retry attempts left 2023-12-23 15:16:44.374 WARNING (SyncWorker_8) [custom_components.solarman.solarman] Querying registers [33029 - 33095] failed, aborting. Many thanks

Robert