Good day! I’m completely new to the Raspberry pi/home assistant world and have been trying to come up with ways of solving the problem below by myself. Unfortunately it hasn’t given the result I’ve been hoping for and wonder if you could help me. I’ll try to list my solutions as detailed as possible in hopes of being helped. Thanks in advance!
I’ve been trying to install home assistant (hass.io) on my Raspberry Pi 3B (headless – no monitor or keyboard) with the Raspbee module. I plan on using the Philips Hue bridge and app for the frequent used lights and the home assistant app and Raspbee/Deconz/Phoscon for Tradfri lights together with third party sensors such as the Xiaomi Aqara doorsensors which I shouldn’t have to operate frequently.
Hardware:
-
Raspberry Pi 3B+ Headless
-
RaspBee II
-
About 15 Hue lights
-
About 15 Tradfri lights
-
Hue bridge operational
-
Tradfri bridge (not operational)
Software:
- As stated below
So far I’ve tried using the following strategies:
1. Docker/Portainer setup:
First, after some research, I thought I’d setup the Raspberry Pi through portainer so I could, if I wanted to in the future, add on more programs. I’ve installed Portainer on my freshly installed Raspberry Pi using the following instructions: (link: https://www.wundertech.net/how-to-setup-a-raspberry-pi-zero-without-a-monitor-keyboard-or-mouse/)
-
After that I’ve made the Raspberry Pi IP-adress static
-
Connect docker trough Portainer (‘ip-adres’:9000) (poort 9000) (in browser)
-
Connect to home-assistant via:’ ip-adress’:8123 (port 8123) (in browser)
-
Connect to deCONZ via ‘ip-adres’:80 (port 80)
So I’ve managed to setup home assistant and deCONZ through portainer/docker and everything seems to work. The following problems follow.
Problem
1A: No supervisor setup of home assistant possible when installing home assistant through portainer/docker setup. That way it’s not possible to install the DeCONZ add-on through the add-on library. There is the possibility to install an integration but that way it’s impossible to look for ZigBee components (lamps/sensors).
1B: Through this docker/portainer installation of DeCONZ it wasn’t possible make deCONZ recognize the Raspbee hardware.
2. Home assistant installation:
Because I figured out that I need a supervisor setup of Home Assistant I followed the following instructions (Link: Raspberry Pi - Home Assistant) and setup my home automation through onboarding. After that, all my hue lights can be discovered and operated. It’s also possible to install the deConz add-on. Tradfri lights however, cannot be discovered.
I’ve followed the following instructions:
-
Flash new image to SD, insert and boot my RP4.
-
Connect to RP4 using hassio.local:8123
-
Add deCONZ add-on and followed configuration steps.
-
Turn off Hue and IKEA hubs.
-
Reset lights to factory settings (both Hue and IKEA)
-
Click on ´Open Web UI´ in the deCONZ add-on to add lights.
(Link: Unable to detect lights using deCONZ)
And after that also with the (headless) raspbian buster (link: RaspBee SD-card images)
Problem –
2A This problem stated by ‘alex4p’ and solved by ‘Vasco’ doesn’t work and I think it’s because I need a non-headless setup. Bottom line is that the deconz add-on does not recognize any tradfri lamps.
3. SSH setup:
Here I’ve installed Raspbian on a clean SSD and enabled SSH. Through SSH I’ve tried to install Home assistant (Raspberry Pi - Home Assistant) and Deconz/Phoscon (RaspBee II Installation) simultaneous.
Problem –
3A: Simultaneous installation is not possible through SSH because it overwrites the other program. And if it doesn’t, I don’t have a way to let them both communicate.
I’ve broken my head multiple times over this problem and keep coming back to the fact that I might need to do an installation with raspbee monitor. Is there an instruction that I’m missing? If so, I would love to be pointed in the right direction!
Can somebody point me towards instructions as to the setup I’m trying to accomplish?
Thanks in advance!