roles/hap-nodejs/defaults/main.yaml
changeset 17 69a7d69de562
parent 15 6913019b9492
child 18 3044f32e7f74
--- a/roles/hap-nodejs/defaults/main.yaml	Thu Feb 22 22:09:20 2018 -0600
+++ b/roles/hap-nodejs/defaults/main.yaml	Thu Mar 01 17:04:29 2018 -0600
@@ -1,7 +1,23 @@
 ---
 
+hap_apt_packages:
+    - "python3"
+    - "libavahi-compat-libdnssd-dev"
+    - "nodejs-legacy"
+    - "npm"
+
 hap_user: "hap-nodejs"
 hap_restart_sec: 10
 hap_dir: "/home/{{hap_user}}"
 hap_src: "https://github.com/KhaosT/HAP-NodeJS/archive/master.zip"
 hap_dest: "{{hap_dir}}/HAP-NodeJS-master"
+
+hap_example_accessories:
+  - "AirConditioner_accessory.js"
+  - "Fan_accessory.js"
+  - "GarageDoorOpener_accessory.js"
+  - "Light_accessory.js"
+  - "Lock_accessory.js"
+  - "MotionSensor_accessory.js"
+  - "Outlet_accessory.js"
+  - "TemperatureSensor_accessory.js"