Thank you, mwall for your quick response and dedication!
The time is set to 900 seconds, also tested 1200 seconds with the same result.
I'm not familiar with the "sqlite3" program, so it needed an installation. Then I come so far.
pi@raspberrypi:~$ sqlite3 /var/lib/weewx.sdb
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ”.help” for usage hints.
Sqlite> select dateTime,pressure,barometer,altimeter from archive
- - >
Notes on ...
After the Weewx program has stopped (for some reason?) And been turned off for a few hours, I now restart with the command "sudo weewxd weewx.conf".
There is now a list of "REC" with historically stored values from the time weewx stopped. Measurement values displayed here with a range of 60 seconds and up to the current time look correct (see attached print). (WMR300 is initially set to log 1 time/60seconds... if now this may be important?). These historical "REC" are now scrolling to return to normal running ("LOOP" and "REC, every 900 seconds") and now again with "altimeter: None and barometer: None" display.
It's tricky to describe the procedure, but I hope it's understandable.
A thought and wonder from a novice ... if the 60 seconds measured values in the WMR300 are correct why not read and present the nearest historically stored value?
Sincerely Yngve
Notes on ...
After the Weewx program has stopped (for some reason?) And been turned off for a few hours, I now restart with the command "sudo weewxd weewx.conf".
There is now a list of "REC" with historically stored values from the time weewx stopped. Measurement values displayed here with a range of 60 seconds and up to the current time look correct (see attached print). (WMR300 is initially set to log 1 time/60seconds... if now this may be important?). These historical "REC" are now scrolling to return to normal running ("LOOP" and "REC, every 900 seconds") and now again with "altimeter: None and barometer: None" display.
It's tricky to describe the procedure, but I hope it's understandable.
A thought and wonder from a novice ... if the 60 seconds measured values in the WMR300 are correct why not read and present the nearest historically stored value?
Sincerely Yngve
Den lördag 20 januari 2018 kl. 02:12:02 UTC+2 skrev Yngve Andersson:
The time between two "REC" 01:45:00 - 02:00:00 is exactly 900 seconds. The reading was done manually from the terminal. Also noted that reading values showed "altimeter: None, appTemp: 19.6444928978, barometer: None"
Den fredag 19 januari 2018 kl. 22:01:42 UTC+2 skrev Yngve Andersson:
Thank you, mwall for your quick response and dedication!
The time is set to 900 seconds, also tested 1200 seconds with the same result.
I'm not familiar with the "sqlite3" program, so it needed an installation. Then I come so far.
p...@raspberrypi:~$ sqlite3 /var/lib/weewx.sdb
Andrew
I have now changed the time in weewx.conf to 1800 sec=30 minutes and WMR300 to 15 minutes (WMR300 can only select storage frequency to 1 minute, 5 minutes, 15 minutes and 60 minutes). We wait for results in an hour and then see.
Thank you so much / Yngve
Andrew and Gary
Longer times does not seem to solve the problem of the presentation of pressure!
I have now tried a totally crazy idea without any knowledge, I hope you have an earning with my ignorance ... I set the time weewx.conf back to 300 seconds and the WMR300 logging to 1 minute ... then I manually do the command restart (stop o start) by weewx ?? I have no idea what restart does and when it breaks and restarts program execution, sometimes there is something wrong message, but by the way, the program will be back. I suppose this command entails some mess in program execution depending on where in the program execution is located?
However, tried to give the command at a certain sequence in syslog and after a certain time. Result results in new values being displayed positively and also pressure shows values.
However, this is not a solution to the problem, so ... I'll get even more say that pressure can be read manually on the WMR300 display!
Matthew,
Would this situation not be able to be resolved if the WMR300 driver was subjected to the (for want of a better term) 'removal of unnecessary output' treatment that the vantage driver was given under 3.7.0? I see there are archive records and loop packets where all 3 'pressures' are None. If we follow the vantage model this should not happen, if or more of these is known any of the missing 'pressures' should be calculated and if all three are unknown (unreported) then all 3 should be omitted from the loop packet/archive record. The user could then use the $latest tag in reports to get the lastest barometer, altitude or pressure and for WU the cached values added in (I think) 3.6.2 should cater for pressure only being reported every 15 minutes.
To me going to a 15 or 30 minute or longer archive period is not much of a solution.
......
I see this morning you presumably restarted weewx and loaded 1-minute interval history data from 6:40 to 9:54. Then again from 10:20 to 10:40.
...
Hello Andrew and others!
I have now found the problem of strange views of, among other things, air pressure. After your point of view of the importance of the inequality of non functioning and functioning systems with the weewx.conf and skin.conf files, I have found aberration and a significant error in weewx.conf. I do not know if [CumulusRealTime] is significant and can result in problems?
[Engine]
[[Services]]
Raspberry Pi
process_services
= weewx.engine.StdConvert, weewx.engine.StdCalibrate,
weewx.engine.StdQC, weewx.wxservices.StdWXCalculate,
user.crt.CumulusRealTime
mint 18
process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
Raspberry Pi
restful_services
= weewx.restx.StdStationRegistry, weewx.restx.StdWunderground,
weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW,
weewx.restx.StdAWEKAS, user.wcloud.WeatherCloud
# user.wcloud.WeatherCloud
mint 18
restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS, user.wcloud.WeatherCloud
Raspberry Pi
[CumulusRealTime]
filename = /var/tmp/realtime.txt
For the skin.conf file in RaspberryPi, I had changed the display to "meter, C, mm ,, m/s" under
[Units]
[[Groups]]
This may not be necessary if they are enrolled in weewx.conf? So now, skin.conf is also switched to the original version.
The configurations of the files (in original) now work with RaspberryPi as well as for mint18. RaspberryPi has now worked since yesterday 8:00 pm
I do not know exactly how I managed to accomplish this mismatch and this problem, but probably it's a result of my somewhat ignorant way of trying to fix something that went wrong. I think that was when I tried to change the display of the pressure to mbar.
I am very grateful for all your help and regret that I have asked for something that really should not be a problem, if you are careful about what you do.
Thank you so much to all of you! Andrew, Cameron, gjr80, mwall, sinantc34
Yngve