Feature Request - Telegram Bot

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Zodiac69
Normal user
Posts: 85
Joined: 13 Jun 2016, 17:20

Feature Request - Telegram Bot

#1 Post by Zodiac69 » 31 Jul 2016, 16:38

I would like to post a request to add "Telegram Bot" to the protocol selection.
This will make it easy for users that do not have or want home automation systems, but would still like to get info from sensors / devices and control them via easy text in Telegram.

musti
Normal user
Posts: 10
Joined: 20 Nov 2016, 20:54

Re: Feature Request - Telegram Bot

#2 Post by musti » 22 Nov 2016, 22:15

I might be a able to look into this should there be some more interest. What would be the features and use/cases? For example print all measurements to phone, dump log or things like that? Maybe a device would be more suitable solution for this, something similar to Displaz code, where you can determine what is going on.

parbar
Normal user
Posts: 13
Joined: 28 Oct 2015, 07:26

Re: Feature Request - Telegram Bot

#3 Post by parbar » 24 Nov 2016, 10:05

+1 from me for Telegram support

I have played a bit with https://github.com/Gianbacchio/ESP8266-TelegramBot and it was working fine. However it uses https and not sure if that is implemented in espeasy.

I have also played with telegram and thingspeak. Use thingspeak ThingHTTP and send messages that way, no need for https. Should be possible to send from espeasy rules.

I am no programmer but but maybe someone more skilled can take a look at this. I think the first step is to include https. Then start with option to send telegram, maybe controlled by rules i.e get sensor data by telegram every hour or whatever you set up in rules. This I believe can be done using thingspeak ThingHTTP as well?

Second would be polling telegram bot for messages and espeasy to react on. Maybe once every minute.

This is just some ideas that I have now. I will make a try with sending messages by thingspeak whenever I have some time...

Sorry for any bad english.

/Pär

Zodiac69
Normal user
Posts: 85
Joined: 13 Jun 2016, 17:20

Re: Feature Request - Telegram Bot

#4 Post by Zodiac69 » 27 Nov 2016, 11:17

Hi musti

Sorry for the late reply.
Let me give you an example of what i see.

User setup EspEasy to be a kW/h counter and a low credit warning on pre-pay electricity meter.
User create a Telegram Bot, enter credentials into EspEasy, EspEasy is now a Telegram Bot.
User set the count/kW and alert for every x kW/h used
When pre-pay meter show low-credit, normally a led that goes on, user gets a warning as many pre-pay you have to buy a voucher, user can now get one before he gets home and run out of electricity or water

This warning can also be used for water, temperature, door status...

umbm
New user
Posts: 7
Joined: 09 Oct 2016, 11:08

Re: Feature Request - Telegram Bot

#5 Post by umbm » 21 Oct 2017, 19:56

I would like to have a client-module for a Telegram-Bot in ESPEasy too.

That would open many opportunities to use ESPEasy without running an own IOT/SmartHome-server (like fhem) or using a external IoT-portal (likeThingSpeak),
very interesting for beginners in IoT.

Found this: https://github.com/deloarts/esp-telegram

Using Telegram to communicate with ESPEasy would be one of the most direct ways.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests