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

Add way for Server based data in charts #72

Open
3 of 12 tasks
Tracked by #46 ...
mitra42 opened this issue Nov 26, 2024 · 0 comments
Open
3 of 12 tasks
Tracked by #46 ...

Add way for Server based data in charts #72

mitra42 opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@mitra42
Copy link
Owner

mitra42 commented Nov 26, 2024

Want to be able to see old data

  • Server: store data in file  #70
  • UI to request data from server - as button on graph
  • Way to access old data from server (maybe each poll is a day's ?)
  • Arrow to request a day's data - each push gets previous day
    • should store last date collected on each dataset and Graph (maybe as millisecs number) of last date
    • When adding new dataset (via button or later from graph itself) should add any back data needed to match the Graph
    • As replace first dataset - using state.data = .. won't work on its own, as graph's dataset needs to point to this new data
    • After first - do push (or unshift?) onto front of data array
    • new data on each dataset should still append
    • Need conversion function for each dataset - prob on place it came from (e.g. MqttBar)
      Completion
  • clean up old CSV in imports and importmap
  • make something like GETcsv that combines the fetch and parse also GETyaml
@mitra42 mitra42 mentioned this issue Nov 26, 2024
25 tasks
@mitra42 mitra42 added the chart label Nov 26, 2024
@mitra42 mitra42 mentioned this issue Nov 27, 2024
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant