Am Montag, 13. Januar 2020 12:32:33 UTC+1 schrieb Vetti52:
>
>
>
> Am Sonntag, 12. Januar 2020 22:01:36 UTC+1 schrieb mwall:
>>
>> On Sunday, January 12, 2020 at 7:23:30 AM UTC-5, Vetti52 wrote:
>>>
>>> This will make things a bit easier. However, I must confess, that I am 
>>> sometimes a bit messy. So, when updating interceptor.py from your site, I 
>>> will have to remember, on which parts I mades my modifications. So, for me 
>>> it would be much easier, if all modifications could  reside in a separate 
>>> file. I am afraid, that realizing this would a hard job for now.
>>>
>>
>> the only modifications you should make are to the weewx configuration 
>> file.
>>
>> m
>>
>
> Well, I followed the procedure of Stephen to import rain event:
>
> https://www.wxforum.net/index.php?topic=37471.msg386960#msg386960
>
> and additionally modified 'baromrelin': 'barometer', because my WS2900 has 
> a very simple way to calculate "relative pressure" by just adding 
> constantly 26.9 hPa to the measured "absolute pressure". For better 
> comparison with official Weather Station data, I have changed the absolute 
> pressure, so that the relative pressure meets the official data now. So, 
> the absolute pressure is "wrong" and should not be the basis of calulation. 
> At least not the way, it actually is.
>
> I am not sure, if both modifications could be entered into weewx.conf.
>

Now, as it finally rains today, I have tried to modify weewx.conf that way:

[Interceptor]
>     # This section is for the network traffic interceptor driver.
>
>     # The driver to use:
>     driver = user.interceptor
>     device_type = ecowitt-client
>     mode = listen
>     port = 9000
>     [[sensor_map_extensions]]
>     baromrelin = barometer
>     battery_wh65 = battery
>     eventrainin = rain_event
>     rain_event = rainEvent
>
>
>
>
Rain is ok now. However, in Weewx current conditions barometer shows a 
calculated value, derived from absolute pressure, not the adjusted relative 
pressure, as expected. And the battery status is completely gone now. In 
addition, I detected an alien: "ET 0.0 mm". What is it???

So, I went back to modify interceptor.py that way: 
I introduced 'rainEvent': 'rain_event' into the DEFAULT_SENSOR_MAP in class 
Consumer(object), introduced 'baromrelin': 'barometer', and 'eventrainin': 
'rain_event', in the LABEL_MAP of class EcowittClient(Consumer) and 
commented out # 'baromrelin', 'eventrainin', in the adjacent IGNORED_LABELS.

That works fine, except that again there is no battery status at all. And 
still ET is here...


-- 
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/f4805b16-da9d-4bb2-a88c-3472c10852ff%40googlegroups.com.

Reply via email to