ArchiveSW - Display & Data Archive Storage

Are you saying that it always shows Trace when it is heavy rain?

Yes, Heavy, Medium or light = Trace

1 Like

Well that’s just wrong. So, why did you let me make that mistake?

1 Like

LOL Its what I do. Help other people mess up :slight_smile:

Moderate rain right now, showing as Trace

1 Like

I’m out eating pho, for the third time this week. I’ll get a new application uploaded tonight.

1 Like

I made an adjustment to the Panel index.js file. Let me know if it is working.

1 Like

I’ll Test next time it rains.

1 Like

I managed to find a test site where it is raining and produced these.

IMG_20181202_044618
IMG_20181202_044710

if it is less than .001 inches or .01 mm it will display Trace

2 Likes

I became bored with the empty cell. So, until the Breathe is released I am filling the space with Sun and Moon data. I should have this completed this week.

Capture

You may offer suggestions on the data to provide.

5 Likes

Hi @GaryFunk,

I am not seeing any of the blue font max min values:

And I dont know how to do a screen capture of only the wfarchive display from my 24" screen so I used my camera.

cheers Ian :slight_smile:

1 Like

Are you getting any errors in the log files?
What versions of the processes are you running?
What is the database version?
If you upgraded, did you follow all of the instructions?

Is the Sun & Moon going to move across the sky?

1 Like

The Sun will move. Once that is complete, I will work on the moon.

5 Likes

Hi @GaryFunk

Several days ago my display stopped working after I updated files and I couldnt open the ‘about’ page.
Yesterday after $node altertables and $node updatefiles the display and ‘about’ page worked again, without the max/min.
To answer your questions in order:

To clean the logs and see what is happening now I did this:

Then I have this in Archive.err :
TypeError: Cannot read property ‘device’ of undefined
at results.forEach.item (/home/pi/wfarchive/archive.js:886:67)
at Array.forEach ()
at Query. (/home/pi/wfarchive/archive.js:885:12)
at Query. (/home/pi/wfarchive/node_modules/mysql/lib/Connection.js:502:10)
at Query._callback (/home/pi/wfarchive/node_modules/mysql/lib/Connection.js:468:16)
at Query.Sequence.end (/home/pi/wfarchive/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Query._handleFinalResultPacket (/home/pi/wfarchive/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
at Query.EofPacket (/home/pi/wfarchive/node_modules/mysql/lib/protocol/sequences/Query.js:123:8)
at Protocol._parsePacket (/home/pi/wfarchive/node_modules/mysql/lib/protocol/Protocol.js:278:23)
at Parser.write (/home/pi/wfarchive/node_modules/mysql/lib/protocol/Parser.js:76:12)

Datebase level: 1.7.14.027
Application Version
Alert 1.7.14.036
AlterTables 1.7.14.027
Archive 1.7.14.100
Backfill 1.7.14.013
Citizen 1.7.14.022
DailyStats 1.7.14.029
Panel 1.7.14.063
PanelIndex 1.7.14.054
Piio 1.7.14.033
Server 1.7.14.022
Start 1.7.14.005
TippingBucket1.7.14.009
UpdateFiles 1.7.14.024
Utility 1.7.14.034
WeatherCalc 1.7.14.025

Datebase level: 1.7.14.027

I didnt try to upgrade to your trial version.
I did run $node updatefiles.js each day or more to see if it would fix it and restarted the process’s
and $node altertables a couple of times.
But I didnt follow other instructions because I didnt intend to experiment with a trial. I just want my data saved to the database.
And my raspberry pi froze up again forcing a reboot.

I checked in the database to make sure it was saving data and because it was I was just waiting for some one else to have the same issue to read the solution. Because I was busy with other stuff so the display is not essential for me.
I hope this helps
cheers Ian :slight_smile:

1 Like

Go to the Panel tab, check the values and then Save. Let me know the outcome.

1 Like

Thank you @GaryFunk,
Yes The ‘save’ fixed it
Thank you! cheers Ian :slight_smile:

1 Like

The following sun times are available for display:

nadir: 			Sun Dec 02 2018 23:51:49 GMT-0700
nightEnd: 		Mon Dec 03 2018 05:29:39 GMT-0700
nauticalDawn: 	Mon Dec 03 2018 06:02:09 GMT-0700
dawn: 			Mon Dec 03 2018 06:35:37 GMT-0700
sunrise: 		Mon Dec 03 2018 07:05:31 GMT-0700
sunriseEnd: 	Mon Dec 03 2018 07:08:40 GMT-0700
goldenHourEnd: 	Mon Dec 03 2018 07:47:18 GMT-0700
solarNoon: 		Mon Dec 03 2018 11:51:49 GMT-0700
goldenHour: 	Mon Dec 03 2018 15:56:20 GMT-0700
sunsetStart: 	Mon Dec 03 2018 16:34:58 GMT-0700
sunset: 		Mon Dec 03 2018 16:38:07 GMT-0700
dusk: 			Mon Dec 03 2018 17:08:01 GMT-0700
nauticalDusk: 	Mon Dec 03 2018 17:41:29 GMT-0700
night: 			Mon Dec 03 2018 18:13:59 GMT-0700 

Which ones are desirable to you on the display?

Hi @GaryFunk,

My choice would be sunrise, solarNoon, sunset.
My reasoning is that the warmth of the sun has a large influence on the weather so when its light is actually visible, is what is of value to me.

cheers Ian :slight_smile:

1 Like

The minute of sunset.
38

The minute after sunset.
39

I don’t have a preference myself.
I did want to say that it was a nice surprise to see it on the display this morning.
Nothing there when I went to bed, New stuff when I wake up.
It’s like Christmas morning! :):grin:

2 Likes