|
|
|
@ -90,42 +90,8 @@ SUNSET:
|
|
|
|

|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
#Todo List
|
|
|
|
#Todo List
|
|
|
|
|
|
|
|
I've moved this entire section to the [issues section](https://github.com/CCOSTAN/Home-AssistantConfig/issues) on github.
|
|
|
|
|
|
|
|
|
|
|
|
* AutoIt script to control lights via REST and also auto light office when I am working on Laptop.
|
|
|
|
|
|
|
|
* Install HomeBridge
|
|
|
|
|
|
|
|
* Visio of Environment
|
|
|
|
|
|
|
|
* Add #Slack notifications.
|
|
|
|
|
|
|
|
* Configure the Alexa Component.
|
|
|
|
|
|
|
|
* Put Dash Buttons out there. Bedside dash button for morning, night and bathroom trips.
|
|
|
|
|
|
|
|
* Put Door Sensor in Mailbox
|
|
|
|
|
|
|
|
* Add Pi-Hole (Ad blocking) to the network with the Pi Zero. (Add to Home Assistant)
|
|
|
|
|
|
|
|
* Create various scenes (early morning, breakfast, work, entertaining, )
|
|
|
|
|
|
|
|
* Motion after midnight and the sprinklers go on.
|
|
|
|
|
|
|
|
* Z-wave outlet for the landscape transformers. (2 of them) to better track sunset/sunrise/home.
|
|
|
|
|
|
|
|
* Using Input Booleans, list trashday and kid's chore day on Main Screen.
|
|
|
|
|
|
|
|
* Vacation mode and mocupancy scenes to simulate being here.
|
|
|
|
|
|
|
|
* Figure out a way to change the color of outdoor lights based on various minor holidays automagically.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* This : http://groundp.in/2016/10/18/step-by-step-guide-to-setting-up-esp-easy-with-home-assistant/
|
|
|
|
|
|
|
|
* http://www.pibakery.org/
|
|
|
|
|
|
|
|
* http://www.esp8266.nu/index.php/ESPEasy
|
|
|
|
|
|
|
|
* https://translate.google.com/translate?hl=en&sl=de&tl=en&u=https%3A%2F%2Falexbloggt.com%2Funiversal-infrarot-websteuerung-ueber-esp8266%2F
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* https://github.com/jayrox/esp8266_ir_blaster
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://community.home-assistant.io/t/snmp-bandwidth-monitor/7122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resource for my RF switches. (MQTT) bit.ly/2gBiOqz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://www.reddit.com/r/amazonecho/comments/5he8o7/diy_ir_blaster_10_instructions_inside/?st=IWIDBGRT&sh=dd117f28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://community.home-assistant.io/t/a-different-take-on-an-alarm-system/7809/5 - ALARM System info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GUI for Light sunset offset - https://community.home-assistant.io/t/sun-event-related-timers/8648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Grandfather Clock - https://community.home-assistant.io/t/grand-father-clock-chime/9465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Build a Light Sensor! - https://community.home-assistant.io/t/movement-and-light-sensor-for-around-10/9450/30?u=ccostan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Lab notes:
|
|
|
|
#Lab notes:
|
|
|
|
|
|
|
|
|
|
|
|
@ -135,83 +101,7 @@ Add codesend backup to RF Plugs!
|
|
|
|
@CCOSTAN I followed the info here: https://home-assistant.io/components/switch.command_line/
|
|
|
|
@CCOSTAN I followed the info here: https://home-assistant.io/components/switch.command_line/
|
|
|
|
command_on: "/var/www/html/rfoutlet/codesend 4543795 -l 177 -p 0"
|
|
|
|
command_on: "/var/www/html/rfoutlet/codesend 4543795 -l 177 -p 0"
|
|
|
|
|
|
|
|
|
|
|
|
- alias: 'Get Random Time'
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
|
|
|
platform: time
|
|
|
|
|
|
|
|
after: '21:00:00'
|
|
|
|
|
|
|
|
action:
|
|
|
|
|
|
|
|
- service: input_slider.select_value
|
|
|
|
|
|
|
|
data_template:
|
|
|
|
|
|
|
|
entity_id: input_slider.hour
|
|
|
|
|
|
|
|
value: '{{ (range(22, 23) | random) }}'
|
|
|
|
|
|
|
|
- service: input_slider.select_value
|
|
|
|
|
|
|
|
data_template:
|
|
|
|
|
|
|
|
entity_id: input_slider.random_minute
|
|
|
|
|
|
|
|
value: '{{ (range(30, 45) | random) }}'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Then simply use that in your light turn off automation:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- alias: 'Turn lights off'
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
|
|
|
platform: template
|
|
|
|
|
|
|
|
value_template: '{{ now.hour == (states.input_slider.random_hour.state | int) and now.minute == (states.input_slider.random_minute.state | int) }}'
|
|
|
|
|
|
|
|
action:
|
|
|
|
|
|
|
|
- service: light.turn_off
|
|
|
|
|
|
|
|
data:
|
|
|
|
|
|
|
|
entity_id: light.hue_color_lamp_1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- platform: template
|
|
|
|
|
|
|
|
sensors:
|
|
|
|
|
|
|
|
front_door_clean:
|
|
|
|
|
|
|
|
value_template: '{% if is_state("binary_sensor.front_door", "on") %}Open{% else %}Closed{% endif %}'
|
|
|
|
|
|
|
|
friendly_name: 'Front Door'
|
|
|
|
|
|
|
|
entity_id: binary_sensor.front_door
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Template Binary Sensors
|
|
|
|
|
|
|
|
platform: template
|
|
|
|
|
|
|
|
sensors:
|
|
|
|
|
|
|
|
flood_sensor:
|
|
|
|
|
|
|
|
value_template: >-
|
|
|
|
|
|
|
|
{% if states.sensor.everspring_st812_flood_detector_flood_2_5.state == '255' %}
|
|
|
|
|
|
|
|
'on'
|
|
|
|
|
|
|
|
{% elif states.sensor.everspring_st812_flood_detector_flood_2_5.state == '0' %}
|
|
|
|
|
|
|
|
'off'
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
n/a
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- if now().month in [01, 11, 12] -%} Yes {%- else -%} NO {%- endif %}
|
|
|
|
{%- if now().month in [01, 11, 12] -%} Yes {%- else -%} NO {%- endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
binary_sensor:
|
|
|
|
|
|
|
|
platform: command_line
|
|
|
|
|
|
|
|
name: Daughter Laptop
|
|
|
|
|
|
|
|
command: ping -W 1 -c 1 192.168.0.101 > /dev/null 2>&1 && echo success || echo fail
|
|
|
|
|
|
|
|
sensor_class: connectivity
|
|
|
|
|
|
|
|
payload_on: "success"
|
|
|
|
|
|
|
|
payload_off: "fail"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Wake on Lan stuff to try
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- platform: wake_on_lan
|
|
|
|
|
|
|
|
mac_address: XX:XX:XX:XX:XX:XX
|
|
|
|
|
|
|
|
name: "Synology WOL"
|
|
|
|
|
|
|
|
host: "192.168.1.3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- platform: wake_on_lan
|
|
|
|
|
|
|
|
mac_address: XX:XX:XX:XX:XX:XX
|
|
|
|
|
|
|
|
name: "iMac WOL"
|
|
|
|
|
|
|
|
host: "192.168.1.2"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Tips and Tricks
|
|
|
|
|
|
|
|
Add some color to your HA logs.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
sudo apt-get install ccze
|
|
|
|
|
|
|
|
sudo journalctl -u home-assistant -f | ccze
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|