Kód: Vybrat vše
https://www.home-assistant.io/integrations/vivotek/
diky
Kód: Vybrat vše
https://www.home-assistant.io/integrations/vivotek/
Kód: Vybrat vše
enable_motion_detection
To znamená že to funguje ,ale pravděpodobně jako aktivace kamery, která potom následně při pohybu podle konfigurace provede záznam, notifikaci atd. což by se její další stav dal použít jako sepnutí něčeho jestli chápeš jak to myslím, ale jako zapínání světel mi to nepřipadá moc efektivní.
ahoj, taky budu vařit z vody.....
Kód: Vybrat vše
[{"id":"f514f143.fc2798","type":"trigger-state","z":"ca2117b.3f0e668","name":"je tam pohyb !","server":"1c1ccadc.716d65","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"tvoje kamera","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"property","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"true","propertyValue":"enable_motion_detection"}],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":420,"y":840,"wires":[["b359cedf.c72428"],[]]},{"id":"7eef24c2.8ab36c","type":"api-call-service","z":"ca2117b.3f0e668","name":"je před kamerou pohyb?","server":"1c1ccadc.716d65","version":1,"debugenabled":false,"service_domain":"camera","service":"enable_motion_detection","entityId":"tvoje kamera","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":190,"y":840,"wires":[["f514f143.fc2798"]]},{"id":"b359cedf.c72428","type":"api-call-service","z":"ca2117b.3f0e668","name":"","server":"1c1ccadc.716d65","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"svetlo v zahradě","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":630,"y":820,"wires":[["493433d0.24f894","283d0a0e.b1460e"]]},{"id":"493433d0.24f894","type":"stoptimer","z":"ca2117b.3f0e668","duration":"5","units":"Minute","payloadtype":"num","payloadval":"0","name":"","x":840,"y":780,"wires":[["2d6f0b6b.63b3f4"],[]]},{"id":"2d6f0b6b.63b3f4","type":"api-call-service","z":"ca2117b.3f0e668","name":"","server":"1c1ccadc.716d65","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"svetlo v zahradě","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1070,"y":720,"wires":[[]]},{"id":"283d0a0e.b1460e","type":"api-call-service","z":"ca2117b.3f0e668","name":"","server":"1c1ccadc.716d65","version":1,"debugenabled":false,"service_domain":"notify","service":"notifikační služba","entityId":"notifikator","data":"{\"message\":\"abcdefgh zpráva\"}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":880,"y":860,"wires":[[]]},{"id":"1c1ccadc.716d65","type":"server","name":"Dubák HAss","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
Kód: Vybrat vše
alias: '0000'
description: ''
mode: single
trigger:
- platform: state
entity_id: camera.generic_camera
attribute: motion
to: 'true'
for: '00:00:05'
condition: []
action:
- service: light.turn_on
data: {}
entity_id: light.sv_v zahradě
- service: notify.mobile_telegram
data:
message: něco se hbe v zahradě
- delay: '00:05:00'
- service: light.turn_off
data: {}
entity_id: light.sv_v zahradě