- A foosball counter developed using mycropython, IR sensors and nodemmcu V3 CH340
- Angular 8 for the scoreboard
- Mosquitto MQTT server
- 5 x push buttons ( 2 x Manual increase / 2 x Manual decrease / 1 x Reset)
- Wires to make the connection based on the pinout configured in the boot.py
- boot.py - Boot configurations (Pinout, Wifi information, MQTT Serve configuration)
- button.py - Increase/Decrease/ Reset button configurations
- connection.py - Connection/ Subscribe/Publish management
- counter.py - Counter class object used for managing information for each team.
- main.py - Main file
- message.py - Check message status to send to MQTT Server
- sensor.py - IR Sensor management
- umqttsimple.py - MQTT library used to make easier the communication with the MQTT server - https://github.com/RuiSantosdotme/ESP-MicroPython/blob/master/code/MQTT/umqttsimple.py
- Dockerfile - Build the Angular application to show the game score.
- docker-compose.yml - Setup two containers (Mosquitto MQTT Server and the Angular application)
- mosquitto.conf - Configuration file allowing websocket (because of the Angular application) and MQTT protocol.