Hi Thanks Michael Was really helpful and solved my problem.
I was really looking in the documentation here https://www.weewx.com/ but found nothing. :( Best Regards. lørdag den 29. januar 2022 kl. 11.37.42 UTC+1 skrev Michael: > In the directory /usr/share/weewx/weewx/drivers you should find the file > te923.py. From line 473 you will find the mappings starting with > DEFAULT_MAP = { > ... > 'outTemp': 't_1', > 'outHumidity': 'h_1', > 'extraTemp1': 't_2', > 'extraHumidity1': 'h_2', > > > by: > 'outTemp': 't_2', > 'outHumidity': 'h_2', > # 'extraTemp1': 't_2', > # 'extraHumid1': 'h_2', > > replace. > > Please make a copy of te923.py before editing. > > > Michael > > [email protected] schrieb am Samstag, 29. Januar 2022 um 11:06:52 UTC+1: > >> From the driver: >> I Would like to Map t_2 to Outside Temperature >> Where are all these mapped? >> >> Using configuration file /etc/weewx/weewx.conf >> Using TE923 driver version 0.41.1 (weewx.drivers.te923) >> Querying the station for current weather data... >> dateTime: 1643449936 >> forecast: 5 >> h_1: 48 >> h_1_state: ok >> h_2: 91 >> h_2_state: ok >> h_3: 56 >> h_3_state: ok >> h_4: None >> h_4_state: no_link >> h_5: None >> h_5_state: no_link >> h_in: 51 >> h_in_state: ok >> rain: 520 >> rain_state: ok >> slp: 1004.0625 >> slp_state: ok >> storm: 0 >> t_1: 24.6 >> t_1_state: ok >> t_2: 8.2 >> t_2_state: ok >> t_3: 15.9 >> t_3_state: ok >> t_4: None >> t_4_state: no_link >> t_5: None >> t_5_state: no_link >> t_in: 25.95 >> t_in_state: ok >> uv: None >> uv_state: no_link >> windchill: 7.4 >> windchill_state: ok >> winddir: 8 >> winddir_state: ok >> windgust: 4.5 >> windgust_state: ok >> windspeed: 2.6 >> windspeed_state: ok >> >> lørdag den 29. januar 2022 kl. 10.27.56 UTC+1 skrev Søren Helskov: >> >>> Hi >>> >>> I have this TE923 weatherstation that has been running with Weewx for >>> almost >>> 7 years now. >>> My problem is that on Channel 1 on my weather station, i have some >>> strange sensor reporting in, with wrong value and overwriting my local >>> sensor. I think it could be my neighbours weather station of same brand. >>> I have now changed my outdoor sensor to channel 2. >>> But in weewx it results in i now have Outside Temperature with wrong >>> value and a new measurement called Temperature 1. >>> >>> I dont want to rename Temperature 1 to Outside as i have 7 years of log >>> data on the Outside Temperature. So i would like to switch, so the Channel >>> 1 is Temperature 1 and Channel 2 is outside Temperature. >>> I have tried to look in weewx.conf but its only labels. >>> >>> Hope someone can help my. >>> >> -- 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/022f9612-61a6-4cab-a974-cdc822588682n%40googlegroups.com.
