Trannergy forward to pvoutput no longer supported

Dear forum.
Trannergy just shut down its former log website and migrated their customers to a new site. In the former site there was an option to also upload the data to pvoutput. Alas not so in the new setup.

When I login to the local webpage of my inverter, there is an option ‘remote server setting’ (advanced, remote server). It is possible to add a server I guess. Could I use that to send the data to some server I need to implement at home or direcly to pvoutput? Got a few raspberies lying around as well as ESP8266.
Maybe I can acces the inverter directly via wifi and get the data? Someone knows the format or has a detailed manual about that?
Thanks.

Guess what: I revived my 8 year old program ‘omnikstats’ from 2013. The Trannergy inverters are a lot like the Omnik’s. With some polishing got it working with my Trannergy.

I’ll try and migrate it to an ESP8266. Would anyone be interested?

Data collection through WiFi, no cables required.

1 Like

Yes please, that would be great.

I managed to code some software for the ESP8266. Testresults look good.
Also have code for a linux computer (or raspberry)

PM me if interested.

1 Like

I like your help to convert data van Trannergy to PVOutput!

Beach, can you send the ESP8266 code to me?

Regards

Beach, great job! Could you please send the raspberry (linux) code to me? I would like to be able to import the Trannergy data into Domoticz again.

Please send me the code ald linux code as well!

Hi, can you help me to get pv working with trannergy?

Hi,
Im intrested for the code for raspberry pi,

so i can use it with pvoutput to send to my domoticz

Greetings,
Alexander

It is now possible to setup Trannergy Auto Uploads

1 Like

Hi B,

pvoutput.org has created an connection to their API

For those who (still) want to do home monitoring, I uploaded the software to github:

And

The 1st one is for ESP8266, the 2nd one can be used with any linux computer.

I tried to reïnstall it to a different system end get these errors when i do a “make all”:

gcc -Wall -c omnikstats.c
omnikstats.c: In function 'main':
omnikstats.c:69:13: warning: the comparison will always evaluate as 'true' for the address of 'IPnumber' will never be NULL [-Waddress]
   69 |         if (!stats.IPnumber) {
  |             ^
In file included from omnikstats.c:17:
omnikstats.h:13:14: note: 'IPnumber' declared here
   13 |         char IPnumber[20];
  |              ^~~~~~~~
gcc -Wall -c omnikfunctions.c
gcc -Wall -c omniksearch.c
gcc -Wall -c omnikgetstats.c
gcc -Wall -c omnikpvoutput.c
gcc -Wall -c omnikfillstruct.c
gcc -Wall -c omnikreadconfig.c
gcc -Wall -o omnikstats omnikstats.o omnikfunctions.o omniksearch.o omnikgetstats.o omnikcsv.c omnikpvoutput.o omnikfillstruct.o omnikreadconfig.o  -lm -L/usr/lib/i386-linux-gnu -lcurl
/usr/bin/ld: omniksearch.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
/usr/bin/ld: omnikgetstats.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
/usr/bin/ld: /tmp/ccLxRggP.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
/usr/bin/ld: omnikpvoutput.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
/usr/bin/ld: omnikfillstruct.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
/usr/bin/ld: omnikreadconfig.o:(.bss+0x0): multiple definition of `stats'; omnikstats.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:50: all] Error 1

any suggestion?

I changed two files in the github. Hope it works now…

Yes, that helped and it compiled!
Now i get a TCP error when I run it.

TCP connect error: No route to host
Error in TCP: 1

I have tried traceroute to pvoutput.org and pinging the Trannergy, both work fine.
Any suggestions?

try to run the program verbosely:

./omnikstats -vvv

Did you edit the omnik.conf file?

It is best to put the IP address of the omnik/trannergy in this file and the serial number. Set your ipnumber to a static ip if possible. (Log in to your omnik/trannergy).

# omnik config file
#  
# comment lines start with '#', do not use # in or after definitions
# Uppercase or lowercase can be mixed

# The url of pvoutput: DO NOT CHANGE
omnikurl http://pvoutput.org/service/r2/addstatus.jsp
# Your API
omnikapi a6e434................B
# Your system Id
SystemID 12345
# OPTIONAL: IP number of OMNIK
#IPnumber 192.168.1.1      **<-- Edit this and remove the # at the beginning**
# When IP number above is defined also enter the serial number
#Snumber 602xxxxxx       **<-- Edit this and remove the # at the beginning**

Of course i did all that :wink:
I have installed it before on other VM’s.
Here is the result of -vvv

root@quark:/srv/omnikstats# ./omnikstats -vvv
Verbose 3
TCP connect error: No route to host
Error in TCP: 1
root@quark:/srv/omnikstats# 

I also did a -vv:
That showed me the ID on pvoutput, the serial number and the IP address of the trannergy as additional information.

Never mind, solved it. (firewall issue)
Thanks fot your assistance!