How do I get DzVents to monitor error status for SolarEdge SE4000H

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by Sjonnie2017 »

Hi all,

I would like to monitor my SolarEdge SE4000H in case an error occurs.

Since I have the coding skills of a Kangaroo I call upon the more knowledgeable to help me get a working script. I have searched the forum for a comparable issue/solution but was unsuccessful.

If I write the script in human language it would be something like his:

If Solaredge.Vendorstatus = 134 (the error code I would like to monitor)
Then Send email with subject "Error SolarEdge"

I really appreciated some pointers.

Thanks in advance!
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by jvdz »

Do you have any connection (Sunspec or something like that ) already working with your SolarEdge?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by Sjonnie2017 »

Tx for your reply. I am using the "modbus TCP" plugin from Addie Janssen. I have a wired connection to my SolarEdge.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by Sjonnie2017 »

I had a (second) look at blockly to see if I could find the device and set it up to send an email if the error code occurs. Not sure if it works though since the error has not occurred again :)

This is what I came up with
domoticz_forum_screenshot.jpg
domoticz_forum_screenshot.jpg (78.6 KiB) Viewed 727 times
Let's hope I never need it :mrgreen:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by freijn »

Sjonnie, what is the normal status ?
Mine is moving from MQTT ,starting , shutting down.

Pick a status which has a daily change and you can check if your script is working.....
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: How do I get DzVents to monitor error status for SolarEdge SE4000H

Post by Sjonnie2017 »

If the error is "resolved" (meaning the Solaredge is back in business) the reported status is "0". Good suggestion to check against this status! I will test this so I know the Blockly works.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest