Closed ejg3855 closed 1 year ago
Sorry about the delay - I am just now seeing this.
You're missing the closing parenthesis in the line above:
avg_garage_power = sum(garage_load_values['power'] / length
^ here
I am trying to modify this code a bit to add a variable for "garage" and I think I have gotten over most of the troubles.
I cannot seem to get past this syntax error, but I have copied it from the "home" and just changed one word.
pi@powermon:~/rpi-power-monitor $ python3 power-monitor.py phase Traceback (most recent call last): File "power-monitor.py", line 7, in
import influx_interface as infl
File "/home/pi/rpi-power-monitor/influx_interface.py", line 176
avg_garage_current = sum(garage_load_values['current']) / length
^
SyntaxError: invalid syntax