-
Describe the issue you are experiencingDescribe the issueI am trying to use an HmIP-HAP2-A as a Homematic IP LAN router with OpenCCU running as a Home Assistant OS add-on. The same HmIP-HAP2-A works correctly on a CCU3/Charly OpenCCU setup on Raspberry Pi 3:
On the Home Assistant OS OpenCCU add-on setup, the HAP2 is reachable in the LAN, the OpenCCU container can ping it, and the relevant add-on ports are now mapped correctly. However, the HAP2 is not found during learning / does not connect correctly and keeps blinking. This looks like a Home Assistant add-on / container networking issue with HmIP-HAP2-A discovery or connection handling. Expected behaviorThe HmIP-HAP2-A should be found via:
and should connect as a Homematic IP LAN router, just like it does on the CCU3/Charly OpenCCU setup. Actual behaviorThe HmIP-HAP2-A is not found during learning in the Home Assistant OS OpenCCU add-on setup. When restored from a working Charly/OpenCCU backup, the HAP2 appears as a device / LAN router, but the LED keeps blinking and it does not seem to connect properly. Environment
OpenCCU add-on info shows: Additional information |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This is not a bug in OpenCCU but a technical limitation of the used docker environment within HomeAssistant. Therefore you currently have to use a cumbersome workaround script to setup the correct macvlan environment to get a HmIP-HAP or HmIPW-DRAP connected/working when you run your OpenCCU within HomeAssistant. See here: https://github.com/OpenCCU/OpenCCU/wiki/Installation-HomeAssistant#hmiphaphmipwdrap-support-patch Even thought I am currently working on getting this a bit easier implemented, avoiding application of that script on every reboot of the OpenCCU Addon or HA, that's why it is usually a good idea to avoid running OpenCCU as a HomeAssistant App/Add-on an better use a dedicated VM only for OpenCCU alongside a VM for HomeAssistant (if you use a virtualization environment like ProxmoxVE) or keep OpenCCU running on a dedicated Hardware. As said, all this is due to technical restrictions in the docker environment routing multicast UDP traffic which is required for communication with a HmIP-HAP or HmIPW-DRAP. |
Beta Was this translation helpful? Give feedback.
This is not a bug in OpenCCU but a technical limitation of the used docker environment within HomeAssistant. Therefore you currently have to use a cumbersome workaround script to setup the correct macvlan environment to get a HmIP-HAP or HmIPW-DRAP connected/working when you run your OpenCCU within HomeAssistant. See here:
https://github.com/OpenCCU/OpenCCU/wiki/Installation-HomeAssistant#hmiphaphmipwdrap-support-patch
Even thought I am currently working on getting this a bit easier implemented, avoiding application of that script on every reboot of the OpenCCU Addon or HA, that's why it is usually a good idea to avoid running OpenCCU as a HomeAssistant App/Add-on an better use a dedicate…