Digital system for kicker tables.
The MQTT broker for development and production.
Simple user password login to the broker.
Operation for a registration of a table with an id
Available only on servers:
Accepts the following message:
A message which contains the information for a table registration.
Information for a table registration.
{
"name": "table1"
}
Action on button press
Available only on servers:
Identifier of a table.
Identifier of a team.
Identifier of a button.
Accepts the following message:
Action triggered by a pin output change.
Defines the status of an analog or digital pin.
{
"pinOut": "HIGH"
}
Action on a detection of the light barrier
Available only on servers:
Identifier of a table.
Identifier of a team.
Identifier of a light barrier.
Accepts the following message:
Action triggered by a pin output change.
Defines the status of an analog or digital pin.
{
"pinOut": "HIGH"
}
Read nfc chip serial number for player registration.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Information from the nfc reader about the chip.
{
"serialNumber": "serialNumberFromChip"
}
Action to update the name of the player who registrated last to the table.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
The new requested name for the last registered player.
{
"newName": "new player name"
}
Information about the game status.
Available only on servers:
Identifier of a table.
Accepts the following message:
All information about a team.
Describes all information about a game.
{
"gameMode": "DEFAULT",
"teamWhite": {
"color": "white",
"score": 4,
"isWinner": false
},
"teamBlack": {
"color": "black",
"score": 10,
"isWinner": true
},
"pointsToWin": 10
}
Information about the team.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
All information about a team.
Describes all information about a team.
{
"color": "white",
"score": 5,
"isWinner": false
}
Information about the team color.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Information about the score of a team.
white
Information about the team score.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Information about the score of a team.
Information about the score status of the winner team. Payload is empty when there is no winner at the moment.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
All information about a team.
Describes all information about a team.
{
"color": "white",
"score": 5,
"isWinner": false
}
Information about the score status. Payload is empty when there is no winner at the moment.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Information about the score of a team.
white
Information about the score status. Payload is empty when there is no winner at the moment.
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Information about the score of a team.
Display update
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Updates the display with the given parameters.
Describes where to put which text on the OLED display
{
"snippets": [
{
"cursorPosition": [
1,
2
],
"text": "WHITE 1 : 2 BLACK",
"inverted": false
},
{
"cursorPosition": [
1,
3
],
"text": "LAST SCORED: TEAM WHITE",
"inverted": true
}
]
}
LED(s) update
Available only on servers:
Identifier of a table.
Identifier of a team.
Accepts the following message:
Updates the LEDs strip.
Describes how many LEDs are turned in which color(s). Also defines the transmission animation.
{
"colors": [
"0x00FF00",
"0x00FFFF"
],
"animation": "GLACE GLIDER"
}
Publishes all the players here.
Available only on servers:
Accepts the following message:
List of all players sorted by elo score.
[
{
"id": 3,
"createdAt": "2024-06-17T22:04:32.000Z",
"updatedAt": "2024-06-17T22:04:51.000Z",
"elo": 69420,
"name": "makoeta",
"hashSerialNumber": "CENSORED"
},
{
"id": 1,
"createdAt": "2024-06-17T19:49:17.000Z",
"updatedAt": "2024-06-17T19:50:28.000Z",
"elo": 3000,
"name": "voma",
"hashSerialNumber": "CENSORED"
},
{
"id": 2,
"createdAt": "2024-06-17T19:49:19.000Z",
"updatedAt": "2024-06-17T19:50:28.000Z",
"elo": 84,
"name": "random atze",
"hashSerialNumber": "CENSORED"
}
]
A message which contains the information for a table registration.
Information for a table registration.
All information about a team.
Describes all information about a game.
All information about a team.
Describes all information about a team.
Information about the score of a team.
Information about the score of a team.
Action triggered by a pin output change.
Defines the status of an analog or digital pin.
Updates the display with the given parameters.
Describes where to put which text on the OLED display
Updates the LEDs strip.
Describes how many LEDs are turned in which color(s). Also defines the transmission animation.
Information from the nfc reader about the chip.
The new requested name for the last registered player.
List of all players sorted by elo score.
Defines the status of an analog or digital pin.
Describes all information about a game.
Describes all information about a team.
Describes where to put which text on the OLED display
Describes how many LEDs are turned in which color(s). Also defines the transmission animation.
Identifier of the entity
Holds the date as string when this entity got created
Holds the date as string when this entity got updated the last time