Do you use any other services such as Blynk etc with your ESP8266, how do you find them?
@squalazzo5 жыл бұрын
@@debsahu7801 but Artik is shutting down... www.cdrinfo.com/d7/content/samsung-pulls-plug-artik-iot-project-focuses-ai-auto-parts-and-5g
@squalazzo5 жыл бұрын
@@debsahu7801 thanks for the clarification :)
@kwcatur4 жыл бұрын
The explanation is so clear. There are some questions about Universal Telegram in my brain. Thank's Brian
@UnexpectedMaker5 жыл бұрын
What a great project Brian! A very clever use of Telegram. I had no idea it was that easy to set up a bot!
@xyloidify5 жыл бұрын
Good video as always Brian! Love your D1 Mini Breakout board. Thanks for the fast shipping.
@BrianLough5 жыл бұрын
Thanks Steven, Glad they arrived ok! I've used them myself for a couple of projects and I like them a lot!
@CraigHollabaugh2 жыл бұрын
Very informative. Thanks from Colorado.
@euehshsysdue5 жыл бұрын
Nice video, super project, good to see your contribution to the Arduino community by adding a library. Also nice to see the shorter videos, which are easier to watch then the longer or live video's
@ChunkySteveo5 жыл бұрын
Nice setup! You need a follow up video too where you add a push button that toggles the lights on or off, and updates the telegram bot with that info too!
@r_s_steam_cr3 жыл бұрын
Además de aprender mucho, el video me pareció muy entretenido ! Muchas gracias
@TJHorner5 жыл бұрын
Very cool project! Maybe sending the answerCallbackQuery method when you receive it will speed up trigger times? I think Telegram is still awaiting a response for the callback queries when you press them a second time (that's why it shows the spinner on the button when you tap it). I can send a PR in if you want :)
@BrianLough5 жыл бұрын
I'm not sure it would improve the trigger but I certainly would like to get rid of that spinner! I would love a PR! Feel free to join the group chat in the description, it's easier for me to reply there than on KZbin if you have any questions
@Enes_Yildiz9 ай бұрын
Thank you very much. You are great
@pepyakodance4 жыл бұрын
Thank you Brian for this video!
@TheRedmarlboroman Жыл бұрын
Hi, thank you so much for making this tutorial. I am looking for this kind of application to remote turn on / off and resetting a computer power button using a relay. I like your idea of using telegram which you already described in the advantages. I really hope you can make a tutorial video for this kind of application as I am new to this iOT devices. Thanks
@fixitfaster3 жыл бұрын
Great Great article. Thanks a lot for sharing you your knowledge and time here. I'm playing with your project and adapting it for remotely controlling different things. I'd like to nbe able o manipulate the format of the Telegram keyboard buttons, but I suppose that's out of reach.
@amirulafiq73364 жыл бұрын
tq Sir finally i got my solution in making telegram bot
@woolfy02 Жыл бұрын
Do you know of any other app like telegram that can use bots like it? I can't find anything. Great video!
@SebaTotem5553 жыл бұрын
Gracias! funciona perfecto.
@turutzi4 жыл бұрын
Hey Nice Video found a littel mistake in your skecht. Your "pinMode" and the "digitalWrite" in the setup funktion got the pinnumber fixed. You put the 2 in there not the defined LED_PIN. sorry for the bad englisch but nice Video
@TheArabianHunter4 жыл бұрын
thank you very much really appreciate your work
@Magic-Smoke5 жыл бұрын
Most excellent! Thank you
@alejandroveleiva6643 жыл бұрын
Hola Brian te felicito por el canal y por la explicación tengo una duda cuando le agregas la ID debes declararla por lo intente hacerlo como mencionaste en el vídeo pero me salta error saludos y gracias
@mr37484 жыл бұрын
Good day Brian, this video of yours helped me a lot, I have a question about the long polling... So I currently have 2 esp8266s controlling 2 waterpumps, however I did not use long polling as it is important for me to keep the rest of the loop() running. This causes heavy network traffic (which I think triggers the wdt sometimes) AND high data usage. Long polling helps to reduce this. So in my loop() I am calling the bot.getupdates() every 90s. In my head this should reduce the network traffic. This sort of worked fine and my esp ran 7 days in a row until my win10 laptop did an update on the same wifi resulting in a wdt reset... Question: If I add a bot.longpoll =10, would this further increase the stability of the esp when the wifi traffic gets heavy? I can afford 10s but not more than that.
@BrianLough4 жыл бұрын
adding 10s long poll won't really help if you are only checking telegram every 90 seconds anyways, the only difference is it would wait 10 seconds for a message to come in, but in the overall scheme of things it wouldn't help significantly
@jaxxrr2 жыл бұрын
in the video you say arduinojson 6 is not supported but when I try to use 5 I get only errors
@mr37484 жыл бұрын
Good day, thanks for the video, Ive learned a few things like creating buttons in the chat, which is much more convenient than typing the whole time... So I have a question, so I understand that the getUpdates function returns the earliest UNCONFIRMED messages, which means if you were able to send i.e. 140 messages before the program checks for new messages, then the ESP program will only recieve the newest 100 messages correct? The oldest 40 messages will be ignored. So as long as my ESP program read the messages as quickly as possible after being sent, then I should have anything to worry about messages being ignored? I hope this make sense
@ailtonmk112 жыл бұрын
congratulations to you... because your code or others in telegram stopped working... I had tested it about 2 years ago and it worked very well... I've done everything I changed the libraries, the management of esp826 cards and nothing... Will it be agluma thing with telegram??
@mr37484 жыл бұрын
I forgot to ask. .. With longpolling... Is the longpolling always executing after each cycle of the loop() OR everytime when bot.getupdates is called? So that when the esp calls bot.getupdates, then I'll will wait for X amount of seconds for new messages before continuing with the rest of the code? I am sorry if this is an easy concept that I am getting wrong, but I can't seem to find any thing that explains clearly. Thanks for your help in advance Manie
@BrianLough4 жыл бұрын
Hello, It will wait for up to the given time when you call get updates. But if it finds a new message it will return early. It won't do anything but wait during this time Hope this helps.
@mr37484 жыл бұрын
@@BrianLough Ah okay I see, thanks a lot for your help👍👌
@kalash007kalash0073 жыл бұрын
Brian hi! I encountered a bug in the library UniversalTelegramBot. h. When sending a large message in Cyrillic to the bot. ESP32 stops receiving messages. There is a buffer overflow. ESP32 cannot accept the message and therefore all other messages are queued and the bot is rendered unavailable. Tell me what to fix in the library ?A message like this "ррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппрррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппрррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппрррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппрррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппрррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррапвапаапвапппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппппррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррррроодддддд".
@kalash007kalash0073 жыл бұрын
incoming message length 15989 Creating DynamicJsonBuffer Failed to parse update, the message could be too big for the buffer. Error code: IncompleteInput
@dheeban1005 жыл бұрын
Is it necessary to flash the esp8266 board with some firmware before i use arduino sketches?
@ashwinc444 жыл бұрын
hii i need your help in using your universal telegram bot can you help me out please i'm trying to use mosquitto mqtt client and telegram client in node mcu 1.0(2sp8266) the mosquitto client is working but the universal telegram client is not can you help me out please.......?
@guillermogalvanalvarez64675 жыл бұрын
Hi, nice project! Thanks you! I have a problem, my esp module conect to the WiFi, but It doenst received the Telegram Signal, i dont know what happend. The boot token IS correct. Thanks you my Friend
@esp3jaku8904 жыл бұрын
Hello Brian, i am sorry to hessitate you; but after installation of the lib. i always get the massage " Error in ArduinoJson.h" could not compile... also after new install of the IDE ! C:\Arduino_SkB\libraries\Universal-Arduino-Telegram-Bot-master\src/UniversalTelegramBot.h:26:25: fatal error: ArduinoJson.h: No such file or directory
@pradyumnasnadig27834 жыл бұрын
go to library directory delete arduino json and reinstall the lib fron lib manager
@ifyouwantpeaceprepareforwa43293 жыл бұрын
I Can't Find Button, How To Add The ON / OFF Button In Telegram?
@guguslangit22304 жыл бұрын
Its possible with local host? Without Internet connection
@yudistra54554 жыл бұрын
Can using/get notif milti client. No only one account telegram. I want multi account/client telegram Can?
@andrewkieran89425 жыл бұрын
1. "B. Lock" made me laugh. 2. I like Blynk, which seems easier to work with than the Telegram setup you've shown here. It's also nice to be able to create great looking phone/tablet apps with minimal effort. One downside it that it doesn't offer web access from a PC. 3. You're a skilled programmer so perhaps that makes the Telegram approach easier for you than for those of us who struggle to code.
@BrianLough5 жыл бұрын
1) I was wondering would anyone notice that :) 2 & 3) I haven't actually used Blynk, I'm just eating my own dog food by using my own library! Yeah it could be a bit more complicated, but hopefully the sketch above can be a base for people to use, hopefully they wont have to change much (just what happens when things match)
@gnevzmaja5 жыл бұрын
As nice as project made with Blynk might look, Blynk is not as free as telegram is. They tend to make users pay for using their infrastructure, exact thing telegram is offering for free via their bot api Very nice tutorial Brian!
@andymouse5 жыл бұрын
Hi Brian, Does anybody use the Arduino Yun? I dont see many vids about it and its still quite expensive. I have a Yun, it was given to me about 5 maybe 6 years ago and it, along with Julian Illet's excellent intro (check his channel if you have one) got me interested with the whole Arduino thang. So who plays with them now and what do they do with them?
@BrianLough5 жыл бұрын
I've never used one sorry
@jurglienhard59133 жыл бұрын
Hello Brian Thanks again for the great tutorial. It supports my project a lot. Your work is excellent and absolutely professional. Unfortunately, I have a problem with handleNewMessages () for which I have not yet found a solution. The subroutine needs a disproportionately large amount of heap when it is called and leads to too many heap fractions for a short time. This cause often leads to restarts. Is there an explanation on your part for these heap occurrences? I would be very grateful for a suggested solution. If desired, I can also send program excerpts and log files. Many thanks and best regards from Switzerland Jürg Lienhard
@BrianLough3 жыл бұрын
Hello, Get updates will always use a lot of heap because making a https call uses a lot of heap. As for fragmentation of heap, that could be more my fault and my approach for writing the library. I made a proof of concept library that should/could be more heap efficient in terms of fragmentation but it's not as feature complete or battle hardened github.com/witnessmenow/pinocchio-arduino-telegram-library
@jurglienhard59133 жыл бұрын
Hello Brian Please excuse my delay in responding. After extensive analysis, I finally decided on your excellent library "UniversalTelegramBot". With the help of the F macro and the C program "tcpCleanup ()", I was able to reduce the variable area during compilation to 41,000. When the telegram-bot is called, approx. 9000 bytes are still available in my procect. In my project safe operation is guaranteed with this heap volume. I think, it is critical for restarts only below values of 5000. Thanks again and many greetings from Juerg Lienhard from Switzerland. Stay healthy! Examples: uint32_t ram = ESP.getFreeHeap(); Serial.printf("RAM: %d change %d ", ram, (ram - originalram )); if(HEAPCHECKER) { // losing bytes work around tcpCleanup(); Serial.print(F("tcpCleanup")); // Using F Macro as often as you can }
@matthiasBdot5 жыл бұрын
Great video!
@RichardT21125 жыл бұрын
I wonder if I can control my kids with this .... doubtful ;)
@michaelbaur5954 Жыл бұрын
Super explained as always :-) This works great when I run it on my home router. However, if I want to use a hotspot with my smartphone or try it via a portable router, suddenly nothing works. The cause may be the WiFiClientSecure.h library. Is there a solution?