# ArchiveSW - Display & Data Archive Storage

**URL:** <https://community.tempest.earth/t/archivesw-display-data-archive-storage/790>\
**Category:** Third-Party Integrations\
**Tags:** udp, nodejs, wfarchive, archivesw\
**Created:** [April 11, 2018, 3:07am UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790 "2018-04-11T03:07:41Z")\
**Posts on this page:** 20\
**Page:** 24

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 28, 2018, 8:55pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/462 "2018-10-28T20:55:19Z")

</div>

Chuck

Do you have dailystats.js set to run every hour? If not, then please manually run it now so it will update the tables.

---

<div class="post-metadata">

**Author:** ![chuckmc](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chuckmc/32/3161_2.png) [@chuckmc](https://community.tempest.earth/u/chuckmc)\
**Post date:** [October 28, 2018, 8:57pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/463 "2018-10-28T20:57:24Z")

</div>

I did, Running again.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 28, 2018, 9:22pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/464 "2018-10-28T21:22:42Z")

</div>

As long as the device window is the active window, it should keep everything updated.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 28, 2018, 11:36pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/465 "2018-10-28T23:36:30Z")

</div>

> [@eric](#):
>
> Modern browsers do ‘pause’ pages when they are not actively on the forefront,

I am running Chrome in Windows 10 and I am not seeing any of these issues. If any of you running Chrome on Windows have this issue please let me know.

If any of you have this issue, please post the computer used, OS and browser and version used. I will do everything I can to solve this issue.

Please keep in mind this is designed for small screens, running on a RPi or Android tablet. (I don’t own any Apple products)

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 7:22am UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/466 "2018-10-29T07:22:19Z")

</div>

I pushed a change to the main Config file. Pushover and Prowl are now Yes/No settings. Be sure to update your configuration.

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [October 29, 2018, 8:00pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/467 "2018-10-29T20:00:23Z")

</div>

I have some weird behaviour from the feels temperature.  
When the age updates the data sometimes it give the correct feels like (it is 5.2 °C, now and it shows 5.2°C, next page update it can give -12.x then back to 5.2 …2.7 … )  
I have not found why it gives one or the other number … didn’t found any logic yet

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 8:35pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/468 "2018-10-29T20:35:12Z")

</div>

Grab a screen shot when you can.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 8:35pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/469 "2018-10-29T20:35:50Z")

</div>

I added a formula to give a visual indication on the temperature. Now I just have to figure out how to weight it based on the humidity.

![Capture](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/b/baff2e48b02308b2813a0eda1f04dca28c4980c2.png)

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [October 29, 2018, 8:36pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/470 "2018-10-29T20:36:27Z")

</div>

A screenshot I have but it doesn’t show more then a wrong number that can bump back ok and then back off

![37](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/8/8fb9df3b9c6b3f75f86d7b28c4c1c77d4fa29785.png)

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 8:38pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/471 "2018-10-29T20:38:07Z")

</div>

What is the wind speed?

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [October 29, 2018, 8:39pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/472 "2018-10-29T20:39:44Z")

</div>

just grabbed new files and here a full screenshot, first reload (cache cleaning included)was ok, first page refresh and back to …

![17](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/sws/original/2X/7/7b61856e9c1b3e3516ed4caab52d02016e604792.png)

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 8:51pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/473 "2018-10-29T20:51:46Z")

</div>

I just used your data and it came back as 5.3.

Do you know how to open the console on your browser? On Chrome you press F12.

AND: I see you update the files as quick as I upload them.

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [October 29, 2018, 9:00pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/474 "2018-10-29T21:00:24Z")

</div>

I can open consoles (not from Chrome since I don’t have it installed, and honestly will never, Google and Microsoft are banned from my systems … )

but I propose we’ll look at it tomorrow as it is zzz time for me again. And once you start in a console, you don’t see time flash by … and it’ll be early up again for me.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 9:04pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/475 "2018-10-29T21:04:14Z")

</div>

~~I uploaded a new weathercalc.js that will print the values to the console so you can see what is being used to calculate the feels like.~~

EDIT:  
I found the bug @eric discovered. It has been fixed and new files uploaded.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 29, 2018, 11:59pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/476 "2018-10-29T23:59:02Z")

</div>

I felt there was too much yellow and it distracted from the main numbers.

![Capture](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/sws/original/2X/f/f05a18d24bd93e3debde98d913b152af56de7227.png)

---

<div class="post-metadata">

**Author:** ![iladyman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/iladyman/32/2305_2.png) [@iladyman](https://community.tempest.earth/u/iladyman)\
**Post date:** [October 30, 2018, 6:51am UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/477 "2018-10-30T06:51:44Z")

</div>

> [@Downloading all the back data](https://community.tempest.earth/t/downloading-all-the-back-data/1516/37):
>
> With a Raspberry Pi and WFArchive you will have all the data and more. So get a RPi, power supply and 128GB SDCard and you can be up and running in 30 minutes.

Hi Gary,  
The Raspberry Pi now has WFArchive installed. After the script installed MariaDB the script said: ‘Go to http:// “myIPAddress” :8080/ to finish configuring WFArchive’ So I opened that IP address in the chrome browser window and went through each link. I added my Station and Device details. On the ‘Panel’ page I adjusted units and inserted ‘Primary Device’ details, selected ‘Panel’ Active ‘Yes’ and clicked ok. On the ‘Process’ page I added an Archive process.  
In the terminal window when I enter ‘pm2 list’ I have 2 rows, an ‘Archive’ and a ‘Server’. I dont know what the ‘watching’ column means but it reads disabled for both.  
I dont know where to see any data or the ‘panel’ from the inbuilt browser. Do I need to setup a database program to view my data?  
I thought WFArchive and the Raspberry Pi would be getting my data directly from my weatherflow hub or does it require the internet?  
Thankyou for a moment of your valuable time. Cheers Ian 🙂

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 30, 2018, 7:17am UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/478 "2018-10-30T07:17:29Z")

</div>

> [@Downloading all the back data](https://community.tempest.earth/t/downloading-all-the-back-data/1516/50):
>
> . I dont know what the ‘watching’ column means but it reads disabled for both.

That is if pm2 is watching the script files for change. Its mainly for developers to have pm2 reload the script if it gets updated. I do not use that

> [@Downloading all the back data](https://community.tempest.earth/t/downloading-all-the-back-data/1516/50):
>
> I dont know where to see any data or the ‘panel’ from the inbuilt browser. Do I need to setup a database program to view my data?

If you want to use the Panel you will have to add it in the Process tab. Then go to the RPi ip address and the port you assigned to the Panel.

The application is collect and storing the data. If you want to view it you will need to use a SQL application. You will connect to the RPi ip address on port 3306. I use a program called Sysyog. You can use any MySQL editor available for your computer OS.

---

<div class="post-metadata">

**Author:** ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)\
**Post date:** [October 30, 2018, 6:05pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/479 "2018-10-30T18:05:38Z")

</div>

> [@Downloading all the back data](https://community.tempest.earth/t/downloading-all-the-back-data/1516/51):
>
> You can use any MySQL editor available for your computer OS.

Unrelated, but why did you pick a heavyweight database and not something much lighter like sqlite3 ? Just familiarity ?

(yes, I’m familiar with the sqlite3 limitations re: network-attached storage and lack of support for replication and the like)

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [October 30, 2018, 6:11pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/480 "2018-10-30T18:11:06Z")

</div>

- The RPi is a computer, not a phone
- I developed this for data mining
- Many users already have MySQL tools
- I prefer MySQL
- My database will contain several million records
- I will be adding triggers and stored procedures
- I will be adding replication to external servers

---

<div class="post-metadata">

**Author:** ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)\
**Post date:** [October 30, 2018, 6:13pm UTC](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790/481 "2018-10-30T18:13:53Z")

</div>

Sure, the replication in itself means no sqlite3. Thanks.

[Previous page](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790.md?page=23)

[Next page](https://community.tempest.earth/t/archivesw-display-data-archive-storage/790.md?page=25)
