Comments (9)
@stevoboy
This problem typically shows up, when the SHM is not in the same subnet as the iobroker server. Thus the multicasts of the SHM do not reach the sma-em adapter. It is not necessary to make any config to the SHM. It generally multicasts its data right from the start. Rather you should check your network configuration. Multicasts are not generally forwarded by routers between subnets. Also some switches interfere with the multicasts. That is why SMA recommends to switch off IGMP V3 snooping. But I assume your problem roots in a router problem since from your report above I saw that your iobroker is in subnet 172.19.0.2 while the SHM is in 192.168.178.37 . I suggest that you look whether your router supports multicast forwarding and configure it accordingly. If this does not work I propose that you describe your problem in the iobroker forum e.g. https://forum.iobroker.net/topic/43011/test-adapter-sma-em-v0-6-x-latest
Maybe some other user can help.
from iobroker.sma-em.
@pdbjjens Thanks a lot for your help. I am still not able to fix the problem.
First thing I did, I connected all devices to the netgear switch, no success. Then I connected the Synology NAS with the iobroker and adapter with the SHM to the Fritzbox directly, no success.
Then I checked if the Switch, NAS and Fritzbox are in the same subnet. They are now - all 255.255.255.0.
Then I checked my switch if IGMP is active. It is:
I am not sure, if it is a problem within iobroker itself. The IP addresses used sound strange. Should they not all be similiar to the ones, my other devices are using 192.168.178.xxx?
from iobroker.sma-em.
I realized one thing last night, if the adapter is listening on port 9522, I must open a port in the docker container as well. I did that now:
Shouldnt the IP address not be found now when I ping it?
from iobroker.sma-em.
@stevoboy
Although the SHM protocol requires all network components to support IGMP V3, SMA recommends to switch off IGMP V3 snooping in switches. Fritzboxes do support IGMP V3 but since they do not support snooping they are generally o.k. In your netgear switch, deactivate IGMP-snooping altogether.
But I think that your main problem is in the network configuration of your docker installation. Unfortunately I am not familiar with docker. But I am sure that you will find lots of hints in the iobroker forum.
from iobroker.sma-em.
Okay, I switched off snooping on the Switch altogether - no success:
I guess also that the main issue is, that the iobroker runs on a different subnet mask than the rest of the devices which are running on 255.255.255.0. This is strange since the docker is running on the Synology NAS which is running on 255.255.255.0. To me it looks like ioBroker is opening an own subnet, that prohibits communication to our main subnet.
I am curious which device is behind this IP address 62.155.245.70.
from iobroker.sma-em.
@stevoboy
It seems that SMA multicast with docker containers is a general problem.
https://forum.iobroker.net/topic/38520/multicast-sma-em-usg-netztrennung
In https://smarthome.buanet.de/2019/05/iobroker-unter-docker-auf-der-synology-diskstation-v3/
it is clearly stated that the simple docker network bridged mode will not work for adapters which use multicast.
A solution seems to be to configure the docker network to use macvlan. A description can be found https://smarthome.buanet.de/2020/09/macvlan-ueber-portainer-einrichten/
from iobroker.sma-em.
Okay, that looks like I need to dig into that macvlan topic to get it running. It seems to be like something to spend some time on.
Sadly the Sunnyhome portal adapter does not work anymore - that would be much easier.
I come back as soon as I find some time to work on the macvlan approach. Thanks for so far for you help.
from iobroker.sma-em.
@stevoboy
Have you been able to solve your problem meanwhile? Please indicate whether I can close this issue
from iobroker.sma-em.
Yes, I solved the problem by reinstalling the docker container in host mode.
from iobroker.sma-em.
Related Issues (20)
- How can i install SMA-em in ioBroker? HOT 3
- SMA-EM findet Multicast nicht: UDP Socket error: Error: bind EADDRINUSE 0.0.0.0:9522 HOT 5
- Two Interfaces attached to iobroker/Raspi: SMA-EM listen on wrong Interface HOT 20
- Hello,
- No reading of Pregard with HM 2 HOT 2
- How can I see the current performance HOT 1
- Communication fault HOT 3
- Verbindung zu Home Manager 2 nicht möglich HOT 3
- Netzwerkfehler beim Start (EADDRINUSE / Docker) HOT 19
- Instance sma-em.0 in Multihost Modus is not starting on Master HOT 3
- Update stable version in repo from 0.0.0 to 0.7.0 HOT 3
- Voltage is displayed wrong after update 0.7.0 HOT 13
- Objects "last_message" and "timetick" do not update anymore since update to 0.7 HOT 8
- Stromwerte nur Positiv HOT 1
- Falsche Werte aus SHM 2.0 (psurplus) HOT 4
- psurplus datafields shows values that not real and there. HOT 12
- Fehler Invalid own IP address 192.168.179.101, please try another one from the Multicast Settings configuration panel HOT 8
- enhancement: Extend Adapter for simulating SMA eMeter HOT 3
- Please consider fixing issues detected by repository checker HOT 2
- psurplus value wrong HOT 6
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 iobroker.sma-em.