Closed ErikZuehlke closed 3 months ago
Hi Erik, Sunalyzer is designed to be run as a docker container, but you can run it just as easy without Docker. In the end, it's only two python scripts (one for the front and one for the backend) that can be executed directly.
Supporting your hardware should also be possible without too much effort. If you already have a python lib/wrapper for their APIs, things should be rather easy. Sunalyzer was designed to be flexible in this regard. Please have a look at the Dummy and the Fronius device implementation.
Also a Raspi3 should be more than enough to run this project. It has very little cpu and memory requirements.
Good luck and best regards from Schwieberdingen (aus dem Süden)
Thanks for your development work, I can already see the front end. First of all: Despite the many programming languages I have come across so far, Python is new to me. I copied the entire ‘sunalyser’ directory to the PI, installed the corresponding modules (?) based on your ‘requierements.txt’. Created the ‘data’ directory and the ‘config.yml’, content your example with ‘Dummy’ device.
I called up ‘python backend/server.py’ in one session and ‘python backend/grabber.py’ in another. The frontend (:5000) is running so far, but the dummy-device is not generating any data, is seen just ‘NaN’. Ok, I'll have to see what you've programmed, how I can access the data(base), look at the ‘logs’, if they exist, and so on ... On the side :) I will then learn Python and also the used ‘requirements’. Exciting topic... Only then will I get to anchor and tibber, which will probably take some more time. At least I'm on my way...
Hello Boris,
I am an application developer and I am looking for a small, fine solution for logging/analyzing data from both environments. There is a Python library for the Anker Solix API and also a Python wrapper for the Tibber API. Now I only need the front- and (web)-backend, your project might be the right one...
Background: I have had an Anker Solix Pro set up for a week and the Tibber Smart Meter installed for two weeks. I'm using a Synology DS214play, but that no longer supports the Docker package. Alternatively, I will install Docker on my Win notebook and have a look at your release.
Ideally, the Sunalyzer should run without Docker on the NAS or better on a Raspberry Pi 3 B (currently used as AdGuard Home and Fotoframe ...) ...
What do you think about my thoughts, is that feasible?
Beste Grüße aus dem Norden, Friesland ... Erik