binsentsu / home-assistant-solaredge-modbus

Home assistant Component for reading data locally from Solaredge inverter through modbus TCP
295 stars 71 forks source link

After update no communication with inverter #67

Open andrejs2 opened 3 years ago

andrejs2 commented 3 years ago

After update of integration last week (to 1.5.1) I can't get any data to entities in HA anymore. It states "unknown". Tried:

Anyone has any suggestions, how to handle this? Thanks!

ChristophCaina commented 3 years ago

have you checked if your entities are enabled in the entity secion of the integration?

chrisbucher commented 3 years ago

I have the same issue and tried the same things. All entities are enabled but state "unknown".

KM192 commented 3 years ago

I have the same issue after solaredge firmware upgrade to CPU: 4.14.107, DISP1: 1.20.939, DISP2: 2.20.609, WSA: 4.14.70.

rudybroersma commented 2 years ago

Same here, it looks like SE's firmware is broken. With 4.14.107 the ModbusTCP port isn't open:

telnet 192.168.178.121 502 Trying 192.168.178.121... telnet: Unable to connect to remote host: Connection refused

AC powercycling the inverter doesn't help. Nothing seems to work so far. I guess we need to wait for a new firmware, but as of today (december 20) 4.14.107 is the latest one.

I have created a support ticket with SolarEdge. I'll let you know once they give any information.

Note: I think the issue KM192 and I are seeing isn't related to the issue opener. That looks like a integration upgrade, while I'm seeing issues after a inverter firmware upgrade.

KM192 commented 2 years ago

It's worst. The solaredge support claims that this is a feature, not a bug. Unless they change their minds, nothing will change.

chrisbucher commented 2 years ago

I also reported this problem to solaredge support. After 2 weeks their their solution was to downgrade my inverter's firmware to the previous version. I got modbus TCP working again that way.

@KM192 what did they tell you? What should this "feature" do?

KM192 commented 2 years ago

Support answered that Modbus interface shouldn't work via Wifi from the beginning and in the newest version they "repaired" that. We should rise as many support ticket as possible to have this option back.

rudybroersma commented 2 years ago

I got a reply from support that this issue is fixed in a newer firmware, but that firmware isn't released yet. They tried to update my inverter remotely, but that failed. As of yesterday SetApp doesnt have a newer version:

@KM192 If Modbus shouldn't work from WiFi, how else is ModbusTCP supposed to work? Only using Ethernet? That doesn't make sense.

KM192 commented 2 years ago

This is what they said. But I hopped that after opening lots of support cases by users, they will change their minds. Please give us details after upgrading to newest version.

pepsonEL commented 2 years ago

On latest firmware modbus TCP not working on WIFI. SolarEdge remove it.....

pon., 10 sty 2022 o 11:46 km19 @.***> napisał(a):

This is what they said. But I hopped that after opening lots of support cases by users, they will change their minds. Please give us details after upgrading to newest version.

pon., 10 sty 2022 o 11:29 Rudy Broersma @.***> napisał(a):

I got a reply from support that this issue is fixed in a newer firmware, but that firmware isn't released yet. They tried to update my inverter remotely, but that failed. As of yesterday SetApp doesnt have a newer version:

@KM192 https://github.com/KM192 If Modbus shouldn't work from WiFi, how else is ModbusTCP supposed to work? Only using Ethernet? That doesn't make sense.

— Reply to this email directly, view it on GitHub < https://github.com/binsentsu/home-assistant-solaredge-modbus/issues/67#issuecomment-1008732955 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AI26LQZQJV4OFDWOJKJW7VDUVKYHXANCNFSM5G2JBDTQ

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub https://github.com/binsentsu/home-assistant-solaredge-modbus/issues/67#issuecomment-1008747541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARD7GOJACAIOHJ6WGFDY7JDUVK2JFANCNFSM5G2JBDTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>

Sven-v-Beuningen commented 2 years ago

In my case it‘s also not working with wired LAN connection with the mentioned version. All sensors show „unknown“. I can‘t tell if it would work with old firmware, because it‘s a newly installed inverter.

MarcHagen commented 2 years ago

i can somewhat understand why you don't want modbus tcp over wifi, reliability could be a issue, but i think allot of installations have the extra wifi module (THAT COSTS MONEY) because there is NO ethernet connection....

Also opened a support case.

rudybroersma commented 2 years ago

The service dept. from SolarEdge wanted to upgrade my firmware to a beta version last month, as that might resolve the issue. There is a new firmware out today (version .222), installed it, but doesn't fix it. I'll inform SolarEdge.

@MarcHagen There is an ethernet connection, inside the unit. But that doesn't matter. ModbusTCP doesn't work over ethernet either

MarcHagen commented 2 years ago

I think it's time for a ESP32 with WiFi antenna to connect with the RS485 interface ... (I have a SE3000) Almost regret getting a solaredge system

Update: I've bought a cheap wifi client with an ethernet cable (TL-WR802N) and modbus TCP works just fine now.

pepsonEL commented 2 years ago

Can you explain more....

rudybroersma commented 2 years ago

I just received a reply from SolarEdge that they fixed something, and indeed! My ModbusTCP is back!! I've asked for an update regarding the how and what and if this is a permanent solution.

I noticed a drop in PV output, so I think they did a remote firmware upgrade on my unit.

kochen commented 2 years ago

I just received a reply from SolarEdge that they fixed something, and indeed! My ModbusTCP is back!! I've asked for an update regarding the how and what and if this is a permanent solution.

I noticed a drop in PV output, so I think they did a remote firmware upgrade on my unit.

After 2 weeks of 0 reaction (!), I got the same response from SolarEdge.s support. Though they can't remotely update their FW, because the device keeps disconnecting from the WIFI 🤔

chrisbucher commented 2 years ago

I just received a reply from SolarEdge that they fixed something, and indeed! My ModbusTCP is back!! I've asked for an update regarding the how and what and if this is a permanent solution.

I noticed a drop in PV output, so I think they did a remote firmware upgrade on my unit.

Could you please tell us what FW version you now have? (And what inverter type) Thanks!

rudybroersma commented 2 years ago

Cant right now, I'm not at home. Ill have to check later. I have an SE17K (European) without display.

rudybroersma commented 2 years ago

I checked with SetApp. It seems my firmware is downgraded. I think my firmware was downgraded to 4.14.13 or 4.14.14. I immediately killed the App once it started upgrading to 4.14.222 again so I didn't have time to take a good look at it.

rudybroersma commented 2 years ago

I see that a new firmware was released a few days ago. 4.14.228. Could someone please try installing that and see if that resolves the issue?

rudybroersma commented 2 years ago

Alright. My firmware was downgraded to 4.12.14 by SolarEdge. I've contacted them again, indicating that this is no solution. They informed me that they have disabled ModbusTCP over WiFi and the latest firmware (released february 2022) has ModbusTCP working over Ethernet.

I've connected my inverter to Ethernet and I can confirm that with the latest firmware (as of Feb '22) I can able to connect to ModbusTCP on the SE inverter. I've asked them WHY they dropped WiFi Modbus support, but I get the feeling the person I'm talking to has no clue either.

Anyway.. ModbusTCP over Ethernet works!

PS: I have a SetApp (without display) inverter.

SgtBatten commented 2 years ago

Damn, just installed my system two days ago and was hoping to use this integration. Guess I'll have to get a sparky out to install an ethernet cable.

Out of curiosity can you guys access the web interface on your LAN? I can only access it using the inverters direct wifi connection

rudybroersma commented 2 years ago

No, web interface is not available over ethernet or regular WiFi.

Instead of running an ethernet cable there are other options. You can buy a "WiFi to Ethernet" adapter for a few bucks, which might be cheaper than running a cable. Additionally, if you have the knowhow to do so you can actually use the "SetApp" WiFi (what you call 'direct wifi connection') network. As long as there is a client connected to that WiFi SSID, it stays online.

So you can use eg. a Raspberry Pi or something to tunnel from the SetApp WiFi to your regular network.

eg something like this: https://www.amazon.com/IOGEAR-Ethernet-2-WiFi-Universal-Wireless-GWU637/dp/B018YPWORE

SgtBatten commented 2 years ago

Additionally, if you have the knowhow to do so you can actually use the "SetApp" WiFi (what you call 'direct wifi connection') network. As long as there is a client connected to that WiFi SSID, it stays online.

Interesting. I am connected to it on my laptop right now but still can't telnet to 1502 which people are saying is a good test. Thank you though, I'll keep working at it.

I have an Energy Hub running 4.14.230 which is the latest according to the website.

purcell-lab commented 2 years ago

This is annoying, I have a new install with two inverters, one running firmware 4.15.110 (beta?) and the other running 4.14.228.

My old install has two inverters both running firmware 4.12.35 allows MODBUS over Wifi and has been rock solid into HA for over 12 months.

No mention of dropping ModbusTCP over wifi support in the Feb 22 changelog: https://www.solaredge.com/setapp-inverters-firmware

I have also raised a ticket with SolarEdge, who have referred me back to my installer, I have gone back to SolarEdge and asked them to enable remotely.

Maybe I need to ask them to downgrade to 4.12.14, which seems to be the last working version?

kiwibayer commented 2 years ago

just got a replacement new inverter and ran into the same issue. Modbus over Wifi seems to be not enabled anymore. Modbus over the ethernet port works fine.

Is there a public thread that we can refer Solaredge to and add our voice?

rudybroersma commented 2 years ago

I wouldn't bother. They said to me they disabled ModbusTCP over WiFi due to 'security concerns'. They did this on purpose.. So I don't think they will revert the change.

MarcHagen commented 2 years ago

I've bought a cheap wifi client with an ethernet cable (TL-WR802N) in wifi client mode. Now i can still access the inverter over wifi and modbus on the ethernet port.

stuarts0011 commented 2 years ago

If you ask them to downgrade your firmware to one where it still works they will do so. Or they did for me anyway.

On Wed, 1 June 2022, 5:34 pm MICHAEL FRANK, @.***> wrote:

just got a replacement new inverter and ran into the same issue. Modbus over Wifi seems to be not enabled anymore. Modbus over the ethernet port works fine.

— Reply to this email directly, view it on GitHub https://github.com/binsentsu/home-assistant-solaredge-modbus/issues/67#issuecomment-1143221460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3WSCTROXX7RKSC5J3Q56TVM4HBLANCNFSM5G2JBDTQ . You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>

SgtBatten commented 2 years ago

I just ran a cable. I asked my installer to do that originally anyway and they would only give me the wifi module. pretty annoying but working fine hard wired now.

bjeanes commented 2 years ago

I have one getting installed in next 2-3 weeks and made sure the installer would wire it in for me. I already have the cat6 in the roof where the inverter will be going!

@MarcHagen that's clever. I actually have a device similar to the TL-WR802N kicking around that I am not using, so that's a great back-up plan

rkambach commented 2 years ago

Same here opened the Inverter mounted a Ethernet cable and connected it to the comms board, if your not trained specialist in electricity switch of the inverter off before you open it it has 400AC and 750DC more then enough to kill ya, wait a minute before you open it, Capacitors... use a TL-WR802N @bjeanes mentioned and configure it for client mode, boot system back up, connects over the same IP as before but then trough the TPLINK device, problem solved, oh go to your ethernet prohibit comms for the inverter give it a fixed IP address as well, at least you stopped solar edge from the next update that's gonna break something. The TPLIN device turns a wireless signal into a wired one very handy and low cost...$25

bjeanes commented 2 years ago

i just got my inverter installed and had them wire it via ethernet anyway. I'm still waiting for the grid to certify installation so not quite up and running yet but I hopefully shouldn't need to use my TL-WR802N (not sure if that's actually the model I have but I have one of the similar products in their line up if not)

infoedkok commented 2 years ago

Same issue here. But as of september 2022 SE released a new inverter firmware and this is what they say about modbus com in tje release notes: Modbus TCP over secured Wi-Fi is now officially supported for residential inverters Modbus TCP over unsecured Wi-Fi is blocked Modbus TCP over Wi-Fi for commercial inverters is blocked Note: Modbus TCP over Ethernet and Modbus TCP over RS485 for all inverters are supported.

Could secured wifi for our inverters solve this issue?

ChristophCaina commented 2 years ago

@infoedkok : I don't know, what SolarEdge defines as "secured / unsecured WiFi". my guess is, that unsecured wifi is an open wifi without encryption - which I would NEVER use in my network.

So, yes - a firmware update and a secured wifi could solve the issues. Also a wired connection over ethernet would be an option (which I would also prefer over the wifi - if possible)...

What you could also do: Install a Wifi extender near your Inverter - and connect the inverter to the extender through ethernet. Then, you could use the extender to connect to your existing wifi network again.

This COULD workaround the limitations given from SolarEdge...

infoedkok commented 2 years ago

Got the latest firmware and now it's working (Domoticz) ! Apparently, my home Wifi is secure ;-) And that connection reports a whole bunch of data elements.

gimmi commented 1 year ago

I have a new SolarEdge installation (CPU Version report 4.18.200) that is connected to my home WiFi, and I am not able to connect to Modbus TCP on port 1502.

Using SetApp, I can confirm that Modbus TCP is enabled and that the port is 1502

leroyraw commented 1 year ago

Same for me, also latest firmware and not able to connect via wifi. Wifi is setup as WPA so is secure, not sure why I can't connect. If anyone finds a solution to this, please post here :-)

I'm also open to use a workaround like the wifi router option, but not sure how this would work. Anyone care to explain a bit more?