johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
395 stars 109 forks source link

Fix InfluxDB for single hostname in URL #467

Closed cybercollector closed 6 months ago

cybercollector commented 11 months ago

Add http:// prefix to fix hostnames becoming unreachable.

Please see: https://github.com/influxdata/influxdb-client-python/blob/master/README.rst

Hostname influxdb doesn't work, but hostname influxdb.test.com did work. WIth this fix, single hostnames such as influxdb should work.