Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript front end #5

Open
partofthething opened this issue Aug 24, 2020 · 2 comments
Open

Javascript front end #5

partofthething opened this issue Aug 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@partofthething
Copy link
Owner

Right now, the system uses matplotlib on the backend to make PNG images to be shown in the browser. This has some disadvantages in backend speed and theme matching.

A version of this with a javascript front-end might be really awesome.

@partofthething partofthething added the enhancement New feature or request label Aug 24, 2020
@partofthething
Copy link
Owner Author

partofthething commented Nov 21, 2020

Plotly js has some pretty good examples along these lines that we can probably work from easily.

I just need to figure out the structure of getting a lovelace card into a custom component repo and then get the data to it.

@partofthething
Copy link
Owner Author

A little progress. I have a dummy plot plotting with dummy data to a degree in here. It's not perfect, but it wasn't easy to get here for me!

image

More work:

  • Find a suitable plot library and get it to work with lovelace
  • Make a home assistant entity with data from skyfield to send to the frontend for rendering
  • Update the custom card js to use actual data from the entity
  • Polish the heck out of the js front end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant