tim
New Member
Posts: 1
|
Post by tim on May 18, 2017 20:23:53 GMT -8
When I import the json, selecting the file and open, freeboard then returns to an unpopulated screen with two circles spinning clockwise. For over 2 hours now....
|
|
|
Post by SDL on May 19, 2017 9:34:58 GMT -8
Tim,
We just tried exactly the same procedure. It's doing the same thing. We will report it to the freeboard support. We would suggest you do the same.
SDL
|
|
|
Post by SDL on May 19, 2017 9:42:51 GMT -8
Tim,
Think we might have a workaround. Back to you in an hour.
SDL
|
|
|
Post by SDL on May 19, 2017 11:58:35 GMT -8
Tim, We don't have a great explanation for this, but it works now with a new export from our page. We have attached the configuration file for you to use. It looks like freeboard.io changed something in the import. We will upload this as the new dashboard006.json in the archive also. Best regards, SDL Attachments:dashboard-4.json (3.48 KB)
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 21, 2017 8:06:13 GMT -8
What do I do with the dashboard-4-.json file? Do we rename it as dashboard006.json?
|
|
|
Post by SDL on May 21, 2017 8:22:58 GMT -8
Doug, Sorry for the confusion. We have updated the dashboard006.json file in the master repository for SmartPlantPi ( github.com/switchdoclabs/SDL_Pi_SmartPlantPi ) to match the attached dashboard-4.json file. The manual says to import dashboard006.json, which is why we did this rename for the archive. If you have not download the new archive, that's OK. You can use the attached dashboard-4.json file as the source for the import for freeboard.io. The file is now identical with the latest file in the repository. Best regards, SDL
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 21, 2017 8:55:28 GMT -8
Thanks. I've pulled the latest archive (Two days ago) and set up PubNub successfully - listen.py reports the JSON data correctly. But Freeboard just shows a blank page. Last Updated is incrementing every few seconds, but my Freeboard dashboard is just blank. I have edited dashboard006 with my sub key. thoughts?
|
|
|
Post by SDL on May 21, 2017 9:00:00 GMT -8
Doug,
freeboard.io is a little flaky on setup. Log out of freeboard and then log back in and it should clear up.
If that doesn't work, close all of your browser windows and log back in.
If that doesn't work, try a different browser (like Chrome or Safari).
And finally, if the above suggestions don't work, go into your original browser and clear cookies.
SDL
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 21, 2017 18:48:44 GMT -8
I tried all of the above, thanks. I'm still not getting the dashboard to populate at all. If I manually set up a panel and point it to status I get updates to that panel, so I know my feed is connected. I noticed when I connect to the data source _Data I only see the endpoint for status.
Also, to ensure there wasnt any caching or cookies, I went to a completely different Mac and tried with the same results. Nada. Tried with Chrome, Safari, and Firefox. All blank.
Thanks again for the prompt assistance.
Doug
|
|
|
Post by SDL on May 22, 2017 6:24:22 GMT -8
Doug,
Sounds like you tried all the browser combinations.
Did you try loading the attached JSON file in this thread? I wonder if you picked up the wrong json file from the archive.
BP
|
|
|
Post by Doug on May 22, 2017 11:25:22 GMT -8
Thats what I'm trying now. I first attempted to rename the old dashboard006.json file but got a permissions error (Even as sudo). Now I'll try to replace the text within the 006 document with the -4 content.
|
|
|
Post by SDL on May 22, 2017 15:18:16 GMT -8
There is nothing magic about the name of the file, turns out. Strange you got a permissions error.
I am able to load both files.
BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 22, 2017 17:45:48 GMT -8
Are you just copying the dashboard-4.json file into the same directory as dashboard006.json? What tells the python file of the new dashboard file?
|
|
|
Post by SDL on May 22, 2017 18:59:54 GMT -8
Doug,
The python program doesn't use the dashboard file at all. It is only used to load the freeboard.io dashboard. take a look at the manual where we talk about importing the dashboard into freeboard.io
BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 23, 2017 11:40:43 GMT -8
I can't believe that I've wasted all of your time troubleshooting this with me. I had missed the import while going through the manual. Everything is working fine now. Thanks again for your help (and patience!)
|
|