Welcome to modpoll Wiki page!
Installation:
To get 123solar working with Effekta ES-series power inverters pls. install 123solar (www.123solar.org) and select effekta in the inverters settings.
Then create "/etc/modpoll" directory and copy the 2 files from this project there.
Make them executable with "chmod +x modpoll.sh modpoll.php".
Then open modpoll.php with your favorite editor and edit the following two settings:
$moxa_ip = "x.x.x.x"; / The IP adress of you serial2ethernet converter
$moxa_port = yyyyy; / the tcp port your serial2ethernet converter runs the tcp server
The serial2ethernet converter needs to run in the so called TCP-Server mode (in my case it is a cheap USR T24).
Change the settings (baud-rate, stop bit, parity,...) according to the manual of your power inverter.
Then start modpoll with "./modpoll.sh start" to collect data from the inverter.
Actual data get written to files in "/etc/modpoll/tmp/".
From there, the effekta.php script in 123solar grabs the data.
You can moitor the full communication between your inverter and server in the "/etc/modpoll/log/modpoll_%date_.log" file.
If setup runs fine and data get shown in 123solar, you are free to disable the debug mode in modpoll.php ($debug = false;). Log files don't get written anymore.
Hint:
After a few days, the calculated overall power (ptotal in kWh) from modpoll will be slightly higher than the overall power shown on your Effekta ES-series inverter.
This is due the fact, that the inverter's ptotal counter stores only full kWh values.
So the inverters counter loses all Wh earned after the last kWh incrementation of the day when it powers down (night).
The next day it starts e.g. with 444.0kWh instead of the real 444.849kWh from the previous day.
Modpoll calculates the values with the same algorithm the inverter counts, but counts every single Wh and donet lose anything.
So it is much more accurate than the inverters internal counter.
Have fun!