database

89 views
Skip to first unread message

Macha

unread,
Mar 10, 2025, 7:57:34 AM3/10/25
to weewx-user
Hello,

I'm having a bit of difficulty

I have weewx running with a number of sensors including a Bresser 6-in-1 station and various other temperature and humidity sensors. My driver retrieves data from all sensors through an mqtt Broker (Mosquitto).

I have just added an air quality sensor using a pms5003 device controlled from a connected Pico which sends its data over wifi to the Broker.

I send these values in the loop data to weewx with names "pm1_0", "pm2_5" and "pm10_0" and these are displayed correctly on my weather page as both latest values and a daily graph.

However, my problem is that they're not appearing in the archive database, even though this database has columns for these particular values.

I wonder if anyone has any clues as to how I can get weewx to store them in its archive record and hence the database.

many thanks

Tom Keffer

unread,
Mar 10, 2025, 8:24:38 AM3/10/25
to weewx...@googlegroups.com
The graphs are populated with data from the database, so there must be something in there. You said that the daily graph is correct. How about other time periods?

Try running "weectl debug". It will show information about your database schema.

--
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 visit https://groups.google.com/d/msgid/weewx-user/2c134a9d-789f-4323-8e7d-2670ab55c91dn%40googlegroups.com.

Macha

unread,
Mar 10, 2025, 9:02:51 AM3/10/25
to weewx-user
Thanks for replying.

Apologies and red faces at this end - my database is so huge that I was scanning the wrong timestamps. However, I can now see that pm values are happily being stored.

Have a good day :)

Reply all
Reply to author
Forward
0 new messages