derenback / Domoticz-SMA-Inverter

A Domoticz plugin for SMA solar inverters
GNU General Public License v3.0
2 stars 1 forks source link

Error when switch on - additional Sensors #19

Closed Csepp closed 2 years ago

Csepp commented 2 years ago

Hello, I get an Error meassage from Domoticz when switching on the additional sensors.

'onStart' failed 'AttributeError':''device_info' object has no attribute 'type''. --> line 115 in ..... plugin.py

If I switch of the Extended sensors -> it works perfectly. I tested with sma_test.py -> no error and all values are read from the SMA inverter.

Does somebody have a idea?

Another feedback for the installation - this has worked on my raspberry (Sudo - was missing):

cd ~/domoticz/plugins git clone https://github.com/derenback/Domoticz-SMA-Inverter.git SUDO_pip3 install -U pymodbus pymodbusTCP sudo systemctl restart domoticz