#32 - First Step into the ESP world. Super Awesome! thanks @Bruhautomation

This commit is contained in:
CCOSTAN
2017-04-22 15:44:07 +00:00
parent 5d01282470
commit 685aa1a3e9
4 changed files with 26 additions and 5 deletions

1
.gitignore vendored
View File

@@ -18,6 +18,7 @@ secrets.yaml
secrets
known_devices.yaml
phue.conf
ios.conf
pyozw.sqlite
nest.conf
.uuid

View File

@@ -11,17 +11,18 @@
to: 'Opened'
action:
- service: input_boolean.turn_on
entity_id: input_boolean.alert_mode
- service: script.ifttt_notify
data_template:
value1: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}."
value2: ''
value3: ''
- wait_template: "{{ states.media_player.livingroomCC.states != 'playing' }}"
timeout: 00:00:30
timeout: 00:01:30
- service: input_boolean.turn_on
entity_id: input_boolean.alert_mode
- service: script.Voice_notify
data_template:

19
packages/light_sensor.yaml Executable file
View File

@@ -0,0 +1,19 @@
#-------------------------------------------
# Bruh Light Sensor Related Packages
#-------------------------------------------
#------LightSensor Node----------------------------
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 }}'

View File

@@ -6,7 +6,7 @@ homeassistant:
customize:
input_boolean.house_station:
icon: mdi:radio
friendly_name: Streaming Radio
friendly_name: House Station
emulated_hue: True
hidden: False
#---Use this Boolean to trigger via GUI or Alexa------------------------------