sunspec-monitor icon indicating copy to clipboard operation
sunspec-monitor copied to clipboard

Empty readings from meter

Open LucaTNT opened this issue 6 years ago β€’ 40 comments

Hi, I'm not sure if this is the right place to ask this question, but I'll give it a shot anyway.

I have a SolarEdge SE6000 inverter + a WattNode WND-3Y-400-MB meter. All the data coming from the inverter is correctly shown, while I can only see Model, Option, Firmware version and Serial Number of the meter. All the other data coming from the meter is 0, it appears that the ModBUS data is empty (see below).

Do you think this could be due to a misconfiguration on the inverter? Any hint would be appreciated, thank you very much.

$VAR1 = {
          'M_AC_Power_C' => -32768,
          'M_AC_Voltage_LL' => -32768,
          'M_Imported' => 0,
          'M_AC_VA_C' => -32768,
          'M_AC_PF_A' => -32768,
          'M_Import_VARh_Q2B' => 0,
          'M_AC_Voltage_AB' => -32768,
          'M_AC_Freq' => -32768,
          'M_AC_VAR_SF' => -32768,
          'M_Exported_VA' => 0,
          'M_Imported_VA_C' => 0,
          'M_AC_Power_SF' => -32768,
          'M_Exported_VA_B' => 0,
          'M_AC_Power' => -32768,
          'M_Import_VARh_Q2' => 0,
          'M_Import_VARh_Q4' => 0,
          'M_Imported_VA' => 0,
          'M_Energy_W_SF' => -32768,
          'M_Events' => 131072,
          'M_Import_VARh_Q1C' => 0,
          'M_Energy_VAR_SF' => -32768,
          'M_AC_Power_B' => -32768,
          'M_Exported' => 0,
          'M_Exported_VA_A' => 0,
          'M_Import_VARh_Q1' => 0,
          'M_Exported_B' => 0,
          'M_AC_Current_A' => -32768,
          'M_AC_Voltage_AN' => -32768,
          'M_AC_Current_B' => -32768,
          'M_AC_Voltage_BC' => -32768,
          'M_AC_PF_C' => -32768,
          'M_AC_Voltage_CA' => -32768,
          'M_AC_Current_SF' => -32768,
          'M_AC_VA_B' => -32768,
          'M_Import_VARh_Q3A' => 0,
          'M_Import_VARh_Q3' => 0,
          'M_AC_Power_A' => -32768,
          'M_AC_Voltage_BN' => -32768,
          'M_Imported_B' => 0,
          'M_AC_Voltage_LN' => -32768,
          'M_Import_VARh_Q4A' => 0,
          'M_Imported_A' => 0,
          'M_Imported_VA_B' => 0,
          'M_AC_Current_C' => -32768,
          'C_SunSpec_DID' => 201,
          'M_AC_VAR_B' => -32768,
          'M_Import_VARh_Q4B' => 0,
          'M_AC_Current' => -32768,
          'M_Imported_VA_A' => 0,
          'M_AC_VA' => -32768,
          'M_Import_VARh_Q1A' => 0,
          'M_Exported_VA_C' => 0,
          'M_AC_PF' => -32768,
          'C_SunSpec_Length' => 105,
          'M_Exported_C' => 0,
          'M_AC_Freq_SF' => -32768,
          'M_Exported_A' => 0,
          'M_Import_VARh_Q2A' => 0,
          'M_AC_VAR_A' => -32768,
          'M_AC_VA_A' => -32768,
          'M_Imported_C' => 0,
          'M_Energy_VA_SF' => -32768,
          'M_Import_VARh_Q4C' => 0,
          'M_AC_Voltage_CN' => -32768,
          'M_Import_VARh_Q3B' => 0,
          'M_AC_PF_SF' => -32768,
          'M_AC_VA_SF' => -32768,
          'M_Import_VARh_Q3C' => 0,
          'M_Import_VARh_Q1B' => 0,
          'M_AC_VAR_C' => -32768,
          'M_AC_PF_B' => -32768,
          'M_AC_VAR' => -32768,
          'M_Import_VARh_Q2C' => 0,
          'M_AC_Voltage_SF' => -32768
        };

LucaTNT avatar Mar 10 '18 16:03 LucaTNT

Hi, Did you configured the Solaredge LAN according to the document. https://www.solaredge.com/sites/default/files/sunspec-implementation-technical-note.pdf That is how I did it. After that it worked, with some minor details. But they are solved. Hope this might be of help.

mcmellow avatar Mar 10 '18 18:03 mcmellow

That's the procedure I followed in order to enable ModBus TCP, it's really weird that I'm not getting only part of the data πŸ€” I sent an email to SolarEdge's support, if they are able to provide any help I'll be sure to post it here.

Thanks for your reply, though!

LucaTNT avatar Mar 10 '18 20:03 LucaTNT

What firmware level is the SolarEdge? I had some time out troubles, after a call with SolarEdgw support they updated my firmware and the troubles were solved.

mcmellow avatar Mar 10 '18 21:03 mcmellow

I’m on 3.2173, which according to the readme of this repo appears to be problematic. I hope they will provide an update for my inverter as well.

LucaTNT avatar Mar 10 '18 21:03 LucaTNT

@LucaTNT I was just about to raise an issue for the same thing, it looks like we have the same type of export meter. Using latest version of this library.

lloyd@xps13:~/Dropbox/code/sunspec-monitor$ ./sunspec-status -v 192.168.1.6 
INVERTER:
             Model: SolarEdge  SE3680
  Firmware version: 3.2016
     Serial Number: ...

            Status: ON (MPPT)

 Power Output (AC):          884 W
  Power Input (DC):          898 W
        Efficiency:        98.50 %
  Total Production:     2711.770 kWh
      Voltage (AC):       238.90 V (49.96 Hz)
      Current (AC):         3.75 A
      Voltage (DC):       380.40 V
      Current (DC):         2.36 A
       Temperature:        33.05 C (heatsink)

METER (#1):
             Model: WattNode WNC-3Y-400-MB
            Option: Export+Import
  Firmware version: 24
     Serial Number: ...

   Exported Energy:        0.000 kWh
   Imported Energy:        0.000 kWh
        Real Power:            0 W
    Apparent Power:            0 VA
      Power Factor:        -0.00
      Voltage (AC):         0.00 V (0.00 Hz)
      Current (AC):         0.00 A

Dropped debug dump here, https://gist.github.com/lloydwatkin/6f99110ba1bbd9828bfa21da1e4128e9

lloydwatkin avatar Apr 16 '18 08:04 lloydwatkin

I've read the meter data using a different library to confirm that this library isn't the issue, and can confirm that is the case (@LucaTNT if you hear anything back about this issue please do let me know - and I'll do the same).

lloyd@xps13:~/Dropbox/code/sunspec-monitor$ modbus read 192.168.1.6  400190 64
400190        105
400191      32768
400192      32768
400193      32768
400194      32768
400195      32768
400196      32768
400197      32768
400198      32768
400199      32768
400200      32768
400201      32768
400202      32768
400203      32768
400204      32768
400205      32768
400206      32768
400207      32768
400208      32768
400209      32768
400210      32768
400211      32768
400212      32768
400213      32768
400214      32768
400215      32768
400216      32768
400217      32768
400218      32768
400219      32768
400220      32768
400221      32768
400222      32768
400223      32768
400224      32768
400225      32768
400226      32768
400227          0
400228          0
400229          0
400230          0
400231          0
400232          0
400233          0
400234          0
400235          0
400236          0
400237          0
400238          0
400239          0
400240          0
400241          0
400242          0
400243      32768
400244          0
400245          0
400246          0
400247          0
400248          0
400249          0
400250          0
400251          0
400252          0
400253          0

lloydwatkin avatar Apr 16 '18 09:04 lloydwatkin

@lloydwatkin I contacted SolarEdge and they remotely updated my inverter, but nothing changed. I tried to "speak ModBus TCP" directly to the inverter as you did, but I got the same result. SolarEdge suggested moving my meter to be number 1, while now it is number 2. I have not done that yet, both because I haven't had the time and because I'm afraid to tinker with this kind of expensive toys which I don't fully understand. Maybe I should contact the installer who setup the whole solar system.

LucaTNT avatar Apr 16 '18 16:04 LucaTNT

I've emailed the installer today who have past the request to solaredge so will update with feedback.

My meter is number 1 so its not your meter number.

As I paid extra to have the modbus installed (for the very purpose of monitoring inside my own network) I consider this a product defect so will insist its fixed by the installer :+1:

lloydwatkin avatar Apr 16 '18 16:04 lloydwatkin

But also, I can see the data in the solaredge portal (because that's how I get import/export/production data) so its obviously has the correct information somewhere.

lloydwatkin avatar Apr 16 '18 16:04 lloydwatkin

@lloydwatkin great, thanks for keeping us posted, Lloyd! Let me know if I can be of any help πŸ’ͺ

LucaTNT avatar Apr 17 '18 17:04 LucaTNT

Solaredge updated my inverter today (hence readme pull request). They claim that's fixed it, but data shows not). I'm convinced the installer hasn't configured something correctly so I'm still chasing them.

On Tue, 17 Apr 2018, 6:37 pm Luca Zorzi, [email protected] wrote:

@lloydwatkin https://github.com/lloydwatkin great, thanks for keeping us posted, Lloyd! Let me know if I can be of any help πŸ’ͺ

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tjko/sunspec-monitor/issues/4#issuecomment-382078821, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQlBj_amzOODb4qfkkVsyRYftctQwvrks5tpihMgaJpZM4SlVKV .

lloydwatkin avatar Apr 17 '18 18:04 lloydwatkin

@LucaTNT does your setup also export data to solaredge portal? Mine does. Apparently the wattnode device can either be set up to export data in a fashion suitable for the portal or sunspec, but not both. Meaning you'd need to purchase and fit an additional meter.

I'm chasing this up with my installer since I specifically asked about this at the time and was told I'd be able to do both.

I may experiment and switch my meter setup to see if I can get the data out, but we also like having the portal so I don't want to log data internally exclusively (and Solaredge don't have an API for pushing data).

lloydwatkin avatar Apr 27 '18 13:04 lloydwatkin

That's exactly my case: I export all the data to the SolarEdge portal (the iPhone app is very convenient), but I'd also like to have access to the raw data from the meter. Thanks for your help!

LucaTNT avatar Apr 27 '18 13:04 LucaTNT

I've sent more questions to solaredge about a second meter (~Β£250 in the UK) and how to flip the device to log to sunspec. Will keep you updated.

On 27 April 2018 at 14:34, Luca Zorzi [email protected] wrote:

That's exactly my case: I export all the data to the SolarEdge portal (the iPhone app is very convenient), but I'd also like to have access to the raw data from the meter. Thanks for your help!

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tjko/sunspec-monitor/issues/4#issuecomment-384971273, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQlBqDTfw7hJcw_I6MlCxP5jU6ZybC1ks5tsx5SgaJpZM4SlVKV .

lloydwatkin avatar Apr 27 '18 13:04 lloydwatkin

I am having the same problem, is there any solution to this?

sunspec-monitor$ ./sunspec-status -v 10.1.0.101 INVERTER: Model: SolarEdge SE7600 Firmware version: 3.2305 Serial Number: xxxxxxxx

        Status: ON (MPPT)

Power Output (AC): 672 W Power Input (DC): 682 W Efficiency: 98.50 % Total Production: 1884.949 kWh Voltage (AC): 245.40 V (59.99 Hz) Current (AC): 2.80 A Voltage (DC): 425.70 V Current (DC): 1.60 A Temperature: 32.39 C (heatsink)

METER (#1): Model: WattNode WNC-3D-240-MB Option: Export+Import Firmware version: 24 Serial Number: xxxxxxx

Exported Energy: 0.000 kWh Imported Energy: 0.000 kWh Real Power: 0 W Apparent Power: 0 VA Power Factor: -0.00 Voltage (AC): 0.00 V (0.00 Hz) Current (AC): 0.00 A

deligoz avatar Jun 06 '18 16:06 deligoz

@mcmellow are you able to post your output? Specifically I'm interested in what meter you have installed so I can look into that.

lloydwatkin avatar Oct 09 '18 14:10 lloydwatkin

@mcmellow are you able to post your output? Specifically I'm interested in what meter you have installed so I can look into that.

There is no meter installed in my situation. It is just the inverter

mcmellow avatar Oct 09 '18 15:10 mcmellow

I'm still in discussions on this. Solar installer is kicking the can down the road and has set me up for a tech call with SolarEdge direct. Looks like you might need a WattNode RWND-3D-240-MB to get the data (based on @tjko's meter in the README).

lloydwatkin avatar Oct 09 '18 15:10 lloydwatkin

This the output of my inveter sunspec-status -v -m 0 192.168.xxx.xxx

INVERTER: Model: SolarEdge SE3500 Firmware version: 3.2186 Serial Number: 7312CCFE

        Status: ON (MPPT)

Power Output (AC): 278 W Power Input (DC): 282 W Efficiency: 98.50 % Total Production: 3550.742 kWh Voltage (AC): 235.30 V (49.99 Hz) Current (AC): 1.29 A Voltage (DC): 375.50 V Current (DC): 0.75 A Temperature: 44.58 C (heatsink)

I hope this helps

mcmellow avatar Oct 09 '18 15:10 mcmellow

Wow, I am having this exact same issue.

I have the same WattNode Meter as you and the exact same issue.

I have had SolarEdge update the firmware, etc. and no change. In fact, after they did that a week ago, they then started to ignore my support ticket, which is very annoying.

I'm gonna watch this thread very closely as I to was pretty clear with my installers about what I wanted to do and why, so very annoyed that I've been unable to get the data out for Home Automation stuff.

Just in case it's of interest, here's my output, but I've used all the same scripts as you guys already to confirm through many sources that the data simply seems not to be coming out of the Mete correctly:

`INVERTER: Model: SolarEdge SE6000 Firmware version: 3.2251 Serial Number: 73163C5B

Power Output (AC): 758 W Power Input (DC): 769 W Efficiency: 98.49 % Total Production: 617.070 kWh Voltage (AC): 245.30 V (49.98 Hz) Current (AC): 3.12 A Voltage (DC): 389.90 V Current (DC): 1.97 A Temperature: 28.60 C (heatsink)

METER (#1): Model: WattNode WND-3Y-400-MB Option: Export+Import Firmware version: 25 Serial Number: 4136367

Exported Energy: 0.000 kWh Imported Energy: 0.000 kWh Real Power: 0 W Apparent Power: 0 VA Power Factor: -0.00 Voltage (AC): 0.00 V (0.00 Hz) Current (AC): 0.00 A`

wraithrmm avatar Oct 16 '18 10:10 wraithrmm

Yeah our meter doesn't export in sunspec format. I too was very clear with my installer about what I expected and was told it was possible (developers πŸ™„). I'm still awaiting a call from SolarEdge via the installers.

In the meantime I'm looking again at openelec monitor which does what we need - I abandoned this idea after paying extra for the modbus after I was told the functionality existed.

It seems there's many installers out there installing equipment they don't understand unfortunately. Trustpilot review in preparation and this will be one point on the list of areas where they messed up the install πŸ˜‚

On Tue, 16 Oct 2018, 11:55 am wraithrmm, [email protected] wrote:

Wow, I am having this exact same issue.

I have the same WattNode Meter as you and the exact same issue.

I have had SolarEdge update the firmware, etc. and no change. In fact, after they did that a week ago, they then started to ignore my support ticket, which is very annoying.

I'm gonna watch this thread very closely as I to was pretty clear with my installers about what I wanted to do and why, so very annoyed that I've been unable to get the data out for Home Automation stuff.

Just in case it's of interest, here's my output, but I've used all the same scripts as you guys already to confirm through many sources that the data simply seems not to be coming out of the Mete correctly:

`INVERTER: Model: SolarEdge SE6000 Firmware version: 3.2251 Serial Number: 73163C5B

Power Output (AC): 758 W Power Input (DC): 769 W Efficiency: 98.49 % Total Production: 617.070 kWh Voltage (AC): 245.30 V (49.98 Hz) Current (AC): 3.12 A Voltage (DC): 389.90 V Current (DC): 1.97 A Temperature: 28.60 C (heatsink)

METER (#1 https://github.com/tjko/sunspec-monitor/issues/1): Model: WattNode WND-3Y-400-MB Option: Export+Import Firmware version: 25 Serial Number: 4136367

Exported Energy: 0.000 kWh Imported Energy: 0.000 kWh Real Power: 0 W Apparent Power: 0 VA Power Factor: -0.00 Voltage (AC): 0.00 V (0.00 Hz) Current (AC): 0.00 A`

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tjko/sunspec-monitor/issues/4#issuecomment-430193173, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQlBntqzOie9a9Jt9vJtxcHA7yjeJjqks5ulbsugaJpZM4SlVKV .

lloydwatkin avatar Oct 16 '18 11:10 lloydwatkin

UPDATE TO KEEP THIS THREAD LIVE:

The technician at SolarEdge has informed me he cannot deal with the issue and he needs to escalate the problem.

After this I have yet to be contacted with anything.

Currently I'm also getting my installer to apply some pressure from the 'Installer' path and if this fails, I'm going to throw all my toys of of my pram at my installer and insist they remove the defective equipment in place of something that works.

They have admitted several times that they don't understand the feature of the Inverter, which is not acceptable really, as they are the people making the promises before you hand over your money.

wraithrmm avatar Oct 23 '18 08:10 wraithrmm

@wraithrmm I had a call from solaredge last week who said they'd follow up later the same day. I've heard nothing back. My situation is essentially the same as yours.

lloydwatkin avatar Oct 23 '18 08:10 lloydwatkin

So.... I had a reply from the Solar Edge people at long last. I read as follows:

"Dear Wraith, The meter is set to measure import+export. In order to extract TCP the data from it you will either need a data logger or another meter to be configured as Sunspec Protocol, not revenue meter. You can also try to extract the data with the API. Best Regards Yordan SolarEdge Support Team - UK"

The upshot then is that we cannot both send the data to the Solar Edge Portal AND collect said information locally over TCP with only one meter. Which is totally ridiculous, but... a fact none the less.

I've told my installer this and called them out on their general lack of understanding of the products they are selling. I don't expect anything to come of it to be honest but just in case anyone else reads this and is in the market for solar panels, they are called Naked Solar and while very friendly until you pay them their money, their installers are carless, lack attention to detail and clearly make promises they cannot fulfil as they don't understand the hardware they are selling.

Anyhow, all that is beside the point.

I'm not sure what I can do to resolve this atm, without purchasing a second meter, which rather defeats the point of USING it to SAVE ME MONEY in the first place. :-(

I've tried to packet-sniff on a hub, etc. to get the data, but have yet to find anything at all, let alone be able to decode it.

As such, I think this TCP feature is a no-go for me unless I disconnect from the Solar Edge portal completely, which I don't really want to do either.

If anyone finds anything more helpful then I did, please do let us know :-)

wraithrmm avatar Oct 26 '18 12:10 wraithrmm

@wraithrmm yes this is the information I had already - just trying to get my installer to realise it (and I've told them this information several times). You can have two meters connected at the same time, which is one bonus (I found the meter on ebay but it was around $240).

Another solution would be to update the API endpoint on the inverter to send data to an internal server and then proxy this through to solaredge. The issue here is that, I assume, you'd lose the ability to receive firmware updates (although I guess you could revert to get updates). Although I seem to remember there being an issue with solaredge adding some certificate to the inverter so you'd need to decode that.

I'm going to continue to push my installer to put in the correct gear. In the meantime I'm planning on getting an openelecmonitor (the cheaper 4 CT box) which pushes data over MQTT and then combine this with calls to the inverter. https://openenergymonitor.com/emontx-v3-electricity-monitoring-transmitter/

lloydwatkin avatar Oct 26 '18 13:10 lloydwatkin

My setup is two RWND-3D-240-MB meters, 1st meter is configured "Production" (this is inside the DC disconnect box that was included with the SE11400 Inverter), 2nd meter is configured "Export+Import" and has current clamps installed at grid connection point. I have no issues reading data from both meters locally.

After 2nd meter was added, this enabled seeing "Consumption" and "Self Consumption" in the SolarEdge portal automatically.

One thing to try might be to put "Export+Import" meter as 2nd meter, if one doesnt have separate production meter. As it could be that inverter firmware expects first meter to be always a production meter...

tjko avatar Oct 26 '18 19:10 tjko

I have success! I've been talking to the following member of staff at solaredge [email protected]. His response today was:

I think I discovered the source of the issue. Your modbus meter was configured as β€œMeter 2” out of a list with 3 meter options in the inverter menu. Although a revenue meter can be configured and work to any of those, sunspec protocol will read Meter 1 and if is blank will not skip to the next one. Please try again to get meter readings and let me know if it works. We appreciate your patience and feedback on this matter.

....and then... ./sunspec-status -v 192.168.1.189 ...resulted in...

INVERTER: Model: SolarEdge SE3680 Firmware version: 3.2251 Serial Number: 73116AD2

        Status: SLEEPING

Power Output (AC): 0 W Power Input (DC): 0 W Efficiency: 0.00 % Total Production: 5188.547 kWh Voltage (AC): 246.20 V (50.01 Hz) Current (AC): 0.00 A Voltage (DC): 0.00 V Current (DC): 0.00 A Temperature: 23.63 C (heatsink)

METER (#1): Model: WattNode WNC-3Y-400-MB Option: Export+Import Firmware version: 24 Serial Number: 4054004

Exported Energy: 3533.793 kWh Imported Energy: 3868.243 kWh Real Power: -314 W Apparent Power: 315 VA Power Factor: 1.00 Voltage (AC): 246.56 V (50.11 Hz) Current (AC): 1.20 A

Woo hoo! I hope this is able to help others.

lloydwatkin avatar Nov 15 '18 21:11 lloydwatkin

I can also confirm that data is still being shared with the solaredge portal too.

lloydwatkin avatar Nov 15 '18 21:11 lloydwatkin

Another update for solaredge this morning:

I’m glad this solution has worked. We are looking to implement this to our next software upgrade, so it will skip meter 1 if is not configured and proceed to the next one on the list.

lloydwatkin avatar Nov 16 '18 10:11 lloydwatkin

OMG YES!

This was it. I placed a support request with SolarEdge and they moved it to meter 1 within 2 hours and then everything just started working!

I cannot BELIEVE how much effort that took and how few people actually know how the inverter is supposed to work in their own company, but am SO glad it's now working (before I spent Β£100 on some alternate solution).

Thank you so much for sharing this solution.

wraithrmm avatar Nov 16 '18 13:11 wraithrmm