szymi- / fronius-to-influx

Collect Fronius inverter data and save in Influxdb for Grafana
54 stars 14 forks source link

Problem - syntaxError #2

Closed mx12mx12 closed 4 years ago

mx12mx12 commented 4 years ago

Hi, after "python src/prod.py' command I have an error:

Traceback (most recent call last): File "src/prod.py", line 1, in from fronius_to_influx import FroniusToInflux File "/home/pi/fronius-to-influx-master/src/fronius_to_influx.py", line 30 def init(self, client: InfluxDBClient, location: Location, endpoints: List[str], tz: Any) -> None: ^ SyntaxError: invalid syntax

mx12mx12 commented 4 years ago

Hi, I don't know to I do it, but works. :) (I was problem with influxdb plugin). Works great! Thanks Michal

szymi- commented 4 years ago

I am glad to hear that it works. Closing the issue for now.