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+unsubscr...@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.