DoMoAct is a system to can switch a GPIO's high/low based on comparing the requested switch time against the current time. The current time is taken from the time. Time is initialized from an NTP server at start-up and every night after.The switch time can be set as a hard / fixed time or based on the daily sunset / sunrise time on your location. it handles daylightsaving automatically if parameters are set correctly
You can also add sensors to switch a GPIO. One could measure the temperature and if too high, switch on a blower, or measure the waterlevel and switch a pump if level is too high or too low. As an example there is a temperature sensor DS1820.
DoMoAct has a serial-menu which is the primary source for configuration and a WEB-menu that is mend for the user. Next to configuration there are a number of parameters that can be set for customization before compile. E.g. It allows for more ports, groups and sensors, you can set username and password protection for access to DoMoAct, use an LCD to show status and switch information, store sensor specific information in the SPIFFS. etc.
It contains a buffer of the last 50 switches actions (this can be extended) that can recalled with the serial-menu. The Web-interface can be set to different background themes.
Detailed information and how to get started is in the included DoMoAct-manual.odt in extras-folder
The processor board is an ESP32 Micromodand ATP MicroMod carrier board from Sparkfun. A board with relays can be connected to the GPIO's. There are many relays boards around.
See the hardware section in the DoMoAct-manual.odt for more important information.
For this ESP32-HTTP I have used the standard HTTP server from ESP32.
Check the extras folder for the manual
- V1.1 / January 2024 initial version
Distributed as-is; no warranty is given.