Yes, please, MQTT, very important for IOT devices!
I just discovered this amazing project, KUDOS, really well done! Especially the debug mode is a piece of art!
I motorized our HVAC flap for upstairs/downstairs forced air with a servo and relais and used for the first prototype (in active duty for over a year now) NodeMCU's LUA, which is rather cumbersome, esp regarding OTA updates. This ESPBasic would be perfect!
Testing it, I whipped up a servo settings min/max tester for my HVAC Wifi Flap project MK II in no time and it works marvelously via Wifi with this ESPBasic.
I would really love to replace the current NodeMCU LUA setup with ESPBasic. Making changes to the current setup, for example, changing the Wifi password, requires reflashing of the ESP, which is cumbersome as it is in a utility box inside the HVAC room and not easy to reach.
ESPBasic solves that problem very elegantly by being 100% OTA.
The only thing missing to be a perfect fit for the MK II project is MQTT. I do need this to send temp and humidity info to my main house server (Raspberry Pi) which can then automatically flip the flap (pun intended) depending on what it measures and in specific scenarios, override the summer/winter settings, which are hard-coded on the server in the crontab. For example on a hotter than usual day, if we overrode the Thermostat schedule and had the AC on early, it needs to set the flap to upstairs earlier as well.
Again, Kudos, very impressed, amazing project! If you could integrate MQTT, perfection