I have a project where I turn the WiFi on and off by switching the state of the digital input.
I would like to know if the custom scripts can run all the time checking if WiFi is active or not to activate the digital output. It would be something as easy as this:
- If WiFi is activated, activate the digital output.
- If WiFi is disabled, disable digital output.