Is there a way to get a graph only over an amount of minutes/seconds I figured out with the app Flow Utilities?
I sent myself some graphs after someone took a shower (water, gas and power use, in future I want humidity also). With Flow Utilities I get the amount of time in seconds someone showered. Before and after I would like a couple of minutes, but nog 50 minutes, it makes the graph quite small.
So a time of the last X seconds (from a calculated variable) would be great, if possible
@Menno_van_Hout I get an error when I want to make a graph for the last 6 hours (error code 400). 1 hour works, but is to short in this case, 24 hours works also, but is way to long (power usage of dishwasher) to see something usefullā¦
And as I mentioned in my previous message: Would like the option to set my own time/duration for the graphs. For some graphs half an hour is more then enough, but in this case I would like about 3 hours.
Are the durations of the graphs set by Athom? Or is it possible for you te edit it?
Lovely app! Thank you so much.
I got the watermeter graph working from Homewizard. Cant get the energymeter to work.
Im mismatching the tags i thinkā¦ any idea?
Edited:
I indeed see that some durations do not work. 1H works, and then 24H, but not 6H in between.
I already asked Athom in the past to improve the Insights Graphs. It is very limited with the time selection and also the number of data points they keep (after one hour they already keep fewer data points available which makes the data not always useful). It seems they are still busy with other things, less urgency for this.
Experimenting a bit with the app I was wondering how to delete images once created in the /userdata/ location. Are they ephemeral and available just during a flow execution or will they remain in the persistent storage of Homey forever? If so, how to delete/wipe those in case graphs are created with unique filenames repeatedly, i.e. not overwritten?
Are you sure that reboots should do the the trick? At least for me thatās reproducable having it done twice (with Shift-Reload, of course).
Uninstall however yields: http://192.168.178.72/app/nl.mennovanhout.insights-graphs/userdata/graph.png.png āNot Found: App with ID nl.mennovanhout.insights-graphsā, followed by reinstall intermediate āApp Not Readyā, followed by āCannot GET /app/nl.mennovanhout.insights-graphs/userdata/graph.png.pngā and finally after re-running the flow to create graph.png (or graph.png.png) finally shows the png in the browser.
Not really a big deal when overwriting images, but at least good to know if the filenames are created uniquely.
Probably it is or was intended that way or probably itās intended for apps during dev-mode, but reality is differentā¦ At least on my brand new Homey Pro 2023 with latest firmware.
Is there any documentation where I could look that up? Actually I find it quite sane to have a persistent storage to be āpersistentā and not loose data during reboots or app updates/reboots unless really uninstalling something.
Probably Iāll try the ssh connection or usb connectā¦ Maybe I would see how things are mounted in the filesystem. If itās really ephemeral /userdata should be somewhere below /tmp or ramdisk like.
You mentioned dev-tools, i.e. https://tools.developer.homey.app/tools/ ? Wouldnāt know where to find the storage data there as thereās just memory and CPU in app profiling. Can you point me to the location?
Hi @LRvdLinden, I made a flow, but I canāt find the āGraphā. Do you know where I can find that one? I executed the flow first, but still canāt find it.