help need on an extension

63 views
Skip to first unread message

sbar...@gmail.com

unread,
Mar 1, 2021, 5:27:48 PM3/1/21
to weewx-development
Hi, 

I have gotten myself into making another extension to store sds011 pm data into the archive database.

Is there a doc that explains how I can properly extend the model with 2 extra columns, that will be used to the store my measurement, before I can push it via the restx extension?

Thank you for the help.

Regards,

Tom Keffer

unread,
Mar 1, 2021, 5:31:12 PM3/1/21
to sbar...@gmail.com, weewx-development
Did you look at the section Adding a new type to the database in the Customizing Guide? If there's something that's not clear in there, let us know.

The next version of weewx will have a tool for making additions to the schema super easy. 

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/7aa20696-3231-492f-aec5-143dbf57b41en%40googlegroups.com.

sbar...@gmail.com

unread,
Mar 2, 2021, 7:25:41 AM3/2/21
to weewx-development
Thank you very much for the super quick answer I started reading into last night.

I had already altered my schema in mysql to add the columns, so a little more digging is still required on my side to get this working.
 Il will then have questions later regarding how to properly package that as an installable extension.
Reply all
Reply to author
Forward
0 new messages