Home Automation
The main goal of this project is to create a system for the automation of my home and at the same time have some fun and pass the time on weekends.
I will in parallel integrate the devices on Home Assistant.
https://github.com/jramsgz/pico-w-home-assistant - For Raspberry Pi Pico integration on Home Assistant
The goal of this implementation is to make the switches associations with lights totaly flexible witch means that one switch can be assiciated to a living room light during the day and at nigth it can be redirected to another light. The system will not be configured completely in home assistant but it will provide de main GUI of the system.
- Switches and Outlets are virtual devices. They are implemented in a daemon called virtdev.py.
- The virtdev.py script will connect to the database and mqtt server
- This lights and outlets must be registered at Home Assistant and will be related to the relay blocks on the database and then this associations will be handled by virtdev.py script
- The relay blocks will not be referenced by the home assistant
- The switches will not be referenced on home assistant
- The relay blocks will receive commands and statuses from the virtdev daemon
The association GUI will handle the correspondence between the switches / lights and outlets and the relays
This is a PyGTK3 application. It can be installed in a linux PC. The application is used to manage the relations between switches and outlets.