Using diyhue on Synology NAS #797
Replies: 1 comment 7 replies
-
Hi! I'm desperately trying to get this work. No luck so far. I'd like to see my Home Assistant lights in diyHue. I got Home Assistant running on Docker on my DS and access it via my DS ip port 8123. I changed your docker-compose with my network settings and the DS mac address. btw: why do you mount When I run the compose I do get the following error:
So I did leave the vlan in portainer and started the container: success Next I deleted the vlan and set up a new one in portainer with same network settings but different name. So now I'm able to access diyHue UI via the macvlan ip address: nice Next I did configure the Home Assistant settings in the diyHue UI Unfortunately this did not do the trick, no lights showed up. I checked the logs and found that diyHue is not connecting to Home Assistant.
Now I'm kinda lost... Any clue why diyHue doesn't connect to HA? |
Beta Was this translation helpful? Give feedback.
-
Hi!
I've managed to get it working on Synology NAS as docker container on macvlan network! Bellow you can see my docker-compose.yml.
My LAN network is 192.168.1.0/24, DHCP starts from 192.168.1.100, so I decidec to use 192.168.1.64 for diyhue container. On my NAS there is also MQTT and HA containers, so there is need to access it from diyhue - I created second bridge network to get access to other containers from diyhue (diyhue see's other containers exposed ports on 172.18.0.1).
Secret is that name of macvlan network should be lexical before bridge network!! Docker will set default route to first network alphabetical
Beyond that macvlan needs to have highest priority to obtain desired mac address...
Beta Was this translation helpful? Give feedback.
All reactions