Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95380

Camera integration in floor plan (sweet home 3d)

$
0
0

@AgMa wrote:

Hi there,
I finished a floor plan of my house with sweet home 3d and I’m trying to integrate my camera in it to show live stream. However I struggle with the code part. I believe has something to do with the call-service part, but can’t figure it out.
Currently my lovelace is this:

          - entity: camera.paidiko
            image: /local/floorplan/transparent_square.png
            style:
              border: 5px solid red
              left: 28%
              top: 20%
            tap_action:
              action:
                data:
                  entity_id: camera.paidiko
                service: camera.play_stream
            type: image

I tried this but I don’t know which media player needs:

  - service: camera.play_stream
    data:
      entity_id: camera.garage_camera
      media_player: media_player.living_room_tv

Where am I wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>