Hi Paul,

My old system uses the Interceptor and 3.x but with the advent of 4.1 I built a new server and also changed to the GW1000 driver since it captures more of the data from the 1000 than the Interceptor does. I've imported some of the data from the old db to the new db to check that yearly summaries etc. are ok.

3.x has an old schema that would need to be extended to archive the new data. 4.x has an extended schema so it becomes a simple matter to map the Ecowitt fields, from the GW1000 driver, to the weewx db for any data type that doesn't have a direct match.

Example , in my weewx.con file, I have this stanza...

[GW1000]
    driver = user.gw1000
    ip_address = 172.20.1.16
    port = 45000
    poll_interval = 30
         [[field_map_extensions]]
        lightning_distance = lightningdist
        lightning_disturber_count = lightningdettime
        batteryStatus1 = wh41_ch1_batt
        batteryStatus2 = wh57_batt
        batteryStatus3 = wh51_ch1_batt
        batteryStatus4 = wh51_ch2_batt
        batteryStatus5 = wh51_ch3_batt
        batteryStatus6 = wh51_ch4_batt

Weewx fields on the left, Ecowitt on the right

Interestingly my moisture sensors are not returning a battery level.

PM2.5 and soil moisture get mapped directly so extra no config required for that

In my Belchertown skin, graphs.conf file, I  graph soil moisture thus...

    [[chart7]]
        title = Garden Soil Moisture
        type = spline
        [[[soilMoist1]]]
                name = Vege Patch
        [[[soilMoist2]]]
                name = Central Garden
        [[[soilMoist3]]]
                name = East Garden
        [[[soilMoist4]]]
                name = West Garden

I haven't made graphs for the battery status as yet.

FYI... The Extended schema can be found here...

https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py


cheers

Tim



On 7/10/20 9:37 am, Paul Ward wrote:
Hi I'm a bit new to this and have similar setup except like your originally did Andy without a DP1500 (GW1000) gateway just using the HP2551 with weewx-interceptor in ecowitt-client mode. I've got a lightning detector (wh57), pm2.5 detector (wh41) also soil moisture detector. From the syslogs I can see some incomeing values appearsto be read and some not - I'll post separately on that. But how do you know where the values that are read in go in the DB records schema for these sensors and what are they called? Like some of the battery levels etc. I'm on an upgraded install recently from 3.x to 4.1.1.


--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a20daa9b-0480-c87e-feec-f21e774da2f0%40skybase.net.

Reply via email to