ESP8266 IoT Control and Monitor Using Arduino, MQTT, and Cayenne

  Рет қаралды 86,240

datasith

datasith

Күн бұрын

Пікірлер: 246
@spacefolder
@spacefolder 7 жыл бұрын
Really liked this one Cisco! How you explained everything separately, and then joined all the stuff into something really usefull and easy to understand. Good job!
@datasith
@datasith 7 жыл бұрын
Thanks so much for the kind words, we always to make the content as easy to follow as possible; we're glad the results are positive :)
@med6402
@med6402 5 жыл бұрын
this video is definitely a piece of art ,just what i've been looking for
@datasith
@datasith 5 жыл бұрын
Thanks so much for the kind comment. I'm glad you found it useful!
@hamadasalah7369
@hamadasalah7369 7 жыл бұрын
I tried it and it works properly. Many thanks.
@datasith
@datasith 7 жыл бұрын
No worries, glad to hear you found it useful!
@anindpal
@anindpal 7 жыл бұрын
I become a fan of these ACROBOTIC videos. Watched all of them, a fantastic learning. So nicely presented by Cisco. You have done a great job, specially I was looking for an easy tutorial with esp8266 and MQTT. This one is the perfect, I am going to try this on my home devices......Thank you so much
@datasith
@datasith 7 жыл бұрын
Thank you kindly for the nice words, we're glad you're finding the information useful!
@thomascziesla3768
@thomascziesla3768 7 жыл бұрын
once again - very well explained video. Impressive! Exactly what I needed.
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Thomas! We're glad that you're able to put this content into an application!
@rishabhlavhale3096
@rishabhlavhale3096 7 жыл бұрын
Awesome Video.... I'm finding for this .....Thanks ACROBOTIC.....
@datasith
@datasith 7 жыл бұрын
Thanks for watching! :)
@bulduper
@bulduper 7 жыл бұрын
You create a channel I have been looking for. Bought 2 ESPs but wasn't sure how to make it useful. There wasn't actually any good and clear tutorial like this.
@datasith
@datasith 7 жыл бұрын
:blush: thanks for the kind words, we're glad you got'em up and running. We're happy that you found the content useful!
@mouizimran1032
@mouizimran1032 7 жыл бұрын
Thanks for the contribution. Great video everything was clear to understand best video in cayenne category.
@datasith
@datasith 7 жыл бұрын
Thanks SO MUCH for the kind words, we're glad you found it useful!
@ludwigvallee127
@ludwigvallee127 7 жыл бұрын
It makes me happy to learn from your videos. Everything works fine ! I`m waiting for your next videos.
@datasith
@datasith 7 жыл бұрын
We're happy that the content was useful! Thank you for your kind words, we'll keep making more videos :)
@8822464613
@8822464613 6 жыл бұрын
Awesome channel. I'm learning a lot from you. Clear, complete explanations. Congratulations!
@datasith
@datasith 6 жыл бұрын
No worries, glad you liked it! Thanks so much for watching!
@ricardocalcina2398
@ricardocalcina2398 5 жыл бұрын
Such a good video, little advice that might help... Using a Wemos D1 mini board, you can directly upload to the board and then be able to control the controller from within the app. However, code still has to be written and uploaded to the board to outline what the pins do ect. The advice is: the code uses the GPIO pins. So in the video where he uses pin 2, on a wemos D1 this is pin D4, GPIO 0 is pin D3, and so on. Otherwise, wants you connect to your wifi all the buttons can be done through Cayenne.
@datasith
@datasith 5 жыл бұрын
Awesome info, thanks for sharing!
@neilvermeulen5283
@neilvermeulen5283 6 жыл бұрын
Thank you Cisco. I learn a lot from you sir. Well done.
@datasith
@datasith 6 жыл бұрын
Thanks for watching my vids, Neil. I really appreciate it, and it makes me happy you found them useful!
@paul634896
@paul634896 7 жыл бұрын
Great video. Material well presented, understandable and really helpful. I subscribed. Great work.
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Paul! We're glad you found the material useful!
@rumitshah7136
@rumitshah7136 4 жыл бұрын
This was a very great tutorial. Keet it up man!!!!
@PiBOTSMakerHub
@PiBOTSMakerHub 4 жыл бұрын
Really helpful. never seen a video which describes this much...
@datasith
@datasith 4 жыл бұрын
Thanks for the kind words, I'm glad it helped!
@zingo1010
@zingo1010 7 жыл бұрын
Excellent presentation. Thank you for demystifying this stuff.
@datasith
@datasith 7 жыл бұрын
Thank you so much for the kind comments, we're glad you found the information useful!
@akthamahmed2171
@akthamahmed2171 6 жыл бұрын
Awsome tuturials. Thanks man 👍
@datasith
@datasith 5 жыл бұрын
Thanks so much, I'm glad you like them!
@shubhamsharma4960
@shubhamsharma4960 7 жыл бұрын
Thanks man...........it helped me a lot....keep it up
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words! We will!
@akibzart1273
@akibzart1273 3 жыл бұрын
really great work ...keep it up! :)
@ludvigsp
@ludvigsp 7 жыл бұрын
Uhuuuu GREATTTT, thumbs up from Brazil
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, we're glad you liked it!
@jcdock
@jcdock 4 жыл бұрын
Great tutorial, looks like a great service
@datasith
@datasith 4 жыл бұрын
Thanks so much, I'm glad you found it useful. You can also roll out your own service: kzbin.info/www/bejne/oqXIeISojpqMq5Y
@sanjeevkumarMaurya-sz8qg
@sanjeevkumarMaurya-sz8qg 7 жыл бұрын
i love ACROBATIC very simple, very easy. Very helpfull video
@datasith
@datasith 7 жыл бұрын
We love our awesome viewers, thanks for the kind words!
@HaiTHaMKoBeIssI
@HaiTHaMKoBeIssI 7 жыл бұрын
super clear and very easy and simple to understand, thank you.....
@datasith
@datasith 7 жыл бұрын
We're glad you found it useful!
@quaternion-pi
@quaternion-pi 7 жыл бұрын
Excellent explanations as usual - clear and concise. I hope you will consider projects with ESP32. Thanks for sharing your knowledge.
@datasith
@datasith 7 жыл бұрын
Thanks boss! We have the hardware for the ESP32 already, and we are carving up the time to dedicate a series to it!
@razserv2010
@razserv2010 2 жыл бұрын
thanks for this guide, is it possible to add MQTT?
@joydeepbhattacharjee5305
@joydeepbhattacharjee5305 4 жыл бұрын
smoothest tutorial in the internet
@mrrcomp
@mrrcomp 6 жыл бұрын
Excellent Explanation .. Thanks it helped me alot
@datasith
@datasith 6 жыл бұрын
Awesome! We're glad you were able to work through the issues that came up :)
@mrrcomp
@mrrcomp 6 жыл бұрын
Hi Can you just point me in the direction to switch a different Digital Pin. (D7) for example... I tried changed the "2" in all locations in the current sketch to a "7" but still doesn't work Suggestions? Meir
@datasith
@datasith 6 жыл бұрын
You can write "D7" directly. When you use "7", due to the way the libraries are written, it means pin "GPIO7". See the pinout here: github.com/acrobotic/Ai_Docs/blob/master/pinouts/esp8266_devkit/esp8266_devkit-01.png
@mrrcomp
@mrrcomp 6 жыл бұрын
Thanks for your swift responses. I tried to change to 7 but Don't get any response .As i mentioned I changed all the "2" to "7". Another question what If I want 2 different Buttons each for a different Pin? Regards Meir
@datasith
@datasith 6 жыл бұрын
Use D7 not 7, D as in David and the number 7. For 2 different buttons you can use the same code with a different pin.
@rgtech3893
@rgtech3893 6 жыл бұрын
very clear... thanks bro...
@datasith
@datasith 6 жыл бұрын
No worries, glad you found it useful!
@ChrisZang
@ChrisZang 4 жыл бұрын
Fantastic video and great instructions. I totally like the idea what Cayenne is trying to do. But it seems that at the moment it’s still too buggy/unstabile that I would not trust my home automation projects with it. I hope the guys at Cayenne can work out all the kinks.
@datasith
@datasith 4 жыл бұрын
Yeh, unfortunately I don't think they're taking this initiative further (for now at least). I have a project that shows you the basics of doing a DIY version, without the niceties of a dashboard, and such: kzbin.info/www/bejne/oqXIeISojpqMq5Y HTH!
@eng.aljobury5087
@eng.aljobury5087 7 жыл бұрын
Great information thank you so much
@datasith
@datasith 7 жыл бұрын
Glad you found it useful!
@hatemelborai
@hatemelborai 6 жыл бұрын
Thank you very much for this video
@datasith
@datasith 6 жыл бұрын
You are very welcome!
@yarogniew
@yarogniew 7 жыл бұрын
Great, thank you! Keep going.
@datasith
@datasith 7 жыл бұрын
Thank you, we will!
@shivamchandel3922
@shivamchandel3922 3 жыл бұрын
is cayenne a mqtt broker
@clamara76
@clamara76 7 жыл бұрын
Fantastic !!!! Thank You
@datasith
@datasith 7 жыл бұрын
Thanks SO MUCH for the kind words, we're glad you found it useful!
@alessandroluz3389
@alessandroluz3389 6 жыл бұрын
Congratulations!
@datasith
@datasith 6 жыл бұрын
Thanks!
@qazxali
@qazxali 6 жыл бұрын
Thank you so much !!
@datasith
@datasith 6 жыл бұрын
You're very welcome!
@sreeprakashneelakantan5051
@sreeprakashneelakantan5051 7 жыл бұрын
Excellent 🙏
@datasith
@datasith 7 жыл бұрын
Thank you!!!
@DimiEG
@DimiEG 5 жыл бұрын
Thank you for useful and interesting videos.
@datasith
@datasith 5 жыл бұрын
Thanks for watching them, and for taking the time to write a comment!
@DimiEG
@DimiEG 5 жыл бұрын
Hope for more videos regarding ESP8266 Wemos (Lolin) D1 mini. Maybe PlatformIO? You’re very strong in javascript. How to use shields for this board?
@datasith
@datasith 5 жыл бұрын
@@DimiEG sunds good, I love the D1 mini and will try to make a lot more videos. Definitely PlatformIO is on my list. The shields are plug and play. You only need to find the correct libraries to work with them.
@DimiEG
@DimiEG 5 жыл бұрын
You give very nice tip and tricks. I did't know how create own WEB server on this board and how to change the WiFi mode to connect directly to this board. Thank you so much. MQTT is very useful also. As I know there is possibility start up own MQTT server for it. As for myself I use PlatformIO and vim as text editor. Not strong in JavaScript as you. Also micro-python theme may be interesting. Will wait for future tutorials. 😀
@DimiEG
@DimiEG 5 жыл бұрын
FreeRTOS on esp8266 d1 mini would be extremely interesting theme also. Would be great if you know something about.
@kiranmahapatra8716
@kiranmahapatra8716 6 жыл бұрын
very good video....Thanks
@datasith
@datasith 6 жыл бұрын
Thank you for watching it! I'm glad you found it useful.
@jonathandymock4112
@jonathandymock4112 7 жыл бұрын
Great videos. Easy to follow. What do you find is the easiest way to power the development board when you want to disconnect from the computer? thanks
@datasith
@datasith 7 жыл бұрын
The easiest way is to use a USB battery like those used to recharge phones. Most of them come with a Micro-USB cable that'll fit right into your development board! HTH
@ricardocedaro7316
@ricardocedaro7316 4 жыл бұрын
Excellent! Perfect!!
@maxim25o2
@maxim25o2 2 жыл бұрын
Greate tutorial. I have so much fun playing with MQTT tru wifi connection. This is very important lection, because In near future I have plans to build monitoring system for solar panels. And this is easy to menage. But also I am thinking to try use esp32 as host...
@WahyuHidayat-be6vq
@WahyuHidayat-be6vq 6 жыл бұрын
Thank you for information, I'm form cililin, KBB - indonesia
@datasith
@datasith 6 жыл бұрын
Awesome, a warm welcome from Pasadena, California!
@marshalldog1074
@marshalldog1074 7 жыл бұрын
Awesome thanks
@marshalldog1074
@marshalldog1074 7 жыл бұрын
It help me alot
@datasith
@datasith 7 жыл бұрын
Glad to hear you liked our videos!
@gamemechinereview1173
@gamemechinereview1173 7 жыл бұрын
thanks it is very helpfull!
@datasith
@datasith 7 жыл бұрын
You're welcome!
@username2736
@username2736 6 жыл бұрын
have you ever used cayenne extension for thunkable? (cayenne database) eg on / off relay
@datasith
@datasith 6 жыл бұрын
Not quite yet!
@Solardiysystems
@Solardiysystems 4 жыл бұрын
Great video, really well explained! Do you know if it's possible to recieve incoming Webhooks in Cayenne, and have them trigger actions on my ESP8266? For example turn on the LED when Integromat sends a webhook?
@datasith
@datasith 4 жыл бұрын
Thanks so much! I do not know how to do this in Cayenne (or even if it's possible). Have you checked out IFTTT?
@Solardiysystems
@Solardiysystems 4 жыл бұрын
ACROBOTIC ok thanks for getting back to me :) I have briefly - it looks like Integromat (which I am familiar with). I’m new to all this IoT / home automation stuff, trying to decide whether it’s better to have a local ‘hub’ with a RPi or have everything separately connect to Cayenne / the cloud...
@datasith
@datasith 4 жыл бұрын
@@Solardiysystems awesome! They're not mutually exclusive, meaning, you can start with a local 'hub' and add the cloud functionality for accessibility and backup at a later time. Best of luck!
@Solardiysystems
@Solardiysystems 4 жыл бұрын
@@datasith that makes sense, thanks!
@HoangNguyen-lu5pq
@HoangNguyen-lu5pq 7 жыл бұрын
Nice video. Do you have programming tutorials on ubuntu?
@datasith
@datasith 7 жыл бұрын
Not yet, we wanted to get a few done on Windows as well as Linux (probably Ubuntu). It's on our to-do list, sorry for the delay!
@HoangNguyen-lu5pq
@HoangNguyen-lu5pq 7 жыл бұрын
That's great
@dotrungkien338
@dotrungkien338 7 жыл бұрын
Great things!. Keep gooing :)
@datasith
@datasith 7 жыл бұрын
Thank you! We will :)
@abdulla_Mohsen
@abdulla_Mohsen 6 жыл бұрын
thank you for nice presentation, I have problem, the port com is hidden for my and cant chose the port. how can I solve these problem?
@datasith
@datasith 6 жыл бұрын
Check out our other videos for setting up the USB drivers for the ESP8266 boards, thanks!
@vishalgaurav4411
@vishalgaurav4411 6 жыл бұрын
Can't we directly add a humidity and temperature sensor directly from the option add new ”device / widget " ?
@datasith
@datasith 6 жыл бұрын
Yes.
@krishnawa_
@krishnawa_ 7 жыл бұрын
nice and awesome tuttorial...
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words! We're glad you liked it!
@adensalimm
@adensalimm 6 жыл бұрын
how to control the led with a physical push button too?
@datasith
@datasith 6 жыл бұрын
Add the code (digitalRead) to read the input from the button. Thanks for watching!
@Owensv64
@Owensv64 7 жыл бұрын
Thanks for this entry in an already great library of tutorials. I notice that this cloud connectivity seems to default to a client type connection, such that I cannot run it and a soft AP from the ESP module at the same time. Do you know if there is a mode/method which allows both? I'm thinking of an application in which I enter the WLAN and cloud credentials via an AP connection first, rather than hard coding them.
@datasith
@datasith 7 жыл бұрын
Heya! That's a great question, the default mode is set to "station" as you point out. You can change it to be either an "access point" or a combination of both. Though you can change things with your own code, there's a neat library called WiFi Manager that already does this for you. We have a tutorial vid on our queue for showing how to use it!
@lamaletadefelix8950
@lamaletadefelix8950 5 жыл бұрын
Hi Cisco, i´m a fan of your great work, one question?? With a DHT22 i've been having "nan" values in my monitor for the two variables, hum and temp, any ideas?? i read that it was a problem with the library DHT, you know something about this issue?? Really tks
@datasith
@datasith 5 жыл бұрын
Heya, thanks! Try adding a 4.7k resistor between data and 5V.
@lamaletadefelix8950
@lamaletadefelix8950 5 жыл бұрын
@@datasith Hi i already did just that, but still don't work, its so weird
@datasith
@datasith 5 жыл бұрын
Sorry I didn't follow up, did you get this solved. Feel free to email me at support@acrobotic.com and I'll respond within a few days!
@Zhus118
@Zhus118 7 жыл бұрын
Great video! One question: What if you want to connect to an WPA-Enterprise secured network? it requires a username and password to connect.
@datasith
@datasith 7 жыл бұрын
In this video we also connect to a WPA-* network, follow the same instructions and you shall connect :)
@konotsupade
@konotsupade 6 жыл бұрын
Hey how to connect to google assistant with webhook?
@datasith
@datasith 6 жыл бұрын
google.com
@konotsupade
@konotsupade 6 жыл бұрын
I can't Find it
@datasith
@datasith 6 жыл бұрын
Ok.
@nishiter
@nishiter 7 жыл бұрын
in my port option it shows COM6 and not any option as available in your IDE..why is so?
@datasith
@datasith 7 жыл бұрын
Ports COM3 through COM5 have been assigned to other devices already by your system. The difference in terms of the name COM# comes from using Windows vs. OS X as an operating system. Thanks for watching!
@nishiter
@nishiter 7 жыл бұрын
so thats normal? i can upload thru com5?
@datasith
@datasith 7 жыл бұрын
Yup!
@hussienalhek370
@hussienalhek370 6 жыл бұрын
thanks for your valuable video. i have a problem when my nodemcu powered off then i lost the status of my relays also when i restart my phone. is there any solution to persist the state of my relays? thanks for your interest.
@datasith
@datasith 6 жыл бұрын
Thanks! You can store the information is flash memory (see my video on SPIFFS), and then read it every time the NodeMCU reboots. I assume this is also the case for when your phone restarts. Good luck!
@brunopedro3765
@brunopedro3765 5 жыл бұрын
Hello, I’m using a SBC-ESP8266 with a ESP8266 PROG module. I did everything, but the device does not connect to cayenne. Can you help?
@datasith
@datasith 5 жыл бұрын
Hey, Bruno. The code is not hardware dependent, any ESPx board or device with a Wi-Fi connection will work as long as you query the API properly. Sometimes the Cayenne service is faulty, so if you're sure the code is working properly, give it a little time and try again. HTH!
@istranghero19
@istranghero19 7 жыл бұрын
Hi i have battery bank that i would like to monitor remotely i’m just wondering if i can use this kind of application to monitor the voltage remotely. Please advice thanks
@datasith
@datasith 7 жыл бұрын
Yes you can. Depending on your battery's voltage range you can use the Analog Input of your ESP8266 Board or use an ADC chip in between the battery and the board. You can then choose the Analog Input option from the Cayenne Dashboard to monitor the levels. Hope this helps, thanks for watching!
@federale994
@federale994 7 жыл бұрын
i can't see the "Add new" tab on the left of the dashboard, any suggestion?
@emlincharly
@emlincharly 7 жыл бұрын
Same
@datasith
@datasith 7 жыл бұрын
Hmm, we checked it today and it's working. Maybe try a different browser?
@HoangNguyen-lu5pq
@HoangNguyen-lu5pq 7 жыл бұрын
Thanks for video. But I can't find "Add new devices/widget" like guide video.
@datasith
@datasith 7 жыл бұрын
You can click on "Add new..." on the left-hand navigation bar, and then select "Device/Widget". Try a different Web Browser if the navigation bar isn't showing up. Thanks so much for watching!
@HoangNguyen-lu5pq
@HoangNguyen-lu5pq 7 жыл бұрын
thanks you. I did it
@dennisk.5829
@dennisk.5829 5 жыл бұрын
Hi, just came across ur videos today and I think they will be helpful for my ongoing project. I’m dealing with a detection system using designed antenna where the detector is placed in a BTS station. the data send back to me will need to be plotted as real time graph in a IOT server such as Cayenne and Favariot. The question is the data will be transmitted back to me using RF method rather than Wifi ,could the data collected for days maybe could be stored and I am able to view the plotted graph of previous days??
@datasith
@datasith 5 жыл бұрын
Yes, you can store the data in flash memory so that it's safe in case the device reboots. Then you can have a web server running that serves the plot for the stored data. I have a few videos detailing how to store data in SPIFFS, and how to plot it using Chart.js. Best of luck with the project!
@mohamedalfalasi4428
@mohamedalfalasi4428 7 жыл бұрын
thank you for this amazing video ,, i used DHT 11 sensor and it worked fine but some time it send 0 degree temp and 0 % humidity like it have been disconnected ,, any idea why is this happening ? i used the last code
@datasith
@datasith 7 жыл бұрын
Print out the readings to the Serial Monitor to determine if the sensor is reading correctly. Doing this will let you determine whether it's an error uploading the data or reading it from the sensor. If it's an error reading from the sensor try adding a longer delay (1 to 2 seconds) between readings!
@sindioktaviani7260
@sindioktaviani7260 7 жыл бұрын
"no data available for this period" when trying to make a line graph, even though the sensor data is stored on the same channel number with the channel number that I subscribed to line graph. could you help me?
@datasith
@datasith 7 жыл бұрын
Are you sure the sensor data is available? Print it out to the Serial Monitor to make sure. If everything's okay and you think the problem is on the server end, try running your question by the Cayenne support team, they're great!
@DjHamoun
@DjHamoun 7 жыл бұрын
Hey, I am using the nodeMCU 1.0 - and followed everything you said to the max. Has this procedure been updated? Can you help me!!
@datasith
@datasith 7 жыл бұрын
This procedure still works for us, thanks for watching!
@NGUYENJOHNofficial
@NGUYENJOHNofficial 4 жыл бұрын
i dont connecting it. "D2 was not declared in this scope"
@datasith
@datasith 4 жыл бұрын
Sorry the Arduino IDE changed some things for ESP8266. D2 is GPIO4 on a WeMos D1 mini, try using 4 instead of D2. The number will be different depending on your board!
@albertolopezmagana3072
@albertolopezmagana3072 7 жыл бұрын
Im having problems with the connection, my nodemcu disconnects a few seconds after establishing contact with Cayenne. I've reset it many times. Do you know what is happening?
@datasith
@datasith 7 жыл бұрын
Try adding a delay in your loop function, if you make too many requests in a short period of time it might cause the device to be disconnected. Thanks for watching!
@akhilkrishnan4269
@akhilkrishnan4269 3 жыл бұрын
how to download cayenne MQTT ESP8266 library
@flaviunistor2927
@flaviunistor2927 6 жыл бұрын
Hello, I was able to connect and control my ESP8266 but only from the same network (under some router). If I try from the Android phone using the mobile data I can't reach the device any more. WHat do I have to do to make it work?
@datasith
@datasith 6 жыл бұрын
Follow the instructions of this video. The easiest way is to use a 3rd party app like Cayenne. I'm going to be making a series of videos with other options soon. Stay tuned!
@flaviunistor2927
@flaviunistor2927 6 жыл бұрын
Hi, I already followed the video and used Cayenne. Under the same network all works perfect, but if I switch off my wifi from the phone (to be outside the network) than ESP8266 is not responding to the cayenne buttons. Maybe my router is blocking the communication!?
@datasith
@datasith 6 жыл бұрын
Hmm, that is strange. As long as your phone is able to access the Cayenne page, and the ESP8266 has access to the internet (via your router), then it should work. To track down the problem, using Serial.print() statements to figure out if the ESP8266 is operating correctly. Let me know if you need an example how to do this.
@flaviunistor2927
@flaviunistor2927 6 жыл бұрын
So I was able to find the problem. From a remote PC (using a browser) it worked perfect. The problem is with the mobile Android app. First I was connected at the same wifi and I was able to control the ESP, after which I disabled my wifi, and having the phone connected via 4G did not work any more to control the ESP. This was solved by closing the app and restarted directly while phone was on 4G. The problem is both ways, so if you switch you phone connection you must always restart the app. Thanks for the help.
@datasith
@datasith 6 жыл бұрын
Thanks for the follow up. I haven't used the Android app, but I had heard this from another commenter-sorry it didn't immediately come to mind. I'm glad you got it sorted out!
@vtech8716
@vtech8716 7 жыл бұрын
Thanks, very good. But when I am install Cayenne Android app there is no my device ESP8266-MQTT, realy no synchronization between App and WEB dashboard?
@datasith
@datasith 7 жыл бұрын
Heya! Yup both dashboards should be synced. Double-check you're using the same account credentials!
@vtech8716
@vtech8716 7 жыл бұрын
I used the same account credentials and I think it is problem of Android Cayenne app, application represent mi only ability to add Raspberry Pi or Arduino device.
@qbanguy7
@qbanguy7 7 жыл бұрын
The Android app does not support MQTT devices yet.
@zumocebazc2169
@zumocebazc2169 7 жыл бұрын
By the way, I've used a Wemos D1 card that already comes with the ESP8266
@datasith
@datasith 7 жыл бұрын
Awesome!
@zumocebazc2169
@zumocebazc2169 7 жыл бұрын
Another problem I have found is that from the web cayenne allows me to create and modify triggers, but when trying from the smarphonte gives me the error message "one or more of the devices associated with this trigger is unavailable" Am I doing something wrong or is there any solution?
@datasith
@datasith 7 жыл бұрын
Hmm, strange. Have you run this by the Cayenne support team?
@denissalaev2893
@denissalaev2893 7 жыл бұрын
Hi) It's awesome!) I tried to make remote control for my NodeMcu with Firebase library, and i made frontend panel on angular-firebase, but your way easier and better) Do you have this code on github?
@datasith
@datasith 7 жыл бұрын
Yup, check the link on the description of the video! We're glad you liked it!
@DimiEG
@DimiEG 5 жыл бұрын
How about MicroPython for esp8266? I saw only two videos from you about. I tested and MicroPython is interesting and very fast to develop. Many libraries also exists. Will wait for your nice videos!
@datasith
@datasith 5 жыл бұрын
Yup, it's high on my to-do list to crank out more MicroPython vids. Thanks for the kind comment. Stay tuned!
@abirulezz
@abirulezz 7 жыл бұрын
Could you please make a video on ESP8266 MQTT AWS IOT? Thanks!
@datasith
@datasith 7 жыл бұрын
We shall add it to our queue, thanks for the recommendation!
@mohammedazeez6389
@mohammedazeez6389 6 жыл бұрын
How you can make a 2 or more esp8266-12e communicate with each other through caynne dashboard...using MQTT.
@datasith
@datasith 6 жыл бұрын
I haven't tried this, but it's a great idea for a follow-up video. I'll add it to the queue!
@javiersalazarcastro9188
@javiersalazarcastro9188 5 жыл бұрын
@@datasith great tutorial! Is there a way to not use dashboard to activate output in another device connected? I do not want to use “…CAYENNE_IN()…// get value sent from dashboard”, but I want that depending on the input data of a device an output is triggered on another device, both are in different network. For example, input in one node …pushButton/Emergency Alarm --Cloud-> Cayenne -->Cloud-> Output(in other device) Activate a relay for Alarm horn. Thanks in advance.
@datasith
@datasith 5 жыл бұрын
@@javiersalazarcastro9188 it gets tricky using these type of "packaged solutions" whenever you want to do custom stuff. I have a video for setting up your own Cayenne-like environment, where it's harder to set up, but it's easier to do custom tasks like the one you mention: kzbin.info/www/bejne/oqXIeISojpqMq5Y
@javiersalazarcastro9188
@javiersalazarcastro9188 5 жыл бұрын
@@datasith Thank you. Check your link, it is a good solution for when you can have a PC or your own server always on. But in this case I wanted to use some free server / service in the cloud like Canneye. Thanks anyway.
@fernandocardosoivalefci7488
@fernandocardosoivalefci7488 4 жыл бұрын
where is the complete code
@kumareshj7741
@kumareshj7741 7 жыл бұрын
how to get live location?? using nodemcu and bylnk r other platform
@datasith
@datasith 7 жыл бұрын
This isn't covered yet in our tutorials, we'll add how to do it to our queue. Thanks for watching!
@donvukovic
@donvukovic 5 жыл бұрын
Would you make a video about ESP8266 client to a Raspberry Pi Access Point web server. Thank You
@datasith
@datasith 5 жыл бұрын
I'll add it to the list, Donald. Thanks so much for the suggestion!
@shakirmahmood4319
@shakirmahmood4319 7 жыл бұрын
This is so helpful ... Cleared all my ambiguities ... Thankyou alot :) but i have one issue web page of cayenne does not update on uploading the code kindly help me :)
@datasith
@datasith 7 жыл бұрын
Follow the video step by step and it'll work :)
@seledwin
@seledwin 7 жыл бұрын
Thank you!!!!!!!!! Great Explanation... Is it possible to give a tutorial to connect a webcam or a JPEG camera with ESP8266!. Because I think no one can explain as clear as you explain :)
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Edwin! We'll add this topic to our queue!
@seledwin
@seledwin 7 жыл бұрын
Thanks for adding my request in to your queue..!! My students are very much eager to do a project on their exhibition.. I tried my best to find a solution but unfortunately Its difficult for me.. If I am lucky I may get it earlier.. anyway let me pray... :)
@nelsondarwinpaktech3954
@nelsondarwinpaktech3954 6 жыл бұрын
good buddy
@datasith
@datasith 6 жыл бұрын
Thank you!
@sausage5849
@sausage5849 6 жыл бұрын
TenFour
@safrijulfahreza391
@safrijulfahreza391 7 жыл бұрын
hey, i followed everything you said, but when i compile the program it show error message like this "Error compiling for board NodeMCU 1.0 (ESP-12E Module)." can you help me please
@datasith
@datasith 7 жыл бұрын
Sorry, we can't reproduce the error on our end, make sure you follow the steps closely. Good luck!
@safrijulfahreza391
@safrijulfahreza391 7 жыл бұрын
never mind dude i have already found the problem, awesome video btw
@datasith
@datasith 7 жыл бұрын
Glad to hear!
@kushagraasthana532
@kushagraasthana532 5 жыл бұрын
I think this one has a misleading title. You mentioned Arduino in the title where actually you are using a nodemcu.
@datasith
@datasith 5 жыл бұрын
And what's the name of the software used to program the NodeMCU board? I suggest you become familiar with a subject before correcting people.
@kushagraasthana532
@kushagraasthana532 5 жыл бұрын
@@datasith Well, then you should correct the name from the title to Arduino IDE. Arduino is generally referred to as the microcontroller. The title seems like you are going to use Arduino microcontroller with ESP8266 WiFi module, because that's what I wanted to see. And yes, I am an electronics engineer and pretty much familiar with microcontrollers. So, better not judge. And obviously, no offense meant brother.
@datasith
@datasith 5 жыл бұрын
@@kushagraasthana532 lol, no offense taken. Fyi, you keep making it worse and simply showing your ignorance. "Arduino" is just the name of the company. Any microcontroller or SoC included in their hardware are of a different brand (e.g., ARM, Atmel/Microchip). The development boards that carry those IC are called "UNO", "Mega", etc. You interpreted something different from the title and that's on you. So, as I said before, please try to educate yourself before trying to correct other people on a particular subject. Just some advise that you're welcome to take or not.
@kushagraasthana532
@kushagraasthana532 5 жыл бұрын
@@datasith I said generally referred, not specifically. Anyways, the place where I studied and worked, referred Arduino to the microcontroller and not the IDE. I would say that's my bad. Also, I wanted to ask if it is possible to use esp8266 module with Arduino without using AT commands. Like directly using WiFiClient library as in nodemcu.
@datasith
@datasith 5 жыл бұрын
@@kushagraasthana532 yes it is possible to have your own firmware running on the ESP8266 SoC instead of the AT commands. You'll need to install the USB drivers needed for the specific USB-to-Serial UART chip on whichever board you're using. Then you can use the Arduino IDE to write the code and load it onto the ESP8266.
@juhopeltola3993
@juhopeltola3993 5 жыл бұрын
This is the best, but mine doesn't still work in 4g just wifi. I can't get around that.
@datasith
@datasith 5 жыл бұрын
First do a simple test with the ESP8266 connecting to the mobile hotspot, and make sure that the connection is working properly. It sounds like it isn't!
@farizwijayanto5863
@farizwijayanto5863 7 жыл бұрын
Great channel..., can u help me, to giving another tutorial like controlling relay with making more button in cayenne use nodemcu 12E I will make more switch button on/off on cayenne and use nodemcu for my project Please...
@datasith
@datasith 7 жыл бұрын
Hi, Fariz! Thanks for checking out our video. No worries on the language (it's awesome you know more than 1!). You should be able to follow the same steps on this video to use a button. We are working on other videos at the moment, but we'll definitely add your request to our queue! In the meantime, you can try asking for help in their forums: community.mydevices.com/ Thanks again for watching!
@farizwijayanto5863
@farizwijayanto5863 7 жыл бұрын
Ok i understand, then its work, thank u so much do you have tutorial, how to send data from nodemcu to php web server like xampp ? Did you have an email mr ? I'll do communicate with u and i have more question Ill do learn more
@datasith
@datasith 7 жыл бұрын
Hi! We have a few of tutorials on how to program the ESP8266 as a Web Client. For example, accessing an API (kzbin.info/www/bejne/bqnUmJeOq9Nmr9k). You'll need to adjust it to your specific case, but hopefully you find it useful! We are a small company, at the moment we don't have the time to help our awesome KZbin community, our email service is for providing support to customers who have trouble with our products. Hopefully in the future we will! Best of luck with your projects!
@saadsiddiqui870
@saadsiddiqui870 6 жыл бұрын
Good evening bro. Can you just help me out to send data from arduino serial monitor to cayenne using nodeMCU and arduino uno or arduino mega. Plz rep me asap as i am ambiguous in stated problem. thankyou
@datasith
@datasith 6 жыл бұрын
Why do you need the Serial Monitor? The data that's being sent to it using Seria.print(data) can be sent directly to Cayenne as shown in this video.
@saadsiddiqui870
@saadsiddiqui870 6 жыл бұрын
ACROBOTIC bro i am reading data from energy meter using modbus protocol with the help of rs485 cable. I wonder how could i send data from arduino mega's serial monitor to cayenne using nodemcu. In this video you are transmitting data by using esp only. If you can help me in this matter and vigilant my problem i'll extremely grateful to you 😊
@datasith
@datasith 6 жыл бұрын
Cool project! There are a few ways in which this can be done, but I'll outline the most straight-forward solution that I can think of. You need 2 separate Arduino files, the one you're loading to the Arduino Mega, and another one to load to the ESP8266. You can use 3 different communication methods to send the data collected by the Arduino Mega to the ESP8266: I2C, SPI, Serial UART. I vote for I2C. Currently, your Arduino Mega file contains "Serial.print()" commands that send the data to the Serial Monitor. You need to add "Wire.write()" commands (and everything necessary) to *send* the data over I2C. In the ESP8266 file you need to add everything necessary to *receive* data over I2C. In the ESP8266 file, once you receive the data over I2C, you can connect to the web and send the data to Cayenne using what's shown in this video. Start by looking at examples for communication between two Arduinos using I2C. HTH!
@saadsiddiqui870
@saadsiddiqui870 6 жыл бұрын
ACROBOTIC thankyou so much. I will take fresh start
@zumocebazc2169
@zumocebazc2169 7 жыл бұрын
Thanks for the great explanations I have taken it to the practice and despite the clumsiness that I consider I have managed to even increase the number of led to control. As I have cayenne user from a smarphone sometimes the synchronism with the same user from the web of cayenne fails Regarding the temperature probe (which I have also achieved) would it be possible to do the same but with the DS18B20 probes? I tried it but no positive result Does anyone who dominates the subject could help me or provide the code for this probe and that is compatible with the code of this presentation?
@datasith
@datasith 7 жыл бұрын
Yes it would be possible to do with the DS18B20 probes, good luck!
@pablocornejo2543
@pablocornejo2543 7 жыл бұрын
I'm trying to follow the same steps to connect to cayenne with Arduino UNO and my ESP8266-01, and it give me the following error: #include I can't find that library. Is it ok to follow the same steps to work with Arduino UNO and ESP8266-01 to connect to cayenne? Thanks!!
@datasith
@datasith 7 жыл бұрын
Hey, Pablo. Try following our video for getting started with ESP8266 where we show how to get the libraries. Also, remember that all the code can go directly into the ESP8266, the only reason you'd need an Arduino is to use it as a USB-to-Serial adapter to load the code into your ESP8266-01. Good luck!
@pablocornejo2543
@pablocornejo2543 7 жыл бұрын
I tried to do it directly into the ESP8266-01 but I couldn't, I don't know why. I went to "learn.acrobotic.com/tutorials/..." but I couldn't see the video for getting started with ESP8266. Do you have the link, please? This is getting me disapoint, and I would work with cayenne. Thanks!!
@pablocornejo2543
@pablocornejo2543 7 жыл бұрын
Have you got any video explaining how to connect ESP8266-01 to cayenne? Thanks!
@datasith
@datasith 7 жыл бұрын
We don't have an ESP8266-01 at the moment. A friendly comment is that you need a bit of patience when tinkering with electronics. We fixed an error on our servers and you can now access the tutorials (some images still need fixing): learn.acrobotic.com/tutorials/post/esp8266-getting-started
@pablocornejo2543
@pablocornejo2543 7 жыл бұрын
Hello! I'm here again. I could continue with ESP8266-01, and make some program on it. Now I'm trying to connect to cayenne, but I'm having the next error: In file included from C:\Users\pablo\OneDrive\Documentos\Arduino\libraries\Cayenne-MQTT-ESP-master\src/CayenneMQTTESP8266.h:21:0, from C:\Users\pablo\OneDrive\Documentos\Arduino\libraries\Cayenne-MQTT-ESP-master\examples\ESP8266\ESP8266.ino:6: C:\Users\pablo\OneDrive\Documentos\Arduino\libraries\Cayenne-MQTT-ESP-master\src/ESP8266WiFi.h:28:36: fatal error: include/wl_definitions.h: No such file or directory #include "include/wl_definitions.h" ^ compilation terminated. exit status 1 Error compilando para la tarjeta Generic ESP8266 Module. I can't find the "include/wl_definitions.h" libraries. Can you help me please? Thanks!!
@franscornel6734
@franscornel6734 7 жыл бұрын
Why took so long connect to my board? after upload skecth.
@datasith
@datasith 7 жыл бұрын
¯\ _ (ツ) _ /¯
@hathyogi
@hathyogi 6 жыл бұрын
I made a project with two relays , a dht22 and a mq135 , it is working for three or four times I press the relay button via web-browser on my laptop then buttons not work until I refresh the page , can someone help to overcome it . And also there is no response through cayenne android app . Plese help.
@datasith
@datasith 5 жыл бұрын
Hmm, it seems to be on the Cayenne side of things, in that case it's a little tricky to solve. Have a look at my video where I show you how to build your own (much simpler) version of Cayenne! kzbin.info/www/bejne/oqXIeISojpqMq5Y
@mukhtar_h
@mukhtar_h 6 жыл бұрын
Hi. I want to upload the ECG sensor data (ECG sensor is AD8232) taken through the Arduino board, i want to successfully transmit that ECG sensor data using the ESP8266 wifi module or by using the Bluetooth module. Now, the main issue is that i want to upload the Sensor's data using the ESP8266 or bluetooth, over a server using wifi technique onto a website called 'Thingspeak' or the website which you showed in your video called 'Cayenne'. Can you provide me with a proper code which successfully reads the ECG sensor AD8232 data using Arduino board then, after reading the ECG sensor's data, the ESP8266 wifi module or any bluetooth module successfully transmits that ECG sensor data taken through the Arduino board + AD8232 sensor, onto a website such as 'Thingspeak' or 'Cayenne' over a web server. And, finally display the ECG sensor data in Graphical form in Real Time. Can you also clarify me should i use "ESP8266 wifi module" or "NodeMCU ESP8266 wifi module". What's the main difference between "ESP8266 wifi module" & "NodeMCU ESP8266 wifi module". Also clarify me how a webserver can be created using ESP8266 wifi module or any bluetooth module using Arduino microcontroller to upload ECG sensor's data on a webpage like 'Thingspeak' or 'Cayenne'. I shall be very thankful if you can provide me with proper Wifi code & webserver page code for, uploading the ECG sensor data in real time onto the website & successfully displaying that data in Graphical form.
@mukhtar_h
@mukhtar_h 6 жыл бұрын
Here is information regarding AD8232 ECG sensor .... learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide I really need your reply regarding the ECG sensor data, displaying it in real time, & plotting that data in Graphical form in real time using a web server onto a page like 'Thingspeak' or 'Cayenne'. Thanks !
@datasith
@datasith 6 жыл бұрын
As you can imagine, with over 11000 subscribers on my channel, I can't help everyone with their projects (for free). If you have specific questions, I'll gladly point you in the right direction. If you'd like to hire a developer to write code for you, you can send a business inquiry to support@acrobotic.com. Than you for your understanding.
@eng.aljobury5087
@eng.aljobury5087 7 жыл бұрын
I used DHT11 and it's not work not give me any value
@datasith
@datasith 7 жыл бұрын
Check the DHT11 through the Serial Monitor first.
@HoangNguyen-lu5pq
@HoangNguyen-lu5pq 7 жыл бұрын
you should check DHT11 in terminal of IDE before
@eng.aljobury5087
@eng.aljobury5087 7 жыл бұрын
Hoang Nguyen thank u
@eng.aljobury5087
@eng.aljobury5087 7 жыл бұрын
ACROBOTIC thank u
@dalwindersingh9455
@dalwindersingh9455 7 жыл бұрын
Wonderful This is the way of teaching Can we send email on trigger? I will be thankful
@datasith
@datasith 7 жыл бұрын
Yup you can, go down the options for the "Then" part of the trigger!
@dalwindersingh9455
@dalwindersingh9455 7 жыл бұрын
Thanks
@jmcastro1124
@jmcastro1124 6 жыл бұрын
Great video I would like to ask a question: I need to take information from several analog sensors and I need to use an arduino Mega. How can I send the information of the reading of these sensors to my module ESP8266 (via WIFI), upload them to an IOT server? Could you give me an example? I have tried it in several ways without success. Greetings from Spain.
@datasith
@datasith 6 жыл бұрын
Hey, JM! So I have a suggestion before answering your question. It sounds like you're using the Arduino Mega because you need more analog inputs than the 1 available on the ESP8266. If that's the case, then you can use an expander board like this one amzn.to/2mMvZ8R. You connect it to 2 pins (+ Power/GND) on the ESP8266, and now you have an easy way to read your analog sensors with only one microcontroller board. Now, to answer your original question, you can connect the Mega and the ESP8266 over Serial UART (Tx -> Rx, and Rx -> Tx), and use: Serial.write(data) on the Mega Serial.read() on the ESP8266 To then upload the data to the IoT server. I know this is a very short explanation, so feel free to ask me any additional questions. Best of luck!
@jiandrew6471
@jiandrew6471 7 жыл бұрын
Arduino: 1.6.8 (Windows 8.1), Board: "Arduino/Genuino Uno" In file included from C:\Users\Raymond Raymundo\Desktop\mydevices_mqtt\mydevices_mqtt.ino:1:0: C:\Users\Raymond Raymundo\Documents\Arduino\libraries\Cayenne-MQTT-ESP8266-master\src/CayenneMQTTESP8266.h:21:25: fatal error: ESP8266WiFi.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@datasith
@datasith 7 жыл бұрын
Make sure you choose the correct board. Thanks for watching!
@GhassanYousif
@GhassanYousif 7 жыл бұрын
Nice video how ever, i would like to ask how to add a second digital channel, i have tried to add a second wone like CAYENNE_IN(0) { digitalWrite(2, !getValue.asInt()); } CAYENNE_IN(1) { digitalWrite(D0, !getValue.asInt()); } but it didnt work :(
@datasith
@datasith 7 жыл бұрын
Make sure channel 1 is not being used by another device on Cayenne. Also, make sure the correct channel is selected on the Dashboard :)
@prashantdesai79
@prashantdesai79 7 жыл бұрын
Raja narasimha
@datasith
@datasith 7 жыл бұрын
Yes.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
I put ChatGPT on a Robot and let it explore the world
15:24
Nikodem Bartnik
Рет қаралды 1,3 МЛН
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 646 М.
MQTT Broker/Bridge on the ESP8266
17:28
Martin Ger
Рет қаралды 82 М.
Every Home needs this Upgrade! (Control EVERYTHING)
11:14
GreatScott!
Рет қаралды 685 М.
Internet of Things (IoT) using Cayenne and NodeMCU (ESP8266)
8:52
Appleton Innovations
Рет қаралды 4,3 М.