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

Implausible serial, rejecting #2

Open
maxpd1 opened this issue Dec 1, 2023 · 10 comments
Open

Implausible serial, rejecting #2

maxpd1 opened this issue Dec 1, 2023 · 10 comments

Comments

@maxpd1
Copy link

maxpd1 commented Dec 1, 2023

Hi,

using a Sunny Home Energy Meter 2.0 with SMA Sunny Tripower 20000 inverter.

I put the file sma_home_manager_printer.armv7l into the folder data/home/root

If I execute ./sma_home_manager_printer.armv7l I am receiving

"Implausible serial, rejecting"

Serial looks like 1924586782

Am I doing something wrong?

Wanted to use shm_et340 faker to use Sunny Home Manager in Victron ESS environment.

Regards
maxpd

@mitchese
Copy link
Owner

mitchese commented Dec 1, 2023

does it always say this? There was a recent (last year) update to the SHM that caused it to send differently formatted packets. These packets had the serial number set to 0xfffffffff and this will just "ignore" these packets logging this line.

https://github.com/mitchese/sma_home_manager_printer/blob/master/main.go#L38

If it works and you see data, you can ignore that error about these random weird packets

@maxpd1
Copy link
Author

maxpd1 commented Dec 1, 2023

Hi,

was on that link too during my search :)

What do you mean by always? I let it run for half an hour and it wrote this message every ~minute. No real data in between.

@mitchese
Copy link
Owner

mitchese commented Dec 1, 2023

in between the rejections it should print out if there is any valid traffic, so it sounds like it's rejecting everything (or your traffic doesn't match the format that this is expecting). It may be that you have the wrong device:

https://www.sma.de/en/products/monitoring-control/sunny-home-manager is what I have and what this works with, but there is also https://www.sma.de/en/products/monitoring-control/sma-energy-meter which I don't know about

If you have the second thing, can you possibly provide a traffic capture from something like Wireshark (https://www.wireshark.org/) of this thing and maybe I can see if it's easy to get working?

@maxpd1
Copy link
Author

maxpd1 commented Dec 1, 2023

thanks for your help. but unfortunately I am using the same as you do ^^ but without valid traffic in between.

@maxpd1
Copy link
Author

maxpd1 commented Dec 2, 2023

I am not sure if there is a problem with traffic format at all. iobroker, my smart home system, is receiving data without a problem. so should somehow be possible to read data also in your script.

@mitchese
Copy link
Owner

mitchese commented Dec 2, 2023

It is impossible to debug this any further without a traffic capture or more information. It could also be a network setting as the meter updates come via multicast, and the packets it rejects when it throws the implausible serial come via unicast.. so it could also be a switch setting (igmp something)...but without some further info, I can only guess

@maxpd1
Copy link
Author

maxpd1 commented Dec 3, 2023

does this help?

image

image

@mitchese
Copy link
Owner

mitchese commented Dec 4, 2023

neither of those are meter updates unfortunately ... the one you post (591) is from SMA, but it's an mdns advertisement and not a meter update (this is also what is rejected).. I'd check your switch settings but you should see something with a length of about 600 bytes. For a reference there are some screenshots in this mitchese/shm-et340#2 which show the valid (missing in your screenshot) vs invalid/rejected

@maxpd1
Copy link
Author

maxpd1 commented Dec 5, 2023

this is what I assumed too. that there aren't any data transfered. what do you mean by switch settings? I mean which switches in which system?

@maxpd1
Copy link
Author

maxpd1 commented Dec 6, 2023

Solution found: in Sunny Portal under Device properties --> Meter configuration in the Direct meter communication area, enter the IP addresses of the receivers (Cerbo / Alternative)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants