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

Using pimd #17

Closed
pvizeli opened this issue Apr 1, 2021 · 30 comments
Closed

Using pimd #17

pvizeli opened this issue Apr 1, 2021 · 30 comments
Labels
enhancement New feature or request stale

Comments

@pvizeli
Copy link
Member

pvizeli commented Apr 1, 2021

Using pimd to support all mutlicast protocols
https://github.com/troglobit/pimd

@Vinzent82
Copy link

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?

@ElFaro1
Copy link

ElFaro1 commented Dec 29, 2021

Hello, is there a time horizon for a solution? I would like to continue with HA.

@jens-maus
Copy link

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 jens-maus/RaspberryMatic#1373)

@pvizeli
Copy link
Member Author

pvizeli commented Mar 14, 2022

Currently, I don't have any manpower that can work on this. I guess somewhat around Q3 could be realistic

@jens-maus
Copy link

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.

@gamer123
Copy link

gamer123 commented May 5, 2022

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.

@gamer123
Copy link

@pvizeli is Q3 still realistic ?
Is there a way to support or assist you ?

@simabr
Copy link

simabr commented Aug 11, 2022

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.

@campinge
Copy link

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.

@dn-gt
Copy link

dn-gt commented Sep 24, 2022

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?

@katter
Copy link

katter commented Sep 28, 2022

@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...

@pvizeli
Copy link
Member Author

pvizeli commented Sep 28, 2022

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

@jens-maus
Copy link

@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!

@katter
Copy link

katter commented Sep 30, 2022

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.

@gamer123
Copy link

gamer123 commented Oct 6, 2022

@jens-maus Thanks for working on this feature, have you seen this ?

@jens-maus
Copy link

@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...

@Meza100
Copy link

Meza100 commented Dec 18, 2022

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

@Rainerlan
Copy link

I would very much appreciate a fix, too!
Any idea when this might be fixed?

@MelleD
Copy link

MelleD commented May 15, 2023

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?

@Thorsten1982
Copy link

@MelleD That's the same question I'm asking myself.

@jens-maus
Copy link

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.

@MelleD
Copy link

MelleD commented Aug 28, 2023

@jens-maus Thanks for update

@Thorsten1982
Copy link

@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?

@jens-maus
Copy link

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.

@MelleD
Copy link

MelleD commented Aug 28, 2023

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?

@jens-maus
Copy link

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...

@MelleD
Copy link

MelleD commented Aug 28, 2023

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 :)

@hmax-72
Copy link

hmax-72 commented Apr 25, 2024

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).

@agners
Copy link
Member

agners commented Apr 25, 2024

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: home-assistant/architecture#1034.

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 18, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests