Configuration JSON Schema
Pi Portal Config File Schema v1.11 |
|||||||
type |
object |
||||||
properties |
|||||||
|
Archival integration configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
The AWS archival integration configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
The AWS access key credential with write access to the buckets. |
||||||
type |
string |
||||||
|
The AWS access secret key credential with write access to the buckets. |
||||||
type |
string |
||||||
|
type |
object |
|||||
properties |
|||||||
|
The name of the AWS S3 bucket to upload archived logs to. |
||||||
type |
string |
||||||
|
The name of the AWS S3 bucket to upload captured videos to. |
||||||
type |
string |
||||||
|
Chat ops logging integration configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Configuration for the Slack chat ops integration. |
||||||
type |
object |
||||||
properties |
|||||||
|
The secret value generated by Slack to validate messages from your bot. |
||||||
type |
string |
||||||
|
The app token generated by Slack to allow your bot use websockets. |
||||||
type |
string |
||||||
|
The token generated by Slack when you created a bot app. |
||||||
type |
string |
||||||
|
The plain human readable name of the Slack channel where messages should be posted. |
||||||
type |
string |
||||||
|
The ID of the slack channel. Can be found at the bottom of the dialogue for ‘View Channel Details > About’. |
||||||
type |
string |
||||||
|
The number of seconds to wait before timing out a file transfer. |
||||||
type |
integer |
||||||
|
Logging integration configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Configuration for the LogzIO logging integration. |
||||||
type |
object |
||||||
properties |
|||||||
|
A token generated by log.io, which will be injected into streamed logs to identify your account. |
||||||
type |
string |
||||||
|
Camera configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Disk space monitor configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
The amount of free space remaining (in megabytes) that prompts the camera to shutoff. |
||||||
type |
number |
||||||
|
Motion image capture configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Localhost http authentication for camera control. |
||||||
type |
object |
||||||
properties |
|||||||
|
The authentication username. |
||||||
type |
string |
||||||
|
The authentication password. |
||||||
type |
string |
||||||
|
Configuration for each hardware camera. |
||||||
type |
array |
||||||
items |
type |
object |
|||||
properties |
|||||||
|
The video device your camera is mounted as. |
||||||
type |
string |
||||||
pattern |
^/dev/video[0-9]+$ |
||||||
|
The image configuration settings for your camera. |
||||||
type |
object |
||||||
properties |
|||||||
|
Maximum number of frames to be captured per second. (0=disable) |
||||||
type |
number |
||||||
maximum |
100 |
||||||
minimum |
2 |
||||||
|
Image width (pixels). Valid range: Camera dependent. |
||||||
type |
number |
||||||
|
Image height (pixels). Valid range: Camera dependent. |
||||||
type |
number |
||||||
|
Let motion regulate the brightness of a video device. |
||||||
#/definitions/constantOnOff |
|||||||
|
Set the initial brightness of a video device. This is the average value if AUTO_BRIGHTNESS is enabled. |
||||||
type |
number |
||||||
maximum |
255 |
||||||
minimum |
0 |
||||||
|
Set the contrast of a video device. 0 is disabled. |
||||||
type |
number |
||||||
maximum |
255 |
||||||
minimum |
0 |
||||||
|
Set the saturation of a video device. 0 is disabled. |
||||||
type |
number |
||||||
maximum |
255 |
||||||
minimum |
0 |
||||||
|
Set the hue of a video device (NTSC feature). 0 is disabled. |
||||||
type |
number |
||||||
maximum |
255 |
||||||
minimum |
0 |
||||||
|
General motion detection configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Threshold for number of changed pixels in an image that triggers motion detection. |
||||||
type |
number |
||||||
|
The seconds of no motion detection that triggers the end of an event. |
||||||
type |
number |
||||||
|
Recorded movie configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
Locate and draw a box around the moving object. |
||||||
#/definitions/constantOnOff |
|||||||
|
Snapshot image configuration. |
||||||
type |
object |
||||||
properties |
|||||||
|
The quality (in percent) to be used by the jpeg and webp compression. |
||||||
type |
number |
||||||
maximum |
100 |
||||||
minimum |
0 |
||||||
|
Configured switches. |
||||||
type |
object |
||||||
properties |
|||||||
|
Configured contact switches. |
||||||
type |
array |
||||||
items |
type |
object |
|||||
properties |
|||||||
|
The name of the switch as it will appear in notifications and logs (ie. Front Door). |
||||||
type |
string |
||||||
|
The GPIO number this contact switch connects to. |
||||||
type |
number |
||||||
|
Configured temperature sensors. |
||||||
type |
object |
||||||
properties |
|||||||
|
Configured DHT11 temperature sensors. |
||||||
type |
array |
||||||
items |
type |
object |
|||||
properties |
|||||||
|
The name of the sensor as it will appear in notifications and logs (ie. Living Room). |
||||||
type |
string |
||||||
|
The GPIO number this DHT11 sensor connects to. |
||||||
type |
number |
||||||
definitions |
|||||||
|
type |
string |
|||||
pattern |
^on|off$ |
||||||