Iāve tried that as well, but clicking on the link still doesnāt actually change the device id. If I press enter in the address bar or reload the page on a desktop browser after clicking on the link it does change, but I canāt do that in the mobile app.
Iām assuming that the script is only checking the query string parameters when it loads, and navigating to a link doesnāt trigger a reload of the script while manually entering the url in the address bar or reloading after clicking the link is.
I use swipe-card with browser_mod, and itās works fine with HA 112.4 and Browser _mod29. Atfer upgrade to HA 114.1 and browser_mod 1.1.6 the swipe-card is not working. Here is a simple example:
so it creates media_player and sensor entities, and nothing else. unfortunately, all devices have a light entity. Why is incorrect in the above setup please? Do I need to disable that per entity that does have an alias?
My understanding is that a global disable: key only affects devices that are not then named specifically under the devices: section. I think you need to explicitly disable light for each separate, named device i.e.:
update
restarting my instance once more, and closing the browsers, after having edited (back) to the above seems to have solved my quest: no more light entities. So, thanks
When I open a browser and check for the attribute type: browser_mod only media_player and sensor entities are created. perfect!
do see more of these now:
2020-08-18 12:03:01 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2873139624] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 95, in async_handle
handler(self.hass, self, schema(msg))
File "/config/custom_components/browser_mod/connection.py", line 36, in handle_update
devices[deviceID].update(msg.get("data", None))
File "/config/custom_components/browser_mod/connection.py", line 72, in update
self.sensor = self.sensor or create_entity(
File "/config/custom_components/browser_mod/helpers.py", line 30, in create_entity
adder = hass.data[DOMAIN][DATA_ADDERS][platform]
KeyError: 'sensor'
Hi, just stumbled across this, and it looks promising. Currently, I am using a picture card to display a streaming camera URL, which I would like to open in a pop-up instead of a new browser tab. Is this achievable? Thanks
My device_idās keep changing. Based on another comment here, Iām guessing it happens when I clear the cache on fully kioskā¦ Is there any way to prevent this and force the same device to keep the same device_id forever and ever and ever?
ha, a known nuisance. referenced that here in the WTH topic, hope its not an Apple thing, and maybe HA devs can find a way around that. At least, of the permanent changing of the idās cant be prevented, come up with some automatic way of aliasing themā¦
I have put in and browser_mod isnāt responding. I can see in the console that BROWSER_MOD 1.1.6 IS INSTALLED ā¦ and there are the browser mod entities and services available ā¦
There isnāt something extra I need to do with a docker instance?
Thanks for the pointers ā¦ I finally got my system working. Was confused about putting stuff under browser_mod in configuration.yaml ā¦
Anyhow, I ended up editing via Raw Configuration Mode and putting in ā¦