Closed bristolmotorclub closed 2 years ago
slight change of plan, I've added getters to each stage as well at the existing /currentState endpoint that gives all states
suggest the Pi call GET /stage and checks for an array of length 1 in the response body see commit
Also if you use a socket-io python client you can do a re-fetch on 'stateUpdate' which is emitted everytime a driver changes state see commit
Pi needs to query timing service to return when a car is staged. Indicator for driver when car is staged and ready to go - LED or OLED with text.
Michael is adding an endpoint. Will return 2xx when a car is staged and 4xx otherwise.