Added in New RACHIO cOMPONENT.

This commit is contained in:
ccostan 2018-07-07 12:48:29 -04:00
parent dc6ecd6a46
commit d291aedb33
4 changed files with 60 additions and 27 deletions

View File

@ -508,24 +508,6 @@ sensor.process_node:
sensor.rachio:
friendly_name: 'Rachio Sprinklers'
hidden: False
homebridge_hidden: True
icon: mdi:spray
sensor.rachio_watering_time:
friendly_name: 'Rachio Watering Time'
hidden: False
homebridge_hidden: True
sensor.rgb_led_garage_large: sensor.rgb_led_garage_large:
friendly_name: 'Rgb Led Garage Large' friendly_name: 'Rgb Led Garage Large'

View File

@ -1,5 +1,4 @@
MQTT: MQTT:
entities: entities:
- sensor.rachio_watering_time
- sensor.medicine_time - sensor.medicine_time
- sensor.last_message - sensor.last_message

View File

@ -7,16 +7,72 @@
## [Rachio Sprinkler system](http://amzn.to/2eoPKBW) - Smart Sprinkler controller ## [Rachio Sprinkler system](http://amzn.to/2eoPKBW) - Smart Sprinkler controller
###################################################################### ######################################################################
homeassistant: homeassistant:
# customize_glob: customize_glob:
# "*.carlojuice*": "*.rachio*":
# homebridge_hidden: True homebridge_hidden: True
# hidden: False hidden: False
#------------------------------------------- #-------------------------------------------
rachio: rachio:
api_key: !secret rachio_api api_key: !secret rachio_api
sensor:
- platform: mqtt
state_topic: "ifttt/rachio/watering_time"
name: "Rachio_watering_time"
binary_sensor: binary_sensor:
- platform: rachio - platform: rachio
switch: switch:
- platform: rachio - platform: rachio
group:
rachio:
entities:
- sensor.rachio_watering_time
- binary_sensor.carlorachio_online
- switch.carlorachio_in_standby_mode
- switch.backyard_shrubs
- switch.front_lawn
- switch.left_side_house
- switch.front_hedges__right_side_house
automation:
###################################
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
hide_entity: True
trigger:
- platform: event
event_type: rachio_water_stops
action:
- service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."
- service: mqtt.publish
data_template:
payload: '{{ states("sensor.date") }}'
topic: 'ifttt/rachio/watering_time'
retain: true
- service: script.tweet_engine_image
data_template:
tweet: >
{{ [
"Just finished watering the lawn with @_Rachio.",
"The lawn looked thirsty so I watered it.",
"My lawn looks great and we definately do not water it nearly as much as everyone else. (http://amzn.to/2eoPKBW)",
"No rain in the forecast? @_Rachio knows & chose to water the lawn.",
".@CCostan does not even think about watering the lawn. Me and @_Rachio take care of that."
] | random + " #SavingWater"}}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/sprinkler.png",
"/config/www/custom_ui/floorplan/images/branding/sprinkler2.png",
"/config/www/custom_ui/floorplan/images/branding/sprinkler3.png"
] | random }}

View File

@ -2,10 +2,6 @@
## Various MQTT sensors ## Various MQTT sensors
################################################### ###################################################
- platform: mqtt
state_topic: "ifttt/rachio/watering_time"
name: "Rachio_watering_time"
- platform: mqtt - platform: mqtt
state_topic: "dash/medicine/medicine_time" state_topic: "dash/medicine/medicine_time"
name: "Medicine time" name: "Medicine time"