Hi everyone, I have several IPcam d-links that are regularly viewed by HA under the MJPEG platform with which I can view the video live both with a card and with the excellent motionEYE. Now I wanted to create an automation that, detected a movement by a camera, sent a video stream to a TV or to an ECHO Show.
I made an RTSP stream as follows:
- platform: generic
still_image_url: http: //192.168.X.XX/jpg/image.jpg
stream_source: rtsp: 192.168.X.XX: 554 / live1.sdp
username: *******
password: *************
I can play it on a card, but when I try to send it to a media_player with this script (created through the UI):
ā1584959344743ā:
alias: Stream
sequence:- data:
media_player: media_player.studio
entity_id: camera.generic_camera
service: camera.play_stream
where media_player.studio is an echo show 5
nothing is happening.
I state that, after launching the script, no errors appear in the log and that the echo show works regularly if a message is sent to be reproduced via notify.
I also tried to send the stream to an LG TV that I can control via HA, but also in this case no results.
Any help very appreciated.
- data:
Greetings from Italy