piACC client

Client

Communications

Communications from the console to the relay is accomplished via python script using the bluez libraries for python.
The concept is simple:
Clicking the web page will fire off the client python methods. It will fire the selected relay channel command and when it is done it will send a stop communications and return the result back to the browser.
The client script is embedded into the flask web server python file with a using statement.
This will be handled the same way that a straight GPIO call is made from the sample script referenced except it will be a quick bluetooth session.
Become a Patron! to view the extended details.