-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Adding data from a second database #51
Comments
I tried to add a second database to neowx-material too, and sadly it also did not work for me. The error I got is a different one though: I tried adding a label too, but I kept getting this error. |
Hi thzzlan - I was never able to get it working, which is a pity. I'm just starting to work with weewx again after a break of a good few months so I may have another crack at it. I see there is some discussion of it here - https://groups.google.com/g/weewx-user/c/b_2UsXGKKjQ - but it doesn't get any further than confirming what we have seen with our own efforts - unable to use data from two databases. I think our two errors are related in as much as Cheetah is trying to reference something (a property I think in this case) that doesn't exist or else is referenced incorrectly. Mine can't find or determine whether inTemp "has data" today and yours can't find or determine whether obs.label "is clear".
|
What is the correct syntax for adding in data from a second database to charts in this skin? I had a look around this area - https://neoground.com/docs/neowx-material/dev.index - but don't see a reference to using additional databases.
Thanks,
David
The second database is defined in the config file (wmr88.conf in this case, not weewx.conf) as follows -
I tried including a chart in index.html.tmpl as follows based on the syntax for the standard Weewx -
But it failed with this, indicating that the syntax I used was incorrect -
The text was updated successfully, but these errors were encountered: