Voltronic Infinisolar 10k hybrid support

others protocols
mstuetz
Posts: 94
Joined: Sun Dec 29, 2013 1:20 pm

Voltronic Infinisolar 10k hybrid support

Post by mstuetz » Sat Mar 23, 2019 9:27 am

Hi!
After running 123solar and mN for a couple of years for my Infinisolar 3k (and other) inverters, I started implementing it for Infinisolar 10k hybrid / MPP Solar 10k hybrid and compatible inverters.
The software is in an very early stage, but almost everything (logging, startup, checks, alarms, battery) is implemented already and works for one installation so far.
Any testers are very welcome. I will try to help as good as I can and I'm open for any improvements.
I put the 1st quick'n'dirty script here: https://github.com/riogrande75/infinipoll10k/

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: Voltronic Infinisolar 10k hybrid support

Post by jeanmarc » Sat Mar 23, 2019 12:50 pm

Thanks, tell me if i could include your protocol files.

mstuetz
Posts: 94
Joined: Sun Dec 29, 2013 1:20 pm

Re: Voltronic Infinisolar 10k hybrid support

Post by mstuetz » Fri Apr 05, 2019 8:54 am

I sent you the protocol files.
If you need anything additionally to add them to the next version, pls. let me know.

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: Voltronic Infinisolar 10k hybrid support

Post by jeanmarc » Fri Apr 05, 2019 10:38 am

Thanks, it'll be included in next release :)

delfi5
Posts: 8
Joined: Tue Jan 06, 2015 10:26 am

Re: Voltronic Infinisolar 10k hybrid support

Post by delfi5 » Thu Apr 25, 2019 1:38 pm

Hi,
I would like to try the protocol with an MPP solar. How should I configure the inverter on 123solar? Which cable should I use? A normal usb-serial or a direct usb cable?

Thank you

mstuetz
Posts: 94
Joined: Sun Dec 29, 2013 1:20 pm

Re: Voltronic Infinisolar 10k hybrid support

Post by mstuetz » Thu Apr 25, 2019 2:20 pm

Pls. read github readme.
My script needs a serial to ethernet converter (e.g.USR-TCP-302), off course you could simply adapt it for the use of a usb-serial converter.

mstuetz
Posts: 94
Joined: Sun Dec 29, 2013 1:20 pm

Re: 123solar 1.8

Post by mstuetz » Wed May 22, 2019 12:27 pm

I run 123solar 1.8.2 now since a few days and a lot of mem get's eaten up (>300MB after one day).
In fact mem consumption increses 24-30 bytes every 3 secs.
Off course I suspect my own scripts in procotols/ folder that I use for reading values.
So one basic question: Do this scripts get included or executed by 123solar? Any hint how I could find the memory leak?

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Wed May 22, 2019 1:26 pm

Well, try to see with "htop", then F6 sort by %MEM to see what process eat your memory.
Your /tmp/ is on a tmpfs ? Check what files grow there..

The protocol file is continuously open/close, check if you have fclose everywhere.

mstuetz
Posts: 94
Joined: Sun Dec 29, 2013 1:20 pm

Re: 123solar 1.8

Post by mstuetz » Wed May 22, 2019 1:41 pm

In fact it's 123solar itself, as far as I understand.
ps aux outputs this:

Code: Select all

www-data 26902  7.7  6.7 109636 64176 ?        S    12:45   8:07 php ../scripts/123solar.php
top -p 26902 shows this

Code: Select all

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
26902 www-data  20   0  109636  63784  14776 S   7,7  6,7   8:03.59 php
VIRTual and REServed memory get increased every few seconds.

No big filesystem changes, as far a I see.

jeanmarc
Posts: 1822
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Wed May 22, 2019 2:44 pm

I suppose it's about your protocol file. My RES is stable as rock ;)
Try to make an infinity loop while(true) in it, then test with php infini10k.php &

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests