Skip to content

Arduino based (NodeMCU - ESP8266) Telegram controlled fish feeder I use in order to keep my fish healthy when I'm away.

Notifications You must be signed in to change notification settings

RiccardoBonesi/fishFeeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fishFeeder

fishFeeder is an Arduino (ESP8266) Telegram controlled fish feeder which I use to feed my fish when I'm away.

Components

Parameters to change:

To generate your new Bot, you need an Access Token. Talk to BotFather and follow a few simple steps described here.

Replace with your Telegram Token in fishFeeder.ino:

#define BOTtoken "XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Replace with your chat_id to prevent other people from feeding your fish

if ( chat_id != "REPLACEME")
      bot.sendMessage(chat_id, "Hey, you are not allowed to play with my fish!", "");

In secrets.h, fill with your WiFi SSID and password:

#define SECRET_SSID ""
#define SECRET_PASS ""

Necessary libraries:

#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <UniversalTelegramBot.h>
#include <Servo.h>
#include "secrets.h"

You also have to install the ArduinoJson library written by Benoît Blanchon. Search for it on the Arduino Library manager or get it from here.

How to control the fish feeder via Telegram Bot:

About

Arduino based (NodeMCU - ESP8266) Telegram controlled fish feeder I use in order to keep my fish healthy when I'm away.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published