Hello everyone, currently I have an MySQL Database with some data from a sensor ,
I have a code who send data to mysql db
but I want my other esp to get acess to that values to execute some actions,
Basically I want to get the values from the DB into my micropython variables
how can I do that?
connect mysql to esp32
- OlivierLenoir
- Posts: 126
- Joined: Fri Dec 13, 2019 7:10 pm
- Location: Picardie, FR
Re: connect mysql to esp32
Didi you try using MQTT?
Your first ESP32 publish data. MySQL and your second ESP32 subscribe to data.
Your first ESP32 publish data. MySQL and your second ESP32 subscribe to data.
Olivier Lenoir
https://gitlab.com/olivierlenoir
https://gitlab.com/olivierlenoir
-
- Posts: 7
- Joined: Wed Jul 27, 2022 10:39 am
Re: connect mysql to esp32
i have it on my sql database, can't I just send the value to my php code and then transfer it to micropython with urequests?