Hi.
I have a socket with monitoring of the kind: https://www.elektroda.com/rtvforum/topic4040624.html (BL0937 monitoring chip)
In the previous original firmware, by default setting was to automatically turn off the socket if the load is a few watts (i.e. inactive) for about a 40 minutes
I would like to have the same feature on this alternative firmware, as I understand it is necessary to write a script in the autoexec.bat file and add it to the firmware.
Can you help me to understand?
For ex.:
1. How to read the value of the BL0937 sensor in autoexec.bat?
2. How to work with if-else statements in autoexec.bat?
3. How to work with loops in autoexec.bat?
4. Where to get a timer variable (for 40 min.) in autoexec.bat?
Thanks.