status/

status/

To receive status messages on from the PTLControl, you can connect a websocket to http://<ip address>:5000/status.

Message

Content (Example)

Remarks

Message

Content (Example)

Remarks

Cabinet Status

{ "cabinet": { "planks":1, "sections":1, "name":"A01", "sides":"frontonly", "tagmode":"pick", "demo":"off", "status":[], "orders":0, "tags":[ ["11"], [] ] } }

This message is sent on connect, and whenever anything change on the status of the PTLControl (e.g. a name change, or a missing tag).

Scanner Status

{ "scanner": { "isconnected":false, "identifier":"", "hardwareaddress":null, } }

This message is sent on connect, and whenever anything changes on the status of the connected (bluetooth) scanner.

This websocket was added in 2.5.0.