Thank you for the feedback.

I have now released v0.6.3 
<https://github.com/gjr80/weewx-gw1000/releases/tag/v0.6.3>.

Gary

On Thursday 1 August 2024 at 21:23:59 UTC+10 j.fri...@gmail.com wrote:

> Hi Gary,
>
> It works very well now.
>
> Thank you for your help.
>
> Jarda
>
> čt 1. 8. 2024 v 13:12 odesílatel gjr80 <gjrod...@gmail.com> napsal:
>
>> As Rainer mentioned the issue is likely that the unit group has not been 
>> defined for the PM4 obs type in your database (though this will depend on 
>> your driver setup, database schema and skin you are using). Unit groups for 
>> additional obs types are often defined by the user in extensions.py, but 
>> can also be done in the driver. The gateway driver does define unit groups 
>> for all WeeWX fields in the default field map that do not appear in the 
>> default WeeWX schema (ie the wview_extended schema). I neglected to 
>> update this portion of the driver for the new/updated 'PM' fields in 
>> v0.6.3.b1, I have since made the necessary changes. If you delete the 
>> v0.6.3b1 driver using:
>>
>> $ rm /etc/weewx/bin/user/gw1000.py
>>
>> and then download v0.6.3b2 in it's place using:
>>
>> $ wget -P /etc/weewx/bin/user 
>> https://raw.githubusercontent.com/gjr80/weewx-gw1000/v0.6.3/bin/user/gw1000.py
>>
>> and finally restart WeeWX your PM4 data should display with correct 
>> formatting/labelling.
>>
>> Gary
>>
>> On Thursday 1 August 2024 at 16:08:48 UTC+10 j.fri...@gmail.com wrote:
>>
>>> Hi Gary,
>>>
>>> the  v0.6.3b1 works wery well. There is only one possible issue with PMI 
>>> 4. index.html page shows it in other way then others values .
>>>
>>> Thank you very much for your help.
>>>
>>> Jarda
>>>
>>> *Outout from the driver :*
>>> 'pm1_0': '9.5', 'pm1_0_24h_avg': '1.5', 'pm2_55': '10.6', 
>>> 'pm2_55_24h_avg': '2.5', 'pm4_0': '11.0', 'pm4_0_24h_avg': '3.2', 'pm10_0': 
>>> '11.2', 'pm10_0_24h_avg': '3.6'
>>>
>>> *Database values :*
>>> PM1.0  = 10.6333333333333
>>> PM2.5  = 11.7
>>> PM4.0  =  12.0666666666667
>>> PM10 =  12.2666666666667
>>>
>>> *Index.html page :*
>>> [image: Výstřižek.PNG]
>>>
>>>
>>>
>>> Dne úterý 30. července 2024 v 13:51:16 UTC+2 uživatel gjr80 napsal:
>>>
>>> You can try v0.6.3b1 which includes support for the WH46 air quality 
>>> sensor. If a WH46 is connected the v0.6.3 driver should emit the same 
>>> temperature, PM2.5, PM10 and CO2 fields as with a WH45. Additional fields 
>>> pm1_0, pm1_0_24h_avg, pm4_0, pm4_0_24h_avg should also be emitted with 
>>> the WH46 PM1 and PM4 data and 24hour averages respectively. v0.6.3 should 
>>> also automatically determine whether a WH45 or WH46 is present and 
>>> correctly name WH45/WH46 battery and signal state fields.
>>>
>>> Note that I have had to change the names of a the PM10 fields emitted by 
>>> the driver when used with a WH45 sensor. This will only affect you if you 
>>> previously used a WH45 sensor. The driver now emits pm10_0 and 
>>> pm10_0_24h_avg fields (previously the fields were pm10 and pm10_24h_avg). 
>>> Users who have previously used a WH45 sensor will need to either change 
>>> their field map if mapping these fields to some other WeeWX field, or if 
>>> the pm10 and pm10_24h_avg fields are used in the database schema the 
>>> database fields will need to be renamed to the new field names.
>>>
>>> v0.6.3 also includes support for the WS85 sensor array as well as 
>>> including a revised approach to device discovery that is much more reliable 
>>> than the previous approach. Note the recommended approach remains to 
>>> specify the device IP address in the WeeWX config file rather than have the 
>>> driver rely on discovery
>>>
>>> I have not released v0.6.3 yet, rather I have kept it at b1 until 
>>> someone verifies it's use it with a WH45/46. If you wish to try v0.6.3b1 
>>> the following instructions should be used:
>>>
>>> 1. Rename your existing gateway driver to gw1000_0_6_1.py so you can 
>>> easily revert if necessary:
>>> $ cp /etc/weewx/bin/user/gw1000.py /etc/weewx/bin/user/gw1000_0_6_1.py
>>>
>>> 2. Download the v0.6.3b1 driver file and save it to /etc/weewx/bin/user:
>>> $ wget -P /etc/weewx/bin/user 
>>> https://raw.githubusercontent.com/gjr80/weewx-gw1000/v0.6.3/bin/user/gw1000.py
>>>
>>> 3. You can run the driver directly as you did in you OP, you should see 
>>> the WH46 obs fields as well as WH46 battery and signal state data. You 
>>> might also find using the --live-data option useful when running the 
>>> driver directly.
>>>
>>> 4. If you are happy running the driver directly you can restart WeeWX 
>>> and it will pick up the v0.6.3 driver.
>>>
>>> Note the above commands may require prefixing with sudo. If you need to 
>>> revert to your original driver just delete /etc/weewx/bin/user/gw1000.py 
>>> and 
>>> rename /etc/weewx/bin/user/gw1000_0_6_1.py to 
>>> /etc/weewx/bin/user/gw1000.py. 
>>>
>>> If any problems please let me know.
>>>
>>> Gary
>>>
>>> On Monday 29 July 2024 at 22:55:21 UTC+10 j.fri...@gmail.com wrote:
>>>
>>> Hello,
>>>
>>> I added new WH46 to my Ecowitt system. I can view data in ecowitt.net 
>>> and in mobile application too.
>>>
>>> My main system is weewx https://pocasi.frimlovi.com but the new WH46 
>>> data didn't appear automatically in dashboard.
>>>
>>> If I run PYTHONPATH=/usr/share/weewx:/etc/weewx/bin python3 
>>> /etc/weewx/bin/user/gw1000.py --test-service --ip-address=my_IP it shows 
>>> data from all measures correctly but from WH46 it shows only data about 
>>> battery and signal -  'wh45_batt': '5', 'wh45_sig': '4'
>>>
>>> I use the latest version of GW1000 driver - 0.6.1
>>>
>>> I tryed to add data in weewx.conf - [[field_map_extensions]] and in 
>>> skin.conf in appearance but nothing changed.
>>>
>>> Can you help me please ?
>>>
>>> Thank you in advance.
>>>
>>> Jarda
>>>
>>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/rjVtv33PnNk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/68515a54-d1cd-4dbd-985a-5c864017f4c4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/68515a54-d1cd-4dbd-985a-5c864017f4c4n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5e113428-ff30-4808-909c-570f3798b632n%40googlegroups.com.

Reply via email to