solariot icon indicating copy to clipboard operation
solariot copied to clipboard

Solariot + SMA Inverters xx000TL-20

Open Hoerli1337 opened this issue 2 years ago • 0 comments

Hello! I'm trying to get the whole thing up and running with two SMA inverters. Have the STP 9000TL-20 and 8000TL-20 here. I have built myself a suitable py file - linked below - but this doesn't seem to work that way. When I run it, I get the following message:

root@ctSolariot:/opt/solariot# ./solariot.py -v
INFO:root:Loaded config sma-inverter-xx000tl-20
INFO:root:Creating ModbusTcpClient
INFO:root:Connecting
INFO:root:Connected
INFO:root:No MQTT configuration detected
INFO:root:No Prometheus configuration detected
INFO:root:No InfluxDB configuration detected
INFO:root:No PVOutput configuration detected
Traceback (most recent call last):
  File "/opt/solariot/./solariot.py", line 605, in <module>
    success = scrape_inverter()
  File "/opt/solariot/./solariot.py", line 592, in scrape_inverter
    load_sma_register(modmap.sma_registers)
  File "/opt/solariot/./solariot.py", line 447, in load_sma_register
    message = BinaryPayloadDecoder.fromRegisters(
TypeError: fromRegisters() got an unexpected keyword argument 'endian'

From python I have unfortunately not yet so much ahnung. :(

modbus-sma-inverter-xx000tl-20.zip

Hoerli1337 avatar Nov 11 '22 18:11 Hoerli1337