summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-sensors
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-07 15:01:29 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-07 15:01:29 +0200
commit0cd00a1def82031a73d24d75e7c4e1e7b5df9e54 (patch)
treef56d37c153c8d93309a674f94a008c3fdead4edd /inventory/group_vars/chaos-at-home-sensors
parentubuntu installer: cleanup sshd config tainted by stupid installer (diff)
add one-wire modules to sensor nodes
Diffstat (limited to 'inventory/group_vars/chaos-at-home-sensors')
-rw-r--r--inventory/group_vars/chaos-at-home-sensors/vars.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home-sensors/vars.yml b/inventory/group_vars/chaos-at-home-sensors/vars.yml
index dd39a2ec..4fa92bee 100644
--- a/inventory/group_vars/chaos-at-home-sensors/vars.yml
+++ b/inventory/group_vars/chaos-at-home-sensors/vars.yml
@@ -24,6 +24,8 @@ openwrt_packages_add:
- kmod-iio-am2315
- kmod-hwmon-ads1015
- kmod-hwmon-mcp3021
+ - kmod-w1-master-ds2482
+ - kmod-w1-slave-therm
- kmod-usb-storage
- kmod-usb-storage-extras
- kmod-fs-vfat
@@ -58,6 +60,7 @@ openwrt_mixin:
# TODO: add script to initialize i2c devices
## I2C Bus init examples:
## * add 8ch mux: echo "pca9548 0x70" > /sys/bus/i2c/devices/i2c-0/new_device
+## * add DS2482: echo "ds2482 0x18" > /sys/bus/i2c/devices/i2c-0/new_device
## * add ADS1115: echo "ads1115 0x48" > /sys/bus/i2c/devices/i2c-0/new_device
## * add BME280: echo "bme280 0x76" > /sys/bus/i2c/devices/i2c-1/new_device
## * add AM2315: echo "am2315 0x5c" > /sys/bus/i2c/devices/i2c-1/new_device