Code Monkey home page Code Monkey logo

Comments (8)

permezel avatar permezel commented on July 27, 2024

Me too. I was able to get it working, worked great for a few days, then stopped. uninstall/reinstall has not helped.

from hassio-sma-em.

kellerza avatar kellerza commented on July 27, 2024

Usually this is due to some network change/ the multicast frames not coming through.

Any OS upgrades, etc?

from hassio-sma-em.

permezel avatar permezel commented on July 27, 2024

No upgrades. Running in VM on Synology. Network has not changed. I do have dual LANs and the 9522 packets are only on one of them. This morning, I rebooted the NAS box, and apparently it started working again. I used to have an iOS app (emview, or something) which was great for figuring out what was going on, but it fell out of the app store as it was not being updated.

I just checked my sunnyportal for the last few days. No outages on the energy-meter. My SMA-Home-Manager, residing on the ioT LAN, snoops the 9522 reports from the energy-meter (also on the ioT LAN) and reports to sunnyportal.com, so there was not an issue on the lan or the devices.

Next time I see it drop out, I will ensure the Synology is receiving the 9522 pkts (I have no reason to suspect not). I will also docker exec into the relevant location and see if I can tell. tcpdump is not available, IIRC, and python3 is also curiously absent some times (although I think I fixed that), so I can always write a python UDP/9522 snooper.

Here is the current running instance:
image

I guess a UDP socket bound to port 9522 will get packets from all the interfaces, so it should work. 192.168.4.0/24 is the ioT lan.
If it happens again, I will poke further.

from hassio-sma-em.

permezel avatar permezel commented on July 27, 2024

Turns out it is not currently running. It did, apparently, re-start running this morning, resulting in the daily history display being partially populated. Was not running when I was poking about earlier. So I can confirm that port 9522 is received on the Synology from the energy meter (and from the Home-manager, and from the direct-wired 5000-TL inverter).

I just found nc in the docker image. Not very familiar with that, but nc -u -v -p 9522 -l -s 239.12.255.255 yields nothing, whereas there is a steady supply of hits via tcpdump on the Synology.
Tried -s 0.0.0.0 as well. I confirm that there are UDP sockets in listen mode bound in both the sma-em addon and in the main VM. There is no tcpdump nor nc in the main VM, so I can't see if the packets reach there. I can ping out to hosts on the ioT LAN, specifically to the host sending the 9522 packets.

I just found a iptables firewall on the main VM, which at first glance, seems to not allow UDP in, so I flushed it. Default input policy now accept. Don't know if main VM firewall is propagated to docker instances, but the sma-em instance still does not see any 9522 pkts.

from hassio-sma-em.

permezel avatar permezel commented on July 27, 2024

Just found a HassOs update. applied it. Got my sensors back. Perhaps that was it.

from hassio-sma-em.

permezel avatar permezel commented on July 27, 2024

I note that the sma-em add-on does not process the solar supply packets I am getting, just the energy-meter.
Any plans to add sensors for the rest?

from hassio-sma-em.

permezel avatar permezel commented on July 27, 2024
image vs image

from hassio-sma-em.

kellerza avatar kellerza commented on July 27, 2024

I note that the sma-em add-on does not process the solar supply packets I am getting, just the energy-meter. Any plans to add sensors for the rest?

No plans to do this. This addon is only for the EM.

pysma has more options, and built into HASS.

from hassio-sma-em.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.