Comments (28)
To make the two value issue more clear, I have a short video of this.
Notice the apptemp alternates between what looks like the real apptemp and in this case 34 F
The dew point does the same but it isn't as clear.
Let me know after you view it so I can remove the file.
from weewx-wdc.
V5 is stable, there are packaging issues as I understand.
This could be a python issue, there have been reports on the WeeWX group of various issues with an updated python.
Not worth the time to troubleshoot as different drivers and skins have been in and out of the test machine and a clean install is in order. Since it is proxmox, I'll just save the image and be able to restore in about a minute going forward.
Rain forecast for my overnight, so Sunday morning I'll know if the reset functions.
from weewx-wdc.
The alternating values was apparently caused by the MQTTSubscribe driver. I returned to the WLL driver and the issue is gone.
from weewx-wdc.
Thanks. File is loaded on both systems.
Just in time, we'll have rain and snow over the next two days.
I'll report back afterwards.
from weewx-wdc.
Just had a quick look into the code and it should reset the rainRate. There is a chance of rain for the coming days, so I will have a deeper look soon.
Just to verify: You are talking about this max value in the Rain tile, right?
from weewx-wdc.
Indeed, the highlighted value does not reset.
from weewx-wdc.
I changed the data feed to the MQTT from my weewx instance that uses a console logger.
It has a complete set of data and is updated every 2.5 seconds.
I'm attaching its output if you need to see it for some reason.
Davis Logger MQTT Output.txt
from weewx-wdc.
Ok, I think I found the bug. Attached is an updated live-updates.js file, please feel free to test this one out (it should alert "rainRate" on first load).
Take your time! I got the luck to have rain for the last 3 days to test this out in real-world conditions.
from weewx-wdc.
Thanks, we're not expecting rain until the weekend.
I do notice an odd behavior.
The apptemp and dewpoint change between two values every loop.
These are different pairs of values. Like 30.5 and 29.4 for apptemp. I have not seen this before.
Perhaps dew point should only change with the archive?
Anyway, I shall report back once it rains.
from weewx-wdc.
I downloaded the video, thank you.
I will have a look at it as soon as possible, reporting back!
from weewx-wdc.
To make the two value issue more clear, I have a short video of this.
Notice the apptemp alternates between what looks like the real apptemp and in this case 34 F
The dew point does the same but it isn't as clear.
I see what is happening, but I can not reproduce it. Realy can't make any sense out of it.
Do you probably have a second MQTT-enabled skin installed to prove if it's the skin's fault or another problem?
from weewx-wdc.
I shall install belchertown in the morning.
It is installed on the live machine and uses the same MQTT feed as this.
But to remove any difference, I'll install on the same machine.
from weewx-wdc.
My main server has a rather odd configuration.
Weather is served from /home/weather/bt
I have installed WDC there and I'm having a time with getting the html_root and base_path set correctly.
This is among the entries I've tried. Where oh where have I went wrong?
[[WdcReport]]
HTML_ROOT = /home/weather/bt/wdc
base_path = /wdc/
from weewx-wdc.
The base_path
only depends on your web server configuration and how you are accessing the skin.
So if you are accessing the webpage:
- via http://host.com/, the
base_path
should bebase_path = /
- via http://host.com/abc, the
base_path
should bebase_path = /abc
- via http://host.com/abc/def, the
base_path
should bebase_path = /abc/def
See https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
from weewx-wdc.
https://weather.ghammer.net/wdc/
There is nothing I have tried that works. I just get the framework with no content.
Perhaps this needs to be in Extras?
[[WdcReport]]
HTML_ROOT = /home/weather/bt/wdc
base_path = /wdc
from weewx-wdc.
Sorry, it needs the ending slash:
base_path = /wdc/
from weewx-wdc.
Bingo!
https://weather.ghammer.net/wdc/
No issue on my production server. This is the release version. I'll add the 'rain' version in the morning.
from weewx-wdc.
Well, I think I will wipe and reinstall the test server. I'll let it go through the rain that is forecast to be certain the rate is reset first.
Taking lots of errors now. This is with the 'rain' file installed there. It is not on the production server and all is well there, no errors.
I'm attaching the errors here for you, just in case.
wdc_errors.txt
from weewx-wdc.
No issue on my production server. This is the release version. I'll add the 'rain' version in the morning.
Taking lots of errors now. This is with the 'rain' file installed there. It is not on the production server and all is well there, no errors.
So this sounds like the "alternating two value issue" is solved, right?
I'm attaching the errors here for you, just in case.
I have never seen such errors while developing. This is with weewx 4.10.2, right?
from weewx-wdc.
On the test server/instance, the alternating values continue. It encompasses apptemp, heat index, wind chill, and dew point.
That machine is the only one with the test 'rain_rate' file installed. It is also the one with the errors. It runs weewx v5
I installed, with your help, on my production machine. It runs weewx 4.10.2. No errors in the logs and no alternating values.
I plan to keep the test instance until rain comes to test the fix for the reset. Afterwards, I'm going to install Debian and weewx fresh and install the current release of WDC skin.
from weewx-wdc.
On the test server/instance, the alternating values continue. It encompasses apptemp, heat index, wind chill, and dew point.
That machine is the only one with the test 'rain_rate' file installed. It is also the one with the errors. It runs weewx v5
Ok so the updated "rain file" should not produce these errors, it's not involved when the files are generated by Cheetah, so I assume this is WeeWX v5 related. I did not test the skin with v5 yet. How is the current progress, are we near a stable v5 release, yet?
I installed, with your help, on my production machine. It runs weewx 4.10.2. No errors in the logs and no alternating values.
I plan to keep the test instance until rain comes to test the fix for the reset. Afterwards, I'm going to install Debian and weewx fresh and install the current release of WDC skin.
Sounds great!
from weewx-wdc.
Well, I see that we have had rain since midnight.
The instance on my production server (strictly stock install) shows a max rain rate for the day.
The instance on my test server shows the rain amount but 0 for max rain rate when I open it on a PC. On the tablet where it is always open, it is showing the correct max rain rate for the day.
I'd think it should show the max values no matter when it were opened.
from weewx-wdc.
Max rain rate did reset with the 'rain' skin.
from weewx-wdc.
Max rain rate did reset with the 'rain' skin.
Great, then this change will come to the next release.
The instance on my production server (strictly stock install) shows a max rain rate for the day.
The instance on my test server shows the rain amount but 0 for max rain rate when I open it on a PC. On the tablet where it is always open, it is showing the correct max rain rate for the day.
I'd think it should show the max values no matter when it were opened.
I think I know what's causing this, looks like a bug. I will give you an updated file for testing within this week, if you do not find any other bugs, this version will be in the next release.
Thank you for all the testing!
from weewx-wdc.
Sounds good. Thanks for your rapid fixes!
from weewx-wdc.
Here is an updated file (this time without an alert) which should fix the problem described in #224 (comment) AND the rain rate issue.
So please feel free to test this out extensively and report back any problems!
from weewx-wdc.
Rain yesterday, all was well.
This morning, max rain rate is cleared.
As it is our Thanksgiving holiday, I won't be around until Monday.
I'm happy with the results, so feel free to close this ticket.
from weewx-wdc.
Great! Please feel free to open a new issue/discussion if you find another bug.
I wish you a happy Thanksgiving!
from weewx-wdc.
Related Issues (20)
- [BUG] year-%Y.html.tmpl fails when changing group_speed to knots in weewx.conf HOT 2
- Update `windGust` display in forecast table
- Default dark mode HOT 4
- Timestamp adjustment in the diagram HOT 6
- Colored Temperature HOT 6
- Windrose legend overlaps under mobile when using knots [BUG] HOT 3
- wee_reports : wee_reports: command not found HOT 2
- Modal optimizations
- [BUG] Reason: '<' not supported between instances of 'NoneType' and 'float' in the skins/weewx-wdc/year-%Y.html.tmpl file HOT 23
- [BUG] Stat tile on page Today using custom data binding does not appear if the same observation does not exist in main data binding HOT 3
- [BUG] Small Error In Upgrade Instructions HOT 1
- Add a date picker for selecting an Archive day HOT 1
- [BUG] Helper text in Archive day dropdown HOT 3
- Add Moon phases translations
- Make climatological days configurable HOT 2
- [BUG] gauges updates from MQTT wrong unit HOT 1
- [BUG] FileNotFoundError, wdc tries to pull files from the wrong skin dir? HOT 10
- [BUG] Latest WDC not working with latest Weewx HOT 3
- [BUG] Full screen graphs not working in mobile version
- [BUG] Display Error Gauges Feature Text (DE) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-wdc.