Hello all,
I am trying to cast one of my camera using custom-iframe or iframe or any other card (whatever works it’s fine for me), however I am not able to wrap my head with css styles. I have tried a million things and I am not able to position or resize the iframe to a section of my screen (lovelace)
I am using browser_mod to popup the feed from the camera whenever I click the image (that is inside a picture elements card)
With this code, I can see my feed in the center of my screen whenever I press the image, however I would like to enlarge it a little bit and if possible also control it’s position (and not always in the center)
You can find here a screenshot of my UI, camera — ImgBB
Any help or tip would be greatly apreciated
- type: image
entity: binary_sensor.kitchen_contactsensor
tap_action:
action: fire-dom-event
browser_mod:
command: popup
title: ' '
hide_header: true
auto_close: false
card:
type: custom:mod-card
card:
type: custom:custom-iframe
url: http://192.168.1.22/ui3.htm?group=GGarage&maximize=1