Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data is being rounded to 0 #935

Open
earlthesquirrel opened this issue Mar 19, 2024 · 0 comments
Open

Data is being rounded to 0 #935

earlthesquirrel opened this issue Mar 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@earlthesquirrel
Copy link

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
Try to debug the skin yourself. If you can't figure it out, please include the debug information (text, screenshots, etc.). See this guide on debugging the skin. https://github.com/poblabs/weewx-belchertown#how-to-use-debug

For a graph of 03 values, which are showing as "o3" : 0343853 in the mqtt messages are all being rounded to 0.
The DB shows the definition of 03 as REAL.

Describe the bug
A clear and concise description of what the bug is.

I'm expecting the graph to automatically generate the correct Y axis and scale appropriately.
The definition initially was set as:

[[o3Chart]]
title = O3 Concentration ppm
[[[o3]]]
yAxis_label = "Parts Per Million"
yAxis_label_unit = "ppm"

I've just now (before I wrote this bug report) tried adding the following to see if it changes the display.

        yAxis_softMin = 0.100000
        yAxis_softMax = 1.000000
        yAxis_tickInterval = 0.000001

It changed the scale but still seeing just 0s

The DB does seem to show values other than 0

Link to your website (IMPORTANT)

https://www.baugh.org/weewx/belchertown/graphs/?graph=airQuality
Version of the skin you're using

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • Device: [e.g. desktop, iPhone6]
  • OS: [e.g. Windows, Android, iOS]
  • Browser [e.g. Chrome, Safari]
  • Version [e.g. 22]

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!

@earlthesquirrel earlthesquirrel added the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant