Created
September 16, 2016 13:47
-
-
Save TheSkorm/541cc558ff28d4e5fb7883109766a140 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| homeassistant: | |
| # Name of the location where Home Assistant is running | |
| name: Home | |
| # Location required to calculate the time the sun rises and sets | |
| # Impacts weather/sunrise data | |
| # metric for Metric, imperial for Imperial | |
| unit_system: metric | |
| # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
| time_zone: Australia/Melbourne | |
| # Enables the frontend | |
| frontend: | |
| http: | |
| # Uncomment this to add a password (recommended!) | |
| server_port: 80 | |
| # Checks for available updates | |
| updater: | |
| # Discover some devices automatically | |
| discovery: | |
| # Allows you to issue voice commands from the frontend in enabled browsers | |
| conversation: | |
| # Enables support for tracking state changes over time. | |
| history: | |
| # View all events in a logbook | |
| logbook: | |
| # Track the sun | |
| sun: | |
| # Weather Prediction | |
| sensor: | |
| platform: yr | |
| camera: | |
| platform: generic | |
| still_image_url: http://172.16.0.15/picture/1/current/ | |
| name: Camera | |
| emulated_hue: | |
| exposed_domains: | |
| - light | |
| - switch | |
| - media_player | |
| logger: | |
| default: warning | |
| logs: | |
| homeassistant.components.device_tracker.mqtt: debug | |
| mqtt: | |
| broker: 127.0.0.1 | |
| port: 1883 | |
| light kitchenled: | |
| platform: mqtt | |
| name: "Kitchen LED Strip" | |
| command_topic: "input/switch15/124333/0" | |
| payload_on: "true" | |
| payload_off: "false" | |
| switch lighthouses: | |
| platform: mqtt | |
| name: "Lighthouses" | |
| command_topic: "input/switch15/524339/0" | |
| payload_on: "true" | |
| payload_off: "false" | |
| switch media: | |
| platform: mqtt | |
| name: "Lounge Room Media" | |
| command_topic: "input/switch15/454229/0" | |
| payload_on: "true" | |
| payload_off: "false" | |
| binary_sensor frontdoor: | |
| platform: mqtt | |
| state_topic: "switch15/866432" | |
| name: "Front Door" | |
| payload_on: "true" | |
| payload_off: "false" | |
| sensor_class: opening | |
| binary_sensor cupboard: | |
| platform: mqtt | |
| state_topic: "switch15/388320" | |
| name: "Cupboard" | |
| payload_on: "true" | |
| payload_off: "false" | |
| sensor_class: opening | |
| binary_sensor window: | |
| platform: mqtt | |
| state_topic: "switch15/736320" | |
| name: "Window" | |
| payload_on: "true" | |
| payload_off: "false" | |
| sensor_class: opening | |
| binary_sensor balcony: | |
| platform: mqtt | |
| state_topic: "switch15/756960" | |
| name: "Balcony Door" | |
| payload_on: "true" | |
| payload_off: "false" | |
| sensor_class: opening | |
| device_tracker owntracks: | |
| platform: owntracks | |
| max_gps_accuracy: 200 | |
| device_tracker snmp: | |
| platform: snmp | |
| host: 172.16.0.254 | |
| baseoid: 1.3.6.1.4.1.14988.1.1.1.2.1.1 | |
| light limitless: | |
| platform: limitlessled | |
| bridges: | |
| - host: 172.16.0.33 | |
| port: 8899 | |
| groups: | |
| - number: 1 | |
| type: rgbw | |
| name: Hallway | |
| - number: 2 | |
| type: rgbw | |
| name: Kitchen | |
| - number: 3 | |
| type: rgbw | |
| name: Lounge | |
| - number: 4 | |
| type: rgbw | |
| name: Bedroom | |
| notify: | |
| name: slack | |
| platform: slack | |
| api_key: | |
| default_channel: '#general' | |
| media_player loungeroommedia: | |
| platform: kodi | |
| host: http://172.16.0.202 | |
| port: 80 | |
| name: Loungeroom Kodi | |
| turn_off_action: shutdown | |
| media_player bedroommedia: | |
| platform: kodi | |
| host: http://172.16.0.11 | |
| port: 80 | |
| name: Bedroom Kodi | |
| turn_off_action: shutdown | |
| light lifx: | |
| platform: lifx | |
| script: | |
| frontdoorlight: | |
| sequence: | |
| - service: light.turn_on | |
| entity_id: light.hallway | |
| - delay: | |
| seconds: 60 | |
| - service: light.turn_off | |
| entity_id: light.hallway | |
| - service: script.turn_on | |
| entity_id: script.frontdoorlight | |
| automation: | |
| - alias: Turn on light when sun sets and door is opened | |
| trigger: | |
| platform: mqtt | |
| topic: "switch15/866432" | |
| payload: 'true' | |
| condition: | |
| condition: or | |
| conditions: | |
| - condition: template | |
| value_template: '{{ states.sun.sun.attributes.elevation < 4 }}' | |
| action: | |
| service: script.turn_on | |
| entity_id: script.frontdoorlight | |
| - alias: Slack notifications | |
| trigger: | |
| platform: state | |
| entity_id: binary_sensor.balcony_door, binary_sensor.window, binary_sensor.front_door, binary_sensor.cupboard | |
| action: | |
| service: notify.slack | |
| data_template: | |
| message: > | |
| {{ trigger.to_state.name }} just changed to {{ trigger.to_state.state }} | |
| condition: | |
| condition: and | |
| conditions: | |
| - condition: state | |
| entity_id: 'device_tracker.mwheeler_zeroflte' | |
| state: 'not_home' | |
| - condition: state | |
| entity_id: 'device_tracker.gm_s6' | |
| state: 'not_home' | |
| - alias: Turn bedroom red at night | |
| trigger: | |
| platform: state | |
| entity_id: light.bedroom | |
| state: 'on' | |
| action: | |
| service: light.turn_on | |
| entity_id: light.bedroom | |
| data: | |
| rgb_color: [255,0,0] | |
| condition: | |
| condition: template | |
| value_template: '{{ states.light.bedroom.attributes.brightness < 255 }}' | |
| - alias: Turn bedroom white at day | |
| trigger: | |
| platform: state | |
| entity_id: light.bedroom | |
| state: 'on' | |
| action: | |
| service: light.turn_on | |
| entity_id: light.bedroom | |
| data: | |
| rgb_color: [255,255,255] | |
| condition: | |
| condition: template | |
| value_template: '{{ states.light.bedroom.attributes.brightness == 255 }}' | |
| - alias: "Media player playing" | |
| trigger: | |
| - platform: state | |
| entity_id: media_player.bedroom_kodi | |
| to: 'playing' | |
| action: | |
| service: light.turn_off | |
| entity_id: light.bedroom | |
| - alias: "Aircon settings" | |
| trigger: | |
| platform: state | |
| entity_id: input_slider.set_temp | |
| action: | |
| service: mqtt.publish | |
| data: | |
| topic: control/therm0/set_point | |
| payload_template: "{{ states.input_slider.set_temp.state }}" | |
| retain: true | |
| sensor dht11temperature: | |
| platform: mqtt | |
| state_topic: '/dht11/temperature' | |
| name: 'Temperature' | |
| unit_of_measurement: '°C' | |
| sensor dht11humidity: | |
| platform: mqtt | |
| state_topic: '/dht11/humidity' | |
| name: 'Humidity' | |
| unit_of_measurement: '%' | |
| group: | |
| default_view: | |
| view: yes | |
| entities: | |
| - group.people | |
| - group.weather | |
| - group.livingroom | |
| - group.bedroom | |
| - group.entrance | |
| - group.aircongroup | |
| people: | |
| name: People | |
| entities: | |
| - device_tracker.mwheeler_zeroflte | |
| - device_tracker.gm_s6 | |
| weather: | |
| name: Weather | |
| entities: | |
| - sensor.yr_symbol | |
| - sensor.humidity | |
| - sensor.temperature | |
| - sun.sun | |
| bedroom: | |
| name: Bedroom | |
| entities: | |
| - light.bedroom | |
| - media_player.bedroom_kodi | |
| - binary_sensor.window | |
| - binary_sensor.cupboard | |
| livingroom: | |
| name: Living Room | |
| entities: | |
| - light.kitchen | |
| - light.kitchen_led_strip | |
| - light.lounge | |
| - media_player.loungeroom_kodi | |
| - switch.lighthouses | |
| - binary_sensor.balcony_door | |
| - camera.camera | |
| entrance: | |
| name: Entrance | |
| entities: | |
| - light.hallway | |
| - binary_sensor.front_door | |
| aircongroup: | |
| name: Airconditioner Controls | |
| entities: | |
| - switch.airconditioner | |
| - switch.airconditioner_heat | |
| - input_slider.set_temp | |
| input_slider: | |
| set_temp: | |
| name: AC Setpoint | |
| initial: 23 | |
| min: 18 | |
| max: 25 | |
| step: 1 | |
| switch aircon: | |
| platform: mqtt | |
| name: "Airconditioner" | |
| command_topic: "control/therm0/state" | |
| retain: true | |
| switch airconheat: | |
| platform: mqtt | |
| name: "Airconditioner Heat" | |
| command_topic: "control/therm0/heat" | |
| retain: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment