Smart Home

People seem to be very interested in how my smart home works. This page documents the ongoing project and its components.


  • VM 1: “Mustafar”: 4 CPU cores, 16 GB RAM: Home Assistant, PostgreSQL, Mosquitto, Gotify
  • VM 2: “Moraband”: 2 CPU cores, 2 GB RAM: Zigbee2Mqtt
  • RaspberryPi 3: Controlling my LED matrix


  • Zigbee2MQTT, Mosquitto
  • Sonoff ZBDongle


  • I use IKEA Tradfri lights and love them!

  • Some RGB LED strips (WS2812) with the “ABC! WLED Controller V41

  • Some custom built hardware for retrofitting older lamps lamp

Buttons, Switches, Motion detection

IKEA Tradfri only

Smart Socket

To switch older “non smart” devices, I use IKEA Zigbee smart sockets.



“Saswell” Zigbee thermostat. Unfortuntely not available any more.


Temperature Sensors

“Aqara” brand Zigbee sensors. Caution: They break very fast when used outdoors!


IKEA “Symfonisk” Sonos speakers. I currently have three of them. They sound good and are easy to use. However, I disklike the need for an account and the cloud connection. WiFi is unreliable with the older generation so I connect them to LAN.


Air Quality Monitoring

“Hacked” IKEA “vindriktning” sensor with ESP8266 and SCD30 CO2 Sensor. In my opinion, CO2 Monitoring is one of the best things to have in any home!

air co2

I also have an IKEA “STARKVIND” air purifier with particle- and active carbon filter in operation.

LED Matrix

Hacked version of the IKEA “OBEGRÄNSAD” LED matrix with a RaspberryPi. Shows the name of the currently playing spotify song. I wrote a Linux driver for fun.

matrix matrix

Presence Detection

A Traccar server and the HomeAssistant integration. All devices are turned off when my Android phone leaves the “home” geofence.home


The overview page displays the most important information. Also on my wall-mounted dashboard:


Each room has a card containing all relevant switches:


Smart Mirror


Smart mirror with a DIY wooden frame. Runs MagicMirror2.