Not sure if I have the Graph setup correctly but I notice that when I refresh the browser, the graph data restarts from the current time. Same thing appears to happen if you change the timescale. In some cases where multiple feeds are visualised on the one graph, the data from the first feed selected persists whilst the others restart...most annoying. We are able to push the same data to Thingsboard and graph data persists. All the data is still visible in the feed itself.
I have tried using just the Raw Data setting, but this does not help with what we want to achieve.
Any assistance appreciated.
Persistence of graph data
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Persistence of graph data
Hi Simos, could you provide some screenshots of this? Thanks!
- simos_iot
- Posts: 9
- Joined: Sun Mar 17, 2019 1:50 am
Re: Persistence of graph data
In Screenshot3, I allowed the browser to update the data. I then simply refreshed the browser, and the data reset as per Screenshot4. You can see the timescale has changed between the two screenshots. This same effect is observed if you make a change to the dashboard settings such as change the time scale from say 8 hours to 12 hours etc.
I'm not sure if the graph has always done this or there is a setting that I have neglected to change but I don't seem to remember it doing this when I started looking at io.adafruit many months ago.
I'm not sure if the graph has always done this or there is a setting that I have neglected to change but I don't seem to remember it doing this when I started looking at io.adafruit many months ago.
- Attachments
-
- Short run of data
- Screenshot3.JPG (20.67 KiB) Viewed 306 times
-
- After refreshing browser
- Screenshot4.JPG (20.54 KiB) Viewed 306 times
- simos_iot
- Posts: 9
- Joined: Sun Mar 17, 2019 1:50 am
Re: Persistence of graph data
Here's another example this afternoon. Screenshot5 is after running for approximately 10 hours uninterrupted. It was initially set to a timeframe of 24 hours. Screenshot6 was then taken after I changed the timeframe to 8 hours. One of the values is persistent, the others restart.
- Attachments
-
- Screenshot5.JPG (24.72 KiB) Viewed 305 times
-
- Screenshot6.JPG (20.6 KiB) Viewed 305 times
- simos_iot
- Posts: 9
- Joined: Sun Mar 17, 2019 1:50 am
Re: Persistence of graph data
Seems no-one is able to help...
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Persistence of graph data
Thanks, these screenshots clarify the issue well.. I'm going to forward this bug to our development team with the information you provided.simos_iot wrote:Here's another example this afternoon. Screenshot5 is after running for approximately 10 hours uninterrupted. It was initially set to a timeframe of 24 hours. Screenshot6 was then taken after I changed the timeframe to 8 hours. One of the values is persistent, the others restart.
- cjdshaw
- Posts: 59
- Joined: Mon May 08, 2017 4:04 pm
Re: Persistence of graph data
If you look at the feed page, is all the data still there? If something is deleting old data, it won't vanish from the graph until the browser refreshes, so you'd get the results you're seeing.simos_iot wrote:Here's another example this afternoon. Screenshot5 is after running for approximately 10 hours uninterrupted. It was initially set to a timeframe of 24 hours. Screenshot6 was then taken after I changed the timeframe to 8 hours. One of the values is persistent, the others restart.
- simos_iot
- Posts: 9
- Joined: Sun Mar 17, 2019 1:50 am
Re: Persistence of graph data
SOLVED.
I just realised that in my last code update, I added a postfix (% or kWh etc.) to some of the data that was being sent. These were the data that were not persisting. After removing the postfix, data now persists.
I just realised that in my last code update, I added a postfix (% or kWh etc.) to some of the data that was being sent. These were the data that were not persisting. After removing the postfix, data now persists.
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.