JasperE84 / PyFusionSolarDataRelay

Interface to relay PV inverter data from FusionSolar public kiosk mode to InfluxDB/VictoriaMetrics, PVOutput.org, MQTT and Home Assistant
MIT License
20 stars 2 forks source link

pvoutputsystemid not being read correctly #8

Closed cvandend closed 1 year ago

cvandend commented 1 year ago

Running PyFusionSolarDataRelay 1.0.4 on a docker container on a Synology NAS.

I've set the environment variable pvoutputsystemid to what is listed at pvoutput.org. However when I start the container it says in the log:

INFO - System ID: 12345

I have also noticed that when it tries to upload to pvoutput.org

requests.exceptions.InvalidHeader: Header part (12345) from {'X-Pvoutput-SystemId': 12345} must be of type str or bytes, not <class 'int'>

I did try to set the variable pvoutputsystemid to "XXX" but it is still read as 12345.

Any ideas?

cvandend commented 1 year ago

Nvm, the setup doc has a bug, it's not pvoutputsystemid, it's pvpvoutputsystemid.

JasperE84 commented 1 year ago

Thanks!