🔹 Browser_mod - turn your browser into a controllable device, and a media_player

Strange. I tried it again, and this time it worked. I had to tap something on the panel, and then all of the queued-up TTS messages came through at once! Thanks for your help. At least I know now to tap something once the app opens. Not sure why, but at least it works.

Probably it was waiting for user interaction.

Hi, I use wallpanel as well. I solved that problem by clearing the prowser cache. After that, the media player works. It might be, that everytime, the Lovelace is changed, wallpanel needs a restart in order to play media and navigate.

Thanks! That may be a bit of my issue. I’ll need to test that. I did find that when my tablet is connected to a bluetooth speaker (so I can actually hear it), that is when the issue happens. If I disconnect from bluetooth and use the onboard speaker, it seems to work every time. Strange. I’m going to try a lineout speaker instead and see if the same thing happens.

How you managed to install this? I have followed the instructions but nothing seems to work?

Restart Home Assistant, make sure the /config/custom_components/browser_mod/ folder is present, and refresh the page.

Still the same

Hi , I have followed your installation steps but I can’t get it to work , and do you know why this is not available in HACS?

## Log Details (ERROR)

Logger: homeassistant.components.websocket_api.http.connection.2778458072
Source: components/websocket_api/connection.py:84
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 9:46:29 (28 occurrences)
Last logged: 9:48:16

* Received invalid command: browser_mod/connect
* Received invalid command: browser_mod/update

Noticed those errors too the other day, when I had moved the config to a dedicated package. Apparently browser_mod doesn’t like that. Maybe it takes a split second longer to load when not in the root of the configuration, yaml file, but in a dedicated package.

this error remains no matter:

    adder = hass.data[DOMAIN][DATA_ADDERS][platform]
KeyError: 'sensor'

where did you declare the browser_mod: section?

Yes, section

It’s odd that you’re receiving those logs, given that that means that it was able to load the JS. Try waiting and then see if you see any sensor.**************** entities.

A few systems reboot and still nothing

Mind sharing:

  • More HA logs
  • More browser console logs
  • Your configuration
  • How you determine whether browser-mod is working or not?

I’ve just noticed that in 0.115, the browser-player card doesn’t show the volume slider:

This looks like it’s using ha-paper-slider, so I wonder if it’s similar to the issue I had with my home-feed-card custom card where ha-markdown wasn’t working until I forced it to load by creating a dummy markdown card.

I am playing with the experimental function of browser_mod and it is super useful. However, this is something in the new Safari or iOS14 that makes it impossible to use the ?deviceID=mydeviceID at the end of the URL (although it works if I use google chrome but not safari). Is there a way to issue a command (in a script or automation) that will assign mydeviceID correctly so that media_player.mydeviceid can play on the device that triggered it? Thanks for any insight!

You can assign a custom alias to a device ID w/out that feature, check out the configuration docs.

Yes I know about the aliases but that won’t work for my purpose. What I need is a way that the same button on any device will trigger a streaming of music but that will play on the device from which the trigger was initiated. The new experimental function of browser_mod would do that except for that glitch on iOS or MacOS using safari (it may be just a safari problem). Thanks for the suggestion though.

Try out this.

Hi all,

wondering on how to make this mod work… Is there a video example on how to make the popup work? Should I just work on lovelace or I need to add more info somewhere? Thanks