#32 and #21 sensor work for Alarm system.

This commit is contained in:
CCOSTAN
2017-04-23 21:52:02 +00:00
parent 175e904650
commit e5121a9d10
2 changed files with 14 additions and 0 deletions

19
packages/light_sensor.yaml.old Executable file
View File

@@ -0,0 +1,19 @@
#-------------------------------------------
# Bruh Light Sensor Related Packages
#-------------------------------------------
#------LightSensor Node---http://amzn.to/2oUgj5i
homeassistant:
customize:
sensor.sn1_ldr:
icon: mdi:sensor
friendly_name: Light Sensor
emulated_hue: False
hidden: False
#---Sensor for Light-----------------------------
sensor:
- platform: mqtt
state_topic: "home/sensornode1"
name: "SN1 LDR"
##This sensor is not calibrated to actual LUX. Rather, this a map of the input voltage ranging from 0 - 1023.
unit_of_measurement: "LUX"
value_template: '{{ value_json.ldr }}'