Closed venkatyaragalla closed 5 years ago
Comitup is a systemd service, which also uses the NetworkManager service. You could write another that turns them on and off based on the GPIO pin.
Thank you ,Could you please help us where to implement in which file.
Well, the systemd configuration files that define the services are in /lib/systemd/system/ (try 'dpkg --listfiles comitup | grep systemd').
Any new service would need to start, probably before these two, monitor the GPIO, and enable/disable and start/stop those services. You'll need to read up on systemd and GPIO interfaces. It will be a bit of work first time through.
I would like to turn on comitup WI-FI connectivity only when raspberry pi pin 18 is HIGH other wise COMITUP WI-FI connectivity turn off. Is it any possible?