Author Topic: Add additional soilMoist fields to database  (Read 366 times)

0 Members and 1 Guest are viewing this topic.

Offline TinkerTown

  • Senior Member
  • **
  • Posts: 61
Add additional soilMoist fields to database
« 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!
Ecowitt GW1000 | WS-2902C |Weewx on Raspberry Pi
WU: KNMLOVIN14  |  PWSweather: PWSLOVNM1
CWOP: FW9112; https://lovingtonweather.com

Offline SnowHiker

  • Forecaster
  • *****
  • Posts: 327
Re: Add additional soilMoist fields to database
« Reply #1 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

Offline TinkerTown

  • Senior Member
  • **
  • Posts: 61
Re: Add additional soilMoist fields to database
« Reply #2 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!
Ecowitt GW1000 | WS-2902C |Weewx on Raspberry Pi
WU: KNMLOVIN14  |  PWSweather: PWSLOVNM1
CWOP: FW9112; https://lovingtonweather.com

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 1630
Re: Add additional soilMoist fields to database
« Reply #3 on: June 30, 2021, 05:07:27 AM »
EDIT: removed as the OP got a solution working ....
« Last Edit: June 30, 2021, 05:44:40 AM by Gyvate »
WS2350 1.6.4, GW1000(3) 1.7.4, WH2650 WiFi (2) 1.7.4 (test/backup), GW1100 2.1.4, GW2000(3) 2.1.5, HP2551 1.6.4/1.8.0;
Ecowitt WS90(2), WS80, WH40, WH65, WH31(5), WH31-EP, WN30, WH32, WH32-EP, WH32B, WH57 [Lightning] (1), WH41 [PM2.5] (2), WH51 (5), WH45, WH55 (2)
MeteobridgePro(2)[test,prod 5.4 Jun 11 2022, 14754 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/CumulusMX 3190/MB RPi4(2671)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE), ISAARB22(HP2553), http://meshka.eu

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 1630
Re: Add additional soilMoist fields to database
« Reply #4 on: June 30, 2021, 05:32:34 AM »
EDIT: removed as the OP got a solution working ....
« Last Edit: June 30, 2021, 05:44:52 AM by Gyvate »
WS2350 1.6.4, GW1000(3) 1.7.4, WH2650 WiFi (2) 1.7.4 (test/backup), GW1100 2.1.4, GW2000(3) 2.1.5, HP2551 1.6.4/1.8.0;
Ecowitt WS90(2), WS80, WH40, WH65, WH31(5), WH31-EP, WN30, WH32, WH32-EP, WH32B, WH57 [Lightning] (1), WH41 [PM2.5] (2), WH51 (5), WH45, WH55 (2)
MeteobridgePro(2)[test,prod 5.4 Jun 11 2022, 14754 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/CumulusMX 3190/MB RPi4(2671)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE), ISAARB22(HP2553), http://meshka.eu

 

anything