Faster Work Communication using a ESP32, Telegram API, buttons, AND switches

preview_player
Показать описание
Are you tired of texting and calling for help only to work short? I am, so I made this to quickly notify "on-call" employees to open shifts, their locations and chance for a bonus.

Switch 1, Location: Left = Floor 1, Right = Floor 2
Switch 2, Bonus: Left = No Bonus, Right = Bonus Available
Green Button: Morning Shift, 6AM-2PM
Yellow Button: Day Shift, 2PM-10PM
Red: Night Shift, 10PM-6AM

Various combinations of switch positions and button presses quickly encode the Telegram API request to send a message to any Telegram chat IDs in the code.

The code is written in C++, and after you replace the "XXX"s with your credentials and the GPIO pins with yours, it's uploaded to the ESP32 via the Arduino IDE or VS Code.

I will give Reddit's r/esp32 their own video after I start implementing some of their valued feedback!

#esp32 #microcontroller #cprogramming
Рекомендации по теме
join shbcf.ru