-
Notifications
You must be signed in to change notification settings - Fork 2
/
johnny-five-config-schema.coffee
49 lines (49 loc) · 1.64 KB
/
johnny-five-config-schema.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# #pimatic-johnny-five plugin config options
module.exports = {
title: "pimatic-johnny-five plugin config options"
type: "object"
properties:
boards:
description: "Boards"
type: "array"
default: []
format: "table"
items:
type: "object"
properties:
id:
type: "string"
description: "A unique identifier used a reference to the boards"
boardType:
type: "string"
description: "Board type, one of arduino, raspi-io, etherport"
default: "arduino"
port:
description: "Path or name of device port"
type: "string"
default: ""
baudrate:
description: "The baudrate to use for serial communication"
type: "number"
required: false
token:
description: "Particle token. Only required for particle-io board type"
type: "string"
required: false
deviceId:
description: "Particle device id. Only required for particle-io board type"
type: "string"
required: false
controller:
description: "Expander controller type. Only required for expander board type"
type: "string"
required: false
address:
description: "Expander I2C address or IP address/hostname. Only used for expander and etherport-client board type"
type: "string"
required: false
debug:
description: "Debug mode. Writes debug messages to the pimatic log, if set to true."
type: "boolean"
default: false
}