diff --git a/automation/System/Self_heal.yaml b/automation/System/Self_heal.yaml index cadd6422..cb9abef0 100755 --- a/automation/System/Self_heal.yaml +++ b/automation/System/Self_heal.yaml @@ -3,20 +3,24 @@ ## Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0). ################################### -- alias: Heal ZWave Nightly +- alias: Heal Components Nightly hide_entity: True trigger: platform: time at: '2:31:00' action: # - service: zwave.heal_network - Not needed anymore since I've migrated to Wink. + - service: homeassistant.turn_on + entity_id: switch.bedroom_restart_on - service: script.tweet_engine data_template: tweet: > {{ [ - "While they sleep, I self heal the Z-Wave network with Wink.", - "Nightly Z-WAVE Self heals keep all the gear in check! (http://amzn.to/2q17R4S)", - "Every night at 2:31am, I do my self-heal and rebuild the ZWAVE network.", - "Without my Nightly ZWave Self Heal, things get a little whackado." - ] | random + " #SelfHeal #ZWave"}} + "While they sleep, I self heal the #Z-Wave network with #Wink. (http://amzn.to/2E9Vax2)", + "2:30am, Time to restart the #Amazon Alarm Panels for a fresh start in the morning. (http://www.vmwareinfo.com/2017/08/project-update-visualization-of-home.html)", + "Restarting the #Amazon Fire Tablets nightly to clear memory issues or any other bugs (http://www.vmwareinfo.com/2017/07/visualizing-smart-home-using-home.html)", + "Nightly #Z-WAVE Self heals keep all the gear in check! (http://amzn.to/2q17R4S)", + "Every night at 2:31am, I do my self-heal and rebuild the #ZWAVE network.", + "Without my Nightly #ZWave Self Heal, things get a little whackado." + ] | random + " #SelfHeal "}} diff --git a/packages/floorplan.yaml b/packages/floorplan.yaml index 890f30fc..9df09c0a 100755 --- a/packages/floorplan.yaml +++ b/packages/floorplan.yaml @@ -6,16 +6,22 @@ homeassistant: customize_glob: "sensor.*_alarm_panel*": - hidden: False "binary_sensor.*_alarm_panel*": - hidden: False media_player: - platform: floorplan_speaker name: Bedroom Alarm Panel +switch: + - platform: command_line + switches: + bedroom_restart: + command_on: !secret bedroom_restart_on + friendly_name: Restart Bedroom Panel + # This restart switch is called from the Self_heal nightly Automation. + #---Sensors for Fire Tablet----------------------------- light: @@ -33,12 +39,10 @@ binary_sensor: name: Bedroom Motion device_class: motion retain: true - hidden: False - platform: mqtt state_topic: floorplan/bedroom_plugged name: Bedroom Plugged retain: true - hidden: False diff --git a/packages/twitter.yaml b/packages/twitter.yaml index c21f8c82..5ceeff3f 100755 --- a/packages/twitter.yaml +++ b/packages/twitter.yaml @@ -165,7 +165,7 @@ automation: "{{states.sensor.doorbell_presses.state}} people came to the door today and pressed the bell.", "The #Docker Host has been running for {{states.sensor.since_last_boot_templated.state}}", "The #Docker Host for Home Assistant is using {{states.sensor.disk_used_.state}}% of the hard drive currently. ", - "My Home Assistant Database is currently using {{states.sensor.database_sensor.state}} MBs. To get this #Stat visit (https://github.com/robmarkcole/HASS-filesize-sensor)", + "My Home Assistant Database is currently using {{states.sensor.database_sensor.state}} MBs. To get this #Stat for your HA, visit (https://github.com/robmarkcole/HASS-filesize-sensor)", "The {{states.media_player.living_room_ultra.attributes.friendly_name}} #Roku is playing #{{states.media_player.living_room_ultra.attributes.app_name}}.", "The {{states.media_player.upstairs_living_room.attributes.friendly_name}} #Roku is playing #{{states.media_player.upstairs_living_room.attributes.app_name}}. (http://amzn.to/2lYZEup)", "I am running Home Assistant version {{states.sensor.ha_installed_version.state}} (https://github.com/CCOSTAN/Home-AssistantConfig)", diff --git a/travis_secrets.yaml b/travis_secrets.yaml index 3c2ab25a..8d5d25ac 100755 --- a/travis_secrets.yaml +++ b/travis_secrets.yaml @@ -14,6 +14,7 @@ forecast_key: ForcastKeyphrase fitbit_user: User@email.com fitbit_password: abcdefghijklmnopqrstuvwxyz0123456789 juicenet_access_token: abcdefghijklmnopqrstuvwxyz0123456789 +bedroom_restart_on: "/usr/bin/curl -k 'http://192.168.10.127:2323/?cmd=restartApp&password=SecretPassWord'" nest_client_id: secret_nest_client_id nest_client_secret: secretnestclientid neato_username: user@email.com