I have seen this buried in some other topic and reported by a few people and then the subject changed....
Using the date pickers presented on a feed to filter by date range will cause a JS error which leaves the user with a black screen.
The date pickers are (not well supported) rendered by the browser (chrome) when the input type is datetime-local. The key there being local. The rest of the JS is hard coded to a en_us locale.... So I would expect anyone trying to use these filters with a locale that uses a non US format will have this issue.
Needs to retrieve locale and then use code for that locale.
Or, just give us the option to use text input and we can put in the dates in a specified format.
Feed Filter Bug
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: Feed Filter Bug
Could you please post a screenshot of this error?Using the date pickers presented on a feed to filter by date range will cause a JS error which leaves the user with a black screen.
- iethis
- Posts: 2
- Joined: Tue Jul 07, 2020 5:50 am
Re: Feed Filter Bug
sure.brubell wrote:Could you please post a screenshot of this error?
:D
I guess the devtools output is more useful...
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Feed Filter Bug
Ok, thanks! I've filed a bug report internally for this issue and will update the topic when I have an update.
- alexglowee
- Posts: 5
- Joined: Thu Mar 25, 2021 7:22 am
Re: Feed Filter Bug
Hi,
Is there an update ? I have exactly the same problem.
Is there an update ? I have exactly the same problem.
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Feed Filter Bug
No update or ETA, sorry!alexglowee wrote:Hi,
Is there an update ? I have exactly the same problem.
- alexglowee
- Posts: 5
- Joined: Thu Mar 25, 2021 7:22 am
Re: Feed Filter Bug
Hi,
So, currently, there isn't a method to filter the feed?
I wanted to pay for an IO+ account but this option is very important for us :/
So, currently, there isn't a method to filter the feed?
I wanted to pay for an IO+ account but this option is very important for us :/
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Feed Filter Bug
Not from the website, however, you can download the feed's data as .csv and filter in excel, or as .json.alexglowee wrote:Hi,
So, currently, there isn't a method to filter the feed?
I wanted to pay for an IO+ account but this option is very important for us :/
- alexglowee
- Posts: 5
- Joined: Thu Mar 25, 2021 7:22 am
Re: Feed Filter Bug
Of course but if a sensor feed is active 24h/24 and 7D/7 good luck to filter your data to have for example only one hour.
I have already tested this solution and Excel is very slow when there is too much data...
I have already tested this solution and Excel is very slow when there is too much data...
- adruino
- Posts: 15
- Joined: Wed Aug 20, 2014 8:56 am
Re: Feed Filter Bug
Just giving this a bump.
I would like to filter my data and eliminate on spurious value in a few data feeds.
I updated my device firmware and introduced a bug that sent a few obviously bad values which I'd like to delete from the feed.
-Adrian
I would like to filter my data and eliminate on spurious value in a few data feeds.
I updated my device firmware and introduced a bug that sent a few obviously bad values which I'd like to delete from the feed.
-Adrian
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Feed Filter Bug
We've deployed a change to temporarily remove datetime-local from those inputs. For now, you can edit the date and time as iso8601 date format, which is the default with how those forms should populate.
Eventually, we'll get a proper date widget on there, but wanted to just get a fix out there.
Eventually, we'll get a proper date widget on there, but wanted to just get a fix out there.
- martyburns
- Posts: 1
- Joined: Thu Jun 10, 2021 1:51 am
Re: Feed Filter Bug
Hi, I am still getting this error, can you please give me an example date format for me to enter?
I have tried yyyy-mm-dd but no luck.
I have tried yyyy-mm-dd but no luck.
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Feed Filter Bug
It should default to the proper format when you initially click the Filter button. Example here: 2021-08-02T13:06
Make sure to include the time.
It's on our list to add a nicer date picker to that Filter option as well.
Make sure to include the time.
It's on our list to add a nicer date picker to that Filter option as well.
- kevinjwalters
- Posts: 1025
- Joined: Sun Oct 01, 2017 3:15 pm
Re: Feed Filter Bug
I also get the black screen too if I try to filter the feed data even if I leave the values as they appear on the filter. I have a public feed which this can be seen on https://io.adafruit.com/kevinjwalters/f ... 0-standard - just click on Filter then click Apply.
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.