As the title says... Chat on...

User avatar
By Warthog
#68745 Hello,
I am using an ESP-12 to get data from a wind sensor and send the data every minute to a php script on a hosted mysql database (http get method).

Now I also want to generate the up/down signals for my sun blind in the ESP-12 and need also the possibility to display a webpage on my handheld device to select up/down/stop for the sun blind.
Can this all be done with LUA and ESP-12?

The motor steering of the sun blind is down by a separate microcontroller, communication with ESP-12 is done by serial interface (ESP sends up/down/off commands to microcontroller).

The ESP-12 must
- display a webpage
- accept press buttons from webpage and generate commands for microcontroller (up/down/off) via serial interface
- gather winddata (every second the reed relais rounds)
- send winddata to the mySQL database every minute
- calculate wind data and send down command to microcontroller
- addon: include a light sensor for additional sun blind steering

What do you think?