Page 5 of 5

Re: Effekta / Enersolis support

Posted: Sat Jun 17, 2017 6:35 pm
by server2006
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);

Re: Effekta / Enersolis support

Posted: Tue Jun 20, 2017 7:30 am
by mstuetz
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";

Re: Effekta / Enersolis support

Posted: Mon Jul 03, 2017 8:16 am
by server2006
Hello!
mstuetz Thank you very much!
Why is this happening?
Constantly being reset to zero
https://youtu.be/bD-JJRSrpos

Re: Effekta / Enersolis support

Posted: Mon Jul 03, 2017 9:13 am
by mstuetz
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? :?:

Re: Effekta / Enersolis support

Posted: Tue Jul 04, 2017 10:18 am
by jeanmarc
Hi,
That's because your live data are 30" too old..
The pooling must be way faster.

Re: Effekta / Enersolis support

Posted: Tue Jul 04, 2017 12:20 pm
by mstuetz
ok, that can be done 8-)

Re: Effekta / Enersolis support

Posted: Tue Jul 11, 2017 10:15 am
by server2006
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!

Re: Effekta / Enersolis support

Posted: Sat Jul 15, 2017 7:57 pm
by jeanmarc
request more quickly your data

Re: Effekta / Enersolis support

Posted: Sun Jul 16, 2017 3:57 pm
by mstuetz
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.