Updated for some Camera fixes. Moving everything over to frigate. #1461
parent
42194f2e42
commit
d9af5da123
@ -1 +1 @@
|
|||||||
2024.5.5
|
2024.7.0.dev202406190219
|
||||||
@ -1,43 +0,0 @@
|
|||||||
#-------------------------------------------
|
|
||||||
# @CCOSTAN
|
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# More Info : https://www.vcloudinfo.com/2019/03/using-foscam-cameras-with-home-assistant-and-synology.html
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
binary_sensor:
|
|
||||||
- platform: rest
|
|
||||||
name: "CAMERA1 Motion Sensor"
|
|
||||||
resource: !secret camera1_url
|
|
||||||
device_class: motion
|
|
||||||
scan_interval: 5
|
|
||||||
value_template: >-
|
|
||||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
|
||||||
{{ true }}
|
|
||||||
{%- else -%}
|
|
||||||
{{ false }}
|
|
||||||
{%- endif -%}
|
|
||||||
- platform: rest
|
|
||||||
name: "CAMERA2 Motion Sensor"
|
|
||||||
resource: !secret camera2_url
|
|
||||||
device_class: motion
|
|
||||||
scan_interval: 5
|
|
||||||
value_template: >-
|
|
||||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
|
||||||
{{ true }}
|
|
||||||
{%- else -%}
|
|
||||||
{{ false }}
|
|
||||||
{%- endif -%}
|
|
||||||
- platform: rest
|
|
||||||
name: "CAMERA3 Motion Sensor"
|
|
||||||
resource: !secret camera3_url
|
|
||||||
device_class: motion
|
|
||||||
scan_interval: 5
|
|
||||||
value_template: >-
|
|
||||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
|
||||||
{{ true }}
|
|
||||||
{%- else -%}
|
|
||||||
{{ false }}
|
|
||||||
{%- endif -%}
|
|
||||||
#-------------------------------------------
|
|
||||||
# Motion Sensors added to other motion sensors in group yaml
|
|
||||||
#-------------------------------------------
|
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in new issue