i need a code for ESP-01 first boots as AP and on connecting to a wifi network it changes to AP client mode
there will be a web server with few buttons(predefined commands)
it will have a MQTT client
it will get commands over a mqtt subscribe or via web page and run that on the serial post then send the result over MQTT/ Web response.
i have a working MQTT and web server code alrady but dont have time to modify that so need this one built
make the code easily upgradable as this will be an ongoing project.
person who can do this will be hired on hourly terms latter for next steps of development (mostly ESP and arduino)