Håvard Siegel Haukeberg

Paste life: Ctrl+C -> Ctrl+V


home automation

Home Automation – Xiaomi Smoke Alarm (Sensor)

Hi there, here is a video and some pictures of how the Xiaomi Smoke Alarm works and how you can mount it. It is a photoelectric sensor and it is quite sensitive. I have another post where you can see how sensitive it is.

To add the smoke alarm into your Xiaomi app, have a look at the pictures below.

Remember that you can configure the sensor sensitivity by setting it to “smoke free zone” by default Chinese smoke a lot so this sensor is in default “little smoke zone”.


As usual I got this item from Banggood in one of my shopping sprees.

The alarm works on ZigBee and you need the Xiaomi Gateway in order to get a notification or trigger any automated actions.
All haters please comment below and let me know how bad it is 😦

Home Automation – Xiaomi ZigBee max range

Hi there, today I made a video to show how far you can place a sensor in the ZigBee network and still be in touch with the Xiaomi Gateway.

I am using this Xiaomi Gateway:

And this door sensor:

I have the gateway placed in the middle of my house so to say, right in the staircase.

Home automation with Xiaomi Yeelight and Motion sensor.

Hi there. On one of my regular shopping sprees on I came across these really nice Xiaomi Yeelight Ceiling lights

They are really good looking and super easy to mount. They also have a powerful light with multiple white color temperatures.

I can not express enough how well made this product is. Even if you just want a plain ceiling lamp, get this one. There is a quick connector to remove the lamp unit. The power connector unit does not require any screws for power and there are plenty of holes to fasten it to the roof or a power-socket box using standard lamp screws.

Anyhow, I connected three of these lamps to two motion sensors and thought the Xiaomi Gateway I set up an automation.

“Once you enter the room, turn on the lights” 


“Once there is no motion within 2 minutes, turn off the lights”

Really simple, here is how it works:


Home Automation with Xiaomi Wall Switch and door sensor

Hi and welcome, here is how you can automate your ceiling lights to turn on/off when you open the door.

With this setup I have automated the following task:

“Open door, turn on lights”


“Close door, turn off lights”

The automation works because I switched out the lighting switch with a Xiaomi Aqara Wall Switch that is connected to the Xiaomi gateway. I mainly do not use the switch so it works kinda like a relay.

Due note that the wall switch does NOT fit into the EU wall socket boxes. In order to make it fit I bought a ELKO DIMMER BOX / RISER and put it over the wall socket.

Works just fine, take a look below:



Blog at

Up ↑

%d bloggers like this: