Tiem to store MORE things in INFLUX DB. Set up realtime camera and Historical tweets.

This commit is contained in:
ccostan
2018-06-12 21:13:03 -04:00
parent 338a57de4d
commit ddfd5c23c4
4 changed files with 16 additions and 65 deletions

View File

@@ -57,34 +57,9 @@ group:
- sensor.grid_now
- sensor.house_now
- sensor.solar_now
- camera.grafana_solar_graph
#-------------------------------------------
#
# automation:
# - alias: PiHole Daily stats Tweet!
# trigger:
# platform: time
# at: '23:50:00'
# action:
# - delay: '00:{{ (range(1, 9)|random|int) }}:00'
# - service: script.tweet_engine
# data_template:
# tweet: >
# {{ [
# "I blocked {{states.sensor.pihole_ads_blocked_today.state}} ads. That is {{states.sensor.pihole_ads_percentage_blocked_today.state}}% of my internet traffic.",
# "Today was a good day! Why, you ask? Because I blocked {{states.sensor.pihole_ads_blocked_today.state}} ads via Pi-Hole!",
# ] | random + " #PiHole #Security Status:({{states.sensor.carlopihole.state}})"}}
#
# - alias: PiHole Daily Client Tweet!
# trigger:
# platform: time
# at: '04:30:00'
# action:
# - delay: '{{ (range(1, 6)|random|int) }}:{{ (range(1, 50)|random|int) }}:00'
# - service: script.tweet_engine
# data_template:
# tweet: >
# {{ [
# "There are currently {{states.sensor.pihole_dns_unique_clients.state}} clients on my network.",
# "As reported by #Ubiquity Routers, There are {{states.sensor.pihole_dns_unique_clients.state}} clients on my network.",
# ] | random + "#Security http://amzn.to/2D2AfXS"}}
# Located in the Grafana package. Tweets out Solar Production Daily!