mpepping / solarman-mqtt

Send Solarman Smart PV inverter metrics to MQTT
Apache License 2.0
63 stars 21 forks source link

Error #11

Closed j3sk0 closed 2 years ago

j3sk0 commented 2 years ago

ERROR:root:Error on start: can only concatenate str (not "NoneType") to str INFO:root:Starting daemonized with a 300 seconds run interval

mpepping commented 2 years ago

@j3sk0 the current main branch version (v0.3.0 or latest tag for the container-image) contains a --validate flag which can be used to validate the config file.

j3sk0 commented 2 years ago

hi i have pull the last contaner image, now the log sayś:

Traceback (most recent call last): File "/opt/app-root/src/run.py", line 11, in import mqtt File "/opt/app-root/src/mqtt.py", line 7, in from paho.mqtt import client as mqtt_client

mpepping commented 2 years ago

@j3sk0 Sorry for that! Can you try using the latest container-image version?: https://github.com/mpepping/solarman-mqtt/pkgs/container/solarman-mqtt

If you still see issues, just let me know.

mpepping commented 2 years ago

Fixed via #13