you can do this in the weewx configuration file using the 'sensor_map' in 
the TE923 section.

the default sensor map looks like this (you should see this in your weewx 
configuration file, but it is probably commented, since it is the default 
behavior):

[TE923]
    ...
    [[sensor_map]]
        windLinkStatus = link_wind
        windBatteryStatus = bat_wind
        rainLinkStatus = link_rain
        rainBatteryStatus = bat_rain
        uvLinkStatus = link_uv
        uvBatteryStatus = bat_uv
        inTemp = t_in
        inHumidity = h_in
        outTemp = t_1
        outHumidity = h_1
        outTempBatteryStatus = bat_1
        outLinkStatus = link_1
        extraTemp1 = t_2
        extraHumid1 = h_2
        extraBatteryStatus1 = bat_2
        extraLinkStatus1 = link_2
        extraTemp2 = t_3
        extraHumid2 = h_3
        extraBatteryStatus2 = bat_3
        extraLinkStatus2 = link_3
        extraTemp3 = t_4
        extraHumid3 = h_4
        extraBatteryStatus3 = bat_4
        extraLinkStatus3 = link_4
        extraTemp4 = t_5
        extraHumid4 = h_5
        extraBatteryStatus4 = bat_5
        extraLinkStatus4 = link_5

to change the sensor mapping, uncomment the entire sensor map, or, if it is 
not yet in your weewx configuration, paste it into the TE923 section.  you 
must specify the entire sensor map, not just a single item.

then, to swap channel 1 and channel 2, change this:

        outTemp = t_1
        outHumidity = h_1
        outTempBatteryStatus = bat_1
        outLinkStatus = link_1
        extraTemp1 = t_2
        extraHumid1 = h_2
        extraBatteryStatus1 = bat_2
        extraLinkStatus1 = link_2

to this:

        outTemp = t_2
        outHumidity = h_2
        outTempBatteryStatus = bat_2
        outLinkStatus = link_2
        extraTemp1 = t_1
        extraHumid1 = h_1
        extraBatteryStatus1 = bat_1
        extraLinkStatus1 = link_1

by changing the configuration file, your changes will persist even when you 
update/upgrade weewx.

and be sure that your neighbor does not also use channel 2!

m

-- 
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/d6a0b213-f7c9-4f84-b8d1-cb98513c03b5n%40googlegroups.com.

Reply via email to