Skip to content

Double relay command through an ESP8266 from Jeedom

Notifications You must be signed in to change notification settings

Wifsimster/cat-feeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat feeder

This LUA script is for ESP8266 hardware.

Description

Double relay command with an ESP8266 through HTTP request (Jeedom)

Principle

  1. Connect to a wifi AP
  2. Start a web server and wait for HTTP request
  3. If HTTP request received, parse request and get rotate param
  4. If rotate == UP : GPIO_0 = HIGH and GPIO_2 = LOW
  5. If rotate == DOWN : GPIO_0 = LOW and GPIO_2 = HIGH
  6. If rotate == STOP : GPIO_0 = HIGH and GPIO_2 = HIGH
  7. If rotate == RST : ESP8266 is restart

Scheme

scheme

About

Double relay command through an ESP8266 from Jeedom

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages