Comments (8)
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.
Usually this is due to some network change/ the multicast frames not coming through.
Any OS upgrades, etc?
from hassio-sma-em.
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:
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.
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.
Just found a HassOs update. applied it. Got my sensors back. Perhaps that was it.
from hassio-sma-em.
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.
![image](https://private-user-images.githubusercontent.com/2313876/303153109-0837d0fb-5b19-4c63-9bc7-389e3b6bd30a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDE4NDIsIm5iZiI6MTcxOTcwMTU0MiwicGF0aCI6Ii8yMzEzODc2LzMwMzE1MzEwOS0wODM3ZDBmYi01YjE5LTRjNjMtOWJjNy0zODllM2I2YmQzMGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjlUMjI1MjIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWM2NzgxMzk2MzA1MTc0N2RiMDBmMzMxOWFiMjFlZWIyMzdmOTZiZWQ3ZDA4NjBkZmNlNDE1YmM4ODg3OGMwMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.N5rezbni8LCbw_-xGurNGXjGj7z89H825hloIg2Ag4I)
![image](https://private-user-images.githubusercontent.com/2313876/303153276-fdc02560-c72c-489e-b0d4-234b50ef82d5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDE4NDIsIm5iZiI6MTcxOTcwMTU0MiwicGF0aCI6Ii8yMzEzODc2LzMwMzE1MzI3Ni1mZGMwMjU2MC1jNzJjLTQ4OWUtYjBkNC0yMzRiNTBlZjgyZDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjlUMjI1MjIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjBhYjI4ZjFhMzdiOWQ4NDA2MWUxMDc2OWQwMjYyZjk2NmJhZjhjNjNhMTcwMmJhNTM2ZGU1ZDBlNzdlOGM4MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xagl0EpPMxhK_bmehOCf729mJT9FbB10dqU1wNQis40)
from hassio-sma-em.
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)
- not showing current right HOT 1
- Home Assistant auto-discovery | Can't get it to work HOT 14
- consume and consumecounter have wrong device_class HOT 5
- Resolution of counter Variables HOT 3
- My SMA-meter is not being found HOT 15
- SMA and METER problem solved!!!!! HOT 2
- CPU usage raise up to (100% of one Core of the Host) 50% of HA CPUs and stays until restart this Addon HOT 1
- Can't edit fields HOT 4
- No sensors in the MQTT HOT 5
- Tripower X and SMA-EM HOT 1
- Bekomme plötzlich keine Daten mehr. HOT 3
- How much energy is feed to grid? HOT 1
- Wrong device class for Current. HOT 2
- Warning: is using native unit of measurement 'A' which is not a valid unit for the device class ('energy') HOT 3
- Could this add-on be used without an MQTT server? HOT 1
- Configure threshold below current minimum of 10 HOT 1
- Energy Meter in a subnet HOT 1
- Advice for manual installation HOT 1
- Fields Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-sma-em.