diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-18 00:32:19 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-18 00:32:19 +0200 |
commit | 902e62ee6ffb52ea9c9033bf609cd5d28ac0e439 (patch) | |
tree | d2f05f76e5ae0addbe6b379067f36dbead111dda /inventory/host_vars | |
parent | all hosts have been converted to use apt pinning (diff) |
add some test script for sensors (WIP)
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-sensors1.yml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-sensors1.yml b/inventory/host_vars/ch-sensors1.yml index 1fab589f..52617de0 100644 --- a/inventory/host_vars/ch-sensors1.yml +++ b/inventory/host_vars/ch-sensors1.yml @@ -1,2 +1,25 @@ --- -sensornode_network_wired: yes +#sensornode_network_wired: yes + +senosrnode_sensors: + i2c: + - bus: 0 + devices: + - address: 0x70 + driver: pca9548 + channels: + - channel: 0 + devices: + - name: foo + address: 0x76 + driver: bme280 + - channel: 1 + devices: + - name: bar + address: 0x77 + driver: bmp280 + - channel: 2 + devices: + - address: 0x18 + driver: ds2482 + 1wire: {} |