Try running this very simple program. Substitute whatever port you are using for '/dev/ttyS0'.
import serial import time s = serial.Serial('/dev/ttyS0', 19200, timeout=3) s.write(b'\n') time.sleep(0.5) s.write(b'TEST\n') time.sleep(0.5) buf = s.read(10) print(buf) This little program will do the standard Davis test for connectivity by asking the console to echo the word "TEST". It should print out something like: response: b'\n\r\n\rTEST\n\r' If not, then you are either on the wrong port, or the logger is not acting like a true clone. -tk On Mon, Jan 25, 2021 at 11:07 PM Txo <txo...@gmail.com> wrote: > @Vince > This had already been done for a top hat with serial port. > > @Chris > I made the changes recommended by Chris and no more «@Vince > Unable to wake up Vantage console > This had already been done for a top hat with serial port. > > @Chris > I made the changes recommended by Chris and no more «Unable to wake up > Vantage console» but now > > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** self.serial_port = serial.Serial(self.port, > self.baudrate, timeout=self.timeout) > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** File > "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__ > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** self.open() > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** File > "/usr/lib/python3/dist-packages/serial/serialposix.py", line 272, in open > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** self._reconfigure_port(force_update=True) > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** File > "/usr/lib/python3/dist-packages/serial/serialposix.py", line 326, in > _reconfigure_port > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** raise SerialException("Could not configure > port: {}".format(msg)) > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL > weewx.engine: **** serial.serialutil.SerialException: Could not > configure port: (5, "Erreur d'entrée/sortie") > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL __main__: > Unable to load driver: Could not configure port: (5, "Erreur > d'entrée/sortie") > janv. 26 07:35:15 raspledeuix python3[826]: weewx[826] CRITICAL __main__: > **** Exiting... > > ls -l /dev/ttyS* > crw-rw---- 1 root dialout 4, 64 janv. 26 07:34 /dev/ttyS0 > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > Traceback (most recent call last): > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 323, in > _reconfigure_port > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > orig_attr = termios.tcgetattr(self.fd) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > termios.error: (5, "Erreur d'entrée/sortie") > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > During handling of the above exception, another exception occurred: > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > Traceback (most recent call last): > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > self.console = loader_function(config_dict, self) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 39, in loader > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > return VantageService(engine, config_dict) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 1898, in __init__ > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > Vantage.__init__(self, **config_dict[DRIVER_NAME]) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 512, in __init__ > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > self.port.openPort() > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 307, in openPort > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > self.serial_port = serial.Serial(self.port, self.baudrate, > timeout=self.timeout) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in > __init__ > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > self.open() > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 272, in > open > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > self._reconfigure_port(force_update=True) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 326, in > _reconfigure_port > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > raise SerialException("Could not configure port: {}".format(msg)) > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL weewx.engine: **** > serial.serialutil.SerialException: Could not configure port: (5, "Erreur > d'entrée/sortie") > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL __main__: Unable to load > driver: Could not configure port: (5, "Erreur d'entrée/sortie") > Jan 26 07:35:15 raspledeuix weewx[826] CRITICAL __main__: **** > Exiting... > > > > > Sans Serif > > > > > > > > > > > Publier le message > > > > 250 caractères maximum > > Le lundi 25 janvier 2021 à 22:57:32 UTC+1, tomn...@frontier.com a écrit : > >> I'll add my $0.02 worth... for the serial ports and RTC I got for this, >> there were a couple of boot changes required. >> In /boot/config.txt, this: >> enable_uart=1 >> >> # uncomment to enable RTC module >> dtoverlay=i2c-rtc,ds1307 >> >> And my RPi 3 (or 3+), this: >> # Additional overlays and parameters are documented /boot/overlays/README >> dtoverlay=disable-wifi >> dtoverlay=disable-bt >> >> The bluetooth module uses the fancier of the uarts, so disabling that >> enabled the regular serial port >> to use the better uart. >> >> In any case, see the Knowledge Base articles here: >> https://www.abelectronics.co.uk/p/51/serial-pi-plus >> and see if any of those details make sense to you. The meteo-pi doesn't >> seem all that different than this >> serial port + the RTC clock they sell. >> >> Chris >> >> On Monday, January 25, 2021 at 2:20:01 PM UTC-7 vince wrote: >> >>> It appears that meteo-pi requires some special configuration in /boot >>> .... >>> >>> See step 3 on >>> https://www.weatherstations.co.uk/setting-up-meteo-pi-part-2.htm >>> >>> *Meteo-Pi is designed so that data is presented to the Pi on a serial >>> port. But a slight change to the default serial configuration of the Pi is >>> required which needs a couple of edits to text files in the Pi’s boot >>> directory. These two files are both accessible from Windows so the >>> necessary changes can be made with a simple text editor either eg on a >>> Windows PC before the card is placed in the Pi or, if more convenient, on >>> the Pi itself (in which case a reboot is needed after both edits are made). >>> The two changes required are:* >>> >>> >>> *edit /boot/config.txt and add on the end“enable_uart=1”* >>> >>> >>> *edit /boot/cmdline.txt and remove“console=serial0,115200”* >>> >>> *NB This will typically place the Meteo-Pi on port /dev/ttyS0 (though >>> it’s conceivable that different Pi or Raspbian versions might use eg ttyS1 >>> or something else).* >>> >>> >>> >>> >>> On Monday, January 25, 2021 at 12:35:08 PM UTC-8 Txo wrote: >>> >>>> It is easier to discuss from one end of the world to the other than to >>>> agree commercially... >>>> >>>> Le lundi 25 janvier 2021 à 18:12:43 UTC+1, tke...@gmail.com a écrit : >>>> >>>>> ... et pourtant vous communiquez avec quelqu'un aux États-Unis! >>>>> >>>>> On Mon, Jan 25, 2021 at 8:55 AM Txo <txo...@gmail.com> wrote: >>>>> >>>>>> I will try that, but he is in Great Britain and I am in France and we >>>>>> do not speak the same language. It is not a given. >>>>>> >>>>>> Le lundi 25 janvier 2021 à 17:19:04 UTC+1, tke...@gmail.com a écrit : >>>>>> >>>>>>> I would try /dev/ttyUSB0. >>>>>>> >>>>>>> But, really, you should contact the vendor. >>>>>>> >>>>>>> On Mon, Jan 25, 2021 at 8:08 AM Txo <txo...@gmail.com> wrote: >>>>>>> >>>>>>>> Thanks to all >>>>>>>> $ sudo ls /dev/ttyUS* >>>>>>>> ls: impossible d'accéder à '/dev/ttyUS*': Aucun fichier ou dossier >>>>>>>> de ce type >>>>>>>> >>>>>>>> I also tried with/dev/AMA0 but I had errors saying it wasn’t that. >>>>>>>> >>>>>>>> At the seller it is said : «Meteo-Pi appears to software running on >>>>>>>> the Pi computer as a simple serial device (ie connecting via a COM >>>>>>>> port) >>>>>>>> and so virtually any Pi-compatible software should be able to receive >>>>>>>> data >>>>>>>> from the console and in the same formats as any other Davis logger. NB >>>>>>>> This >>>>>>>> will typically place the Meteo-Pi on port */dev/ttyS0* (though >>>>>>>> it’s conceivable that different Pi or Raspbian versions might use eg >>>>>>>> ttyS1 >>>>>>>> or something else).» >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Le lundi 25 janvier 2021 à 15:51:49 UTC+1, tke...@gmail.com a >>>>>>>> écrit : >>>>>>>> >>>>>>>>> I am not familiar with the Meteo-pi, but are you sure that it >>>>>>>>> connects through a classic serial port (e.g., /dev/ttyS0), rather >>>>>>>>> than a >>>>>>>>> USB port (e.g., /dev/ttyUSB0)? Or, perhaps something else? >>>>>>>>> >>>>>>>>> You should ask the vendor. >>>>>>>>> >>>>>>>>> On Mon, Jan 25, 2021 at 6:39 AM Txo <txo...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Not much more for me. But I’m not a reference... >>>>>>>>>> >>>>>>>>>> Jan 25 15:29:38 raspledeuix systemd[1]: Stopping LSB: weewx >>>>>>>>>> weather system... >>>>>>>>>> Jan 25 15:29:38 raspledeuix weewx[18296]: Stopping weewx weather >>>>>>>>>> system: weewx not running.... >>>>>>>>>> Jan 25 15:29:38 raspledeuix systemd[1]: weewx.service: Succeeded. >>>>>>>>>> Jan 25 15:29:38 raspledeuix systemd[1]: Stopped LSB: weewx >>>>>>>>>> weather system. >>>>>>>>>> Jan 25 15:29:38 raspledeuix systemd[1]: Starting LSB: weewx >>>>>>>>>> weather system... >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18320] INFO __main__: >>>>>>>>>> Initializing weewx version 4.3.0 >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18320] INFO __main__: Using >>>>>>>>>> Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18320] INFO __main__: Platform >>>>>>>>>> Linux-4.19.66-v7+-armv7l-with-debian-10.7 >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18320] INFO __main__: Locale is >>>>>>>>>> 'fr_FR.UTF-8' >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18320] INFO __main__: PID file >>>>>>>>>> is /var/run/weewx.pid >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] INFO __main__: Using >>>>>>>>>> configuration file /etc/weewx/weewx.conf >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] INFO __main__: Debug is 1 >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] DEBUG __main__: >>>>>>>>>> Initializing engine >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] INFO weewx.engine: >>>>>>>>>> Loading station type Vantage (weewx.drivers.vantage) >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18308]: Starting weewx weather >>>>>>>>>> system: weewx. >>>>>>>>>> Jan 25 15:29:39 raspledeuix systemd[1]: Started LSB: weewx >>>>>>>>>> weather system. >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Driver version is 3.2.1 >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Option loop_request=1 >>>>>>>>>> Jan 25 15:29:39 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Opened up serial port /dev/ttyS0; baud 19200; >>>>>>>>>> timeout 4.00 >>>>>>>>>> Jan 25 15:29:43 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Retry #0 failed >>>>>>>>>> Jan 25 15:29:47 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Retry #1 failed >>>>>>>>>> Jan 25 15:29:51 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Retry #2 failed >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] DEBUG >>>>>>>>>> weewx.drivers.vantage: Retry #3 failed >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] ERROR >>>>>>>>>> weewx.drivers.vantage: Unable to wake up console >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] ERROR weewx.engine: >>>>>>>>>> Import of driver failed: Unable to wake up Vantage console (<class >>>>>>>>>> 'weewx.WakeupError'>) >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** Traceback (most recent call last): >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/engine.py", line 119, in >>>>>>>>>> setupStation >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** self.console = loader_function(config_dict, self) >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 39, >>>>>>>>>> in >>>>>>>>>> loader >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** return VantageService(engine, config_dict) >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>> 1898, in >>>>>>>>>> __init__ >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME]) >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>> 515, in >>>>>>>>>> __init__ >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** self._setup() >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>> 1317, in >>>>>>>>>> _setup >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** self.port.wakeup_console(max_tries=self.max_tries) >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>> 118, in >>>>>>>>>> wakeup_console >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** raise weewx.WakeupError("Unable to wake up Vantage >>>>>>>>>> console") >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL weewx.engine: >>>>>>>>>> **** weewx.WakeupError: Unable to wake up Vantage console >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL __main__: >>>>>>>>>> Unable to load driver: Unable to wake up Vantage console >>>>>>>>>> Jan 25 15:29:55 raspledeuix weewx[18327] CRITICAL __main__: >>>>>>>>>> **** Exiting... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Le lundi 25 janvier 2021 à 12:27:29 UTC+1, graha...@gmail.com a >>>>>>>>>> écrit : >>>>>>>>>> >>>>>>>>>>> sorry, i should also have said: set debug to 1 (near top of >>>>>>>>>>> weewx.conf). >>>>>>>>>>> that will tell us more about the dialogue between vantage and >>>>>>>>>>> weewx >>>>>>>>>>> >>>>>>>>>>> On 25 Jan 2021, at 9:05 pm, Txo <txo...@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>> Jan 25 10:54:31 raspledeuix systemd[1]: Starting LSB: weewx >>>>>>>>>>> weather system... >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8154] INFO __main__: >>>>>>>>>>> Initializing weewx version 4.3.0 >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8154] INFO __main__: Using >>>>>>>>>>> Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8154] INFO __main__: Platform >>>>>>>>>>> Linux-4.19.66-v7+-armv7l-with-debian-10.7 >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8154] INFO __main__: Locale is >>>>>>>>>>> 'fr_FR.UTF-8' >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8154] INFO __main__: PID file >>>>>>>>>>> is /var/run/weewx.pid >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8159] INFO __main__: Using >>>>>>>>>>> configuration file /etc/weewx/weewx.conf >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8159] INFO __main__: Debug is 0 >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8159] INFO weewx.engine: >>>>>>>>>>> Loading station type Vantage (weewx.drivers.vantage) >>>>>>>>>>> Jan 25 10:54:32 raspledeuix weewx[8141]: Starting weewx weather >>>>>>>>>>> system: weewx. >>>>>>>>>>> Jan 25 10:54:32 raspledeuix systemd[1]: Started LSB: weewx >>>>>>>>>>> weather system. >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] ERROR >>>>>>>>>>> weewx.drivers.vantage: Unable to wake up console >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] ERROR weewx.engine: >>>>>>>>>>> Import of driver failed: Unable to wake up Vantage console (<class >>>>>>>>>>> 'weewx.WakeupError'>) >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** Traceback (most recent call last): >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/engine.py", line 119, in >>>>>>>>>>> setupStation >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** self.console = loader_function(config_dict, self) >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 39, in >>>>>>>>>>> loader >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** return VantageService(engine, config_dict) >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 1898, in >>>>>>>>>>> __init__ >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME]) >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 515, in >>>>>>>>>>> __init__ >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** self._setup() >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 1317, in >>>>>>>>>>> _setup >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** self.port.wakeup_console(max_tries=self.max_tries) >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 118, in >>>>>>>>>>> wakeup_console >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** raise weewx.WakeupError("Unable to wake up Vantage >>>>>>>>>>> console") >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL weewx.engine: >>>>>>>>>>> **** weewx.WakeupError: Unable to wake up Vantage console >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL __main__: >>>>>>>>>>> Unable to load driver: Unable to wake up Vantage console >>>>>>>>>>> Jan 25 10:54:48 raspledeuix weewx[8159] CRITICAL __main__: >>>>>>>>>>> **** Exiting... >>>>>>>>>>> >>>>>>>>>>> $ sudo cat /var/log/syslog | grep serial >>>>>>>>>>> Jan 25 08:54:11 raspledeuix kernel: [ 1.075547] uart-pl011 >>>>>>>>>>> 3f201000.serial: cts_event_workaround enabled >>>>>>>>>>> Jan 25 08:54:11 raspledeuix kernel: [ 1.083381] >>>>>>>>>>> 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = >>>>>>>>>>> 0) is a >>>>>>>>>>> PL011 rev2 >>>>>>>>>>> Jan 25 08:54:11 raspledeuix kernel: [ 1.093016] >>>>>>>>>>> 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 53, base_baud = 50000000) >>>>>>>>>>> is a >>>>>>>>>>> 16550 >>>>>>>>>>> >>>>>>>>>>> My Vantage section in weewx.conf : >>>>>>>>>>> >>>>>>>>>>> [Vantage] >>>>>>>>>>> # This section is for the Davis Vantage series of weather >>>>>>>>>>> stations. >>>>>>>>>>> >>>>>>>>>>> # Connection type: serial or ethernet >>>>>>>>>>> # serial (the classic VantagePro) >>>>>>>>>>> # ethernet (the WeatherLinkIP or Serial-Ethernet bridge) >>>>>>>>>>> type = serial >>>>>>>>>>> >>>>>>>>>>> # If the connection type is serial, a port must be specified: >>>>>>>>>>> # Debian, Ubuntu, Redhat, Fedora, and SuSE: >>>>>>>>>>> # /dev/ttyUSB0 is a common USB port name >>>>>>>>>>> # /dev/ttyS0 is a common serial port name >>>>>>>>>>> # BSD: >>>>>>>>>>> # /dev/cuaU0 is a common serial port name >>>>>>>>>>> port = /dev/ttyS0 >>>>>>>>>>> >>>>>>>>>>> # If the connection type is ethernet, an IP Address/hostname >>>>>>>>>>> is required: >>>>>>>>>>> host = 1.2.3.4 >>>>>>>>>>> >>>>>>>>>>> ###################################################### >>>>>>>>>>> # The rest of this section rarely needs any attention. >>>>>>>>>>> # You can safely leave it "as is." >>>>>>>>>>> ###################################################### >>>>>>>>>>> >>>>>>>>>>> # Serial baud rate (usually 19200) >>>>>>>>>>> baudrate = 19200 >>>>>>>>>>> >>>>>>>>>>> # TCP port (when using the WeatherLinkIP) >>>>>>>>>>> tcp_port = 22222 >>>>>>>>>>> >>>>>>>>>>> # TCP send delay (when using the WeatherLinkIP): >>>>>>>>>>> tcp_send_delay = 0.5 >>>>>>>>>>> # The type of LOOP packet to request: 1 = LOOP1; 2 = >>>>>>>>>>> LOOP2; 3 = both >>>>>>>>>>> loop_request = 1 >>>>>>>>>>> >>>>>>>>>>> # The id of your ISS station (usually 1). If you use a wind >>>>>>>>>>> meter connected >>>>>>>>>>> # to a anemometer transmitter kit, use its id >>>>>>>>>>> iss_id = 1 >>>>>>>>>>> >>>>>>>>>>> # How long to wait for a response from the station before >>>>>>>>>>> giving up (in >>>>>>>>>>> # seconds; must be greater than 2) >>>>>>>>>>> timeout = 4 >>>>>>>>>>> >>>>>>>>>>> # How long to wait before trying again (in seconds) >>>>>>>>>>> wait_before_retry = 1.2 >>>>>>>>>>> >>>>>>>>>>> # How many times to try before giving up: >>>>>>>>>>> max_tries = 4 >>>>>>>>>>> >>>>>>>>>>> # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2 >>>>>>>>>>> model_type = 2 >>>>>>>>>>> >>>>>>>>>>> # The driver to use: >>>>>>>>>>> driver = weewx.drivers.vantage >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Le lundi 25 janvier 2021 à 09:59:22 UTC+1, Txo a écrit : >>>>>>>>>>> >>>>>>>>>>>> As soon as I manage to restore the capricious wifi of the >>>>>>>>>>>> Raspberry, I send you this. >>>>>>>>>>>> >>>>>>>>>>>> Le lundi 25 janvier 2021 à 07:39:31 UTC+1, graha...@gmail.com >>>>>>>>>>>> a écrit : >>>>>>>>>>>> >>>>>>>>>>>>> you need to post your syslog from the time *before weewx first >>>>>>>>>>>>> starts* until after its says EXITING. >>>>>>>>>>>>> pay particular attention to anything said about the serial port >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 25 Jan 2021, at 4:56 pm, Txo <txo...@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Bonjour, >>>>>>>>>>>>> I have recently buy a Vantage station with a meteo-pi ( >>>>>>>>>>>>> https://wifilogger.net/meteopi.html) in a rasperry pi3. Weewx >>>>>>>>>>>>> worked well with Simulator but since I connected the station and >>>>>>>>>>>>> chose the >>>>>>>>>>>>> Vantage driver I have nothing. Weewx don't start with this >>>>>>>>>>>>> message : >>>>>>>>>>>>> weewx.service - LSB: weewx weather system >>>>>>>>>>>>> Loaded: loaded (/etc/init.d/weewx; generated) >>>>>>>>>>>>> Active: active (exited) since Sun 2021-01-24 18:24:35 CET; >>>>>>>>>>>>> 12h ago >>>>>>>>>>>>> Docs: man:systemd-sysv-generator(8) >>>>>>>>>>>>> Process: 607 ExecStart=/etc/init.d/weewx start (code=exited, >>>>>>>>>>>>> status=0/SUCCESS) >>>>>>>>>>>>> >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** Vantage.__init__(self, >>>>>>>>>>>>> **config_dict[DRIVER_NAME]) >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/drivers/vantage.py", line 515, in __init__ >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** self._setup() >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/drivers/vantage.py", line 1317, in _setup >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** >>>>>>>>>>>>> self.port.wakeup_console(max_tries=self.max_tries) >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in >>>>>>>>>>>>> wakeup_console >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** raise >>>>>>>>>>>>> weewx.WakeupError("Unable to >>>>>>>>>>>>> wake up Vantage console") >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL weewx.engine: **** weewx.WakeupError: Unable to >>>>>>>>>>>>> wake up >>>>>>>>>>>>> Vantage console >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL __main__: Unable to load driver: Unable to wake up >>>>>>>>>>>>> Vantage console >>>>>>>>>>>>> janv. 24 18:25:02 raspledeuix python3[740]: weewx[740] >>>>>>>>>>>>> CRITICAL __main__: **** Exiting... >>>>>>>>>>>>> >>>>>>>>>>>>> I didn’t find anything to solve this problem, but I may have >>>>>>>>>>>>> looked for it wrong. >>>>>>>>>>>>> As you can see my English is minimum and don’t be offended by >>>>>>>>>>>>> my problems of understanding. >>>>>>>>>>>>> >>>>>>>>>>>>> Merci. >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> 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/97cd2a0b-61e3-464b-bc51-e0f007912088n%40googlegroups.com >>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/97cd2a0b-61e3-464b-bc51-e0f007912088n%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/66a88f9f-bdbc-450c-a48c-f17884d978a2n%40googlegroups.com >>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/66a88f9f-bdbc-450c-a48c-f17884d978a2n%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/776e1647-fcd7-4dda-adcc-22b6dd344159n%40googlegroups.com >>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/776e1647-fcd7-4dda-adcc-22b6dd344159n%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/e658ceea-b6da-42b6-a08b-8532b358137an%40googlegroups.com >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/e658ceea-b6da-42b6-a08b-8532b358137an%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/6e0c7e5f-6ca2-4c1c-9545-fdb66f13f00bn%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/weewx-user/6e0c7e5f-6ca2-4c1c-9545-fdb66f13f00bn%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/9626c662-8028-4dda-986a-d869a11c70fen%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/9626c662-8028-4dda-986a-d869a11c70fen%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/CAPq0zEC5jud6y1x_s_n3Y%3DkV2jVwsyWex7K0X_Tj_cOchGaGcQ%40mail.gmail.com.