Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-26 Thread Jamie Stephens
FYI no issues  with Tom’s driver.  Just not registered

On Fri, Feb 23, 2024 at 9:29 PM Jamie Stephens 
wrote:

> I'm not code savvy but I seem to recall I personally was running this fork
> from tkeffer that he ported to python 3
> https://github.com/tkeffer/weatherflow-udp/tree/master
> I might roll back tot hat and see if the issue go away, I don't think it
> was ever committed to the main
>
> On Friday, February 23, 2024 at 8:29:23 PM UTC-5 vince wrote:
>
>> Source is at
>> https://github.com/captain-coredump/weatherflow-udp/blob/master/bin/user/weatherflowudp.py
>>  if
>> some driver experts wanted to suggest fixes. This one is beyond me other
>> than to suggest that since weewx v5 does not support python2 anymore that
>> perhaps the try/except block needs something tweaked to deal with what I'm
>> guessing (like totally guessing) is garbage-in a little more gracefully
>> (anybody ?)
>>
>> if timeouterr == 0:
>> try:
>> m0 = str(m[0],'utf-8').replace(",null",",None")#
>> Python 3
>> except:
>>
>> m0 = m[0].replace(",null",",None") #
>> Python 2
>> m1=''
>> try:
>> m1=eval(m0)
>> except SyntaxError:
>> logerr('Packet parse error: %s' % m0)
>> if self._log_raw_packets:
>> loginf('raw packet: %s' % m1)
>> m2=parseUDPPacket(m1)
>> m3=sendMyLoopPacket(m2, self._sensor_map)
>> if len(m3) > 2:
>> yield m3
>>
>> On Friday, February 23, 2024 at 12:10:54 PM UTC-8 Jamie Stephens wrote:
>>
>> i went ahead and opened up a issue with the driver, had another crash
>> today
>>
>> --
> 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/JWTsu4s3TvY/unsubscribe.
> To unsubscribe from this group and all its topics, 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/8b15753c-088a-449b-87af-d7b37de9a15en%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8b15753c-088a-449b-87af-d7b37de9a15en%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/CABWMpWRZrKJp_0Yv281FiPtscnEOY3FeaMUc6ubrbJtrZe5S3Q%40mail.gmail.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-23 Thread Jamie Stephens
I'm not code savvy but I seem to recall I personally was running this fork 
from tkeffer that he ported to python 3 
https://github.com/tkeffer/weatherflow-udp/tree/master
I might roll back tot hat and see if the issue go away, I don't think it 
was ever committed to the main

On Friday, February 23, 2024 at 8:29:23 PM UTC-5 vince wrote:

> Source is at 
> https://github.com/captain-coredump/weatherflow-udp/blob/master/bin/user/weatherflowudp.py
>  if 
> some driver experts wanted to suggest fixes. This one is beyond me other 
> than to suggest that since weewx v5 does not support python2 anymore that 
> perhaps the try/except block needs something tweaked to deal with what I'm 
> guessing (like totally guessing) is garbage-in a little more gracefully 
> (anybody ?)
>
> if timeouterr == 0:
> try:
> m0 = str(m[0],'utf-8').replace(",null",",None")# 
> Python 3
> except:
>
> m0 = m[0].replace(",null",",None") # 
> Python 2
> m1=''
> try:
> m1=eval(m0)
> except SyntaxError:
> logerr('Packet parse error: %s' % m0)
> if self._log_raw_packets:
> loginf('raw packet: %s' % m1)
> m2=parseUDPPacket(m1)
>     m3=sendMyLoopPacket(m2, self._sensor_map)
> if len(m3) > 2:
> yield m3
>
> On Friday, February 23, 2024 at 12:10:54 PM UTC-8 Jamie Stephens wrote:
>
> i went ahead and opened up a issue with the driver, had another crash today
>
>

-- 
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/8b15753c-088a-449b-87af-d7b37de9a15en%40googlegroups.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-23 Thread Jamie Stephens
i went ahead and opened up a issue with the driver, had another crash today

On Thursday, February 22, 2024 at 1:20:16 PM UTC-5 vince wrote:

> Jamie - I didn't change anything related to how the driver actually works. 
>  I just added one line to hopefully get it to register vs. v5 weewx.  The 
> map shows a few v5 sites using that driver now, so that part seems to be 
> working.
>
> On Thursday, February 22, 2024 at 7:24:23 AM UTC-8 Jamie Stephens wrote:
>
>> Thanks Tom, this is the new updated driver that Vince got pushed on this 
>> thread. maybe it was a one off 
>>
>> On Thursday, February 22, 2024 at 10:07:45 AM UTC-5 Tom Keffer wrote:
>>
>>> It looks like the author of the driver is trying to insert a string into 
>>> a byte array. You should file an issue on the repository's issue list.
>>>
>>> On Thu, Feb 22, 2024 at 6:00 AM Jamie Stephens  
>>> wrote:
>>>
>>>> i manually restarted it and it's running right now just the registry 
>>>> push error but not exited 
>>>> Feb 22 08:50:19 weewx weewxd[68909]: ERROR weewx.restx: 
>>>> StationRegistry: Failed to publish record 2024-02-22 08:50:00 EST 
>>>> (17086098>
>>>>
>>>> will report back if weewx crashes again
>>>>
>>>> On Monday, February 19, 2024 at 7:09:16 PM UTC-5 Jamie Stephens wrote:
>>>>
>>>>> Thanks for the fix, I didn't;t even noticed it was not working
>>>>>
>>>>> On Monday, February 19, 2024 at 4:25:28 AM UTC-5 Ton Karsten wrote:
>>>>>
>>>>>> Thank you for resolving the error message.
>>>>>>
>>>>>> Op ma 19 feb 2024 om 01:36 schreef bell...@gmail.com <
>>>>>> bell...@gmail.com>:
>>>>>>
>>>>>>> Thanks for pushing it over the goal line. Always the hardest part.
>>>>>>>
>>>>>>> On Sunday 18 February 2024 at 19:33:41 UTC-5 vince wrote:
>>>>>>>
>>>>>>>> Update - the upstream author was nice enough to merge my PR for 
>>>>>>>> this problem, so you can simply upgrade your driver to the latest 
>>>>>>>> version 
>>>>>>>> and your station registration should work again with weewx v5.
>>>>>>>>
>>>>>>>> weectl extension install 
>>>>>>>> https://github.com/captain-coredump/weatherflow-udp/archive/master.zip
>>>>>>>> sudo systemctl restart weewx
>>>>>>>>
>>>>>>>> After upgrading your driver you should see the following output 
>>>>>>>> from 'weectl extension list':
>>>>>>>>
>>>>>>>> Extension NameVersion   Description
>>>>>>>> weatherflowudp1.10.2Capture data from WeatherFlow Bridge 
>>>>>>>> via UDP broadcast packets
>>>>>>>>
>>>>>>>> Thanks again Rich for the nudge(s) !!!
>>>>>>>>
>>>>>>>> -- 
>>>>>>> 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+...@googlegroups.com.
>>>>>>>
>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%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+...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/2f38f991-b58b-4a9c-ad95-21a63311bb90n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/2f38f991-b58b-4a9c-ad95-21a63311bb90n%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/a4287633-30a6-490a-9621-c2ee3c6a5323n%40googlegroups.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-22 Thread Jamie Stephens
Thanks Tom, this is the new updated driver that Vince got pushed on this 
thread. maybe it was a one off 

On Thursday, February 22, 2024 at 10:07:45 AM UTC-5 Tom Keffer wrote:

> It looks like the author of the driver is trying to insert a string into a 
> byte array. You should file an issue on the repository's issue list.
>
> On Thu, Feb 22, 2024 at 6:00 AM Jamie Stephens  
> wrote:
>
>> i manually restarted it and it's running right now just the registry push 
>> error but not exited 
>> Feb 22 08:50:19 weewx weewxd[68909]: ERROR weewx.restx: StationRegistry: 
>> Failed to publish record 2024-02-22 08:50:00 EST (17086098>
>>
>> will report back if weewx crashes again
>>
>> On Monday, February 19, 2024 at 7:09:16 PM UTC-5 Jamie Stephens wrote:
>>
>>> Thanks for the fix, I didn't;t even noticed it was not working
>>>
>>> On Monday, February 19, 2024 at 4:25:28 AM UTC-5 Ton Karsten wrote:
>>>
>>>> Thank you for resolving the error message.
>>>>
>>>> Op ma 19 feb 2024 om 01:36 schreef bell...@gmail.com >>> >:
>>>>
>>>>> Thanks for pushing it over the goal line. Always the hardest part.
>>>>>
>>>>> On Sunday 18 February 2024 at 19:33:41 UTC-5 vince wrote:
>>>>>
>>>>>> Update - the upstream author was nice enough to merge my PR for this 
>>>>>> problem, so you can simply upgrade your driver to the latest version and 
>>>>>> your station registration should work again with weewx v5.
>>>>>>
>>>>>> weectl extension install 
>>>>>> https://github.com/captain-coredump/weatherflow-udp/archive/master.zip
>>>>>> sudo systemctl restart weewx
>>>>>>
>>>>>> After upgrading your driver you should see the following output from 
>>>>>> 'weectl extension list':
>>>>>>
>>>>>> Extension NameVersion   Description
>>>>>> weatherflowudp1.10.2Capture data from WeatherFlow Bridge via 
>>>>>> UDP broadcast packets
>>>>>>
>>>>>> Thanks again Rich for the nudge(s) !!!
>>>>>>
>>>>>> -- 
>>>>> 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+...@googlegroups.com.
>>>>>
>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/2f38f991-b58b-4a9c-ad95-21a63311bb90n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/2f38f991-b58b-4a9c-ad95-21a63311bb90n%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/79ece3db-b456-4744-b354-301c7e75023cn%40googlegroups.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-22 Thread Jamie Stephens
i manually restarted it and it's running right now just the registry push 
error but not exited 
Feb 22 08:50:19 weewx weewxd[68909]: ERROR weewx.restx: StationRegistry: 
Failed to publish record 2024-02-22 08:50:00 EST (17086098>

will report back if weewx crashes again

On Monday, February 19, 2024 at 7:09:16 PM UTC-5 Jamie Stephens wrote:

> Thanks for the fix, I didn't;t even noticed it was not working
>
> On Monday, February 19, 2024 at 4:25:28 AM UTC-5 Ton Karsten wrote:
>
>> Thank you for resolving the error message.
>>
>> Op ma 19 feb 2024 om 01:36 schreef bell...@gmail.com :
>>
>>> Thanks for pushing it over the goal line. Always the hardest part.
>>>
>>> On Sunday 18 February 2024 at 19:33:41 UTC-5 vince wrote:
>>>
>>>> Update - the upstream author was nice enough to merge my PR for this 
>>>> problem, so you can simply upgrade your driver to the latest version and 
>>>> your station registration should work again with weewx v5.
>>>>
>>>> weectl extension install 
>>>> https://github.com/captain-coredump/weatherflow-udp/archive/master.zip
>>>> sudo systemctl restart weewx
>>>>
>>>> After upgrading your driver you should see the following output from 
>>>> 'weectl extension list':
>>>>
>>>> Extension NameVersion   Description
>>>> weatherflowudp1.10.2Capture data from WeatherFlow Bridge via 
>>>> UDP broadcast packets
>>>>
>>>> Thanks again Rich for the nudge(s) !!!
>>>>
>>>> -- 
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%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/2f38f991-b58b-4a9c-ad95-21a63311bb90n%40googlegroups.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-22 Thread Jamie Stephens
 thread exited last night and won't restart
Feb 21 17:08:31 weewx weewxd[763]:   File "/usr/share/weewx/weewxd.py", 
line 166, in main
Feb 21 17:08:31 weewx weewxd[763]: engine.run()
Feb 21 17:08:31 weewx weewxd[763]:   File 
"/usr/share/weewx/weewx/engine.py", line 204, in run
Feb 21 17:08:31 weewx weewxd[763]: for packet in 
self.console.genLoopPackets():
Feb 21 17:08:31 weewx weewxd[763]:   File 
"/etc/weewx/bin/user/weatherflowudp.py", line 313, in genLoopPackets
Feb 21 17:08:31 weewx weewxd[763]: m0 = m[0].replace(",null",",None")   
  # Python 2
Feb 21 17:08:31 weewx weewxd[763]: TypeError: a bytes-like object is 
required, not 'str'
Feb 21 17:08:31 weewx systemd[1]: weewx.service: Main process exited, 
code=exited, status=1/FAILURE
Feb 21 17:08:31 weewx systemd[1]: weewx.service: Failed with result 
'exit-code'.
Feb 21 17:08:31 weewx systemd[1]: weewx.service: Consumed 39min 16.609s CPU 
time.

On Monday, February 19, 2024 at 7:09:16 PM UTC-5 Jamie Stephens wrote:

> Thanks for the fix, I didn't;t even noticed it was not working
>
> On Monday, February 19, 2024 at 4:25:28 AM UTC-5 Ton Karsten wrote:
>
>> Thank you for resolving the error message.
>>
>> Op ma 19 feb 2024 om 01:36 schreef bell...@gmail.com :
>>
>>> Thanks for pushing it over the goal line. Always the hardest part.
>>>
>>> On Sunday 18 February 2024 at 19:33:41 UTC-5 vince wrote:
>>>
>>>> Update - the upstream author was nice enough to merge my PR for this 
>>>> problem, so you can simply upgrade your driver to the latest version and 
>>>> your station registration should work again with weewx v5.
>>>>
>>>> weectl extension install 
>>>> https://github.com/captain-coredump/weatherflow-udp/archive/master.zip
>>>> sudo systemctl restart weewx
>>>>
>>>> After upgrading your driver you should see the following output from 
>>>> 'weectl extension list':
>>>>
>>>> Extension NameVersion   Description
>>>> weatherflowudp1.10.2Capture data from WeatherFlow Bridge via 
>>>> UDP broadcast packets
>>>>
>>>> Thanks again Rich for the nudge(s) !!!
>>>>
>>>> -- 
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%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/a18f61c4-9bbd-4f03-b868-95f954cfacaan%40googlegroups.com.


Re: [weewx-user] Re: WeatherFlowUDP driver for Tempest Weatherstations

2024-02-19 Thread Jamie Stephens
Thanks for the fix, I didn't;t even noticed it was not working

On Monday, February 19, 2024 at 4:25:28 AM UTC-5 Ton Karsten wrote:

> Thank you for resolving the error message.
>
> Op ma 19 feb 2024 om 01:36 schreef bell...@gmail.com :
>
>> Thanks for pushing it over the goal line. Always the hardest part.
>>
>> On Sunday 18 February 2024 at 19:33:41 UTC-5 vince wrote:
>>
>>> Update - the upstream author was nice enough to merge my PR for this 
>>> problem, so you can simply upgrade your driver to the latest version and 
>>> your station registration should work again with weewx v5.
>>>
>>> weectl extension install 
>>> https://github.com/captain-coredump/weatherflow-udp/archive/master.zip
>>> sudo systemctl restart weewx
>>>
>>> After upgrading your driver you should see the following output from 
>>> 'weectl extension list':
>>>
>>> Extension NameVersion   Description
>>> weatherflowudp1.10.2Capture data from WeatherFlow Bridge via UDP 
>>> broadcast packets
>>>
>>> Thanks again Rich for the nudge(s) !!!
>>>
>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/9c2ecfe9-0b41-4b33-9295-fc6e9edf0db3n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/edf92d87-9fee-4bf9-be24-9deee5139737n%40googlegroups.com.


[weewx-user]

2021-12-10 Thread Jamie Stephens


-- 
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/CABWMpWQyFCEy_ee8a7Zi1Y2GHYEx8yk-cReiWR0PFHR5WH1Adg%40mail.gmail.com.


Re: [weewx-user] Debian Buster Installation Fails.

2020-08-09 Thread Jamie Stephens
Did you add weewx to the trusted sources?

On Sun, Aug 9, 2020 at 12:58 PM Michael McClane  wrote:

> Followed all the instructions but sudo apt-get install weewx returns  E:
> unable to locate package weewx.
>
>
>
>
>
>
>
>
> --
>
>
> 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/40398a48-22d1-4fc7-bdd8-b577adfbc77eo%40googlegroups.com
> 
> .
>
>
>

-- 
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/CABWMpWR6KLYE2AsQZMxHGLTvM5ULXtYsec%3D-SQvCNUACgtWCaw%40mail.gmail.com.


Re: [weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
I didn’t do the setup.py method.   I’m still a Linux newb haha

-- 
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/CABWMpWQabfj5ffFHg4htTkPt28vDdjddeD-r_FzM6fG78XeDLw%40mail.gmail.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
thanks Vince using 1.10 

might start disabling stuff and see if i can figure it out.

On Tuesday, July 28, 2020 at 7:06:27 PM UTC-4 vince wrote:

> On Tuesday, July 28, 2020 at 3:38:39 PM UTC-7, Jamie Stephens wrote:
>>
>> another crash, any ideas?
>>
>>
> First guess is a python2/python3 thing.   Are you on the latest version of 
> the driver ? 
>

-- 
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/b0240a84-8afa-4bbd-9163-ddb083b9a512n%40googlegroups.com.


[weewx-user] Re: weatherflowudp crash

2020-07-28 Thread Jamie Stephens
another crash, any ideas?

Jul 28 08:20:26 weewx weewx[6505] DEBUG weewx.restx: CWOP: Connected to 
server cwop.aprs.net:14580
  GNU nano 4.8  
syslog  
 Modified  
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__: File 
"/usr/share/weewx/user/weatherflowudp.py", line 312, in genLoopPackets
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   m0 = 
m[0].replace(",null",",None") # Python 2
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   TypeError: a 
bytes-like object is required, not 'str'   
Jul 28 17:58:23 weewx weewx[6505] CRITICAL __main__:   Exiting.

On Monday, July 27, 2020 at 9:49:32 AM UTC-4 Jamie Stephens wrote:

> [WeatherFlowUDP]
> driver = user.weatherflowudp
> log_raw_packets = False
> udp_address = 
> # udp_address = 0.0.0.0
> # udp_address = 255.255.255.255
> udp_port = 50222
> udp_timeout = 90
> share_socket = False
>
> [[sensor_map]]
> outTemp = air_temperature.ST-00015203.obs_st
> outHumidity = relative_humidity.ST-00015203.obs_st
> pressure = station_pressure.ST-00015203.obs_st
> #lightning_strikes =  lightning_strike_count.ST-00015203.obs_st
> #avg_distance =  lightning_strike_avg_distance.ST-00015203.obs_st
> outTempBatteryStatus = battery.ST-00015203.obs_st
> windSpeed = wind_speed.ST-00015203.rapid_wind
> windDir = wind_direction.ST-00015203.rapid_wind
> #luxXXX = illuminance.ST-00015203.obs_st
> UV = uv.ST-00015203.obs_st
> rain = rain_accumulated.ST-00015203.obs_st
> windBatteryStatus = battery.ST-00015203.obs_st
> radiation = solar_radiation.ST-00015203.obs_st
> #lightningXXX = distance.ST-00015203.evt_strike
> #lightningYYY = energy.ST-00015203.evt_strike
>
> ##
>
> On Monday, July 27, 2020 at 9:38:42 AM UTC-4 Jamie Stephens wrote:
>
>> adter a couple day weewx will shutdown this is what i see in the logs. it 
>> will run anywhere from 1-3 days before this happens
>>
>> running Ubuntu 20.04 on a VM
>> last successful update before crash was at 755 am
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.manager: Added record 
>> 2020-07-27 07:55:00 EDT (1595850900) to daily summary in 'weewx.sdb'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
>> reports for latest time in the database.
>> Jul 27 07:55:25 weewx /weewxd: weatherflowudp: MainThread: Listening for 
>> UDP broadcasts to IP address  on port 50222, with timeout 90 and 
>> share>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: StationRegistry: 
>> wait interval (69600 < 604800) has not passed for record 2020-07-27 
>> 07:55:00 EDT (15>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
>> report 'SeasonsReport'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
>> 'SeasonsReport'
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
>> search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'we>
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
>> version is 2.0
>> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: CWOP: Connected to 
>> server cwop.aprs.net:14580
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: PWSWeather: Published 
>> record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: CWOP: Published 
>> record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: Wunderground-PWS: 
>> Published record 2020-07-27 07:55:00 EDT (1595850900)
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 
>> 8 files for report SeasonsReport in 1.84 seconds
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
>> version is 2.0
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.imagegenerator: Generated 15 
>> images for report SeasonsReport in 0.51 seconds
>> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.reportengine: Copied 0 files 
>> to /var/www/html/
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
>> 'SmartphoneReport' not enabled. Skipping.
>> Jul 27 07:55:27 weewx weewx[4992] DEBUG 

[weewx-user] Re: weatherflowudp crash

2020-07-27 Thread Jamie Stephens
[WeatherFlowUDP]
driver = user.weatherflowudp
log_raw_packets = False
udp_address = 
# udp_address = 0.0.0.0
# udp_address = 255.255.255.255
udp_port = 50222
udp_timeout = 90
share_socket = False

[[sensor_map]]
outTemp = air_temperature.ST-00015203.obs_st
outHumidity = relative_humidity.ST-00015203.obs_st
pressure = station_pressure.ST-00015203.obs_st
#lightning_strikes =  lightning_strike_count.ST-00015203.obs_st
#avg_distance =  lightning_strike_avg_distance.ST-00015203.obs_st
outTempBatteryStatus = battery.ST-00015203.obs_st
windSpeed = wind_speed.ST-00015203.rapid_wind
windDir = wind_direction.ST-00015203.rapid_wind
#luxXXX = illuminance.ST-00015203.obs_st
UV = uv.ST-00015203.obs_st
rain = rain_accumulated.ST-00015203.obs_st
windBatteryStatus = battery.ST-00015203.obs_st
radiation = solar_radiation.ST-00015203.obs_st
#lightningXXX = distance.ST-00015203.evt_strike
#lightningYYY = energy.ST-00015203.evt_strike
##

On Monday, July 27, 2020 at 9:38:42 AM UTC-4 Jamie Stephens wrote:

> adter a couple day weewx will shutdown this is what i see in the logs. it 
> will run anywhere from 1-3 days before this happens
>
> running Ubuntu 20.04 on a VM
> last successful update before crash was at 755 am
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.manager: Added record 
> 2020-07-27 07:55:00 EDT (1595850900) to daily summary in 'weewx.sdb'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running 
> reports for latest time in the database.
> Jul 27 07:55:25 weewx /weewxd: weatherflowudp: MainThread: Listening for 
> UDP broadcasts to IP address  on port 50222, with timeout 90 and 
> share>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: StationRegistry: wait 
> interval (69600 < 604800) has not passed for record 2020-07-27 07:55:00 EDT 
> (15>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
> 'SeasonsReport'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
> 'SeasonsReport'
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
> search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'we>
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: CWOP: Connected to 
> server cwop.aprs.net:14580
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: PWSWeather: Published 
> record 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: CWOP: Published record 
> 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: Wunderground-PWS: 
> Published record 2020-07-27 07:55:00 EDT (1595850900)
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 8 
> files for report SeasonsReport in 1.84 seconds
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.imagegenerator: Generated 15 
> images for report SeasonsReport in 0.51 seconds
> Jul 27 07:55:27 weewx weewx[4992] INFO weewx.reportengine: Copied 0 files 
> to /var/www/html/
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'SmartphoneReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'MobileReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
> 'StandardReport' not enabled. Skipping.
> Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
> 'Belchertown'
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
> 'Belchertown'
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
> search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'we>
> Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:29 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 
> 11 files for report Belchertown in 1.92 seconds
> Jul 27 07:55:29 weewx weewx[4992] INFO weewx.reportengine: Copied 2 files 
> to /var/www/html
> Jul 27 07:55:29 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jul 27 07:55:32 weewx weewx[4992] DEBUG weewx.reportengine: Report 

[weewx-user] weatherflowudp crash

2020-07-27 Thread Jamie Stephens
adter a couple day weewx will shutdown this is what i see in the logs. it 
will run anywhere from 1-3 days before this happens

running Ubuntu 20.04 on a VM
last successful update before crash was at 755 am
Jul 27 07:55:25 weewx weewx[4992] INFO weewx.manager: Added record 
2020-07-27 07:55:00 EDT (1595850900) to daily summary in 'weewx.sdb'
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running reports 
for latest time in the database.
Jul 27 07:55:25 weewx /weewxd: weatherflowudp: MainThread: Listening for 
UDP broadcasts to IP address  on port 50222, with timeout 90 and 
share>
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: StationRegistry: wait 
interval (69600 < 604800) has not passed for record 2020-07-27 07:55:00 EDT 
(15>
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
'SeasonsReport'
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 
'SeasonsReport'
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'we>
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
version is 2.0
Jul 27 07:55:25 weewx weewx[4992] DEBUG weewx.restx: CWOP: Connected to 
server cwop.aprs.net:14580
Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: PWSWeather: Published 
record 2020-07-27 07:55:00 EDT (1595850900)
Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: CWOP: Published record 
2020-07-27 07:55:00 EDT (1595850900)
Jul 27 07:55:25 weewx weewx[4992] INFO weewx.restx: Wunderground-PWS: 
Published record 2020-07-27 07:55:00 EDT (1595850900)
Jul 27 07:55:27 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 1.84 seconds
Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
version is 2.0
Jul 27 07:55:27 weewx weewx[4992] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 0.51 seconds
Jul 27 07:55:27 weewx weewx[4992] INFO weewx.reportengine: Copied 0 files 
to /var/www/html/
Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
'SmartphoneReport' not enabled. Skipping.
Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
'MobileReport' not enabled. Skipping.
Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Report 
'StandardReport' not enabled. Skipping.
Jul 27 07:55:27 weewx weewx[4992] DEBUG weewx.reportengine: Running report 
'Belchertown'
Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
'Belchertown'
Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'we>
Jul 27 07:55:28 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
version is 2.0
Jul 27 07:55:29 weewx weewx[4992] INFO weewx.cheetahgenerator: Generated 11 
files for report Belchertown in 1.92 seconds
Jul 27 07:55:29 weewx weewx[4992] INFO weewx.reportengine: Copied 2 files 
to /var/www/html
Jul 27 07:55:29 weewx weewx[4992] DEBUG weewx.manager: Daily summary 
version is 2.0
Jul 27 07:55:32 weewx weewx[4992] DEBUG weewx.reportengine: Report 'FTP' 
not enabled. Skipping.
Jul 27 07:55:32 weewx weewx[4992] DEBUG weewx.reportengine: Report 'RSYNC' 
not enabled. Skipping.


Jul 27 07:59:39 weewx weewx[4992] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Jul 27 07:59:39 weewx weewx[4992] INFO weewx.engine: Shutting down 
StdReport thread
Jul 27 07:59:39 weewx weewx[4992] DEBUG weewx.engine: StdReport thread has 
been terminated
Jul 27 07:59:39 weewx weewx[4992] DEBUG weewx.restx: Shut down CWOP thread.
Jul 27 07:59:39 weewx weewx[4992] DEBUG weewx.restx: Shut down PWSWeather 
thread.
Jul 27 07:59:39 weewx weewx[4992] DEBUG weewx.restx: Shut down 
Wunderground-PWS thread.
Jul 27 07:59:39 weewx weewx[4992] DEBUG weewx.restx: Shut down 
StationRegistry thread.
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__: Caught unrecoverable 
exception:
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__:   a bytes-like 
object is required, not 'str'
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__:   Traceback 
(most recent call last):
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__: File 
"/usr/share/weewx/user/weatherflowudp.py", line 310, in genLoopPackets
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__:   m0 = 
str(m[0],'utf-8').replace(",null",",None")# Python 3
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__:   
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xaa in position 2: 
invalid start byte
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__: 
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __main__:   During 
handling of the above exception, another exception occurred:
Jul 27 07:59:39 weewx weewx[4992] CRITICAL __mai

[weewx-user] Re: log message question

2020-07-23 Thread Jamie Stephens
thank you

On Wednesday, July 22, 2020 at 2:01:16 PM UTC-4, Jamie Stephens wrote:
>
> new user
>
> saw this in my logs today, anything i need to worry about?
>
> Jul 22 09:25:19 weewx systemd[1]: Starting Cleanup of Temporary 
>>> Directories...
>>
>> Jul 22 09:25:20 weewx systemd-tmpfiles[7707]: 
>>> /usr/lib/tmpfiles.d/vsftpd.conf:1: Line references path below legacy 
>>> directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; 
>>> please update the tmpfiles.d/ drop-in file accordingly.
>>
>> Jul 22 09:25:20 weewx systemd[1]: systemd-tmpfiles-clean.service: 
>>> Succeeded.
>>
>> Jul 22 09:25:20 weewx systemd[1]: Finished Cleanup of Temporary 
>>> Directories.
>>
>>

-- 
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/1c30969b-4bb4-4da9-8c8c-750f5590e752o%40googlegroups.com.


[weewx-user] log message question

2020-07-22 Thread Jamie Stephens
new user

saw this in my logs today, anything i need to worry about?

Jul 22 09:25:19 weewx systemd[1]: Starting Cleanup of Temporary 
>> Directories...
>
> Jul 22 09:25:20 weewx systemd-tmpfiles[7707]: 
>> /usr/lib/tmpfiles.d/vsftpd.conf:1: Line references path below legacy 
>> directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; 
>> please update the tmpfiles.d/ drop-in file accordingly.
>
> Jul 22 09:25:20 weewx systemd[1]: systemd-tmpfiles-clean.service: 
>> Succeeded.
>
> Jul 22 09:25:20 weewx systemd[1]: Finished Cleanup of Temporary 
>> Directories.
>
>

-- 
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/9a2ec88a-0606-4372-89b5-d6b8f00c5ea4o%40googlegroups.com.


[weewx-user] Re: belchertown question

2020-07-20 Thread Jamie Stephens
Thanks.   I’ll mess around and see if I can get the dev version working 

-- 
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/5997b02c-c649-46b3-959d-2b5ee4f3b2ffo%40googlegroups.com.


[weewx-user] belchertown question

2020-07-20 Thread Jamie Stephens
do i need to be running the development version to use the forecast with 
aeris? go easy on me i'm still learning linux and weewx


ERROR weewx.reportengine:   Warning: Error downloading forecast 
data. Check the URL in your configuration and try again. You are trying to 
use URL: 
https://api.darksky.net/forecast//35.17491,-81.02416?units=auto&lang=en, 
and the error is: HTTP Error 400: Bad Request



  enable = false
[[Belchertown]]
skin = Belchertown
HTML_ROOT = /var/www/html
[[[Extras]]]
forecast_enabled = 1
forecast_api_id = "removed"
forecast_api_secret = "removed"

-- 
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/8edb010a-3309-4d74-bcee-7f08fa3b8992o%40googlegroups.com.


Re: [weewx-user] Re: WU outage

2020-06-09 Thread Jamie Stephens
Considering IBM owns WU it’s a safe bet it is related 

-- 
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/82fe0b32-48e7-47ff-9038-8c0467326bb5o%40googlegroups.com.


[weewx-user] Re: WU outage

2020-06-09 Thread Jamie Stephens
IBM is having a major cloud outage.  Lots of sites impacted 

-- 
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/89ddfd4c-e519-48c7-8980-23cb9fbf656fo%40googlegroups.com.


[weewx-user] Re: Stuck with new install

2020-06-03 Thread Jamie Stephens
i think i'm working now. had to use the iptables fuction and switched 
config to wu-client.

WU is updating about every 2 mins evenw ith rapidfire=true is this normal?


-- 
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/627f3029-b920-4b4b-b773-8c9b36adcda6%40googlegroups.com.


[weewx-user] Re: Stuck with new install

2020-06-03 Thread Jamie Stephens
log attached

On Tuesday, June 2, 2020 at 4:46:32 PM UTC-4, Jamie Stephens wrote:
>
> trying to get weewx working with DNS hijack and an accurite access
>
> unbuntu 20.04
>
> interceptor .53
>
> i tried both wu-client and acurite-bridge
>
> verified my DNS hijack is correct
>
>
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
> self._server = Consumer.TCPServer(address, port, handler)
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
> "/usr/share/weewx/user/interceptor.py", line 584, in __init__
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
> TCPServer.__init__(self, (address, int(port)), handler)
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
> "/usr/lib/python3.8/socketserver.py", line 452, in __init__
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
> self.server_bind()
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
> "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
> self.socket.bind(self.server_address)
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
> OSError: [Errno 98] Address already in use
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL __main__: Unable to load 
> driver: [Errno 98] Address already in use
> Jun  2 20:38:47 weewx weewx[2399] CRITICAL __main__:   Exiting...
>
> i'm a linux newb but able to read and follow directions just no good 
> results :(
>
>
>
>

-- 
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/a80a0ba4-0ab2-42a0-a056-15868e74e6fc%40googlegroups.com.
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__: File 
"/usr/lib/python3.8/queue.py", line 179, in get
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__:   
self.not_empty.wait(remaining)
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__: File 
"/usr/lib/python3.8/threading.py", line 306, in wait
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__:   gotit = 
waiter.acquire(True, timeout)
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__: File 
"/usr/share/weewx/weewxd", line 257, in sigTERMhandler
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__:   raise Terminate
Jun  3 11:06:29 weewx weewx[2201] DEBUG __main__:   Terminate
Jun  3 11:06:34 weewx weewx[2616]: .   ...done.
Jun  3 11:06:34 weewx systemd[1]: weewx.service: Succeeded.
Jun  3 11:06:34 weewx systemd[1]: Stopped LSB: weewx weather system.
Jun  3 11:15:55 weewx systemd[1]: Starting LSB: weewx weather system...
Jun  3 11:15:55 weewx weewx[2690]:  * Starting weewx weather system weewx
Jun  3 11:15:55 weewx weewx[2712] INFO __main__: Initializing weewx version 
4.1.1
Jun  3 11:15:55 weewx weewx[2712] INFO __main__: Using Python 3.8.2 (default, 
Apr 27 2020, 15:53:34) #012[GCC 9.3.0]
Jun  3 11:15:55 weewx weewx[2712] INFO __main__: Platform 
Linux-5.4.0-33-generic-x86_64-with-glibc2.29
Jun  3 11:15:55 weewx weewx[2712] INFO __main__: Locale is 'C.UTF-8'
Jun  3 11:15:55 weewx weewx[2712] INFO __main__: PID file is /var/run/weewx.pid
Jun  3 11:15:56 weewx weewx[2715] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Jun  3 11:15:56 weewx weewx[2715] INFO __main__: Debug is 1
Jun  3 11:15:56 weewx weewx[2690]:...done.
Jun  3 11:15:56 weewx systemd[1]: Started LSB: weewx weather system.
Jun  3 11:15:56 weewx weewx[2715] DEBUG __main__: Initializing engine
Jun  3 11:15:56 weewx weewx[2715] INFO weewx.engine: Loading station type 
Interceptor (user.interceptor)
Jun  3 11:15:56 weewx weewx[2715] INFO user.interceptor: driver version is 0.53
Jun  3 11:15:56 weewx weewx[2715] INFO user.interceptor: device type: wu-client
Jun  3 11:15:56 weewx weewx[2715] INFO user.interceptor: mode is listen
Jun  3 11:15:56 weewx weewx[2715] INFO user.interceptor: listen on :80
Jun  3 11:15:56 weewx weewx[2715] INFO user.interceptor: sensor map: 
{'pressure': 'pressure', 'barometer': 'barometer', 'outHumidity': 
'humidity_out', 'inHumidity': 'humidity_in', 'outTemp': 'temperature_out', 
'inTemp': 'temperature_in', 'windSpeed': 'wind_speed', 'windGust': 'wind_gust', 
'windDir': 'wind_dir', 'windGustDir': 'wind_gust_dir', 'radiation': 
'solar_radiation', &#x

Re: [weewx-user] Re: Stuck with new install

2020-06-03 Thread Jamie Stephens
working on getting the file off my server but this was in the log overnight


Jun  3 09:16:58 weewx weewx[2201] message repeated 359 times: [ DEBUG 
user.interceptor: empty queue]
Jun  3 09:17:01 weewx CRON[2397]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Jun  3 09:17:08 weewx weewx[2201] DEBUG user.interceptor: empty queue
Jun  3 10:16:58 weewx weewx[2201] message repeated 359 times: [ DEBUG 
user.interceptor: empty queue]
Jun  3 10:17:01 weewx CRON[2421]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Jun  3 10:17:08 weewx weewx[2201] DEBUG user.interceptor: empty queue
Jun  3 10:24:58 weewx weewx[2201] message repeated 47 times: [ DEBUG 
user.interceptor: empty queue]
Jun  3 10:25:01 weewx CRON[2427]: (root) CMD (test -x /usr/sbin/anacron || 
( cd / && run-parts --report /etc/cron.daily ))
Jun  3 10:25:08 weewx weewx[2201] DEBUG user.interceptor: empty queue
Jun  3 10:46:58 weewx weewx[2201] message repeated 131 times: [ DEBUG 
user.interceptor: empty queue]

On Tuesday, June 2, 2020 at 11:40:02 PM UTC-4, Glenn McKechnie wrote:
>
> On 03/06/2020, Jamie Stephens > wrote: 
> > The att bed season log is the debug log 
>
> the session.log you attached is the weewx.conf file. 
>
> The output from the system log is required. 
>
> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user 
>
> -- 
>
>
> Cheers 
>  Glenn 
>
> rorpi - read only raspberry pi & various weewx addons 
> https://github.com/glennmckechnie 
>

-- 
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/b25ac536-25f1-48a1-83e7-346926fcd6c2%40googlegroups.com.


[weewx-user] Re: Stuck with new install

2020-06-02 Thread Jamie Stephens
The att bed season log is the debug log 

-- 
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/0841cae0-3d8b-47e9-8f1c-25a3fd752021%40googlegroups.com.


[weewx-user] Re: Stuck with new install

2020-06-02 Thread Jamie Stephens
debug attached



On Tuesday, June 2, 2020 at 10:52:20 PM UTC-4, Jamie Stephens wrote:
>
> i guess i'm done, at a lost as to what to change 
>>
>
> when i browse the internal webpage there is no data which makes me think 
> it is not intercepting WU.
>
> # WEEWX CONFIGURATION FILE 
>
> #
>
> # Copyright (c) 2009-2019 Tom Keffer 
>
> # See the file LICENSE.txt for your rights.
>
>
>>
>> ##
>
>
>> # This section is for general configuration information.
>
>
>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>
> debug = 1
>
>
>> # Root directory of the weewx data file hierarchy for this station
>
> WEEWX_ROOT = /
>
>
>> # Whether to log successful operations
>
> log_success = True
>
>
>> # Whether to log unsuccessful operations
>
> log_failure = True
>
>
>> # How long to wait before timing out a socket (FTP, HTTP) connection
>
> socket_timeout = 20
>
>
>> # Do not modify this. It is used when installing and updating weewx.
>
> version = 4.1.1
>
>
>>
>> ##
>
>
>> #   This section is for information about the station.
>
>
>> [Station]
>
>
>> # Description of the station location
>
> location = "South Point Landing Belmont, NC"
>
>
>> # Latitude in decimal degrees. Negative for southern hemisphere
>
> latitude = 35.17491
>
> # Longitude in decimal degrees. Negative for western hemisphere.
>
> longitude = -81.02416
>
>
>> # Altitude of the station, with unit it is in. This is downloaded from
>
> # from the station if the hardware supports it.
>
> altitude = 663, foot
>
>
>> # Set to type of station hardware. There must be a corresponding 
>> stanza
>
> # in this file with a 'driver' parameter indicating the driver to be 
>> used.
>
> station_type = Interceptor
>
>
>> # If you have a website, you may specify an URL
>
> station_url = XXX obfuscated by wee_debug XXX
>
>
>> # The start of the rain year (1=January; 10=October, etc.). This is
>
> # downloaded from the station if the hardware supports it.
>
> rain_year_start = 1
>
>
>> # Start of week (0=Monday, 6=Sunday)
>
> week_start = 6
>
>
>>
>> ##
>
>
>> [Interceptor]
>
> # This section is for the network traffic interceptor driver.
>
>
>> # The driver to use:
>
> driver = user.interceptor
>
>
>> # Specify the hardware device to capture.  Options include:
>
> #   acurite-bridge - acurite internet bridge, smarthub, or access
>
> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>
> #   lw30x - oregon scientific LW301/LW302
>
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>
> #   ecowitt-client - any hardware that uses the ecowitt protocol
>
> #   wu-client - any hardware that uses the weather underground protocol
>
> device_type = wu-client
>
> mode = listen
>
> port = 80
>
>
>>
>> ##
>
>
>> [Simulator]
>
> # This section is for the weewx weather station simulator
>
>
>> # The time (in seconds) between LOOP packets.
>
> loop_interval = 2.5
>
>
>> # The simulator mode can be either 'simulator' or 'generator'.
>
> # Real-time simulator. Sleep between each LOOP packet.
>
> mode = simulator
>
> # Generator.  Emit LOOP packets as fast as possible (useful for 
>> testing).
>
> #mode = generator
>
>
>> # The start time. Format is -mm-ddTHH:MM. If not specified, the 
>> default 
>
> # is to use the present time.
>
> #start = 2011-01-01T00:00
>
>
>> # The driver to use:
>
> driver = weewx.drivers.simulator
>
>
>>
>> ##
>
>
>> #   This section is for uploading data to Internet sites
>
>
>> [StdRESTful]
>
>
>> [[StationRegistry]]
>
> # To register this weather station with weewx, set this to true
>
> register_this_station = True
>
>
>> [[AWEKAS]]
>
> # T

Re: [weewx-user] Re: Stuck with new install

2020-06-02 Thread Jamie Stephens

maybe i'm in over my head but not getting data. all i'm looking for is a 
way to push to WU and CWOP, don't care about myacurite 

when i try to web to 

 

>
>> ##
>> #   This section is for information about the station.
>> [Station]
>> # Description of the station location
>> location = South Point Landing Belmont NC
>> # Latitude in decimal degrees. Negative for southern hemisphere
>> latitude = 35.174819
>> # Longitude in decimal degrees. Negative for western hemisphere.
>> longitude = -81.024192
>> # Altitude of the station, with unit it is in. This is downloaded from
>> # from the station if the hardware supports it.
>> altitude = 663, foot
>> # Set to type of station hardware. There must be a corresponding 
>> stanza
>> # in this file with a 'driver' parameter indicating the driver to be 
>> used.
>> station_type = Interceptor
>> # If you have a website, you may specify an URL
>> #station_url = http://www.example.com
>> # The start of the rain year (1=January; 10=October, etc.). This is
>> # downloaded from the station if the hardware supports it.
>> rain_year_start = 1
>> # Start of week (0=Monday, 6=Sunday)
>> week_start = 6
>>
>> ##
>> [Interceptor]
>> # This section is for the network traffic interceptor driver.
>> # The driver to use:
>> driver = user.interceptor
>> # Specify the hardware device to capture.  Options include:
>> #   acurite-bridge - acurite internet bridge, smarthub, or access
>> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>> #   lw30x - oregon scientific LW301/LW302
>> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>> #   ecowitt-client - any hardware that uses the ecowitt protocol
>> #   wu-client - any hardware that uses the weather underground 
>> protocol
>> device_type = acurite-bridge
>>
>> ##
>> [Simulator]
>> # This section is for the weewx weather station simulator
>> # The time (in seconds) between LOOP packets.
>> loop_interval = 2.5
>> # The simulator mode can be either 'simulator' or 'generator'.
>> # Real-time simulator. Sleep between each LOOP packet.
>> mode = simulator
>> # Generator.  Emit LOOP packets as fast as possible (useful for 
>> testing).
>> #mode = generator
>> # The start time. Format is -mm-ddTHH:MM. If not specified, the 
>> default 
>> # is to use the present time.
>> #start = 2011-01-01T00:00
>> # The driver to use:
>> driver = weewx.drivers.simulator
>>
>> ##
>> #   This section is for uploading data to Internet sites
>> [StdRESTful]
>> [[StationRegistry]]
>> # To register this weather station with weewx, set this to true
>> register_this_station = false
>> [[AWEKAS]]
>> # This section is for configuring posts to AWEKAS.
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify a username and password.
>> # To guard against parsing errors, put the password in quotes.
>> enable = false
>> username = replace_me
>> password = replace_me
>> [[CWOP]]
>> # This section is for configuring posts to CWOP.
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify the station ID (e.g., CW1234).
>> enable = false
>> station = replace_me
>> # If this is an APRS (radio amateur) station, uncomment
>> # the following and replace with a passcode (e.g., 12345).
>> #passcode = replace_me (APRS stations only)
>> [[PWSweather]]
>> # This section is for configuring posts to PWSweather.com.
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify a station and password.
>> # To guard against parsing errors, put the password in quotes.
>> enable = false
>> station = replace_me
>> password = replace_me
>> [[WOW]]
>> # This section is for configuring posts to WOW.
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify a station and password.
>> # To guard against parsing errors, put the password in quotes.
>> enable = false
>> station = replace_me
>> password = replace_me
>> [[Wunderground]]
>> # This section is for configuring posts to the Weather 
>> Underground.
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify a station (e.g., 'KORHOODR3') and password.
>> # To guard against parsing errors, put the password in quotes.
>> enable = true
>> stat

Re: [weewx-user] Re: Stuck with new install

2020-06-02 Thread Jamie Stephens
I changed Apache to 8000 and weeex starts.

Now working on getting some data.

On Tue, Jun 2, 2020 at 5:05 PM mwall  wrote:

> you'll need to post the configuration file, and it would help to see the
> first part of the log, not just the exception.
>
> but the exception you posted indicates that you told the interceptor to
> listen on a port that is already in use by some other process
>
> change the listen port and the exception will go away
>
> m
>
> --
> 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/23e547b3-32f0-43b7-b3e5-77225a10707e%40googlegroups.com
> 
> .
>

-- 
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/CABWMpWSyBKjQWhXRhZJoF_tfWdfrkwMuY1%3D8tD0DPppFsMk1oQ%40mail.gmail.com.


[weewx-user] Stuck with new install

2020-06-02 Thread Jamie Stephens
trying to get weewx working with DNS hijack and an accurite access

unbuntu 20.04

interceptor .53

i tried both wu-client and acurite-bridge

verified my DNS hijack is correct


Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
self._server = Consumer.TCPServer(address, port, handler)
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
"/usr/share/weewx/user/interceptor.py", line 584, in __init__
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
TCPServer.__init__(self, (address, int(port)), handler)
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
"/usr/lib/python3.8/socketserver.py", line 452, in __init__
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
self.server_bind()
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine: File 
"/usr/lib/python3.8/socketserver.py", line 466, in server_bind
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   
self.socket.bind(self.server_address)
Jun  2 20:38:47 weewx weewx[2399] CRITICAL weewx.engine:   OSError: 
[Errno 98] Address already in use
Jun  2 20:38:47 weewx weewx[2399] CRITICAL __main__: Unable to load driver: 
[Errno 98] Address already in use
Jun  2 20:38:47 weewx weewx[2399] CRITICAL __main__:   Exiting...

i'm a linux newb but able to read and follow directions just no good 
results :(



-- 
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/b092e42a-deec-40db-a6a9-298966970a78%40googlegroups.com.