Posts

Showing posts from June, 2024

Adding Shelly to a two-way-switch wiring

Image
I have a two-way-switch (Hotelschakeling in Dutch) wiring in my garage to turn the lights on or off. There's a switch near the garage door and one near the door to the hallway. After some reverse engineering, I found out the electrical wiring is done like depicted below: So there's a VOB 5g1.5mm2 running from the switch near the garage door, to the switch next to the door towards the hallway. This is because that same circuit needs to power some additional lights in other rooms on the ground floor. I want to leverage a Shelly to: Turn on the lights when the garage door opens Turn off the lights automatically after, say 5 minutes Run automations in Home Assistant to make sure no power is wasted when someone leaves the lights on in the garage To connect the Shelly, I changed the above wiring to what you can see below: Next I downloaded the app and let it find the Shelly via bluetooth. This was a very straightforward and smooth process, unlike a lo

Using Arduino to report status of my garage door to Home Assistant

Image
A while ago (now reading the post, it is more than 3 years ago 😮), I was working on a project to get notified every time the garage door opens or closes. You can read all about it here . Coming back to that project, I think the solution was/is far from ideal and too complicated. Now that I started to use Home Assistant to make my not so smart home a little smarter, I figured there must be a better way to be able to check if the garage door is still open and to get notified if the garage door opens or closes. The new solution might look like this: There are a few questions here. How can I let an arduino integrate with Home Assistant? How can I let Home Assistant (based on some state change) notify us of this change, via mail for example? Next to that, I will need some setup and electronics so we can read the state of a switch or sensor. Electronics As already mentioned in the other post, I have an MKR WiFi 1010 board. Since I am lazy, I also bought a relay shield .