Remove deprecated configuration files for various integrations including Arris Router, Battery Levels, Grafana, SkyBell HD, USPS, and YouTube Picker to streamline the setup and improve maintainability.
parent
2265f2b282
commit
1ff1d9d81c
@ -1,25 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
|
||||
#-------------------------------------------
|
||||
homeassistant:
|
||||
customize_glob:
|
||||
"*.arris_tg1682g_router*":
|
||||
|
||||
|
||||
#-------------------------------------------
|
||||
|
||||
group:
|
||||
router:
|
||||
name: Router Stats
|
||||
|
||||
entities:
|
||||
- sensor.arris_tg1682g_router_bytes_received
|
||||
- sensor.arris_tg1682g_router_bytes_sent
|
||||
- sensor.arris_tg1682g_router_kbytesec_received
|
||||
- sensor.arris_tg1682g_router_kbytesec_sent
|
||||
- sensor.arris_tg1682g_router_packets_received
|
||||
- sensor.arris_tg1682g_router_packets_sent
|
||||
- sensor.arris_tg1682g_router_packetssec_received
|
||||
- sensor.arris_tg1682g_router_packetssec_sent
|
||||
@ -1,54 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Fire Tablet Alarm Panel -
|
||||
# https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html
|
||||
#-------------------------------------------
|
||||
#
|
||||
# homeassistant:
|
||||
# customize_glob:
|
||||
# "sensor.*_alarm_panel*":
|
||||
#
|
||||
#
|
||||
# "binary_sensor.*_alarm_panel*":
|
||||
#
|
||||
#
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
low_battery:
|
||||
friendly_name: 'Low Battery'
|
||||
value_template: >
|
||||
{%- set threshold = 15 -%}
|
||||
{%- set domains = ['light', 'switch', 'sensor', 'zwave', 'lock', 'binary_sensor'] -%}
|
||||
{%- for domain in domains -%}
|
||||
{%- for item in states[domain] if ((item.attributes.battery_level is defined and item.attributes['battery_level'] | int < threshold) or ("battery" in item.name | lower and ((item.state | int < threshold and item.state|int != 0) or item.state | lower == "low" or item.state | lower == "unknown"))) -%}
|
||||
{{ item.attributes.friendly_name }} (
|
||||
{%- if item.attributes.battery_level is defined -%}
|
||||
{{ item.attributes.battery_level}}
|
||||
{%- else -%}
|
||||
{{item.state}}
|
||||
{%- endif -%}%)
|
||||
{%- if not loop.last -%}
|
||||
{{', '}}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
|
||||
automation:
|
||||
- alias: 'Battery Alert'
|
||||
id: 1a4f06f0-8763-4801-ba6c-55b87d1b0286
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '10:00:00'
|
||||
- platform: time
|
||||
at: '18:00:00'
|
||||
condition:
|
||||
condition: template
|
||||
value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "Low battery levels: {{ states('sensor.low_battery') }}"
|
||||
who: 'carlo'
|
||||
apns_id: 'information'
|
||||
@ -1,53 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# More Info : https://www.vcloudinfo.com/
|
||||
#-------------------------------------------
|
||||
|
||||
sensor:
|
||||
- platform: command_line
|
||||
name: "Download Grafana Solar"
|
||||
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d/h_wosLIik/solar?orgId=1&from=now-1d%2Fd&to=now-1d%2Fd&height=750&width=1920" > /config/www/custom_ui/floorplan/images/branding/solar_readings.png'
|
||||
scan_interval: 3000
|
||||
|
||||
- platform: command_line
|
||||
name: "Download Grafana ATT SpeedTest"
|
||||
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d/bdR1ZnFZk/att-speedtest?viewPanel=2&orgId=1" > /config/www/custom_ui/floorplan/images/branding/att_speedtest.png'
|
||||
scan_interval: 3000
|
||||
|
||||
camera:
|
||||
- platform: generic
|
||||
name: "Grafana Solar Graph"
|
||||
still_image_url: 'http://192.168.10.10:3000/render/d/h_wosLIik/solar?orgId=1&from=now-1d%2Fd&to=now-1d%2Fd&height=750&width=1920'
|
||||
username: HA
|
||||
password: HA
|
||||
|
||||
##############################################################################
|
||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
automation:
|
||||
- alias: 'Tweet Solar Production'
|
||||
id: bd698bd9-780b-4268-bf90-2c7ff6daae99
|
||||
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: '+02:30:00'
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data:
|
||||
tweet: >-
|
||||
{{ [
|
||||
"I have just finished crunching the numbers and here is the latest #Solar Production graph. "
|
||||
] | random + " #Charts #Tesla "
|
||||
+ [
|
||||
"(https://youtu.be/BartadUzGOA)",
|
||||
"(https://www.vcloudinfo.com/2018/01/going-green-to-save-some-green-in-2018.html)",
|
||||
"(https://www.vcloudinfo.com/2018/09/re-installing-tesla-solar-panels-again.html)"
|
||||
]| random
|
||||
}}
|
||||
image: >-
|
||||
{% set pictures = [
|
||||
"/config/www/custom_ui/floorplan/images/branding/solar_readings.png"
|
||||
] %}
|
||||
{{ pictures|random }}
|
||||
@ -1,96 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
###################################
|
||||
## [SkyBell HD](https://amzn.to/2dcexIB)
|
||||
###################################
|
||||
|
||||
|
||||
skybell:
|
||||
username: !secret skybell_username
|
||||
password: !secret skybell_password
|
||||
|
||||
camera:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- avatar
|
||||
- activity
|
||||
activity_name: "Last Activity"
|
||||
|
||||
binary_sensor:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- button
|
||||
- motion
|
||||
|
||||
light:
|
||||
- platform: skybell # Part of the Outdoor Front Lights Group
|
||||
|
||||
sensor:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- chime_level
|
||||
|
||||
button:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
# - do_not_disturb
|
||||
- motion_sensor
|
||||
|
||||
###################################
|
||||
## Automations
|
||||
###################################
|
||||
## Doorbell Press
|
||||
automation:
|
||||
- alias: 'Log SkyBell Pressed Activity'
|
||||
id: 64226512-f35d-4179-bfcb-9de158b8d3f4
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.skybell_front_door_button
|
||||
to: 'on'
|
||||
- platform: event
|
||||
event_type: skybell_pressed
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{%- if states.binary_sensor.skybell_front_door_button.attributes.last_triggered -%}
|
||||
{{ (as_timestamp(now()) - as_timestamp(states.binary_sensor.skybell_front_door_button.attributes.last_triggered)) > 200 }}
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
action:
|
||||
- service: script.skybell_pressed
|
||||
|
||||
|
||||
# Motion Sensing
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
id: a22c2cb7-08b2-4bd1-bc82-77201253a000
|
||||
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_motion
|
||||
|
||||
action:
|
||||
- service: script.front_house_motion
|
||||
|
||||
# Turn SkyBell Light and Neato Schedule back on if it's turned off. Like any Good Watchdog.
|
||||
|
||||
- alias: Automated Mismatch WatchDog!
|
||||
id: bff434b9-5916-42d1-8620-5723b4b1879d
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- light.front_door
|
||||
- switch.carlo_neato_schedule
|
||||
to: 'off'
|
||||
|
||||
#Turn it back on!
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
data:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
@ -1,20 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#---Sensor Mail and Packages-----------------------------
|
||||
usps:
|
||||
username: !secret myusps_username
|
||||
password: !secret myusps_password
|
||||
|
||||
camera:
|
||||
- platform: usps
|
||||
scan_interval: 5
|
||||
|
||||
group:
|
||||
mail:
|
||||
name: Mailbox Information
|
||||
|
||||
entities:
|
||||
- sensor.usps_mail
|
||||
- sensor.usps_packages
|
||||
- camera.usps_mail
|
||||
@ -1,14 +0,0 @@
|
||||
>-
|
||||
{% set pick = [
|
||||
"ThrowBack", "S01E01", "S01E02","S01E03", "S01E04","S01E05", "S01E06","S01E07", "S01E08","S01E09", "S01E10",
|
||||
"S01E11", "S01E12","S01E13", "S01E14","S01E15", "S01E16","S01E17", "S01E18","S01E19", "S01E20", "S01E21",
|
||||
"S02E01", "S02E02","S02E03", "S02E04","S02E05", "S02E06","S02E07", "S02E08","S02E09", "S02E10",
|
||||
"S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20",
|
||||
"S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34",
|
||||
"S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4",
|
||||
"S03E01", "Bearnews5", "Bearnews6", "Bearnews7", "S03E02", "S03E03", "Logger", "SolarPalmLight", "5TipsToLevelUp", "AlexaMusicCommands",
|
||||
"SolarFountainOKMEE", "NoCloudGaradget", "AlexaGuardMediaPlayer", "LightningSensor", "LEDBackboard", "CuckooClock", "NodeAnchors", "yahoostocks",
|
||||
"AugustBatteries", "Remote_Finder", "VideoProjectionMappingDemo", "FeedTheDog", "AlexaGiftNotifications","iPhoneDuplicates", "NotifyScript", "WeightLossJourney",
|
||||
"SnapPower", "LocalControl", "TossingWink", "EnergyDashboard", "IOSBrokeNoifications", "SolarDriveway", "UPS_Replacement", "VillaNERI", "GardenLED", "RokuOnHA", "RunningAutomationsCard"
|
||||
] %}
|
||||
{{ pick|random }}
|
||||
Loading…
Reference in new issue