szymi- / fronius-to-influx Goto Github PK
View Code? Open in Web Editor NEWCollect Fronius inverter data and save in Influxdb for Grafana
Collect Fronius inverter data and save in Influxdb for Grafana
Od razu zacznę że nie jestem zaawansowanym userem i poprawne uruchomienie skryptu zajęło mi kilka godzin z jakiegoś powodu.
Ale jak już go odpaliłem i działał, no to po jakiejś pół godzinie zauważyłem że nie działa.
Uruchamiam go na rPi3B w screenie podczas startupu.
Ale do szczegółów, w końcu miałem trochę cierpliwości żeby złapać co się dzieje i jest to jak następuje:
Data written
Data written
Traceback (most recent call last):
File "/home/pi/skrypty/fronius-to-influx/src/fronius_to_influx.py", line 130, in run
collected_data.extend(self.translate_response())
File "/home/pi/skrypty/fronius-to-influx/src/fronius_to_influx.py", line 54, in translate_response
'ErrorCode': self.data['Body']['Data']['DeviceStatus']['ErrorCode'],
KeyError: 'DeviceStatus'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "src/prod.py", line 20, in <module>
z.run()
File "/home/pi/skrypty/fronius-to-influx/src/fronius_to_influx.py", line 144, in run
raise WrongFroniusData('Response structure is not healthy')
fronius_to_influx.WrongFroniusData: Response structure is not healthy
Niestety moja wiedza jest zbyt mała żeby w ogóle nie bać się próbować szukać co może być przyczyną, ale wystarczająca żeby dodać skrypt do crona, który uruchomi skrypt z powrotem jeśli spadnie z rowerka. Niestety prowadzi to do lekkich dziur w wykresach.
I now use a Huawei inverter. My installation got twice as big as it used to be and I had to replace my inverter, unfortunately I had to go for something cheaper than Fronius for the operation to have economic sense. So I will keep my old Fronius data in Grafana, but will have to change how the data is pushed to Grafana (possibly using this tool: https://gitlab.com/Emilv2/huawei-solar/). I will publish the result in a separate repo. I will keep this repo available as it seems quite popular for my standards.
Hej,
zrobilem krok po kroku instalacje, i w moencie jak uruchmiam skrypt dostaje blad:
Traceback (most recent call last): File "src/prd.py", line 1, in <module> from fronius_to_influx import FroniusToInflux File "/home/fronius/fronius-to-influx/src/fronius_to_influx.py", line 30 def __init__(self, client: InfluxDBClient, location: Location, endpoints: List[str], tz: Any) -> None: ^
z gory dzieki za pomoc
Hi,
First of all thanks for you work, and for publishing. The repo looks very promising, but unfortunately am unable to get it work in any circumstances. I'm not a great coder, I've minimal python knowledge, so I've tried to reverse engineered the code but it exeeds my skills.
I've followed the installation guide, and all looked fine but after I've run the prod.py, i get the following infinitively:
Waiting for connection...
Waited 10 seconds for connection
Waiting for connection...
The following are not clear:
I hope my questions are not noob and am not only overlook something very obvious :D
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
Feature Request: create a docker container with this app, grafana, and influxdb configured with docker-compose or similar
Cześć,
używam od dłuższego czasu Twojego narzędzia. Jest super! Polecałem kilku osobom również. Dzięki!
Od kilku dni coś nie działa, przy uruchomieniu skryptu prod.py mam komunikat:
Traceback (most recent call last):
File "/home/pi/fronius-to-influx-master/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 7, in
import pytz
ModuleNotFoundError: No module named 'pytz'
Jak próbowałem doinstalować jeszcze raz pytz pojawił się komunikat, że jest już (zgodnie z prawdą) zainstalowany.
W czym może być problem?
Pozdrawiam Michał
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.