-
Apps added
01/11/2022 at 17:49 • 0 commentsSeveral apps added for Bare NodeMCU IoT Generic Switch as the implementation of the following requirements:
- Internet router rebooter. Sometimes routers stop working for an unknown reason. Even those network devices that are considered reliable may fail a couple of times a year. Mankind has developed the ultimate solution for it: power off/on cycle. Therefore, the requirement for the device is to resemble what human does: to check availability of www.google.com through router's wifi, and restart the router (by turning it off and on) when the Internet disappears.
- UVC lamp timer. Ultraviolet-C can kill Covid-19 (among other life forms), but it is not safe to turn on the lamp (you have to wear a special goggles which is sometimes inconvenient). So, the requirement is to turn on the lamp either remotely, or with a button (after some delay), and turn it off automatically after 20 minutes of exposure. The device must also work reliably without internet/intranet (operatable by a button).
- Scheduler. Turn on/off holiday lights on schedule (when it is dark, but no one is sleeping yet), or turn on the storage water heater at night (when electricity is cheaper because everyone is asleep and not using it).
These apps have been in use for about a year, so they can be considered relatively reliable. Here are some details.
-
Arduino virtualized on NodeMCU ;-)
04/13/2021 at 18:04 • 0 commentsActually, Arduino GenericPin (the backend controller module) was implemented on NodeMCU lua.
Thanks to Sonoff, there are now many ESP modules, which I prefer to use with NodeMCU. I flash them with Flash Stepler and upload the Bare ESP8266 NodeMCU IoT Generic Switch software to them.
-
ESP8266 NodeMCU IoT Generic Switch 2.0.0
04/04/2021 at 22:18 • 0 comments- The IoT Generic Switch 1.0.0 was created on NodeMCU 0.9.6. The current version of NodeMCU is 3.0.0, where some old API methods were removed, and some new API appeared instead of deprecated ones. So, I've updated the project to be agnostic to NodeMCU versions.
- Web UI is now responsive. That helps working on small screens.
- Web UI slider now more usable when using from touch screens.
- The HTTP methods that may change the server state (ESP8266+arduino) are now POST only.
- As expected, the changes above affected the size of the project. Now it is about half Kb smaller.
You can download it here: https://github.com/dev-lab/esp-iot-generic-switch