Closed DDorch closed 6 years ago
We should need a stack to manage the concurrent communications with the TES card due to multithreading.
The gate will be controlled by a opening sensor. The order received from the client will be thé gate opening and the server will have to manage the TOR output, the opening sensor and the calibration of the sensor.
Since the TES card has been replaced by an Arduino, this ticket is no longer relevant.
The idea is to switch on and off TOR output pins during a specified time.
We will need thread to be able to control the time a TOR is on. See : https://pymotw.com/2/SocketServer/