Effekta / Enersolis support

others protocols
server2006
Posts: 32
Joined: Tue May 23, 2017 7:54 am

Re: Effekta / Enersolis support

Post by server2006 » Sat Jun 17, 2017 6:35 pm

I solved the problem. Just added to the script.

Code: Select all

$fp = @fsockopen($moxa_ip, $moxa_port, $errno, $errstr, $moxa_timeout);

Code: Select all

$fp = @fsockopen('udp://' . $moxa_ip, $moxa_port, $errno, $errstr, $moxa_timeout);

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

Re: Effekta / Enersolis support

Post by mstuetz » Tue Jun 20, 2017 7:30 am

Yes, that would do it too.
Or you just change the moxa_ip variable to something like this:

Code: Select all

$moxa_ip = "udp://192.168.123.240";

server2006
Posts: 32
Joined: Tue May 23, 2017 7:54 am

Re: Effekta / Enersolis support

Post by server2006 » Mon Jul 03, 2017 8:16 am

Hello!
mstuetz Thank you very much!
Why is this happening?
Constantly being reset to zero
https://youtu.be/bD-JJRSrpos

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

Re: Effekta / Enersolis support

Post by mstuetz » Mon Jul 03, 2017 9:13 am

Hi!
In fact I face this problem with almost all of my scripts that I made for 123solar. It's not affecting the values, but it's not very nice when watching livedata.
Maybe Jean-Marc has an idea, why this happens? Maye due to less time between the queries to the inverter? :?:

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

Re: Effekta / Enersolis support

Post by jeanmarc » Tue Jul 04, 2017 10:18 am

Hi,
That's because your live data are 30" too old..
The pooling must be way faster.

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

Re: Effekta / Enersolis support

Post by mstuetz » Tue Jul 04, 2017 12:20 pm

ok, that can be done 8-)

server2006
Posts: 32
Joined: Tue May 23, 2017 7:54 am

Re: Effekta / Enersolis support

Post by server2006 » Tue Jul 11, 2017 10:15 am

jeanmarc wrote:
Tue Jul 04, 2017 10:18 am
Hi,
That's because your live data are 30" too old..
The pooling must be way faster.
Good day!
What can be done?
What to add, fix?
So that it does not happen.
Thank you!

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

Re: Effekta / Enersolis support

Post by jeanmarc » Sat Jul 15, 2017 7:57 pm

request more quickly your data

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

Re: Effekta / Enersolis support

Post by mstuetz » Sun Jul 16, 2017 3:57 pm

I cannot test it anymore - I do own such a inverter anymore.
But I would start with changing

Code: Select all

$warte_bis_naechster_durchlauf = 20; //Zeit zw. zwei Abfragen in Sekunden
to less than 20. Maybe 5 seconds would still work fine.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest