ArchiveSW - Display & Data Archive Storage

That will come next week. I want to get the current application set and released. There are still some changes coming.

Has the install script changed? It’s stopping at ā€œcopying filesā€ and going back to the command prompt. I just installed a clean raspbian os and tried to reinstall wfarchive.

1 Like

I’m in the process of making changes. Give me a few minutes to finish.

2 Likes

It’s cool, I just thought it was me… :slightly_smiling_face:

1 Like

I just uploaded the new script. Let me know if you have any issues. I’m here to fix them.

1 Like

I just fixed a two bugs that I just introduced. When you finish the install, run

node updatefiles

from the terminal window.

1 Like

Up and running.
Everything looks good so far, I’ll let you know of any problems.

1 Like

A screenshot from Samsung Note 8.

IMG_20181027_214643

2 Likes

I’ve noticed that the min/max in all panels don’t update until I either refresh the current browser or launch a new one. Oddly enough , If I open it on a new device, it will update all open panels as if I had refreshed them all. Then they all remain static until the next refresh. Is this planed behavior? or did I miss something in the setup?

1 Like

The values should update every time there is a change to the high or low value. I will watch it and see if I can find the issue.

1 Like

also when the page stays in the forefront ? Modern browsers do ā€˜pause’ pages when they are not actively on the forefront, maybe they just also ā€˜pause’ the script underneath that updates the values …
I see this with several sites on my Safari or FF. I have several windows next to each other but if I go to the page next to one … it stops updating till I click back in it.

2 Likes

That’s actually not odd. When you start the page, it sends a request to the server asking for all current data. The data is sent to all open connections. This is an uninttended side effect but it’s good so I left it this way

1 Like

Running the panel on 3 different tablets, the Pi display and a PC browser. All have the same Issue. Just an FYI. A possibly related note. I had some rain today and the 60 min and today also aren’t updating. Wish I could be more help but I’m not a programer.

1 Like

Make sure all files are updated and all services have been restarted.

Just reinstalled again last nite. Checked for updated files just now- none. Restarted all services.
I’ll watch it for a while and see if it updates.

1 Like

Okay. The next step is to watch it and see if it updates. If it does not, reload the page and see if the values update. That help me locate where the issue is.

Also, run

node altertables

from a terminal window and let me know if it reports anything.

OK Ran altertables! altertables|281x500
Hope you can see the picture, Had to take it with my phone.

1 Like

Looks like that fixed it!
I’ll Keep watching… Thanks!

1 Like

That corrected my error. Now I have to figure out what I left out of a new install.

Thank you Chuck.

2 Likes

Let me know if you want me to test it, I’m not worried about losing data. Easy to wipe the sd card and start again :slight_smile:

1 Like