Hi,

I think we might need a bit of clarification as to what it is you are 
trying to do. You say "inTemp is being used by another service", do you 
mean that WeeWX field inTemp is being *provided* by another service/driver 
(which has consequences for running the  GW1000 driver as as service) or do 
you mean WeeWX field inTemp is being *used* by another service (which has 
no consequences for the GW1000 driver when run as a service). Does the same 
apply for inHumidity? When you ran the GW1000 driver directly with 
--test-service there was no extraTemp2 or extraHumid2 fields and your field 
map does not map anything to these fields so I would expect extraTemp2 and 
extraHumid2 to show as N/A in any reports.

Perhaps you have a misunderstanding re the field map. The field map maps 
GW000 'fields' to WeeWX fields. The GW1000 driver uses a default field map. 
The default field map can be altered in two ways; you can replace the 
entire default field map by defining your own field map using a 
[[field_map]] stanza, or you can alter the default field map by listing 
changes to the default field map in a [[field_map_extensions]] stanza. It 
is not clear if you were attempting one of these approaches as you have no [[ 
]] level stanza in the config extra you posted. Also when defining a field 
map entry the format is:

    WeeWX field name = GW1000 field name

    where:
        GW1000 field name is the name of the GW1000 'field' that you wish 
to map 
        WeeWX field name is the WeeWX field name you wish to contain the 
data from the GW1000 'field' concerned. The WeeWX field name is the the 
field name you will use in reports etc

You can see what fields your GW1000 emits by running the GW1000 driver 
directly with the --live-data command line option (the fields shown when 
running the driver directly using the --test-service or --test-driver 
command line options are WeeWX field names, ie they have been mapped using 
the field map, fields shown using --live-data are GW1000 'fields' ie they 
are unmapped).

Gary

On Thursday, 20 August 2020 08:15:29 UTC+10, Timothy Buchanan wrote:
>
> I installed GW1000 as a service and the test-service command gives this 
> output:
>
> dateTime: 1597861672, dummyTemp: 96.3, extraHumid1: 26, extraTemp1: 85.1, 
> inHumidity: 33, inTemp: 75.74, pressure: 22.2360805875, relbarometer: 
> 753.0, soilMoist1: 15, usUnits: 1, wh31_ch1_batt: 0, wh51_ch1_batt: 0
>
> In weewx.conf, I put this list of options:
>
> [GW1000]
>     driver = user.gw1000
> inTemp = extraTemp2
> inHumidity = extraHumid2
> extraTemp1 = extraTemp1
> extraHumid1 = extraHumid1
> soilMoist1 = soilMoist1
> pressure = ""
>
> I chose these because inTemp is being used by another service. When I 
> tried to use the data in my skin (modified exfoliation), I found that 
> extraTemp2 and extraHumid2 are shown as NA. The other values are displayed. 
> What did I do wrong here? Thanks for any help.
>

-- 
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/5a3f744a-4fbd-49e0-9d2a-d065bda77c32o%40googlegroups.com.

Reply via email to