I have no idea what the sensor_map element is nor what it would do. And
your later reply had too many [[[ ]]] levels.
If you are using Gary's original GW1000 driver then just add the
[[field_map_extensions]] two lines to the [GW1000] section in weewx.conf,
then restart weewx.
[GW1000]
poll_interval = 20
driver = user.gw1000
ip_address = 192.168.2.87 # gw1200
port = 45000
[[field_map_extensions]]
outTempBatteryStatus = wh26_batt # outside t+h sensor
batteryStatus1 = wh31_ch1__batt # indoor t+h sensors on channels
1-5
batteryStatus2 = wh31_ch2__batt
batteryStatus3 = wh31_ch3__batt
batteryStatus4 = wh31_ch4__batt
batteryStatus5 = wh31_ch5__batt
batteryStatus8 = wh51_ch1__batt # soil moisture
soilTemp1 = temp9 # wh34 soil temp
# unfortunately no batteryStatus9
exists for wh34_ch1_batt
rain = t_rain # WH40BH as primary rain sensor
rainBatteryStatus = wh40_batt # and its battery status
If you are running a dpkg installation of weewx, you can test the driver
with:
PYTHONPATH=/etc/weewx/bin python3 -m user.gw1000 --test-driver
--ip-address=192.168.2.87
On Wednesday, December 31, 2025 at 1:26:36 PM UTC-8 O S wrote:
> Hi Vince, thanks - like this?
>
>
> ##############################################################################
>
> [GW1000]
> [[field_map-extensions]]
> soilTemp1 = temp9
> # This section is for the Ecowitt Gateway driver.
>
> # How often to poll the API, default is every 20 seconds:
> poll_interval = 20
>
> # The driver to use:
> driver = user.gw1000
> ip_address = auto
> port = 45000
> sensor_map = wh40_batt:batteryStatus
>
>
> ##############################################################################
>
> On Wednesday, December 31, 2025 at 7:34:18 PM UTC vince wrote:
>
>> I have the soil temp sensor and a gw1200 here.
>>
>> I just added a [[field_map_extensions]] item to map it to a weewx db
>> element
>>
>> [GW1000]
>> [[field_map_extensions]]
>> soilTemp1 = temp9 # map driver 'temp9' to weewx 'soilTemp1'
>> # wh34_ch1_batt could be mapped to an
>> available field
>> # so if you want its battery status saved to
>> the db
>>
>>
>>
>> On Wednesday, December 31, 2025 at 11:22:43 AM UTC-8 Ole Andreas Gløersen
>> wrote:
>>
>>> I don't have a complete guide for your problem, but use "sudo journalctl
>>> -u weewx -f" to check for sensor ID. I have also made a guide for
>>> implementing my unknown sensors to WeeWX.
>>>
>>> Check it out for then you can use it as an approach for your problem.
>>>
>>> ons. 31. des. 2025 kl. 17:48 skrev O S <[email protected]>:
>>>
>>>> Hello all,
>>>>
>>>> I have an Ecowitt soil temperature sensor that is being picked up by
>>>> the gateway (GW1200), but not by WeeWX (not on the report page, anyway).
>>>>
>>>> I am running WeeWX on a R-Pi 1, Debian Bookworm.
>>>>
>>>> Log is here: https://pastebin.com/Z26g3Xic with debug set to 1. The
>>>> only changes I have made is to override some values and plots to exclude
>>>> them from the html report page (Seasons).
>>>>
>>>> I have absolutely no idea where to start with this, so help from you
>>>> people would be much appreciated, as usual.
>>>>
>>>> Thanks :)
>>>>
>>>> --
>>>> 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 visit
>>>> https://groups.google.com/d/msgid/weewx-user/12f358fe-7d1a-45e0-8428-cccfc162e0f0n%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/weewx-user/12f358fe-7d1a-45e0-8428-cccfc162e0f0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
--
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 visit
https://groups.google.com/d/msgid/weewx-user/d7f1a5f5-a91c-4981-9050-2714fe5d6397n%40googlegroups.com.