šŸ”¹ Browser_mod - turn your browser into a controllable device, and a media_player

Thank you very much for this mod @thomasloven ! Love it so far.

Just one question:
Iā€™m using Fully Kiosk browser on an android tablet and would like to turn off the screen (light.tablet) 5 minutes after no interaction on the device. Havenā€™t found which trigger I need to use to get it done.
Could you please help?

Thereā€™s a setting for that in the FKB app somewhere. Thatā€™s better than to rely on hass to do it for you.

I know but I would like to deactivate the screen only at night.
Thatā€™s why Iā€™m asking :slight_smile:

I use this command to display a camera image on a tablet, what to do to make a photo from the camera appear instead of a movie

auto_close: true
command: more-info
deviceID:

  • dce9ca7a-98b720e2
    entity_id: camera.streaming_enabled
    large: true

Hi,

First-things-first, thanks for this wonderful plugin! I realy love it, but I have a little problem with camera.

Iā€™m using Hass.io with browser_mod on a Huawei tablet Fully (PLUS) with enabled camera access, javascript frontend, and almost everything what i can enable. In the HA configuration.yaml:

browser_mod:
prefix: ā€œbrowser_ā€
devices:
mydeviceid:
name: my terminal device
camera: true

In the HA log, browser terminal there is no error, and I can reach every other sensor, binary sensor from this device. Even motion detection!
I have several other generic cameras and those are configured and present in system. Only the camera.my_terminal_device is not showing.
Of course Iā€™ve rebooting the Hass.io and the tablet after every change.

In the Fully, (or even in Chrome) the HomeAssistant website is not asking permission for the webcam and/or the microphone. I use it on http.

What am I missing, what I can do to access camera?

Thanks,
Gabor

Thanks, the direct camera access by Fully is working!

First let me say thanks Thomas for all the amazing components you have created.
I do have a major problem with the popup function though (which my UI design depends heavily on).
Whether I override a more-info dialog with a popup_card OR use browser-mod.popup, the card does work as intended BUT all the other ā€œvanillaā€ info cards no longer appear (the screen gets greyed out but the standard popup does not appear). I can reproduce the problem on iOS HA app, Safari and Chrome.
Only way to ā€œrestoreā€ the normal behavior is to force reload the page.

Any idea what could be happening? Thanks

Whether I override a more-info dialog with a popup_card OR use browser-mod.popup, the card does work as intended BUT all the other ā€œvanillaā€ info cards no longer appear (the screen gets greyed out but the standard popup does not appear).

Iā€™ve been setting up browser_mod yesterday / today and this answers so much. Iā€™m also experiencing this bug on Firefox and Iā€™ve been trying to fire out whatā€™s been going on and why things arenā€™t working. I now see itā€™s also reported on github - more-info does not work after browser mod pop up Ā· Issue #56 Ā· thomasloven/hass-browser_mod Ā· GitHub

Hey, is there some way to get a camera stream to pop up in fullscreen mode rather than windowed? I have some portrait orientation cameras that donā€™t display nicely unless they are in fullscreen streaming. I tried it like this, but canā€™t get it to open with fullscreenā€¦

- service: browser_mod.command
  data:
    command: more-info
    entity_id: camera.back_stream
    deviceID:
      - !secret kindle_kitchen_deviceid
    large: true

Oh thanks Perry! That was indeed the bug and with the upgrade to 0.105 everything is working great again!

Hi All,

Im trying to use the camera part. But really donā€™t know how to do this.
The camera: true is added in configuration.yaml in browser_mod part.

Do I need something enable in FKB ?

Ok Thanks. But still not clear how to get the camera of the tablet into HA thenā€¦ or do I ask something stupid :flushed:

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! :slight_smile:

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.