pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@WeatherPi:~ $ lsof /dev/ttyUSB0
bash: lsof: command not found
pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0
minicom: cannot open /dev/ttyUSB0: Device or resource busy
pi@WeatherPi:~ $ lsof /dev/ttyUSB0
bash: lsof: command not found
pi@WeatherPi:~ $ 


On Thursday, 25 February 2021 at 02:13:31 UTC+13 tke...@gmail.com wrote:

> Make sure you stop weewx first before trying minicom. There cannot be 
> anything else using the port. To see what devices are using a port:
>
> *lsof /dev/ttyUSB0*
>
>
>
> On Tue, Feb 23, 2021 at 9:19 PM monmul <dunb...@gmail.com> wrote:
>
>> No change in USB port.
>>
>> pi@WeatherPi:~ $ 
>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0
>> minicom: cannot open /dev/ttyUSB0: Device or resource busy
>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
>> [ ok ] Stopping weewx (via systemctl): weewx.service.
>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0
>> minicom: cannot open /dev/ttyUSB0: Device or resource busy
>> pi@WeatherPi:~ $ 
>> pi@WeatherPi:~ $ 
>> pi@WeatherPi:~ $ 
>> pi@WeatherPi:~ $ screen /dev/ttyUSB0 19200
>>
>> [screen is terminating]
>> pi@WeatherPi:~ $ screen /dev/ttyUSB0 19200
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> [screen is terminating]
>> pi@WeatherPi:~ $ TEST
>> bash: TEST: command not found
>> pi@WeatherPi:~ $ 
>>
>>
>> On Monday, 22 February 2021 at 23:15:28 UTC+13 gjr80 wrote:
>>
>>> OK, so WeeWX cannot connect to your Envoy, I am no Envoy expert but I am 
>>> told they behave just like a console. First thing I would do is test 
>>> connectivity from your RPi to the Envoy. Any chance the Envoy is now on a 
>>> different USB port? Not sure if you remember the Establishing 
>>> connectivity 
>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station>
>>>  
>>> testing Tom got you to work through a couple of years back, but that is a 
>>> good place to start. The instructions are now in the wiki rather than the 
>>> User Guide but the link I have provided should work.
>>>
>>> Gary
>>> On Monday, 22 February 2021 at 19:43:26 UTC+10 monmul wrote:
>>>
>>>> Feb 22 22:39:02 WeatherPi systemd[1]: Starting LSB: weewx weather 
>>>> system...
>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Initializing 
>>>> weewx version 4.4.0
>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Using Python 
>>>> 2.7.13 (default, Aug 22 2020, 10:03:02) #012[GCC 6.3.0 20170516]
>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Platform 
>>>> Linux-4.19.66-v7+-armv7l-with-debian-9.13
>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Locale is 
>>>> 'en_NZ.UTF-8'
>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: PID file is 
>>>> /var/run/weewx.pid
>>>> Feb 22 22:39:03 WeatherPi weewx[24948]: Starting weewx weather system: 
>>>> weewx.
>>>> Feb 22 22:39:03 WeatherPi systemd[1]: Started LSB: weewx weather system.
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO __main__: Using 
>>>> configuration file /etc/weewx/weewx.conf
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO __main__: Debug is 1
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG __main__: Initializing 
>>>> engine
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO weewx.engine: Loading 
>>>> station type Vantage (weewx.drivers.vantage)
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Driver version is 3.2.1
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Option loop_request=1
>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
>>>> Feb 22 22:39:04 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:04 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:07 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Retry #0 failed
>>>> Feb 22 22:39:11 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Retry #1 failed
>>>> Feb 22 22:39:12 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:12 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:15 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Retry #2 failed
>>>> Feb 22 22:39:17 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:17 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] DEBUG weewx.drivers.vantage: 
>>>> Retry #3 failed
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] ERROR weewx.drivers.vantage: 
>>>> Unable to wake up console
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] ERROR weewx.engine: Import of 
>>>> driver failed: Unable to wake up Vantage console (<class 
>>>> 'weewx.WakeupError'>)
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>> Traceback (most recent call last):
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     self.console = loader_function(config_dict, self)
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 39, in loader
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     return VantageService(engine, config_dict)
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1898, in __init__
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 515, in __init__
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     self._setup()
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1317, in _setup
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     self.port.wakeup_console(max_tries=self.max_tries)
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
>>>> wakeup_console
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>>     raise weewx.WakeupError("Unable to wake up Vantage console")
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine:     ****  
>>>> WakeupError: Unable to wake up Vantage console
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL __main__: Unable to 
>>>> load driver: Unable to wake up Vantage console
>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL __main__:     ****  
>>>> Exiting...
>>>> Feb 22 22:39:20 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:20 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:27 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:27 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:35 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:35 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:42 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:42 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:50 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:50 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:39:54 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:39:54 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
>>>> Feb 22 22:40:00 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from 
>>>> fe80::724f:57ff:feb7:82a1
>>>> Feb 22 22:40:00 WeatherPi dhcpcd[372]: 
>>>>
>>>> On Monday, 22 February 2021 at 21:43:34 UTC+13 gjr80 wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We need to see the log from when you try starting WeeWX. Restart WeeWX 
>>>>> and let it run for an archive period or two, then goto the log and take 
>>>>> an 
>>>>> extract from when WeeWX was restarted through until the two archive 
>>>>> periods 
>>>>> have passed. Post the log back here without alteration. It’s important 
>>>>> you 
>>>>> capture the full WeeWX startup.
>>>>>
>>>>> Gary
>>>>>
>>>>> On Monday, 22 February 2021 at 18:28:14 UTC+10 monmul wrote:
>>>>>
>>>>>> My Davis system has been running really well for the last 2 years. 
>>>>>> Needed no maintenance from me etc. Then the Envoy started tripping the 
>>>>>> circuit fuse (I think it was the Envoy rather than the power chord as I 
>>>>>> replaced with new Envoy and tripping stopped). I directly changed out 
>>>>>> the 
>>>>>> Envoy and rebooted the system expecting that all would be back to 
>>>>>> normal. 
>>>>>> Nope!
>>>>>>
>>>>>> No data appears to be coming through:
>>>>>>
>>>>>> Here are my diagnostic so far:
>>>>>>
>>>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
>>>>>> [ ok ] Stopping weewx (via systemctl): weewx.service.
>>>>>> pi@WeatherPi:~ $ sudo weewxd
>>>>>> pi@WeatherPi:~ $ ps -a
>>>>>>   PID TTY          TIME CMD
>>>>>> 15482 pts/1    00:00:00 ps
>>>>>> pi@WeatherPi:~ $ kill -HUP 15482
>>>>>> bash: kill: (15482) - No such process
>>>>>> pi@WeatherPi:~ $ tail -f /var/log/syslog
>>>>>> Feb 22 21:17:10 WeatherPi dhcpcd[372]: wlan0: Router Advertisement 
>>>>>> from fe80::724f:57ff:feb7:82a1
>>>>>> Feb 22 21:17:10 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 
>>>>>> lease
>>>>>> Feb 22 21:17:14 WeatherPi dhcpcd[372]: wlan0: Router Advertisement 
>>>>>> from fe80::724f:57ff:feb7:82a1
>>>>>> Feb 22 21:17:14 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 
>>>>>> lease
>>>>>> Feb 22 21:17:17 WeatherPi dhcpcd[372]: wlan0: Router Advertisement 
>>>>>> from fe80::724f:57ff:feb7:82a1
>>>>>>
>>>>>> Any guidance would be much appreciated.
>>>>>>
>>>>> -- 
>> 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/9262ce89-1094-4a06-8ee8-b2e08181924en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/9262ce89-1094-4a06-8ee8-b2e08181924en%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/27c6c432-8e73-496b-b435-6f9ae18833den%40googlegroups.com.

Reply via email to