Oh yeah. I have thoughts on extending the functionality of this controller. For example, add another temperature and humidity sensor. I want to realize the automatic control of the kitchen hood, but I still do not know how to implement the algorithm for this. A matter of time … And I want to add a manual mode (from the application) to control the brightness of the lighting.
In addition, as I said in the first message, I implemented and have already tested the firmware update of the controller over Wi-Fi (OTA). However, I will discuss this in more detail later. This, so to speak, the first step to extend the functionality of the controller
No. I realized automatic control of work area lighting. Automatic brightness control depending on the room lighting (two modes of operation: day and night) and the presence of movement. In other words, the motion sensor is the first stage in the control algorithm, then the data on the current level of illumination and its change are used. Further, the motion sensor response signals are used to switch the operation modes.
I tried to comment on the sketch in detail.