2017-04-22 15:44:07 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# Bruh Light Sensor Related Packages
|
|
|
|
#-------------------------------------------
|
2017-04-23 20:19:20 +00:00
|
|
|
#------LightSensor Node---http://amzn.to/2oUgj5i
|
2017-04-22 15:44:07 +00:00
|
|
|
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 }}'
|