---
title: "Home Automation with Self-learning 433 Power Switches"
url: "https://maker.wiznet.io/rena/projects/Home-Automation-with-Selflearning-433-Power-Switches/"
markdown_url: "https://maker.wiznet.io/rena/projects/Home-Automation-with-Selflearning-433-Power-Switches/md"
type: "UCC: User Created Content"
author: "rena"
author_url: "https://maker.wiznet.io/rena/"
original_author: "rena"
original_url: "https://community.mydevices.com/t/home-automation-with-self-learning-433-power-switches/1879"
published: "2021-08-03"
language: "en"
likes: 0
views: 232
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Home Automation with Self-learning 433 Power Switches

> Home Automation with Self-learning 433 Power Switches

Original author: rena (source: https://community.mydevices.com/t/home-automation-with-self-learning-433-power-switches/1879)

## Article

## ![](https://discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/business5/uploads/mydevices/original/2X/8/86aa20eed4a9960517029b04945565963ff4d680.jpg)

## What’s Connected

The project exits off: ? Arduino UNO ? W5100 LAN module ? 433-module ? RTC-module (DS3231) ? Self-learning power switches Added functionality: ? Daylight Saving Time for CET ? Sunset/Sunrise calculation The RTC-module (DS3231) is added for two reasons. ? Unaware if the time can be retrieved from Cheyenne ? Store in the alarm if we are on DST-time or not Some lines are set to comment, you can use this section to reset your RTC-module and/or to set a new time. In this section you also “give the “DTS_check the initial correct value; DST in CET is calculated a bit odd).

## Triggers & Alerts

The Present time, sunrise and sunset are used to calculate if it is night time or not: if (time_now >= time_sunset or time_now &lt;= time_sunrise) { and saved as a digital sensor. This sensor is used in a trigger to switch light on/off at sunset/sunrise.

## Scheduling

Sunset and sunrise is calculted daily at 2 AM. Some lights will switch off at pumkin time (others on sunrise done with a trigger).

## Dashboard Screenshots

The dashboard: ![](https://discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/business5/uploads/mydevices/original/2X/b/b5554dd50bb9d29c089187f8889052929507b217.JPG) Trigger: ![](https://discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/business5/uploads/mydevices/original/2X/9/99191931578c2202da084ae8f2e9442254c2d7d8.JPG) **Original links:**

- <https://community.mydevices.com/t/home-automation-with-self-learning-433-power-switches/1879>

- <https://community.mydevices.com/t/home-automation-with-self-learning-433-power-switches-revised/2671>

**Relational links:**

- <https://www.hackster.io/WJ4IoT/home-automation-with-self-learning-433-power-switches-9d52dd>

- <https://create.arduino.cc/projecthub/WJ4IoT/home-automation-with-self-learning-433-power-switches-9d52dd>

---

Source: https://maker.wiznet.io/rena/projects/Home-Automation-with-Selflearning-433-Power-Switches/
