Skip to content
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

SunnyBoy SB2.5 not discovered #19

Open
raimund-hdr opened this issue Nov 17, 2023 · 11 comments
Open

SunnyBoy SB2.5 not discovered #19

raimund-hdr opened this issue Nov 17, 2023 · 11 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@raimund-hdr
Copy link

The "old" Sunnyboy 2.5 will not respond to DNS/SD:

My "old SB2.5 with updated firmware is not discovered. I can find him with his SMAxxxxxxx.local Address but he will not be found.

It'd be great to add "manual" configuration for the inverter.

Paste of Logs:

[17.11.2023, 09:28:30] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:30] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:31] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:31] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:32] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:32] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:33] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:33] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:34] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:34] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:35] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:35] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }
[17.11.2023, 09:28:35] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[17.11.2023, 09:28:36] [homebridge-sma-home-manager] Discovered SMA inverter: no
[17.11.2023, 09:28:36] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 349, SerialNumber: 1901400245, FirmwareRevision: '2.0.16.R' }

Inverter:

  • Model: SunnyBoy SB2.5

Konfiguration

  • OS: Ubuntu Jammy Jellyfish (22.04.3 LTS)
  • homebridge: v1.7.0
  • Node.js Version: v18.16.0
@raimund-hdr raimund-hdr added the help wanted Extra attention is needed label Nov 17, 2023
@wimleers
Copy link
Owner

wimleers commented Nov 29, 2023

  1. What does your network topology look like? Is the computer running Homebridge on the same subnet?
  2. Can you ping SMAxxxxxxx.local from the computer that is running Homebridge?
  3. What do you see if you run dns-sd -B on a macOS computer (preferably the one running Homebridge), or use the "Discovery" app (https://apps.apple.com/be/app/discovery-dns-sd-browser/id305441017?l=nl) on iOS?
  4. Can you enable "Debug mode" in Homebridge? Then you should see something like Allow setting inverter IP via config because link-local addresses like 169.254.12.3 do not work on Linux #3 (comment).

FYI the current approach was chosen based on real-world feedback — see #3.

@wimleers wimleers self-assigned this Nov 29, 2023
@raimund-hdr
Copy link
Author

raimund-hdr commented Nov 29, 2023 via email

@raimund-hdr
Copy link
Author

raimund-hdr commented Nov 29, 2023 via email

@wimleers
Copy link
Owner

wimleers commented Dec 7, 2023

since the SunnyBoy 2.5 and other elder models do not have OS on board they do not answer to service discovery nor have a web server available.

Woah! That must be very old 😄

There is an original SMA documentation on how to discover SMA inverters in a network which should work for ALL inverter. I attach the document to this mail, it includes information on how to proceed as well as some sample code.

I can't see that document — GitHub's "reply to e-mail to post on the issue" service is 💩 🙈

WRT Speedwire: see #16 — even the maintainer of https://github.com/SBFspot/SBFspot says there's no docs for this 😅

So … if you have such a document, please do upload it here, on the GitHub issue! 🙏 🤩

The SMA device discovered is a SMA EV-Charger ;-)

Aha! 😅 I was going to ask about that. Thanks!

@wimleers
Copy link
Owner

wimleers commented Dec 7, 2023

WRT SpeedWire being closed source, there's also #4. See #4 (comment). A firmware update of the inverters caused new messages to appear, which are completely undocumented.

This was also reported against other projects, such as SBFspot/SBFspot#626.

@whistlefromthesun
Copy link

whistlefromthesun commented Dec 11, 2023

I attached the SMA documentation (original from SMA Developer Website):

SpeedwireDD-TI-en-10.pdf

I hope this can help - discovery will work for ALL SMA devices (starting from around 2011).

@sbf-
Copy link

sbf- commented Dec 11, 2023

SpeedwireDD-TI-en-10.pdf

I hope this can help - discovery will work for ALL SMA devices (starting from around 2011).

Be aware the Python example in the document has an error:
spwMCastAdr = 239.12.255.255
should be
spwMCastAdr = 239.12.255.254

@whistlefromthesun
Copy link

OK / NOK depending on what you want to address. Multicast adresses are derived from SMA Data2+ MCAST Addressing. So 239.12.255.255 is addressing "devices" in the local bus - it will find inverters. With *.254 ALL devices including loggers are addressed.

@wimleers
Copy link
Owner

Thanks for that, both of you!

@sbf- , are you using Speedwire discovery as described in that document in https://github.com/SBFspot/SBFspot?

@sbf-
Copy link

sbf- commented Dec 18, 2023

@sbf- , are you using Speedwire discovery as described in that document in https://github.com/SBFspot/SBFspot?

Yes, when IP=0.0.0.0 is configured
Speedwire discovery in SBFspot

@raimund-hdr
Copy link
Author

Any additional information on that issue?
I think this is linked to issue: "Inverter not discovered":
#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants