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

Additional types not added to database #1

Closed
Volgi84 opened this issue Jul 13, 2020 · 1 comment
Closed

Additional types not added to database #1

Volgi84 opened this issue Jul 13, 2020 · 1 comment

Comments

@Volgi84
Copy link

Volgi84 commented Jul 13, 2020

Hi,
I installed the extension and configured it according to the instructions. Additional types are added to data records. I verified that by also installing the csv extension and my additional data types show up in the csv file.
However, the additional data types are not added to the database. I checked with phpadmin, but the archive table does not contain the additional data types.
I also deleted the database to test if the additional data types might only get added during creation of the database, but that did not work either.
Am I wrong in the assumption that the additional data types should also be added to the database? How would I be able to create plots of the additional data types in that case?
Thanks,
Volker

@tkeffer
Copy link
Owner

tkeffer commented Jul 13, 2020

This extension merely adds the types to the data stream. It is not involved with the database --- weewx handles that.

If a type appears in the data stream, and it appears in the database schema, then it will be added to the database. So, you need to add the type to the database schema. See the section Adding a new type to the database in the Customizing Guide for instructions on how to add a type.

@tkeffer tkeffer closed this as completed Jul 13, 2020
@tkeffer tkeffer mentioned this issue Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants