Skip to content

Remote control an irrigation water pump through javascript Webpage or GET requests. Get temperature / humidity, and level of the water tank.

Notifications You must be signed in to change notification settings

RoyTrenneman/ESP8266-HTML-JSON-Web-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ESP8266-Server-HTML-JSON

Remote control an irrigation water pump through javascript Webpage or GET requests. Get temperature / humidity from DHT22 sensor, and level of the water tank from ultrasonic sensor.

ESP8266-12E

Framework used: Arduino

IDE used: PlateformIO

Upgrade OTA is available on this code

Build and upgrade command:

platformio run --target upload [ optional --upload-port IP_ESP]

Example :

http://IP/gpio=0

-> set GPIO to OFF

http://IP/gpio=1

--> set GPIO to ON

http://IP/getJSON

--> Request JSON :

{
 "Level": [
    -38
  ],
 "temperature": [
    "20"
  ],
  "humidity": [
    "70"
  ],
  "WaterPump": [
    0
  ],
  "Systemv": [
    "ESP8266-12E"
  ]
http://IP/reset

--> Reset ESP

http://IP/

--> Display the WebPage !

About

Remote control an irrigation water pump through javascript Webpage or GET requests. Get temperature / humidity, and level of the water tank.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%