Advertisement
pqpxoxa

HA - Web Service Ping Status Checker Thingy Sensor

Jan 30th, 2023
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. platform: command_line
  2. name: 'Sonarr Online'
  3. command: response=$(curl -LIk -m 3 http://192.168.3.25:2939 -o /dev/null -w "%{http_code}\n" -s); test "$response" -ge 200 && echo "Online" || echo "Offline"
  4. scan_interval: 90
  5. value_template: '{{ value }}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement