Code Monkey home page Code Monkey logo

lovelace-browser-commander's People

Contributors

thomasloven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lovelace-browser-commander's Issues

Any idea why this doesn't create a popup?

I was able to get "debug" to give me a popup. The script is launching, the device and entity id's are both quintuple checked to be correct. But no popup.. Any idea why?

  launch_camera_back_popup:
    sequence:
      - event: browser_command
        event_data:
          command: more-info
          id: 080081a9-e0bfb147
          entity-id: camera.back
          large: true

Configuration check error.

Just did a check config on my hassio instance 0.88.1 and got the following error.
Package browser_commander setup failed. Component script cannot be merged. Expected a dict.
I have no clue what it might be.

Doesn't work if User not in Admin Group

Sorry Thomas, maybe not YOUR issue, but thought i post it here.

Browser commander does nothing (using debug, navigate and lovelace-reload) if the logged in user is not in the admin group.

There was a similar issue with UI state refresh, maybe it's related.

Thank you in advance.

Plugin Error - No Action

Thank you for creating this. Im running HA 0.89.1 in docker.
Installed plugin per the instructions and copied the "find_browser_commander_ids" sample.
When I execute the script, there's no pop up.
No error in HA, however found the below in the Chrome dev section.

CARD-TOOLS IS INSTALLED
DeviceID: 530bdce9-349dc7672
Uncaught TypeError: Cannot read property 'shadowRoot' of null card-tools.js:54 
    at Function.fireEvent (card-tools.js:54)
    at Function.moreInfo (card-tools.js:199)
    at makepopup (browser-commander.js:26)
    at Object.window.LovelaceBrowserCommander.window.LovelaceBrowserCommander.cardTools.hass.connection.subscribeEvents [as eventCallback] (browser-commander.js:67)
    at n._handleMessage (core-671132a8.js:1)
    at WebSocket.<anonymous> (core-671132a8.js:1)
fireEvent @ card-tools.js:54
moreInfo @ card-tools.js:199
makepopup @ browser-commander.js:26
window.LovelaceBrowserCommander.window.LovelaceBrowserCommander.cardTools.hass.connection.subscribeEvents @ browser-commander.js:67
n._handleMessage @ core-671132a8.js:1
(anonymous) @ core-671132a8.js:1
3card-tools.js:54 Uncaught TypeError: Cannot read property 'shadowRoot' of null
    at Function.fireEvent (card-tools.js:54)
    at Function.moreInfo (card-tools.js:199)
    at makepopup (browser-commander.js:26)
    at Object.window.LovelaceBrowserCommander.window.LovelaceBrowserCommander.cardTools.hass.connection.subscribeEvents [as eventCallback] (browser-commander.js:60)
    at n._handleMessage (core-671132a8.js:1)
    at WebSocket.<anonymous> (core-671132a8.js:1)

Thank you.

Debug test doesn't pop up any information.

I have probably missed something.

I have both the browser-commander.js and the card-tools.js files in the /config/www/ folder and the UI for Lovelace has the resources pointing to these files.

I can actually get the browser ID in chrome console, but I'm trying to cause a popup on my tablet and PC by firing an event on the event bus in HA:

Event Type: browser_command
Event Data: {"command":"debug"}

The event fires, but nothing happens in the browser running the lovelace front end. Ideas?

Custom Updater support?

Hi Thomas,

I would like to use this plugin and wondered if it's possible to support the custom_updater for this plugin.

Cheers,
Ronald

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.