Open pvizeli opened 3 years ago
Hello as I currently can not run home assistant with the RasperryMatic add on (see ticket linked above) I´d like to ask whether this enhancement is far away or something already on the horizon?
Hello, is there a time horizon for a solution? I would like to continue with HA.
Hi @pvizeli. Are there any chances to see pimd support in plugin-multicast soon? It would really help the RaspberryMatic add-on to finally support the HmIPW-DRAP and HmIP-HAP gateway which rely on multicast UDP network traffic and thus cannot be used in combination with the Add-on due to the missing multicast UDP routing (see https://github.com/jens-maus/RaspberryMatic/issues/1373)
Currently, I don't have any manpower that can work on this. I guess somewhat around Q3 could be realistic
Currently, I don't have any manpower that can work on this. I guess somewhat around Q3 could be realistic
Thanks for the info. If you can, however, assist me to some extend I can try to work on pimd
integration within plugin_multicast
myself. So if you could quickly summarize what you might think might be required here and how to do that I can indeed try to work on it an prepare a PR. But as said, I would need some assistance on that matter from you, I guess.
From my point of view it is very important to have this feature for RaspberryMatic Addon to use the better IP wired devices. I do have a full testbench and can do some testing if needed.
@pvizeli is Q3 still realistic ? Is there a way to support or assist you ?
Just wanted to install the RasperryMatic add on (which is even the offically recommended addon) but can't do so because my setup requires HmIP-HAP to be used as range extenders. Please take you time for the issue.
hello @pvizeli, thank you for the work done so far! I just wanted to check in and see if there was any success in finding manpower to solve this problem. I just switched to HA and am amazed by it, but now had to find out that I cannot integrate it with my DRAP.
Hello, I just identified I cannot reach my Homematic IP Wired DRAP due to this limitation. I would be also curious whether I need to find an alternative to the Raspberrymatic addon or whether we can expect a solution in foreseeable time?
@pvizeli For helping you with a start: I am running HA OS on an Odroid. The kernel of HAOS build root is compiled to not support Multicast forwarding though # CONFIG_IP_MROUTE is not set
which gives you:
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.docker0.mc_forwarding = 0
net.ipv4.conf.dummy0.mc_forwarding = 0
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.hassio.mc_forwarding = 0
net.ipv4.conf.lo.mc_forwarding = 0
(and so forth for eth/veth...) which will result in pimd telling you: Cannot enable multicast routing in kernel: Protocol not available
If I have some time I will look at this further. Only issue is, that I do not have a Test-Env here...
You can make an PR against https://github.com/home-assistant/operating-system/blob/dev/buildroot-external/kernel/hassos.config - then it will be in nightly for testing it. Thanks for help out @katter
@katter
If I have some time I will look at this further. Only issue is, that I do not have a Test-Env here...
First of all, thanks for doing the initial step in looking into this and that you already identified that some changes to HomeAssistantOS are required for pimd
to work correctly. Please let me know as soon as you feel you have a first working test environment or potentially working pimd setup so that I can see if I could give you a hand regarding pimd integration in plugin-multicast. This is indeed highly appreciated!
With last nights dev build of Home Assistant OS I can now start pimd in the home assistant_multicast container after installing the apk from alpines edge/testing repo. Now we can start testing the functionality. It's probably more difficult to then later proof that it doesn't mess up something else.
@jens-maus Thanks for working on this feature, have you seen this ?
@katter
With last nights dev build of Home Assistant OS I can now start pimd in the home assistant_multicast container after installing the apk from alpines edge/testing repo. Now we can start testing the functionality. It's probably more difficult to then later proof that it doesn't mess up something else.
Did you have any progress on getting pimd
compiled/integrated in plugin-multicast yet? Would be great if you could quickly document your steps here that you took to get an own plugin-multicast container compiled with pimd included so that I could potentially take over the work and try it myself...
hi @pvizeli / hi @jens-maus is there some new news? I tried to integrate one of my HmIP-HAP, but now I saw, that there is the problem with the pimd. It is possible to extend the range with the power plugs 'til the problem is solved? How long could it take until it's solved?
Thanks and kind regards, Stefan
I would very much appreciate a fix, too! Any idea when this might be fixed?
I have read both tickets completely. What is still unclear to me. Is there currently any idea to solve the problem or is the solution still completely unclear?
@MelleD That's the same question I'm asking myself.
To answer here: IMHO this PR is obsolete since using pimd
is not the right approach to get udp multicasting support running in addon containers within HA. For this macvlan support has to be added/enabled for HA addon to be used. But this is another story completely separated for the potential pimd usecase.
@jens-maus Thanks for update
@jens-maus Thanks for the info. You can't quite see through what really needs to be done to make it work. Is there a way to show the developers that there are many users who want an implementation?
No, you can only wait and see if/when the HA developers are implementing macvlan support for addon containers. Until this happens continue to use my supplied workaround patch (https://github.com/jens-maus/RaspberryMatic/wiki/Installation-HomeAssistant#hmip-haphmipw-drap-support-patch) to get a HmIP-DRAP/HmIP-HAP working with a RaspberryMatic HA add-on container or simply switch to a full fledged RaspberryMatic VM or host system until this functionality has been added by the HA devs.
No, you can only wait and see if/when the HA developers are implementing macvlan support for addon containers.
Is there a open ticket for this request?
No, you can only wait and see if/when the HA developers are implementing macvlan support for addon containers.
Is there a open ticket for this request?
No, but I have direct contact to them and they are already working on it more or less...
No, but I have direct contact to them and they are already working on it more or less...
Otherwise I would have subscribed to it :)
Hi! Any update on that? I would really appreciate if it would be possible to migrate my RaspberryMatic-Setup to the HA-AddOn but support for HmIP-DRAP is essential for me (therefore also this enhancement).
Using pimd did not really work out as intended (see #61). The plan is to use macvlan support, but support for it in Supervisor is not yet implemented. See also this architecture discussion: https://github.com/home-assistant/architecture/discussions/1034.
Using pimd to support all mutlicast protocols https://github.com/troglobit/pimd