Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: 'LG TV webos notifications '
- description: ''
- trigger:
- - type: motion
- platform: device
- device_id: #colocar o device id da vossa tv
- entity_id: binary_sensor.#colocar o vosso sensor de movimento
- domain: binary_sensor
- condition: []
- action:
- - service: webostv.command
- data:
- entity_id: media_player.living_room_tv #substituir pela entidade da vossa tv
- command: system.launcher/open
- payload:
- target: >-
- http://xxx.xxx.xxx.xxx/cgi-bin/api.cgi # colocar o URL da snapshot da vossa ipcamera
- - delay:
- hours: 0
- minutes: 0
- seconds: 10 #tempo que dura a imagem da camera no ecrã da vossa tv
- milliseconds: 0
- - service: webostv.button
- target:
- entity_id: media_player.living_room_tv
- data:
- button: EXIT
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement