Closed pascaljoly closed 1 year ago
I suppose it's better to put this on the ticket than in Discord.
I can't test it, because my local server can't SSH into the online data. If there's a guide for implementing the DataVisualization csvs, let me know. Otherwise, I think the fix for the time scale is to remove shared_xaxes=true
from line 201 of the app.py file.
Here's the documentation from Plotly on that: https://plotly.com/python/subplots/#subplots-with-shared-xaxes
@pascaljoly @spestana
Hey @pascaljoly ! I think this issue should actually be in the dashboard project, no the Frog sensor project. I can transfer it now.
Hey @jklmaynard ! Thanks for jumping in here! Your local server should have access to the data.
You followed the run instructions in the readme here correct?
https://github.com/Ribbit-Network/ribbit-network-dashboard#technical-details
@keenanjohnson yessir, that part was straightforward. I'll run the requirements install again, just to see if something broke. The error on my local server looks like this:
I'll also just see if my local is set up with proper certifications.
The variables in the influx_config file are all up to date, I assume?
Hmm interesting. Those variables should be correct as this repo gets literally auto-deployed from github via Heroku.
Are you on a macbook perchance? I know that sometimes there can be issues with local certificates.
Perhaps you could try this? https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate
@keenanjohnson nice, that did it! I can add that to the readme if you'd like.
Glad that was an easy fix @jklmaynard ! Yes that would be quite helpful! Are you familiar with forking / creating a PR?
Yep, seems pretty clear from the guidelines. I had just cloned directly from here, but I'll go and fork it first then send it up. I should have a PR for this tonight (Pacific Standard) unless somebody is able to make the change first. My recommendation seems to have solved it:
Here's for 7 days:
Here's for 1 day:
Thanks so much @jklmaynard ! Let me know if you run into any issues!
Thanks!
when I look at the graphs on https://ribbit-network.herokuapp.com/ the time scale is only displayed in the last graph (Humidity). Can we also add it to the other graphs? CO2 concentration, temperature, pressure...