Good day every body,
To increase the energy autonomy (use of batteries), i want to use a external button (on GPIO) to enable the wifi and automatically disable after
30 min
.
I search the way to disable and enable the wifi by commands lines.
The wifi must be done when the system start and shutdown after.
I prefer to avoid rebooting when the wifi turn on or turn off.
Context of my making :
With motionEyeOs, I built a standalone camera trap to study wilds birds at nest.
It use Wifi Access Point and Real Time Clock for date/time because it's in an isolated situation.
There is a success. And now, i try to decrease the consumption of energy.
That is wath, stop the wifi when I don't use it, could be a way.
I wrotte a script for the button and the pilot led on GPIO. That's fine.
Do you think it's possible ?
Is somebody know the way ?
Thank you so much in advance,
Carl