dkruyt / ginlong-scraper

A python script that scrapes PV statistics from the Ginlong monitor pages and outputs it to influxdb, pvoutput or mqtt
GNU General Public License v3.0
48 stars 29 forks source link

Include additional parameters for consumption #3

Closed alceasan closed 3 years ago

alceasan commented 4 years ago

My Solis inverter model is 1P5K-4G, and it's connected to an energy meter through modbus RTU RS485 so it can measure my home consumption.

Maybe these parameters can be a configurable option in case you have consumption info, or catch the exception in case they don't exist.

craigcurtin-dev commented 4 years ago

How are you guys going with getting this to run - i am having problems with urllib and urlib2 not wanting to install on Ubuntu VM 20.04.

What OS are you running it on ?

I have two solis 3P5k-4G inverters with an ADL3000 3phase energy monitor.

Craig

alceasan commented 4 years ago

I'm currently using this docker image based on this repository: https://hub.docker.com/r/fredericvl/ginlong-solis-scraper, which has support for ARM (I run it on a Rasp).

I manually included this changes on the Python sources and it has been working fine in my case for two months now.

craigcurtin-dev commented 3 years ago

Thanks for the quick reply on this.

I have pulled down the docker image and gotten it to run.

I have set all the environment variables and confirmed they are correct – but I keep getting a login failure – anyone else experienced this ?

I use a password manager (Lastpass) to generate all my passwords – hence they are complex – I have started up an incognito browser and logged in from there by pasting my password and it works fine. I have then pasted that into a file on Linux and passed that to the docker runtime – I can confirm (I use portainer) that the image has loaded the env-file fine and parsed all of the variables.

Any ideas ?

Craig

From: alceasan notifications@github.com Sent: Monday, October 5, 2020 11:05 PM To: dkruyt/ginlong-scraper ginlong-scraper@noreply.github.com Cc: Craig Curtin craigc@prosis.com.au; Comment comment@noreply.github.com Subject: Re: [dkruyt/ginlong-scraper] Include additional parameters for consumption (#3)

I'm currently using this docker image based on this repository: https://hub.docker.com/r/fredericvl/ginlong-solis-scraper, which has support for ARM (I run it on a Rasp).

I manually included this changes on the Python sources and it has been working fine in my case for two months now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dkruyt/ginlong-scraper/pull/3#issuecomment-703587604, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM6OSTZ3TPR6OYVEDJKWK3DSJGY7DANCNFSM4PE3CVUQ.

craigcurtin-dev commented 3 years ago

Worked it out - it does not like any embedded spaces/trailing formating - running now.

Now i just have to rework it to support multiple inverters and 3 phase !

Will report back progress as i go

Thanks for the hint re the docker image

Craig