SolarEdge via LAN interface

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
HF1972
Posts: 3
Joined: Wednesday 07 June 2017 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

SolarEdge via LAN interface

Post by HF1972 »

After adding hardware (Setup -> Hardware -> SolarEdge via LAN interface), it does not want to appear under Setup -> Devices.

What am I doing wrong :?:
mrf68

Re: SolarEdge via LAN interface

Post by mrf68 »

User avatar
HF1972
Posts: 3
Joined: Wednesday 07 June 2017 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge via LAN interface

Post by HF1972 »

I think I've done everything according to the roadmap.

RPI 3B RASPBIAN JESSIE
Domoticz V3.587

See screenshots

Why does there not listening any thing on port 2222

pi@raspberrypi:~ $ netstat -an |grep 22
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 192.168.106.8:22 192.168.106.14:53647 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
unix 3 [ ] STREAM CONNECTED 10622 /var/run/dhcpcd.unpriv.sock
pi@raspberrypi:~ $ netstat -an |grep -i LIST
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
tcp6 0 0 :::6144 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 6154 /run/systemd/private
unix 2 [ ACC ] SEQPACKET LISTENING 6176 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 10383 @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 6180 /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 10384 /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 11393 /tmp/ssh-dlHzru82H4tO/agent.636
unix 2 [ ACC ] STREAM LISTENING 9015 /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 9018 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 11647 /tmp/.menu-cached-:0-pi
unix 2 [ ACC ] STREAM LISTENING 8017 /var/run/dhcpcd.sock
unix 2 [ ACC ] STREAM LISTENING 8019 /var/run/dhcpcd.unpriv.sock
unix 2 [ ACC ] STREAM LISTENING 1692 /run/user/1000/systemd/private
unix 2 [ ACC ] STREAM LISTENING 9674 /tmp/.pcmanfm-socket--0-pi
unix 2 [ ACC ] STREAM LISTENING 11398 @/tmp/dbus-zNZIoD6Mr6
unix 2 [ ACC ] STREAM LISTENING 10572 /tmp/ssh-nDsUlVkVJRup/agent.738
Attachments
Capture7.JPG
Capture7.JPG (102.79 KiB) Viewed 15988 times
Screen Shot 2017-06-08 at 10.12.32.png
Screen Shot 2017-06-08 at 10.12.32.png (149.81 KiB) Viewed 15988 times
Screen Shot 2017-06-08 at 10.12.02.png
Screen Shot 2017-06-08 at 10.12.02.png (232.42 KiB) Viewed 15988 times
antwan
Posts: 116
Joined: Saturday 13 July 2013 13:28
Target OS: Linux
Domoticz version: Latest
Location: Hilversum, The Netherlands
Contact:

Re: SolarEdge via LAN interface

Post by antwan »

SolarEdge via lan does not work for 6 Months. Use SolarEdge via Web API instead.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
User avatar
HF1972
Posts: 3
Joined: Wednesday 07 June 2017 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge via LAN interface

Post by HF1972 »

I'm assuming that it has worked in an older version of Domoticz.
Can I use an older version? And so which version would this be?

If i'm right, the LAN method has more options than the API method, is this correct?

Is there a solution to fix this in the new version of Domoticz?
antwan
Posts: 116
Joined: Saturday 13 July 2013 13:28
Target OS: Linux
Domoticz version: Latest
Location: Hilversum, The Netherlands
Contact:

Re: SolarEdge via LAN interface

Post by antwan »

Reverse engineer the new protocol solaredge has implemented. Me and gizmocuz allready spent 100 hours on this, now someone else turn.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
TheBassman
Posts: 2
Joined: Saturday 10 June 2017 22:18
Target OS: Windows
Domoticz version:
Contact:

Re: SolarEdge via LAN interface

Post by TheBassman »

BTW, My SolarEdge system was installed a month ago, and the URL for the data log is prod2.solaredge.com port 22222.

Thought I would pass this along in case it has any bearing on the module. Maybe it's where the new formatted data must be uploaded?
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »

Some updates regarding this issue ? I would love to monitor the solar edge system using the (W)LAN option
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »

Silince ;( no updates / fixes

Sent from my SM-G935F using Tapatalk

It's nice to be important, but it's more important to be nice
Scooter ;)
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: SolarEdge via LAN interface

Post by freijn »

I would be VERY interested TOO !

I love reverse engineering, I do have some coding knowledge ( Old plain C ) but can work with python and that sort of stuff.

Can we create a new team trying to get this to live again ?
Who else can help ?

Cheers,

Frank ( netherlands )
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »


freijn wrote:I would be VERY interested TOO !

I love reverse engineering, I do have some coding knowledge ( Old plain C ) but can work with python and that sort of stuff.

Can we create a new team trying to get this to live again ?
Who else can help ?

Cheers,

Frank ( netherlands )
I would love to help where possible (also the NL)
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »

How can we " reverse engineer" this ?

Sent from my SM-G935F using Tapatalk

It's nice to be important, but it's more important to be nice
Scooter ;)
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: SolarEdge via LAN interface

Post by freijn »

afaik and understand the process the SolarEdge is "chatting" home and dumps al the data there.
So if we caputure the stream of data and then decode the messages we can putting them in our own database instead of SolarEdge home db.

I have understood it worked before so major work has already been done, but if SE decided to move a message or rename it, the previous reverse engineering is lost and won't work anymore.

Makes sense?

Greetings Frank
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »


freijn wrote:afaik and understand the process the SolarEdge is "chatting" home and dumps al the data there.
So if we caputure the stream of data and then decode the messages we can putting them in our own database instead of SolarEdge home db.

I have understood it worked before so major work has already been done, but if SE decided to move a message or rename it, the previous reverse engineering is lost and won't work anymore.

Makes sense?

Greetings Frank
Maybe the people who already reverse engineered this could help with this. But an can't find out who they where
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »

@freijn: did you make some progress ;) ?

Sent from my SM-G935F using Tapatalk

It's nice to be important, but it's more important to be nice
Scooter ;)
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: SolarEdge via LAN interface

Post by freijn »

I have no Clue where to start....

Anybody can point us in the correct direction please?
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: SolarEdge via LAN interface

Post by thecosmicgate »

@antwan / @Gizmocuz maybe you could help us start the research of re-intergration of this function
It's nice to be important, but it's more important to be nice
Scooter ;)
ErnstPD
Posts: 8
Joined: Wednesday 19 April 2017 16:00
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.8153
Contact:

Re: SolarEdge via LAN interface

Post by ErnstPD »

What kind of connection do I have to use to edit the SolarEdge inverter with the SolarEdge configuration tool version2?
Is it possible to connect over the LAN interface or is it only possible with a serial connector or USB? And what kind of cable do I have to get?
Hardware:
  • Raspberry Pi 3B/3B+ and Banana Pi M3 with:
    Honeywell evoHome (Wifi)
    Philips Hue (v2)
    P1-meter
    SolarEdge
    (Web API)
Software:
  • Raspian Stretch lite with:
    Domoticz
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: SolarEdge via LAN interface

Post by McMelloW »

freijn wrote: Monday 02 October 2017 21:27 I have no Clue where to start....

Anybody can point us in the correct direction please?
I have been searching on this subject for sometime. If you have a TCP and LAN cable connection on your SolarEdge inverter this document might be interesting.
A test with the Shortbus Modbus Scanner tool shows it is possible to read/scan the output of your SolarEdge via the local-ip port 502. This proofs that reading your SolarEdge via TCP configuration works. See pages 7/8 of the above mentioned document.
I hope this gives you a starting point
Last edited by McMelloW on Saturday 23 May 2020 16:29, edited 2 times in total.
Greetings McMelloW
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: SolarEdge via LAN interface

Post by McMelloW »

freijn wrote: Monday 02 October 2017 21:27 I have no Clue where to start....

Anybody can point us in the correct direction please?
Here is another starting point for you.
Finally, I have a working solution to get data direct from my SolarEdge The Sunspec-Monitor Although it is a Perl script it works OK. Next step is to get it running every 5 minutes within Domoticz.

It reads the complete registers and this is the output

Code: Select all

INVERTER:
             Model: SolarEdge  SE3500 
  Firmware version: 3.2173
     Serial Number: 73xxxxxx

            Status: SLEEPING

 Power Output (AC):            0 W
  Power Input (DC):            0 W
        Efficiency:         0.00 %
  Total Production:      165.755 kWh
      Voltage (AC):       234.30 V (50.01 Hz)
      Current (AC):         0.00 A
      Voltage (DC):         0.50 V
      Current (DC):         0.00 A
       Temperature:        30.95 C (heatsink)
I think this is more like it, instead of being depended on the SolarEdge website
Greetings McMelloW
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest