ESP32 WLAN ON OFF via Timeplan

Hey there I’m looking for a solution to switch WLAN OFF and ON again, within a defined timeframe. For this I created 2 Preset which runs the command for ON and OFF.

{"wifi":true} //WIFI ON
{"wifi":false} //WIFI OFF

These commands are triggered by “Time controlled presets“ but nothing happens.

Any suggestions here to get this running?

there have been attempts at this, so far none succeeded as switching off wifi causes a lot of issues in the code.

Hm, can not understand this but okay. Than Ill power off the power supply as workarround, which isn’t very elegant.

May someone else has any idea.

You will need a build from my fork, where this is implemented (with slightly different API).

Ok, could you help me to find it. @blazoncek

I did not know you finally got it working

Any link and a small hint to deactivate the WLAN is appreciated…