Skip to content

Small schedular to ping URLs to control 433 Outlets ober ESP8266

License

Notifications You must be signed in to change notification settings

Starwhooper/RPi-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

RPi-scheduler

Based on https://github.com/Starwhooper/RPi-433outlets. The RPi-433outlets used a local 433MHz transmitter. The https://github.com/Starwhooper/RPi-scheduler send the commands to a ESP01 with 433 transmitter. The benefit of this solution is, that the stearing RPi could place in your Server-Rack and on any other place in your wlan, your clould place the ESP near your outlets.

The sketch and wiring on ESP01, could you find here: https://alexbloggt.com/funksteckdosensteuerung-mit-esp8266/

Prepare your System

sudo apt-get install python3-pip
cd /opt
sudo git clone https://github.com/Starwhooper/RPi-scheduler

First configurtion

copy /opt/RPi-outlet433/config.json.example /opt/RPi-outlet433/config.json
sudo nano /opt/RPi-outlet433/config.json

Change in config.json:

  • set "[outlets][*][name]" to Name that you want to identity the outlet
  • set "[outlets][*][cmd_on]" to esp01 url
  • set "[outlets][*][cmd_off]" to esp01 url
  • 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 service

/opt/RPi-scheduler/service.py

About

Small schedular to ping URLs to control 433 Outlets ober ESP8266

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages