Misc
Screenshot via HTTP Request
If, for example, decisions are made on the shop floor on the basis of a visualization, it is necessary to document the decision basis. This can be done, for example, by taking a screenshot of the visualization.
Technically, a screenshot can be extracted directly from the box via an HTTP get request.
This command looks like this for Peakboard 2 boxes:
The request URL is as follows, where GET is used as the method:
[Box name]:40404/api/screenshot
As shown in the diagram, the authorization is Base64 encoded. You can find a corresponding encoder for example here. The authorization string is composed as follows:
pbadmin:Your_device_password
If the request is successful, you receive a screenshot of the current display for further processing from the box.
For Peakboard 1 boxes the command looks slightly different:
The request URL is as follows, where GET is used as the method:
[Box name]:8080/api/iot/screenshot
As shown in the diagram, the authorization is Base64 encoded. You can find a corresponding encoder for example here. The authorization string is composed as follows:
Administrator:Your_device_password
If the request is successful, you receive a screenshot of the current display for further processing from the box.