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.
Feature Request - Telegram Bot
Moderators: grovkillen, Stuntteam, TD-er
Re: Feature Request - Telegram Bot
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.
Re: Feature Request - Telegram Bot
+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
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
Re: Feature Request - Telegram Bot
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...
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...
Re: Feature Request - Telegram Bot
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.
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.
Who is online
Users browsing this forum: No registered users and 20 guests