-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when PV inverter is not connected to network #2
Comments
Now bridged with this log (my first bridge - but it doesn't show up a QR)
|
A couple of hours later I'm now on The warning disappeared but the error are still there
|
now...inserted a test surplus signal
|
Already fixed 2 days ago: 7d60e14 — sorry about that! 😅 I've been testing with all functionality enabled, including the optional configuration, and that's how I missed this! However, this one:
looks to be happening because your SMA inverter (STP 15000TL-30 481: Sunny Tripower 15000TL-30) uses ModBus differently. Will investigate… |
Hm, that's odd. According to the
which is identical to what's listed for mine ("Sunny Boy: SB3.0-1AV-40 / SB3.6-1AV-40 / SB4.0-1AV-40 / SB5.0-1AV-40"):
… so something else must be boing on here. Question 1: does it connect?Could you please go to
… because it kind of sounds like that's not quite working. Question 2: does
|
Just published https://github.com/wimleers/homebridge-sma-home-manager/releases/tag/1.0.1, which should allow you to remove the "test" PV surplus signal you had set up! 👍 |
First of all, thank you for your time and the investigation here. The update has been installed and for now my surplus signal test has been deleted. Regarding 2) 169.254.12.3 can‘t be resolved successfully in my network. That seems to be the main problem for now. What is this IP about? My network devices start with 192.168….. Should the inverter open here a new network? Is this some kind of service I need to activate? |
See https://manuals.sma.de/SBSxx-10/en-US/1685190283.html. But … perhaps SMA has mysteriously chosen to only make this work for wired connections, not for wireless connections? 🤔 That'd be completely absurd but not impossible … 😬 If so, I'll need to figure out an alternative automatic discovery. Does What is the output you see after enabling Homebridge's debug mode? |
Hi @wimleers, I have the same problem with the wrong IP address. The
Could you make the IP oder the serial configurable? Cheers, |
Hi, the Sunny Tripower is connected via (switch) Ethernet, not via WiFi. Nevertheless I can't ping it from my computer or raspberry
The Sunny Boy Storage inverter and the Sunny Home Manager are reachable via ping. |
I reconsidered my statement about the networking of the inverter. I don't see it listed in my network devices on my DHCP server. I just see the IPs and labels for the Homemanager, EV Charger and Storage inverter. That's going to be tricky than. I don't see a QR code for the Wifi etc and I can't access the LAN ports directly. Your plugin can not look only on the Homemanager data, right? Maybe this could be an option to get at least this part up and running. |
Aha! So then everything is sane and understandable again! 😄 Do I understand correctly then that your PV inverter is not connected to the network at all? That is very odd and not according to the installation instructions for the SHM (SMA Home Manager) to my knowledge. I'd really rather avoid supporting a special "production not known" mode, because that not only makes things more complicated, it also makes some things impossible: the SHM only knows net flows of power, meaning that without the PV inverter's production information it is impossible to say how much is actually consumed or produced:
|
You did say:
How do you know ModBus is on if it is not connected? |
It sounds really weird but when I compare it with my DHCP server this seems to be the only explanation. I see all the datapoints in the SMA app, the web portal and I had access to the inverter via SMA Explorer on a PC. Not sure whether the connection is done only via Homemanager. I will investigate this further or try to bring it into the network by my own. |
That is weird! 😮 Do you see something like this at https://www.sunnyportal.com/Templates/DeviceProperties.aspx? |
Yes. I see all the devices on this site. I think I found it‘s IP address via Sunny Explorer and I can ping it. But not the SmaSerial.local thing. Is it an idea to put these into variables in the config? |
I changed the IP in the index.js and am now seeing an operational child bridge with constant update every second. Does this look correct to you? By the way…the sun went down hours ago. IMG_2121.MOV |
I really want to avoid address configuration. Can you install https://apps.apple.com/be/app/discovery-dns-sd-browser/id305441017?l=nl, tap on |
It shows just the Homemanager and the Battery-Inverter :-( |
By the way, is it possible to extract the data to shortcuts? For some reason I can't see the devices or even the Energy room in the list of HomeKit devices there. From there some kind of reporting could be done. I'm wondering how you use the data in your daily live once you have it in HomeKit. Automations based on the true/false values on the surplus triggers? |
That is so weird! 😳
No idea, I never use Shortcuts because the UX is horrible. It’s possible you can’t see them there because these are not standard accessories (impossible to do because HomeKit does not support them). What kind of reporting are you thinking of?
Absolutely! I have many of these kinds of automations 😊 Been using them for months. I’m writing a blog, it will be published soon. Use Eve, Home+ or Controller to set these up! |
I have some summaries build in shortcuts which e.g. shows the temperatures of all rooms. Would be nice to add energy data here in order to see whether a room can be heated up or cooled down - for free. |
Sounds interesting! Can you share a screenshot of what the output looks like?
I have automations for that too! I just compare outside temperature (a certain range) with inside temperature (another range) and then check if there's a certain level of solar electricity production (which correlates with solar irradiance) and then open my roof windows' shutters 🤓
There is no way to make that work until Apple adds support for characteristics that relate to energy consumption — https://developer.apple.com/documentation/homekit/hmcharacteristic/characteristic_types#3080269 contains none of that, only:
|
That's pretty impressive. Can you share you shortcut with us? |
These shortcuts are working very individual for each home. Mine is basically a query of home devices of the current temperature, defining variables and compare one with each other with some 'if this than that' formulas. In the end I output everything as html text (which is the only programming language that I can write) and pdf overviews. Readable on all iOS devices (even the watch) and Siri can read those things loud (not this exactly...but those outputs) The UI is horrible as wimleers wrote, but putting the things together is easy. https://www.icloud.com/shortcuts/5994528b76da44d2a2f4efab155e41e0 |
Any progress on your blog, how you make the usage of the data as effective as possible? |
Soon. I wanted to get #3 fixed first, to avoid more people running into the same problems you ran into! |
Paste of Logs:
Config:
Screenshots:
Inverter:
Home Manager 2 640: Sunny Home Manager 2.0
EVC22-3AC-10 166: SMA EV CHARGER 22
SBS3.7-10 721: Sunny Boy Storage 3.7 (Modbus TCP-Server activated, Port 502)
STP 15000TL-30 481: Sunny Tripower 15000TL-30 (Modbus TCP-Server activated, Port 502)
Homebridge Environment:
The text was updated successfully, but these errors were encountered: