[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread David Marshall
All working fine.
Many thanks for the new release.

On Thursday, November 3, 2022 at 3:58:33 AM UTC+1 gjr80 wrote:

> I've released v0.6.0 which should fix the average bearing/current bearing 
> issue highlighted in this thread. The release can be found in the usual 
> place .
>
> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
> as it needs more debug time than I have available just now. I will 
> investigate later this week and if necessary make a dot dot release.
>
> Gary  
>
> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>
>> Thanks Gary, that would be great.
>> Amazing piece of work by the way.
>> David
>>
>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>
>>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>>> SteelSeries gauges. I should have a fix by tomorrow.
>>>
>>> Gary
>>>
>>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Built a new station using an esp32 which mqtt’s data every second to a 
 Raspi. A python program converts this to a txt file which I then file 
 parse 
 into weewx. All ok.
 I have successfully installed the steelseries gauges and the rtgd 
 extension. All works fine and it is fantastic to see the gauges updating 
 in 
 real time.

 Just one small problem - the Wind Direction gauge shows latest and 
 average, but the average is always the same as the latest. Tried playing 
 with the rtgd.py program but even when I set data[avgdirection] to a 
 different value, nothing  changes.

 Any ideas?

>>>

-- 
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/d75f6f2e-5cda-49b9-9df5-b16232b87af3n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread Δημήτρης Βήχος
οκ after reinstalling works fine .

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 12:20:57 μ.μ. UTC+2, ο χρήστης gjr80 
έγραψε:

> Download and install it again.
>
> Gary
>
> On Thursday, 3 November 2022 at 19:55:40 UTC+10 hobbyl...@gmail.com wrote:
>
>> something goes wrong with 0.6.0 vresion to me. log tel me after 
>> installing and restarting weewx
>>
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> Traceback (most recent call last):
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> data = self.calculate(cached_packet)
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2390, in calculate
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> data[field] = self.get_field_value(field, packet)
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>>
>> im going back to 0.5.5  and all works  fine
>>
>> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
>> έγραψε:
>>
>>> I've released v0.6.0 which should fix the average bearing/current 
>>> bearing issue highlighted in this thread. The release can be found in the 
>>> usual place 
>>> .
>>>
>>> In testing v0.6.0 I've noticed a problem with sporadic windrun updates 
>>> on the Wind Rose gauge. I'm not sure if this a bug or an issue with my 
>>> system as it needs more debug time than I have available just now. I will 
>>> investigate later this week and if necessary make a dot dot release.
>>>
>>> Gary  
>>>
>>> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Thanks Gary, that would be great.
 Amazing piece of work by the way.
 David

 On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:

> Thanks for spotting this. There is an issue is v0.5.5 that maps 
> current wind direction to both the 'bearing' and 'avgbearing' fields used 
> by the SteelSeries gauges. I should have a fix by tomorrow.
>
> Gary
>
> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
> wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to 
>> a Raspi. A python program converts this to a txt file which I then file 
>> parse into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating 
>> in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/6ec5144b-7e44-4f06-9bc6-7299d4b4329cn%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread gjr80
Download and install it again.

Gary

On Thursday, 3 November 2022 at 19:55:40 UTC+10 hobbyl...@gmail.com wrote:

> something goes wrong with 0.6.0 vresion to me. log tel me after installing 
> and restarting weewx
>
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> Traceback (most recent call last):
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> data = self.calculate(cached_packet)
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2390, in calculate
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> data[field] = self.get_field_value(field, packet)
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>
> im going back to 0.5.5  and all works  fine
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
> έγραψε:
>
>> I've released v0.6.0 which should fix the average bearing/current bearing 
>> issue highlighted in this thread. The release can be found in the usual 
>> place .
>>
>> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
>> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
>> as it needs more debug time than I have available just now. I will 
>> investigate later this week and if necessary make a dot dot release.
>>
>> Gary  
>>
>> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>>
>>> Thanks Gary, that would be great.
>>> Amazing piece of work by the way.
>>> David
>>>
>>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>>
 Thanks for spotting this. There is an issue is v0.5.5 that maps current 
 wind direction to both the 'bearing' and 'avgbearing' fields used by the 
 SteelSeries gauges. I should have a fix by tomorrow.

 Gary

 On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
 wrote:

> Built a new station using an esp32 which mqtt’s data every second to a 
> Raspi. A python program converts this to a txt file which I then file 
> parse 
> into weewx. All ok.
> I have successfully installed the steelseries gauges and the rtgd 
> extension. All works fine and it is fantastic to see the gauges updating 
> in 
> real time.
>
> Just one small problem - the Wind Direction gauge shows latest and 
> average, but the average is always the same as the latest. Tried playing 
> with the rtgd.py program but even when I set data[avgdirection] to a 
> different value, nothing  changes.
>
> Any ideas?
>


-- 
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/8c955ee6-b273-4522-809d-65293b6cd200n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread Δημήτρης Βήχος
something goes wrong with 0.6.0 vresion to me. log tel me after installing 
and restarting weewx

Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
_conv_default = weeutil.weeutil.convert(this_field_map['default'],
Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
Traceback (most recent call last):
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  data 
= self.calculate(cached_packet)
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2390, in calculate
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
data[field] = self.get_field_value(field, packet)
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
_conv_default = weeutil.weeutil.convert(this_field_map['default'],
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
AttributeError: module 'weeutil.weeutil' has no attribute 'convert'

im going back to 0.5.5  and all works  fine

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
έγραψε:

> I've released v0.6.0 which should fix the average bearing/current bearing 
> issue highlighted in this thread. The release can be found in the usual 
> place .
>
> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
> as it needs more debug time than I have available just now. I will 
> investigate later this week and if necessary make a dot dot release.
>
> Gary  
>
> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>
>> Thanks Gary, that would be great.
>> Amazing piece of work by the way.
>> David
>>
>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>
>>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>>> SteelSeries gauges. I should have a fix by tomorrow.
>>>
>>> Gary
>>>
>>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Built a new station using an esp32 which mqtt’s data every second to a 
 Raspi. A python program converts this to a txt file which I then file 
 parse 
 into weewx. All ok.
 I have successfully installed the steelseries gauges and the rtgd 
 extension. All works fine and it is fantastic to see the gauges updating 
 in 
 real time.

 Just one small problem - the Wind Direction gauge shows latest and 
 average, but the average is always the same as the latest. Tried playing 
 with the rtgd.py program but even when I set data[avgdirection] to a 
 different value, nothing  changes.

 Any ideas?

>>>

-- 
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/01b0225e-6761-4442-a1fb-4af5adfe3d9dn%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-02 Thread gjr80
I've released v0.6.0 which should fix the average bearing/current bearing 
issue highlighted in this thread. The release can be found in the usual 
place .

In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
as it needs more debug time than I have available just now. I will 
investigate later this week and if necessary make a dot dot release.

Gary  

On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:

> Thanks Gary, that would be great.
> Amazing piece of work by the way.
> David
>
> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>
>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>> SteelSeries gauges. I should have a fix by tomorrow.
>>
>> Gary
>>
>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com wrote:
>>
>>> Built a new station using an esp32 which mqtt’s data every second to a 
>>> Raspi. A python program converts this to a txt file which I then file parse 
>>> into weewx. All ok.
>>> I have successfully installed the steelseries gauges and the rtgd 
>>> extension. All works fine and it is fantastic to see the gauges updating in 
>>> real time.
>>>
>>> Just one small problem - the Wind Direction gauge shows latest and 
>>> average, but the average is always the same as the latest. Tried playing 
>>> with the rtgd.py program but even when I set data[avgdirection] to a 
>>> different value, nothing  changes.
>>>
>>> Any ideas?
>>>
>>

-- 
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/3a56f8e6-bbd2-4755-8f3a-e7e96169e251n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-01 Thread David Marshall
Thanks Gary, that would be great.
Amazing piece of work by the way.
David

On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:

> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
> SteelSeries gauges. I should have a fix by tomorrow.
>
> Gary
>
> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to a 
>> Raspi. A python program converts this to a txt file which I then file parse 
>> into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/6e032ed1-12eb-4aad-a310-3ad843c05926n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-01 Thread David Marshall
Thanks Gary, looking at that.
Tried to keep things as simple as possible at the esp32 end, (which by the 
way is an amazing piece of kit for $10). So it is sending very raw data - 
number of clicks from the rain bucket, number of revolutions from the wind 
cups, for example. The python program then converts this into sensible data.
If I need to make any changes in the esp32 it needs to be physically 
connected to the pc using the Arduino ide, which is a pain. Also wanted to 
make as few demands on it as possible until I see how stable it is. But so 
far so good.
If it stays stable will try the direct mqtt driver.
David

On Tuesday, November 1, 2022 at 1:16:57 AM UTC+1 gary@gmail.com wrote:

> Use the MQTT driver which takes the data directly from your mosquitto 
> server.
> Avoids all the middleware.
> I use Rich's excellent package.
> https://github.com/bellrichm/WeeWX-MQTTSubscribe
>
>
> On Monday, October 31, 2022 at 3:34:05 PM UTC-4 marsha...@gmail.com wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to a 
>> Raspi. A python program converts this to a txt file which I then file parse 
>> into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/45e52675-a88a-4099-bb49-b688b229n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-10-31 Thread gjr80
Thanks for spotting this. There is an issue is v0.5.5 that maps current 
wind direction to both the 'bearing' and 'avgbearing' fields used by the 
SteelSeries gauges. I should have a fix by tomorrow.

Gary

On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com wrote:

> Built a new station using an esp32 which mqtt’s data every second to a 
> Raspi. A python program converts this to a txt file which I then file parse 
> into weewx. All ok.
> I have successfully installed the steelseries gauges and the rtgd 
> extension. All works fine and it is fantastic to see the gauges updating in 
> real time.
>
> Just one small problem - the Wind Direction gauge shows latest and 
> average, but the average is always the same as the latest. Tried playing 
> with the rtgd.py program but even when I set data[avgdirection] to a 
> different value, nothing  changes.
>
> Any ideas?
>

-- 
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/4885c64e-4dca-4631-b2bb-0ee2c2d25473n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-10-31 Thread gary....@gmail.com
Use the MQTT driver which takes the data directly from your mosquitto 
server.
Avoids all the middleware.
I use Rich's excellent package.
https://github.com/bellrichm/WeeWX-MQTTSubscribe


On Monday, October 31, 2022 at 3:34:05 PM UTC-4 marsha...@gmail.com wrote:

> Built a new station using an esp32 which mqtt’s data every second to a 
> Raspi. A python program converts this to a txt file which I then file parse 
> into weewx. All ok.
> I have successfully installed the steelseries gauges and the rtgd 
> extension. All works fine and it is fantastic to see the gauges updating in 
> real time.
>
> Just one small problem - the Wind Direction gauge shows latest and 
> average, but the average is always the same as the latest. Tried playing 
> with the rtgd.py program but even when I set data[avgdirection] to a 
> different value, nothing  changes.
>
> Any ideas?
>

-- 
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/a297ee91-d20e-444e-9162-025ec99419e7n%40googlegroups.com.