Ok Thanks. But still not clear how to get the camera of the tablet into HA thenā¦ or do I ask something stupid
Thereās a rest command to get a camera snapshot. That can be used with the generic camera i hass.
I saw already some http links to do some remote access things. WIll config this and see if its handy for me !
Can I somehow pass a style variable in Browser Mod Popup?
EXEMPLE (using card-mod):
type: picture-elements
image: /local/test.png
elements:
- type: image
image: /local/test1.png
entity: switch.test
style:
filter: brightness(var(--brightness))
style:
.: |
ha-card {
--brightness: {{ '0%' if... else... }}
The code above does not work with Browser Mod Popup
Did you ever figure out the formatting for this? Iām running into the same issue.
Hi - great mod!
Will the ādevice idā always be the same from a given browser regardless of it moving networks/IPs etc.? I have trouble understanding if some of my browser plugins confuse the pluginā¦
Unfortunately I havenāt figured this out yet.
Hej.
The device_id is stored by your browser. Itās kind of like a cookie, and is connected to the webpage via itās domain name.
So, if you access hass via say https://hassio.local
at home but https://xyz.ui.nabu.casa
at not_home
, you will get two different device_ids in the same browser on the same machine.
When you get back home, you will get the old device_id back.
Anonymous mode in your browser does not store the device_id between sessions.
Iām trying to refresh my wall tablet back to my home lovelace screen after so many minutes of inactivityā¦Would anyone know how to trigger an automation if the ālast seenā hasnāt changed in 5 minutes?
type: browser_mod
last seen: 2020-02-10T19:17:04.066973
deviceID: 08285aef-219ab0f2
path: /lovelace/home
visibility: visible
I am having a weird result when I use this component where I want to display the ālight-popup-cardā in a popup card. It displays the popup card but it will also display the sun card when i click off it on my phone. It also displays 2 headers.
Does anyone know why this happens based on the code I have?
popup_cards:
switch.kitchen_patio_switch:
title: "TEST"
style:
position: fixed
z-index: 999
top: 0
left: 0
height: 100%
width: 100%
display: block
align-items: center
justify-content: center
background: rgba(0, 0, 0, 0.8)
flex-direction: column
margin: 0
"--iron-icon-fill-color": "#FFF"
card:
type: custom:light-popup-card
entity: switch.kitchen_patio_switch
deviceID:
- this
Card that comes up:
When I click one of the āXā:
Thanks for the quick response. However, I believe I am already on release 22, based on what HACS says. I am running HA version 0.105.2, right now.
Iām doing style passing extensively in my popups and havenāt had any issue.
Iām doing it in custom āpopup_cards
ā and with type entities
as opposed to picture-elements
but I doubt that would affect the result ā¦
you might want to check that youāre running card-mode v12
as v13
seems to currently broken.
Why this great plugin is not available in HACS?
It is.
Ah, sorry, I was looking in plugins and I didnāt find that info on docs also. Thx.
Anyone know why I have three lights related to browser_mod? I would think that two were old sensors from previous sessions/cookies, but if you look, all three of the ālightsā have been seen today!
their type
says it all I think.
afaik they call them "virtual lightā - each browser_mod
has one