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

Support custom graphs #768

Open
ZimbiX opened this issue Jan 17, 2023 · 1 comment
Open

Support custom graphs #768

ZimbiX opened this issue Jan 17, 2023 · 1 comment

Comments

@ZimbiX
Copy link
Collaborator

ZimbiX commented Jan 17, 2023

I recently forked this repo to add a graph for my home solar power. I think it would be nice to make this feature generic and upstream the change. I'm thinking of something as follows:

  • Have a setting to specify a script to run each tick to generate the new data

  • The script must output in an expected format, e.g. for my case, perhaps something like:

    production,6000,W
    total-consumption,1000,W
    net-consumption,-5000,W
    

    (I haven't yet worked out how to handle negative numbers in my graph, but that's beside the point)

  • Have a way of selecting the colour of each plot. Perhaps the easiest would be via a fixed number of colour settings for line 1, line 2, etc.

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

No branches or pull requests

2 participants