You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please don't delete these questions! They are asked almost with every issue - answering them as below saves us time from asking them!
First step
Checked settings following the docs about using metric
Describe the bug
Wind metric set to knot, website shows live speed in m/s and immediately when mqtt connects, switches to knots (measurement divided by abut 2)
The problem in not in the MQTT stanza. Measure is in m/s when page loads. When the MQTT web socket connects and receives the first update, data are correctly shown in knots.
It seems the HTML is faulty and conversion is done when data are updated from MQTT.
The effect is a rapid change in SPEED and GUST value: when MQTT goes online, value is changed immediately. For example:
SPEED 5 / GUST 7 --> SPEED 2 / GUST 3 (m/s to knots rounded to integer)
Right — I used to have the exact same problem (for me it was mph being changed), but it wasn’t a bug, it was a configuration issue. Somewhere in your weewx.conf settings, weewx is being told to report in one unit, but MQTT is reporting in another, so the values are getting overwritten. I eventually tracked it down and fixed it. Could you post your weeewx.conf file for review? Also, which unit does your “regular” weewx page display?
Please don't delete these questions! They are asked almost with every issue - answering them as below saves us time from asking them!
First step
Checked settings following the docs about using metric
Describe the bug
Wind metric set to knot, website shows live speed in m/s and immediately when mqtt connects, switches to knots (measurement divided by abut 2)
Link to your website (http://www.iparassiti.com)
Version of the skin you're using
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device Information (please complete the following information):
Additional context
Add any other context about the problem here. Maybe a potential fix?
HELP WANTED
If you have a fix for this, please submit a pull request against the development branch!
The text was updated successfully, but these errors were encountered: