uptime_robot_up

View All Rules

alias: uptime_robot_up
trigger:
  platform: state
  entity_id:
    - binary_sensor.jarvis_ha
    - binary_sensor.jarvis_nodered
    - binary_sensor.jarvis_traccar
    - binary_sensor.gitlab
    - binary_sensor.mail_server
    - binary_sensor.webmail
    - binary_sensor.ssh_odin
    - binary_sensor.ssh_roger_young
    - binary_sensor.ssh_synology
    - binary_sensor.nxcore
    - binary_sensor.nxfifteen
  from: 'off'
  to: 'on'
action:
  - service: script.notify_tts_room
    data_template:
      room: "study"
      value1: "{{ trigger.to_state.attributes.friendly_name }} is online again."
      hashtag: "#UpTimeRobot #Recovered"
  - service: notify.signal_stuart
    data:
      message: "{{ trigger.to_state.attributes.friendly_name }} is online again."


© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.