Tools Inside Blue Pill
Various tools and how to access them inside the Blue Pill
- API Endpoints
- Check Device Core for Unused Parameters
- Engineering Menu
- Experiments
- History View
- HW Event Log
- Internal Processes Stats
- mDNS Services
- Ping Tool
- Tools Page
- Using a USB Network Adapters or LTE modems
API Endpoints
The Blue Pill system manager provides multiple API endpoints, that can be triggered by simple http requests. This can be useful in advanced scenarios, where external systems should trigger changes on a panel.
This is an advanced topic and basic knowledge of HTTP commands and control API's is expected.
Monitoring Package Status
The status of a package can be enquired by the following call.
This requires a POST request to the endpoint: /api/controlpackage/[package_name]
Curl example:
curl 'http://192.168.0.20/api/controlpackage/core-bmd-atem' \
-H 'Content-Type: application/json' \
--data-raw '{"Action": "status"}' \
--insecure
(if authentication is enabled it needs HTTP BasicAuth as well with username and password)
This will return a json response, like this:
{"Status":"ok","Data":{"runState":true,"startOnBoot":false,"packageHasControl":true,"ingressPath":"","inMenu":false}}
Switching Reactor Projects
Reactor allows to switch the current project via an external HTTP POST request.
The endpoint used is: /reactorapi/selectproject
This request allows to use the skaarOS authentication via HTTP Basic Authentication (Use the latest version of system-manager to allow this (v1.0.1-pre1 and higher))
Curl example:
curl --location --request POST '192.168.0.20/reactorapi/selectproject' \
--header 'Authorization: Basic YWRtaW46c2thYXJob2o=' \
--header 'Content-Type: application/json' \
--data-raw '{"Filename":"MyProject"}'
Toggle Raw Panel Mode
Raw Panel Mode can be enabled/disabled on a Blue Pill inside panel.
This requires a POST request to the endpoint: /api/setrwpconfig
Curl example:
curl 'http://192.168.0.20/api/setrwpconfig' \
-H 'Content-Type: application/json' \
--data-raw '{"Activate":true}' \
--insecure
Toggle Package Status
A package running on a Blue Pill device, can be started or stopped by a API call.
This requires a POST request to the endpoint: /api/controlpackage/[package_name]
Curl example:
curl 'http://192.168.0.20/api/controlpackage/reactor' \
-H 'Content-Type: application/json' \
--data-raw '{"Action": "start"}' \
--insecure
(if authentication is enabled it needs HTTP BasicAuth as well with username and password)
Check Device Core for Unused Parameters
If you have a Config, and would like to know what parameters aren't mapped to a config, is that easy to check in Reactor after version 2.0.2.
Open Home Screen of Reactor
Click the Device Core settings:
Add "?configcheck=true" after the address:
Now the parameter list shows what Parameters are added to the config, and who isn't:
Engineering Menu
This documentation might be outdated. Please consult the Reactor manual at https://docs.skaarhoj.com/3_configuration/default-configurations.html#engineering-menu
It can be accessed in different ways based on the panel, and chosen configuration.
How do I know which method my configuration is using?
Here we have listed the different 'panel configurations' that have the engineering menu.
Remember this is a list of configurations. So the specific panels named here, only have access to the engineering menu, when the loaded configuration contains such menu. This also means that you will find panels not named here, that can also access an engineering menu. To find the exact method used in your panel config, you can navigate the list here, and try methods that is in correspondence with your panel type.
Method 1 - Camera selector
This technique is used for panel configurations that has a camera page button or a combo menu button, that both cycle camera pages and the menus.
How to activate
Press and hold the top edge of the 'Page' button A for a few seconds
Examples of models using this method:
Listed here is 4 panels that have support for a configuration, that have an engineering menu accessible the same way. Remember this is just examples, and that this method is not exclusive to these 4 panels.
Method 2 - PTZ Pro
This technique is used for PTZ Pro only.
How to activate
Press and hold U4 A for a few seconds
Examples of models using this method:
This method is exclusive to the panel showed below
Method 3 - PTZ Extreme
This technique is used for PTZ Extreme only.
How to activate
Press and hold U4 A for a few seconds
Examples of models using this method:
This method is exclusive to the panel showed below
Method 4 - RCP
This technique is used for every RCP panel (with config: "RCP - Generic PTZ Control").
How to activate
Step 1) Press and hold the 'Shift' button A
Step 2) Now press the 'Panel lock' button B to enter the engineering menu
Examples of models using this method:
Remember this is just examples, and that this method is not exclusive to this RCP panel only, but all RCP models, with the config "RCP - Generic PTZ Control".
Method 5 - MEGA Panel
This technique is used on panel MKT1B and MKT1A
How to activate
Step 1) Press 'Menu' A to make the settings button appear
Step 2) Press 'settings' B to enter the engineering menu
Examples of models using this method:
This method is not exclusive to the panel showed below, but also MKT1A.
Method 6 - Switcher Selector
This technique is used for panel configurations in the switcher class.
How to activate
Step 1) Press 'Shift' A to make the FTB button light green
Step 2) Press 'FTB' B to enter the engineering menu
Examples of models using this method:
Listed here is 3 panels that have support for a configuration, that have an engineering menu accessible the same way. Remember this is just examples, and that this method is not exclusive to these 3 panels.
Method 7 - Kairos
This technique is specific for our Kairos configuration for the Master Key One V2 (Blue pill inside)
How to activate
Step 1) Press and hold the button marked A
Step 2) Now press the button marked B to enter the engineering menu
Examples of models using this method:
This method is exclusive to the Kairos configuration on the panel showed below
Method 8 - Audio & Light Control
This technique can be used for most panels with an 'Audio & Light Control' config.
How to activate
Step 1) Press and hold the first pager button.
Example of model using this method:
Experiments
Here you are able to disable the auto-deactivation of device cores on the Blue Pill. This is sometimes necessary when working with device cores across multiple Blue Pills.
There is also the possibility to use a different algorithm for Reactor that may improve performance in some instances. As it is not fully tested, we do not recommend using it in a production capacity.
Guide:
- Use any browser to access the Blue Pill via its IP address
- To access the Experimental page write /experiments after the IP
Example: XX.XX.XX.XX/experiments
History View
How long back can I go?
Every change from the last 24 hours is saved. After that it will be combined to 1 file per day, and saved for 10 days.
It is also possible to add tags to individual versions. When a tag is added to the version, it will no longer be deleted based on the default time scale and will persist.
What is being saved?
It's important to remember that these autosaved versions are only saving information from the Configuration tab. Although if you change things related to configurations, from the Home tab, it may also be saved, and therefore revertible from the History View.
Example: Adding a Panel on the Home tab will not be part of an autosave, but choosing a configuration for it will.