ArchiveSW - Display & Data Archive Storage

I am working on a new feature. There will be an Alerts page in the web server.

You will be able to set alerts for:

  • Temperature High and Low value
  • Humidity High and Low value
  • Pressure High and Low value
  • Wind High value (is there any point in a low value?)
  • Lightning strike
  • Rain event

Currently Alerts support Pushover and Prowl. Additional services may be added at request.

5 Likes

A new archive.js, dailystats.js and altertables.js have been uploaded. I changed the way wind low values are recorded. Also fixed a bug in archive.js.

2 Likes

Hi Gary,

Looking to get me a RPi to install the WFArchive on.
Is the Maria DB on the SD card? Or elsewhere? How big of an SD card would be recommended.
http://wf.fsoft.com/wfarchive/about.cfm did not mention any recommended h/w other than RPi.

I will have one display in my bathroom and would like to have it display a weekday/clock also; can you incorporate that? (First thing in the morning, I have no clue what day it is :slight_smile: )

Thanks for the effort!
Chris

1 Like

Yes, MariaDB and the database are on the SD Card

I recommend at least a 64GB or even a 128GB as you may want to keep data for a LONG time. If you are not going to keep the data archived then you can go smaller. But they are so darn cheap I don’t by small cards now.

I have thought about Date and Time. Just haven’t decided how to display it. What screens will you be using to display the page?

Capture

This is the current version. As you can see, there is plenty of room at the bottom and the five LEDs can go away for now and the batteries can be made smaller…

2 Likes

I’m thinking of a 7" tablet possibly an iPad or a Samsung Tab.
Want to be able to see the clock from about 7ft away.
The bottom right would work.
What are those LED’s for?

1 Like

Those will work well. I use a 7" Samsung and four Amazon tablets.

Originally I developed a board that uses the GPIO pins on the RPi to turn on LEDs to show unusual status. I converted those to software. They show: Hub reboot, application restart, device reboot, device offline, battery low and battery replace.

I just finished most of the calculations and conversion and even added the data and time.

Capture

5 Likes

Four cells on the Panel are finished (I think). Temperature, Wind, Pressure, and Solar have the calculations and conversions in place. It rained a little here tonight which pointed out some errors and omissions in precipitation. I will try to finish it up tomorrow.

This has become a bigger project than I thought it would and it’s almost finished. There is a lot of testing to do and changes to put in place but I feel the end nearing.

2 Likes

Looks great, will update later this weekend and check it out.

1 Like

Those information are still useful for debugging… maybe you can add some kind of indicators back ?

1 Like

I will be adding them back. I also feel they are important.

They will come back fully functional and not take up so much space but they will be very visible . Thank you for the support and comments.

2 Likes

ATTENTION

Another required database change to add additional features for rain. PLEASE get and fun fix2.js

run nodeupdatefies
and then
wget -N http://fsoft.com/wfarchive/fix2.js

At this point you may restart Archive (archive.js). This only required manual change.

DailySky will have two new fiields. The changes are:

precipT renamed to precipE. This is the total number of rain events reported for the day.

precipT. The total rain recorded for the day.
precipM The total number of times rain was greater than zero in obs_sky. This can be thought of as the total number of minutes it rained during the day.

5 Likes

How are you doing ā€˜pressure’ calculations without the elevation data that I asked for the other day ? I thought the app was local-only udp-only, or have I lost track of what you’re building…

1 Like

I am not doing it without the data. The data is stored in a configuration file.

1 Like

What format do you want the information displayed?

The Panel screen is almost complete. I am running out of room on the page so if you have any suggestions, please tell me now

Gary
Capture

2 Likes

Can you do some kind of place holder graphic for the times when there isn’t any rain?
The weatherflow graphic of one of your own would work just to fill the empty space.
I (once again) want to thank you for this project!
Chuck

1 Like

I am working on the precipitation cell this morning. Making it look better and fixing bugs.

5 Likes

Normal cell. No rain or lightning.
normal

When it is raining.
rain

When lightning strikes.
lightning

5 Likes

Is there room for both graphics on the rain and lightning?
The lightning graphic over the lightning text.
Not a problem if not.
It’s all good.

1 Like

Yes, Lightning will always show on top of the cloud and rain.

2 Likes