matthewwall / weewx-interceptor

weewx driver that intercepts web traffic from internet 'bridge' devices such as Acurite Access, ObserverIP, OS LW30x, LaCross GW1000U, FineOffset GW1000
GNU General Public License v3.0
105 stars 46 forks source link

Observer device/hardware name #96

Closed ThomDietrich closed 2 years ago

ThomDietrich commented 3 years ago

Hey there, this is potentially an easy question and maybe not even linked to this driver specifically. Would be thankful for some pointers!

With a config similar to

[Interceptor]
    driver = user.interceptor
    device_type = observer
    port = 8000

we get image

In my case this should actually state "Ambient Weather WS-2902A".

How can I set my weather station name/type?


Edit: Following the developer guide of weewx the string "observer" comes through the property hardware_name https://www.weewx.com/docs/customizing.htm#hardware_name

https://github.com/matthewwall/weewx-interceptor/blob/4c4a7fbdb109a4ee49c27d1e249c3e4259294525/bin/user/interceptor.py#L2541-L2542

@matthewwall did you ever consider supporting an additional config setting to set the hardware_name to a custom string?