AQI graph

69 views
Skip to first unread message

didier....@gmail.com

unread,
Jan 9, 2021, 6:26:36 AM1/9/21
to weewx-user
Hi

I have now the Air Quality Indice in Belchertown skin, and I would like if it is possible to add this information into mysqlite database in order to create a graph.

Is it difficult? Have you a procedure to add an additional data and which files I have to modify?

Many thanks

Didier

Tom Keffer

unread,
Jan 9, 2021, 7:54:01 AM1/9/21
to weewx-user
Have you checked the section Adding a new type to the database in the Customizing Guide?

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3720516f-0b16-4786-835a-f5e16e2514e7n%40googlegroups.com.

Didier Decoodt

unread,
Jan 9, 2021, 8:15:28 AM1/9/21
to weewx...@googlegroups.com
Yes, this is the procedure for adding a new field in database, but how to insert the value of $aqi variable into this database?




--

Tom Keffer

unread,
Jan 9, 2021, 8:36:41 AM1/9/21
to weewx-user
If the value appears in the archive record under the same name, it will automatically be inserted into the database.

Didier Decoodt

unread,
Jan 9, 2021, 9:42:07 AM1/9/21
to weewx...@googlegroups.com
OK Thanks
The value is defined in belchertown.py file, how do you put it in archive record?
(sorry for all my questions...)

Tom Keffer

unread,
Jan 9, 2021, 11:41:20 AM1/9/21
to weewx-user
You'll have to ask someone more familiar with AQI and the Belchertown skin.

Reply all
Reply to author
Forward
0 new messages