Effekta / Enersolis support

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

Effekta / Enersolis support

Post by mstuetz » Sun Dec 29, 2013 2:47 pm

Hi!
I am running 123solar on a debian thinclient since a couple of weeks with my SMA SunnyBoy 2500 inverter. It is connected via a cheap (chinese) serial to eth converter and yasdi/sma-get.
So far i am really very happy with this.

Now a friend asked me to get a similar setup running with his Effekta ES-series inverter.
Unfortunately there is no free (linux-)sw that supports this inverter at all.
So i plan to modify the aurora scripts accordingly, i think this might be the easiest way.
Or is there a better way, to get the effekta supported?

Cheers,
Mario

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

Re: Effekta / Enersolis support

Post by jeanmarc » Sun Dec 29, 2013 7:53 pm

Hi Mario,
123solar is just a GUI on top of communication applications. I know nothing about effekta inverters but i doubt they are clone of power-one .. :?
If you can retrieve infos from it, it is simple to write a wrapper.
I wish you good luck !

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

Re: Effekta / Enersolis support

Post by mstuetz » Mon Dec 30, 2013 8:49 pm

Ok, i understand.
Well, after some searching i found out that this inverter is basically from ablerex - a chinese brand. It just got sold as Effekta ES-Series, Enersolis or SunnyRoo TL-Series (Australia) and probably even more.
I was also able to find a full protocol description (http://www.radio-active.net.au/images/files/5000tl.pdf).
I compared it with the my loggings (tcpdump) and it seems to fit fine.

Would you pls. be so kind and have a look at this spec?
What will be neccessary to get this inverter running with 123solar?

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

Re: Effekta / Enersolis support

Post by jeanmarc » Tue Dec 31, 2013 7:55 am

Hi Mario,
Well, i know nothing much about hardware programming and if i were about to write a communication driver, it'll probably be a real mess. So, i am worry but i can't help you there :?
If you can get anything output from this inverter, i can surely help to write the wrapper (the thing that will break-up the data frame into something understable by 123s)
The mandatory info needed is the power and the total counter production. A "end of transmission" is especially usefull to avoid messing datas with uncomplete datas.
Happy new year's eve

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

Re: Effekta / Enersolis support

Post by mstuetz » Tue Dec 31, 2013 2:47 pm

Since the protocol for the effekta inverter is modbus, the libmodbus library seems to be the one (and was successfully used in other projects).
How do i have to prepare the data and how do you grab em with 123solar?
I could write a simple php script, that will deliver the data.

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

Re: Effekta / Enersolis support

Post by jeanmarc » Tue Dec 31, 2013 3:49 pm

Check in scripts/protocols for examples. You'll see 3 files for each protocols eg for aurora :

- aurora.php for the main pooling, it should return :

$SDTE = date format is 20131201-09:00:38
$I1V = array 1 voltage
$I1A = amperage
$I1P = power
$I2V = array 2 volt
$I2A = amperage
$I2P = power
$GV = Grid volt.
$GA = Grid amp.
$GP = Grid Power
$FRQ = Grid frequency
$EFF = Efficiency
$INVT = Inverter temperature
$BOOT = Booster temp
$KWHT = Total kWh counter
$RET = should return OK if the frame is complete

- aurora_checks.php, for the checks done each 5 min, that 's

$ILEAK = current ileak in mA
$RISO = r isulation in Mohm
$PPEAK = peak power of all time
$PPEAKOTD = peak power of the day
$RET = 'OK';

$CMD_STATE = State text file shown in dashboad
$CMD_ALARM = Alarm command

- aurora_startup.php, for the daily startup

$CMD_INFO = Info txt file show in info section
$CMD_SYNC = Sync time command

have fun ;)

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

Re: Effekta / Enersolis support

Post by mstuetz » Thu Jan 02, 2014 11:55 am

Hi!
I managed to get the data via a tool called "modpoll".
Here the output with my comments:

Code: Select all

root@TestIgel:~# ./modpoll -m enc -t4:hex -c 19 -1 -r 49185 -p 24272 192.168.123.240
modpoll 3.4 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright (c) 2002-2013 proconX Pty Ltd
Visit http://www.modbusdriver.com for Modbus libraries and tools.
Protocol configuration: Encapsulated RTU over TCP
Slave configuration...: address = 1, start reference = 49185, count = 19
Communication.........: 192.168.123.240, port 24272, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register (hex), output (holding) register table
-- Polling slave...
[49185]: 0x0019 ==>250W PAC
[49186]: 0x00DF ==>223V AC1
[49187]: 0x00DC ==>220V AC2
[49188]: 0x0000 
[49189]: 0x000E
[49190]: 0x0000
[49191]: 0x01F4 ==>50Hz Frequency (500/10)
[49192]: 0x014C
[49193]: 0x0000
[49194]: 0x0015
[49195]: 0x0008
[49196]: 0x00BC ==>188V UDC1
[49197]: 0x00B4 ==>180V UDC2
[49198]: 0x0007 ==>0,7A IDC1
[49199]: 0x0008 ==>0,8A IDC2
[49200]: 0x000D ==>130W PDC1
[49201]: 0x000E ==>140W PDC2
[49202]: 0x0000
[49203]: 0x0134   ==> Ptot =308kWh
root@TestIgel:~#
It is also possible to get the type of inverter and poll alarms and errors.
Do you think you could create a wrapper for this data?

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

Re: Effekta / Enersolis support

Post by jeanmarc » Thu Jan 02, 2014 12:53 pm

Hi,

A data frame, should be easier to treat. But, sure it should be doable in php using PCRE function (preg_replace..) it'll certainly be slower than a good script in bash or c (i know nothing much about those).


Also, it seem like your output dosen't return a precise enough total counter. The graphs on the main page show the avg. power during a 5min period using the differential production.
The total counter better have a wH precision than a kWh :ugeek:

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

Re: Effekta / Enersolis support

Post by mstuetz » Thu Jan 02, 2014 4:17 pm

Do you mean, without a precise total counter its useless? :cry:
I decoded almost all outputs from this inverter, but i am afraid that the this total counter in kWh is the only one.
If the only way to get useful graphs is a total counter in watts, then i will have to create kinda temp storage and calculate it with Ptot and PAC1+PAC2 in my script. Even it is not very accurate, it should work, right?
Cheers,
Mario

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

Re: Effekta / Enersolis support

Post by jeanmarc » Thu Jan 02, 2014 5:33 pm

Yes, i'am sorry but if you want a serious monitoring you'll need to retrieve precise production counter (Wh) or your daily production values would be rounded to kWh :?

If you are able to calculate the production with the power, you beat me ! :D You'll need to integrate the power over the time and it can vary very much with solar..
:idea: So, maybe one trick would be to use a separate cheap energy counter which output a pulse of each Wh. (Like I do in meterN), you may also find many other kind of energy meter...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest