Hi, just noted this in your code. FYI: This is decluttering card variable format.
I remember when I started with HA and that Google (these days AI) would lead me down strange paths that just would not work. Usually it was following some example where context was not fully documented.
Good feedback. Thanks I can see where the documentation can be improved. `popup_card_id’ is new feature and would lead you to think it would just work the way you expect. However there is the need to work with the way Home Assistant services work, and that Browser popup service can work both ways. The doco should have both methods in that section.
Hello everyone, I’ve been sitting in front of my PC for hours now trying to get Browser_Mod to work in Home Assistant.
What I’ve managed to do:
I can easily display a pop-up with text.
alias: 1 Test Stream Haustür Kamera
description: “”
triggers:
trigger: state
entity_id:
input_boolean.testschalter
from: “off”
to: “on”
conditions:
actions:
When streaming from a Reolink camera, no image appears, only the pop-up runs for 30 seconds. But no stream is displayed. The camera is integrated into Home Assistant and works.
Can anyone tell me what the problem is?
THX Reinhard
Hi. It’s likely a network/url issue of the media source stream, in that the resolved media url can’t be played by the Browser. If this is not working on your desktop, checking the browser console log will likely have an error to help you along. If it is a device that is not working, then you can try the Browser Mod media player for that device. If it fails, look at the media player device in states tab if Developer tools, look at the attributes to find the url that was attempted.
Usual issues here is that the Browser is using https to access Home Assistant, perhaps cloud, but the media is being streamed by http using local network URL. Another issue if both are http is that one is a named url and one an IP address, then being a CORS issue. All these sort of network issues can be first managed by checking your local and cloud URL in network settings. You can also set cors_allowed_origins under http in configuration.yaml if required.