Skip to content

Commit

Permalink
Merge pull request #94 from corneliusweiss/pu/cw/fixInfluxInit
Browse files Browse the repository at this point in the history
fix influxdb init
  • Loading branch information
bohdan-s committed Apr 5, 2024
2 parents 1aa37d5 + e0c218b commit d73cca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SunGather/exports/influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def configure(self, config, inverter):
for measurement in config.get('measurements'):
if not inverter.validateRegister(measurement['register']):
logging.error(f"InfluxDB: Configured to use {measurement['register']} but not configured to scrape this register")
return False
continue
self.influxdb_measurements.append(measurement)

self.write_api = self.client.write_api(write_options=SYNCHRONOUS)
Expand Down

0 comments on commit d73cca7

Please sign in to comment.