Posts

Doorbell with home assistant

Afbeelding
Like most people I have been working from home for a while now. Since my workplace is upstairs most of the time I don't hear the doorbell when ringing. A bit frustrating when you are waiting for a package that you just missed. Time for an upstairs doorbell. Since my home-assistant setup already gets a trigger when someone is at the door adding an extra doorbell should be fairly simple. Here is the setup I have used for this: Wemos D1 mini board:  https://nl.aliexpress.com/item/32651747570.html Simple doorbell:  https://nl.aliexpress.com/item/33023548145.html AC-DC adapter (5v):  https://nl.aliexpress.com/item/4000713326678.html MOS FET switch:  https://nl.aliexpress.com/item/33019559942.html Total costs: EUR 9,20 (including shipping). Final result All components have been glued inside the doorbell housing. The result is shown in the picture above. The components can be soldered together using the following schematics: Schematics Although the doorbell should be operated at 12V it wo

Simple outdoor PIR sensor for home assistant

Afbeelding
At home I use home assistant to automate almost everything. One of the things I was still missing was a simple outdoor PIR sensor that can send detections to home assistant. This can then be used to turn on a light or to create other automations. In this blog I want to share how to set up a simple PIR sensor by combining several low-cost items. I assume you have already some knowledge on how to setup home assistant and how to use ESP Home. If not, please use other tutorials first to get up to speed with this. Also, you will need to do some soldering, compile a small program and flash an ESP board. This I will explain step by step.   First let’s start with the components you need for this: Outdoor 12V Pirsensor. I bought this from AliExpress  here . ESP8266 board D1 Mini, found  here . AC-DC power supply, 5V version found  here . Resistor of 10k ohm.   Total costs less than 15 euro (including shipping). Above links are examples I used. You can probably also find other units elsewhere.