Oof.. my bad, I’ll fix that, thanks!
Edit: fixed! Should be better readable now.
Oof.. my bad, I’ll fix that, thanks!
Edit: fixed! Should be better readable now.
DataVista v1.3.4 is now available in the test channel and has been submitted for approval for the live channel!
datasource2 empty and only changing the period. You must now explicitly configure anothet datasource with the same source as datasource1, and set to a different period, to enable this comparison.@Erikvl87, when trying to use a progress bar to show the current power of my Homewizard Plug in Battery, values from -800 to +800, I cannot get it to look nice. The gauge is always filled from the left, not from the middle (so from the 0 value). The Advanced Gauge is perfectly usable with some styling, but takes up the space of about 4 progress bars.
Can I make a feature request for a second style of progresss bar? This should work with one metric (just as the other progress bar) and values around 0, so minus whatever to plus the same whatever. The colors could fade from the middle on out, where 0 could be black. That way when the battery is charging it could show one color and when discharging the other one. This would be analog the Homewizard round power gauge, but now flat.
Or, it could also be the same progress bar, where positive and negative have different colors and both filling from the left (negative values filled like positive ones). Would also work for me. ![]()
Thanks for doing such a great job on this app! Just about half of my dashboard is filled with Datavista features. ![]()
Hi @elsinga! Cool to hear DataVista is so helpful for your dashboards.
I think I covered the issue you’re describing here: Add option to the progress bar widget to start from 0 · Issue #4 · Erikvl87/nl.erikvl87.datavista · GitHub
You should already be able to set colors to negative values, so if I’m able to resolve the issue mentioned in the link, I think we got your usecase covered.
I’ll look into this soon.
Erik, that describes exactly what I suggested! Did not look at the Github page, sorry… No hurry, will keep an eye on when this is done. Thanks!
Sorry to keep bothering you, but I am puzzeld by another great Datavista feature: the line diagram. I created one to show on my dashboard, showing both the energy usage (P1 meter) and Feed in Power (Goodweinverter). In the documentation I read “Does the chart refresh automatically? Yes, it refreshes in line with the corresponding Homey insights update cadence.”.
Since I chose “day” as the timeframe, I expected the diagram to start over again at midnight, but it now still shows the diagrams from yeaterday (the day I added the diagram to my dashboard).
What am I doing wrong here? I checked the Then flow options for both Datavista and Insights and no mention of a reset or start over flow option.
Hey, no worries! This should’ve indeed automatically restarted at midnight. Let me check if I can find anything. I’ll also add a day series on my own dashboard and see if it refreshes.
I did quite some refactoring to get the additional series 3 & 4 implemented, and that could’ve broken something.
I also noticed that with that refactoring, I broke the chart when using the hour period
…
Could you also test it one more day to see if it wasn’t Homey that froze the whole dashboard (I had that sometimes).
I will let it sit until tomorrow to see if it was Homey. I had some strange things with Homey’s own Energy widget, on my dashboard tablet (“the old one”) it stopped showing today/tomorrow for the energy proces yesterday and then it worked again today. But now my regular tablet (quicker, so building the dashboards on that one) running the same dashboard is not showing the todat/tomorrow. Could indicate that something is wrong with the Homey.
Oh, running the line diagram with 2 datasources, since there are no inputs for 3 and 4. Guess I have to wait on the update, but could also mean it has nothing to do with your refactoring. Could use the 3rd datasource as the utility feed in, to see if my batteries could not keep up swallowing all that solar power (not today… I wish…).
Another thing I tried was editing the widget, like adding the time until refresh line. That line showed up, then went down in a couple of seconds and reappeared as the slow moving line. And no, no refresh (that was what I was hoping for). Maybe something you can use while troubleshooting. ![]()
You should be able to forcefully install the latest version from DataVista | Homey and that should allow up to 4 datasources now.
Since it follows the Homey Insights cadence, it could the first time quickly refresh because the insight is almost renewed. E.g. on 5 minute updates, when you add the widget when only 10 seconds left, the first refresh is quick.
The actual refresh is sometimes hard to observe. The bigger the timeframe, the harder. You should see a slight change on the right of the chart. Was this also on the day period?
DataVista v1.3.5 is now available in the test channel!
This version fixes an issue in the line chart widget when using the hour period.
Edit: Also available in the live channel now.
All was on the day cadence, since I want a nice overview of daily usage and generation. I will configure the widget that the refresh line is visible again, to observe its speed.
Okay, let the line diagram do its thing until now and… It actually started from 0 today.
A new widget is under development. The scatter plot widget.
The widget lets you select an Insight for both the X and Y axes, then automatically aligns their values based on timestamps.
Next, I’m planning to explore adding support for writing custom X and Y values to a temporary “identifier" that you can select as a datasource. For now, this data will not survive app restarts for performance reasons, but it will allow you to add and clear values through flows (for example, adding an X and Y value or clearing all values).
I know at least @TSteenberg would be interested
.
More about this widget later.
is there a easy way to delete al the data from the app, i tried to make a flow for widget for my dashboard but now i have a lot of data(more then 100mb)
i mean the data you find under the tab app-instellingen, Data and then Ranges
ore do i manualy delete them one by one ?
even delleting them one by one is a hard because of the app not responiding
Unfortunately, there is currently no way to bulk delete data. For now, manual deletion is the only available option. Sorry about that.
Please also note that DataVista uses a significant amount of RAM by default. Reducing the number of data objects is unlikely to significantly lower memory usage.
I have not yet thoroughly looked into reducing its memory footprint, and I am not yet sure which parts of the RAM usage come from the core parts of the app and which are influenced by user configuration (e.g. the amount of widgets, the interval of your data/widget updates, etc.).
It may be a good idea for me to take a closer look at this soon.
Thanks for the responce.
I made a flow to set a progres bar for my home battery from -9000 til 9000 and it made al the coller coded graphis in that range that battery has past in that range today. if you understand what i mean. I don’t know how to explane it more clear in englisch.
My phone wil not upload screenshots. When i’m back at my pc i wil ad them
DataVista v1.4.0 is now available in the test channel!
This version includes the first iteration of memory usage improvements.
@qawsedrf57 Could you give this test version a try and see if it reduces the RAM usage of DataVista?
Instaling right now. I wil go back to my laptop and share the other pictures so you can see what i ment with a lot of data collection
look at the timestamps and then take in youre head that the flow was running for a few days ![]()
i think i need to work on my flow building skils to prevent this next time
Oh wow I assume you created additional data objects automatically by using random identifiers?
I think a “prune” or “remove all” option (or the ability to delete data older than a certain date) could be useful in situations like this. I’m not sure whether deleting and reinstalling DataVista would remove all data or what effect that might have on your app’s data, so I’m hesitant to recommend that as the best solution.
For now, it’s probably best to test the 1.4.0 app and wait for me to add this new option, which I hope to have ready soon.