Front Panel
The front_panel module allows configuration of the display in the front panel.
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
front_panel/config
The front panel configuration.
# $HOST e.g. wem2-AbCd
Read
curl http://$HOST/front_panel/config
{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}
Write
curl http://$HOST/front_panel/config -d '{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/front_panel/config
{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}
Write
With MQTT on $PREFIX/front_panel/config_update
mosquitto_pub -h $BROKER -t $PREFIX/front_panel/config_update -m '{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}'
| Name | Description |
|---|---|
enablebool | Indicates whether the display should be enabled. If the display is disabled, it cannot be reactivated via the button on the front panel. If the display is enabled, it will turn off after 60 minutes to save power, but can be reactivated by pressing the button. |
tilesUnion[6] | Specifies what each tile should display in the order: top left, middle left, bottom left, top right, middle right, bottom right.
|
front_panel/config
The front panel configuration.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/front_panel/config
{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}
Write
curl http://$HOST/front_panel/config -d '{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/front_panel/config
{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}
Write
With MQTT on $PREFIX/front_panel/config_update
mosquitto_pub -h $BROKER -t $PREFIX/front_panel/config_update -m '{"enable":true,"tiles":[[1,0],[4,0],[7,null],[3,1],[3,0],[6,null]]}'
| Name | Description |
|---|---|
enablebool | Indicates whether the display should be enabled. If the display is disabled, it cannot be reactivated via the button on the front panel. If the display is enabled, it will turn off after 60 minutes to save power, but can be reactivated by pressing the button. |
tilesUnion[6] | Specifies what each tile should display in the order: top left, middle left, bottom left, top right, middle right, bottom right.
|