ArchiveSW - Display & Data Archive Storage

udp
nodejs
wfarchive
archivesw

#842

same in inches, going to update and see what is send


#843

update seem to have solved it

&dateutc=2018-12-13+19:00:20&winddir=296&windspeedmph=0.4&windgustmph=1.0&tempf=42.90&rainin=0.04&dailyrainin=0.52&baromin=29.83&humidity=98&dewptf=42.40&solarradiation=0&solarradiation=0&softwaretype=ArchiveSW_1.7.14.003_WeatherFlow&action=updateraw

#844

@todd.lorey

Get update version .004 and that should solve the wind speed issue. Please let me know.


#845

That fixed it. Cheers!


#846

Great news. Thank you.

Now waiting on @eric about the rain issue.


#847

as mentioned above, solved, back to normal and no need for a submarine anymore :ferry:


#848

Let me know of any issue you find.


#849

Ok, here’s another potential issue, the solar radiation is listed twice in the packet. Not sure if it will screw things up but I thought I’d mention it.

2018-12-13 11:22:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXXXX&dateutc=2018-12-13+19:22:20&winddir=223&windspeedmph=1.0&windgustmph=1.7&tempf=55.10&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=45.80&solarradiation=432&solarradiation=432&softwaretype=ArchiveSW_1.7.14.004_WeatherFlow&action=updateraw

On a related note, for the CWOP messages, it seems like you are reporting Lux (the β€œl52096” at the end). Is that right? That number doesn’t seem to show up on the findu page for station observations. And interestingly, the letter β€œL” switches between a capital and lower case. What’s the reasoning for that?

2018-12-13 11:25:12 FW4261>APRS,TCPIP*:@131925z3658.05N/12152.93W_233/001g001t055r000p000P000h71b10232l52096.ArchiveSW_1.7.14.029_WeatherFlow

#850

That is fixed in version .005 and replace with UV.

L is for values 999 and less. l is for values greater than 999. I have no idea why buy that’s from the documentation.


#851

Cool. Seems to be fixed.
The Lux doesn’t show up on the CWOP page. And the PWS page doesn’t seem to have the radiation/UV info yet. Might have to wait for it to show up?

Another thing I noticed is that there seem to be at least two entries for each timestamp in the PWSW.out file:

2018-12-13 11:35:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+19:35:20&winddir=105&windspeedmph=0.3&windgustmph=1.1&tempf=55.80&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=46.50&solarradiation=441&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 11:35:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+19:35:20&winddir=105&windspeedmph=0.3&windgustmph=1.1&tempf=55.80&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=46.50&solarradiation=441&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 11:36:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+19:36:20&winddir=237&windspeedmph=0.4&windgustmph=1.4&tempf=55.90&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=46.60&solarradiation=441&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 11:36:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+19:36:20&winddir=237&windspeedmph=0.4&windgustmph=1.4&tempf=55.90&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=46.60&solarradiation=441&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 11:36:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+19:36:20&winddir=237&windspeedmph=0.4&windgustmph=1.4&tempf=55.90&rainin=0.00&dailyrainin=0.00&baromin=30.21&humidity=71&dewptf=46.60&solarradiation=441&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw

EDIT: Cleaned up formatting of log entries


#852

I don’t know if either of them use the data but it’s in the documentation to send so… I do what I can.


#853

You have done well, I would say! :slight_smile:
As a follow-up, it looks like there are exactly three entries per timestamp in the PWSW.out log file. Doesn’t seem to be affecting the PWS station weather page though.


#854

In a terminal window, run

pm2 stop all
pm2 start

i want to see if that stops the duplicates.


#855

Looks like there’s an issue with a file not found:
[PM2][ERROR] File ecosystem.config.js not found

Here’s a capture of the terminal:

pi@rpi3:~ $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: 0,2,3)
[PM2] [Panel](2) βœ“
[PM2] [Archive](0) βœ“
[PM2] [Server](3) βœ“

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Name β”‚ id β”‚ mode β”‚ status β”‚ β†Ί β”‚ cpu β”‚ memory β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Archive β”‚ 0 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 10 β”‚ 0% β”‚ 0 B β”‚
β”‚ Panel β”‚ 2 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 0 β”‚ 0% β”‚ 0 B β”‚
β”‚ Server β”‚ 3 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 7 β”‚ 0% β”‚ 0 B β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Use pm2 show <id|name> to get more details about an app
pi@rpi3:~ $ pm2 start
[PM2][ERROR] File ecosystem.config.js not found
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Name β”‚ id β”‚ mode β”‚ status β”‚ β†Ί β”‚ cpu β”‚ memory β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Archive β”‚ 0 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 10 β”‚ 0% β”‚ 0 B β”‚
β”‚ Panel β”‚ 2 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 0 β”‚ 0% β”‚ 0 B β”‚
β”‚ Server β”‚ 3 β”‚ 1.7.13 β”‚ fork β”‚ stopped β”‚ 7 β”‚ 0% β”‚ 0 B β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Use pm2 show <id|name> to get more details about an app


#856

You need to be in the base folder wfarchive or archivesw depending on the install.


#857

Ok. That got it to restart properly. I’ll wait to see how the logs look.


#858

That seemed to do the trick:

2018-12-13 12:30:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+20:30:20&winddir=210&windspeedmph=0.8&windgustmph=1.9&tempf=59.00&rainin=0.00&dailyrainin=0.00&baromin=30.18&humidity=65&dewptf=47.30&solarradiation=449&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 12:31:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+20:31:20&winddir=206&windspeedmph=0.5&windgustmph=1.5&tempf=59.50&rainin=0.00&dailyrainin=0.00&baromin=30.17&humidity=66&dewptf=48.10&solarradiation=449&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw
2018-12-13 12:32:21 /pwsupdate/pwsupdate.php?ID=RIODELMAR&PASSWORD=XXXX&dateutc=2018-12-13+20:32:20&winddir=238&windspeedmph=1.7&windgustmph=2.8&tempf=59.50&rainin=0.00&dailyrainin=0.00&baromin=30.17&humidity=65&dewptf=47.70&solarradiation=449&UV=4.41&softwaretype=ArchiveSW_1.7.14.005_WeatherFlow&action=updateraw

#859

Now I have to figure out why that happened and how to prevent it.


#860

For what it’s worth, the CWOP log shows three entries as well. The PWSW only has one entry.
And actually, the CWOP hasn’t shown a log entry since I did the stop/start of the processes. I actually had also done a reboot of the RPi before that as well.

EDIT: I take that back, the CWOP does have data since I did the restart but the CWOP.out log hasn’t shown any updates since the restart.


#861

is debug mode still active after those resets, restarts ? Restart β€˜server’ process maybe via the interface