Skip to content

Commit e846a20

Browse files
committed
define signals and slots on interfaces
1 parent 068859e commit e846a20

5 files changed

Lines changed: 41 additions & 0 deletions

File tree

interfaces/swagger.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ tags:
1313
description: The dotted form of the BOSSWAVE payload object number denoting the format and serialization format of the published BOSSWAVE message
1414
- name: interface
1515
description: The name of the BOSSWAVE interface name, e.g. "i.interface"
16+
- name: signals
17+
description: Signals are for outputs of a driver (e.g. reporting state). The signal tag specifies a hierarchical breakdown of the signal names and the properties of the interface incorporated in messages on that signal
18+
- name: slots
19+
description: Slots are for inputs to a driver (e.g. actuations). The slot tag specifies a hierarchical breakdown of the slot names and the properties of the interface incorporated in messages on that signal

interfaces/xbos_light.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ Light:
22
description: Standard XBOS lighting interface
33
ponum: 2.1.1.1
44
interface: i.xbos.light
5+
signals:
6+
- info:
7+
- state
8+
- brightness
9+
slots:
10+
- state:
11+
- state
12+
- brightness
513
properties:
614
state:
715
type: boolean

interfaces/xbos_plug.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ Plug:
22
description: Standard XBOS plug interface
33
ponum: 2.1.1.2
44
interface: i.xbos.plug
5+
signals:
6+
- info:
7+
- state
8+
slots:
9+
- state:
10+
- state
511
properties:
612
state:
713
type: boolean

interfaces/xbos_temperature_sensor.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ Temperature Sensor:
22
description: XBOS temperature sensor
33
ponum: 2.1.2.0
44
interface: i.xbos.temperature_sensor
5+
signals:
6+
- info:
7+
- temperature
58
properties:
69
temperature:
710
type: double

interfaces/xbos_thermostat.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@ Thermostat:
22
ponum: 2.1.1.0
33
description: Standard XBOS thermostat interface
44
interface: i.xbos.thermostat
5+
signals:
6+
- info:
7+
- temperature
8+
- relative_humidity
9+
- heating_setpoint
10+
- cooling_setpoint
11+
- override
12+
- fan
13+
- mode
14+
- state
15+
slots:
16+
- setpoints:
17+
- heating_setpoint
18+
- cooling_setpoint
19+
- state:
20+
- heating_setpoint
21+
- cooling_setpoint
22+
- override
23+
- state
24+
- fan
525
properties:
626
temperature:
727
type: double

0 commit comments

Comments
 (0)