summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/chaos-at-home-sensors/vars.yml2
-rw-r--r--inventory/host_vars/ch-sensors1.yml25
2 files changed, 26 insertions, 1 deletions
diff --git a/inventory/group_vars/chaos-at-home-sensors/vars.yml b/inventory/group_vars/chaos-at-home-sensors/vars.yml
index 4086c66a..2eea9b2c 100644
--- a/inventory/group_vars/chaos-at-home-sensors/vars.yml
+++ b/inventory/group_vars/chaos-at-home-sensors/vars.yml
@@ -44,6 +44,8 @@ openwrt_packages_add:
- usbutils
- i2c-tools
- iio-utils
+ - luaposix
+ - lua-cjson
- prometheus-node-exporter-lua
- prometheus-node-exporter-lua-netstat
- prometheus-node-exporter-lua-openwrt
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: {}