WXforum.net

Weather Software => WeeWX Software => Topic started by: TinkerTown on June 27, 2021, 02:37:47 PM

Title: Add additional soilMoist fields to database
Post by: TinkerTown on June 27, 2021, 02:37:47 PM
I am runnin Weewx with the Belchertown skin and I just added a bunch of moisture sensors to my Ecowitt unit. I am having issues getting them to display in the skin and I looked in the database and I only see four fields for the sensors.

| archive_day_soilMoist1               
| archive_day_soilMoist2               
| archive_day_soilMoist3               
| archive_day_soilMoist4

How can I add additional fields up to SoilMoist7?

I don't know much about database management, I was hoping someone would have the commands to enter to add 5,6,7.

Thanks!
Title: Re: Add additional soilMoist fields to database
Post by: SnowHiker on June 29, 2021, 02:59:12 AM
Back up your database in case it doesn't work the way you expect, then try:

Code: [Select]
wee_database --add-column=soilMoist5
Code: [Select]
wee_database --add-column=soilMoist6
Code: [Select]
wee_database --add-column=soilMoist7
More info here:

http://www.weewx.com/docs/utilities.htm#wee_database_utility
Title: Re: Add additional soilMoist fields to database
Post by: TinkerTown on June 29, 2021, 06:07:44 AM
I got it, thank you! I thought I saw somewhere that said you could do that, but my search skills are apparently not that great! That worked, got them up and running, thanks!
Title: Re: Add additional soilMoist fields to database
Post by: Gyvate on June 30, 2021, 05:07:27 AM
EDIT: removed as the OP got a solution working ....
Title: Re: Add additional soilMoist fields to database
Post by: Gyvate on June 30, 2021, 05:32:34 AM
EDIT: removed as the OP got a solution working ....