Skip to content

AMasetti/EKO-Telegram-Soil-Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EKO-Telegram-Soil-Sensor

This project uses an ESP8266 and an analog Capacitive Soil Sensor to alert a user of it's plant health

connection diagram for the ESP8266

Requirements

This repo uses the universal-telegram-bot-library as a basis for sending messages using a Telegram Bot, need to have that installed first.

Also a Telegram Bot is needed, for that we use Telegram and by messaging BotFather with the /newbot command. From there we can name our bot and add a profile picture for it. After that BotFather will give us the Access Token for that Bot in the following form XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Take note of it and do not share it with anyone.

For our own Telegram user we need to grab our ID, and for that we message UserInfoBot with the /start command. Save the 9-Digit ID for later

graph TD;
A[Start] --> B(Connect To WiFi, configure and send startup alert)
B --> C{Soil Hum Level}
C -->|hum < 600| D[Too much water notification]
C -->|700 < hum < 900| E[Normal humidity level notification]
C -->|hum > 1000| F[Dehidration notification]

About

This project uses an ESP8266 and an analog Capacitive Soil Sensor to alert a user of it's plant health

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages