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

0 Members and 1 Guest are viewing this topic.

Offline TinkerTown

  • Senior Member
  • **
  • Posts: 68
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: 352
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: 68
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: 3324
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.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3324
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.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu

 

anything