This is the Mongoose OS code for a WeMos D1 mini microcontroller from the Smart Washing Machine project presented on YouTube
Using the mos tool from https://mongoose-os.com/software.html you replace the contents of init.js on the default image.
You also have to enter a valid MQTT server in the device configuration activate MQTT and connect it to some kind of WiFi.
All parameters can be adjusted at the beginning of the code.
Creative Commons Attribution cc-by https://youtube.com/bitlunislab
You can use the code commertially als long you attribute me
- bitluni