https://github.com/starwhooper/rpi-433outlets
Help to control 433 outlets
https://github.com/starwhooper/rpi-433outlets
433mhz outlet
Last synced: over 1 year ago
JSON representation
Help to control 433 outlets
- Host: GitHub
- URL: https://github.com/starwhooper/rpi-433outlets
- Owner: Starwhooper
- License: other
- Created: 2021-12-11T18:52:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-09T15:49:21.000Z (over 4 years ago)
- Last Synced: 2025-02-26T16:55:44.879Z (over 1 year ago)
- Topics: 433mhz, outlet
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Check out new solution: https://github.com/Starwhooper/RPi-scheduler
RPi-433outlets
==========
* Creator: Thiemo Schuff, thiemo@schuff.eu
* Source: https://github.com/Starwhooper/RPi-433outlets
* License: CC-BY-SA-4.0
Prepare your System
-------------------
```bash
sudo apt-get install python3-pip
pip3 install rpi-rf
cd /opt
sudo git clone https://github.com/Starwhooper/RPi-433outlets
```
First configurtion
------------------
```bash
copy /opt/RPi-outlet433/config.json.example /opt/RPi-outlet433/config.json
sudo nano /opt/RPi-outlet433/config.json
```
Change in config.json:
* set "[gpio_send]" to the GPIO that you use to send
* set "[outlets][*][name]" to Name that you want to identity the outlet
* set "[outlets][*][code_on]" to code to switch on the outlet
* set "[outlets][*][code_off]" to code to switch off the outlet
* set "[outlets][*][operations][*][type] to time or calculate
* case type = "time"
* set "[outlets][][operations][][on] to time in 24h format. as example 0600 für 6am, 2205 for 5 minutes after 10pm.
* case type = "calculate"
* set "[outlets][][operations][][on] to command and offset in mins. As example "sunset;+45" means 45minutes after local sunset. "sunrise;-120" means 2hours before sunrise.
Start direct
-----
```bash
/opt/RPi-outlets433/outlet.py A on
```
Start service
-----
```bash
/opt/RPi-outlets433/service.py
```