This commit is contained in:
Frangež, Miha 2024-10-31 13:30:36 +01:00
parent 5bb47c9578
commit c1946a1c3d
4 changed files with 158 additions and 0 deletions

34
docs/MQTT_struktura.md Normal file
View file

@ -0,0 +1,34 @@
- `{room}/` - One for each room (e.g. `p01`, `p22`...)
- `/projectors/{name}/` - One for each projector (e.g. `main`, `side`...)
- `/status/`
- `power` - 0/1
- `shutter` - 0/1
- `freeze` - 0/1
- `input` - str
- `/set/`
- `power` - 0/1
- `shutter` - 0/1
- `freeze` - 0/1
- `input` - str
- `/platno/`
- `/status` - `UNKNOWN`, `MOVING`, `UP`, `DOWN`
- `/move` - `UP`, `DOWN` or `STOP`
- `/goto` - `UP` or `DOWN`
- `/lift/`
- `up` - 0/1
- `down` - 0/1
- `service_up` - 0/1
- `service_down` - 0/1
- `/power/` - Controls power for different parts of the installation
- `/master/` - Master power for most hardware in the rack
- `status` - current power status (`0` or `1`)
- `set` - set the power status (`0` or `1`)
- `/audio` - Audio system
- `status` - current power status (`0` or `1`)
- `set` - set the power status (`0` or `1`)
- `/projectors` - Projectors and lifts
- `status` - current power status (`0` or `1`)
- `set` - set the power status (`0` or `1`)