You can create a home automation and flutter application with esp32 to control a greenhouse.
@semsuddin
4 ай бұрын
This is really cool. One question though, how does it differentiate in case you have multiple devices around, let's say I integrate it with lightbulbs and they are placed all around the house, how could I use it to set every device? One thing that comes in mind is the distance/signal strenght but if so what in case there is 3 devices at almost the same place (without having to resort to connecting one device at a time)?
@abobija
4 ай бұрын
Hey, thank you for the comment. Interesting question indeed! Smartphone sends credentials to the router's broadcast address (255.255.255.255). The router then broadcasts credentials to all devices that are "near" (security issue? ^[1]). So, all devices (bulbs in this case) that are "near" the router, and can communicate with it, will get the creds. The app in the video is made specially for the scenario of one device, because on the feedback from the device, about a successful connection, the app will stop with provisioning. Instead of stopping the provisioning on the first feedback, we can log the feedback for the multi-device scenario, so the log would look like: The kitchen bulb is connected to WiFi. The coffee machine is connected to WiFi. ... Once when we see that all of the devices are connected we can "Stop provisioning". ^[1] This was indeed a security issue in the first version of esp-touch (unless everything is in a highly protected private network). That is the reason why version 2 of the esp-touch is introduced. In version 2, communication between the app and devices is encrypted with the symmetric key. Version 2 also supports sending additional data besides network credentials.
@sirrcharles1869
Ай бұрын
I've tried your library and it seems to be working! However in my situation: I have 3 devices that need to be provisioned they will all be on the same time waiting to be provisioned. How can i target a specific (our of the 3) device (using mac-adress) using your library?
@receptopaktas9276
4 ай бұрын
Thank you for doing such a nice job. My question is does it work in simulator?
@abobija
4 ай бұрын
Yes, but since simulator is not connected directly to the router it's a bit harder to configure network settings.
@sirrcharles1869
Ай бұрын
Just Fantastic! Stellar Job
@abobija
Ай бұрын
Thanks!
@sirrcharles1869
Ай бұрын
@@abobija Does this also support sending extra information during the provision process such as a Custom Server my device needs to connect to after WiFi provisoning?
@abobija
Ай бұрын
@@sirrcharles1869 Yes. You can use EspTouch V2 (with this same library) that supports sending extra data along with provisioning info.
@sirrcharles1869
Ай бұрын
@@abobija thank you so much going to try your lib today :)
@imanueljeremia535
Ай бұрын
i want to ask, i have a project to make login page wifi inside it there's button to function login automatically but without input ssid and password (backend should make this) with flutter is this can to be done?
@NayeemAhmed-p8k
2 ай бұрын
Thanks a lot for this video. However, I have a question: If I have multiple devices around And want to select one or multiple devices from the list to connect, how is it possible?
@abobija
2 ай бұрын
You can utilize Esp-Touch V2 to send additional data to the devices. Then, the device can check the additional data and determine if it needs to connect to the network.
@NayeemAhmed-p8k
2 ай бұрын
@@abobija Got it. Thank you again
@finalproject-hx5zo
4 ай бұрын
i am sorry this might not relavent to your video sorry but thank for your esp32 video so my question is what if i use esp32 be Beacon for Attendance System => Teacher flutter app need to store MAC Address of ESP32 to database and when student turn on bluetooth and scan the beacon and will check if the MAC Address that scan right now and MAC Address in the mysql database is it the same? if the same so Student flutter app can take an attend class IS THIS POSSIBLE I AM VERY NEW TO DEVELOPMENT BUT I NEED TO DO THIS ON MY PROJECT, I want your recommend if it's not trouble you please thank you
@abobija
4 ай бұрын
Absolutely, this is possible. Your Flutter app can compare the scanned MAC address with the one in your MySQL database for attendance. Start simple to learn the basics of ESP32, Flutter and MySQL integration. Best of luck!
@finalproject-hx5zo
4 ай бұрын
@@abobija Thank you i will try my best thankyou for your kind word ^^
Пікірлер: 20