Aller au contenu

Ce tchat, hébergé sur une plateforme indépendante d'Infoclimat, est géré et modéré par une équipe autonome, sans lien avec l'Association.
Un compte séparé du site et du forum d'Infoclimat est nécessaire pour s'y connecter.

Vantage Pro 2 Saint-Martin-du-Bec


Adler76
 Partager

Messages recommandés

Bonjour, voulant une Vantage Pro 2 depuis longtemps pour remplacer ma WMR200 ce faisant vieillissante, j’ai passé le pas et donc acheter cette dernière. je l’ai reçu aujourd’hui, l’installation c’est bien passer. Seul petit problème je voulais envoyer mes donnes sur internet avec le WeatherLink USB et un Raspberry Pi 4 avec weewx installer dessus.

 

Le problème est que en démarrant weewx j’ai ce grand message d’erreur

 

Aug 24 18:04:27 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Aug 24 18:04:27 raspberrypi weewx[5310] INFO __main__: Initializing weewx version 4.5.1
Aug 24 18:04:27 raspberrypi weewx[5310] INFO __main__: Using Python 2.7.16 (default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Aug 24 18:04:27 raspberrypi weewx[5310] INFO __main__: Platform Linux-5.10.17-v7l+-armv7l-with-debian-10.9
Aug 24 18:04:27 raspberrypi weewx[5310] INFO __main__: Locale is 'fr_FR.UTF-8'
Aug 24 18:04:27 raspberrypi weewx[5310] INFO __main__: PID file is /var/run/weewx.pid
Aug 24 18:04:27 raspberrypi weewx[5314] INFO __main__: Using configuration file /home/weewx/weewx.conf
Aug 24 18:04:27 raspberrypi weewx[5314] INFO __main__: Debug is 0
Aug 24 18:04:27 raspberrypi weewx[5299]: Starting weewx weather system: weewx.
Aug 24 18:04:27 raspberrypi systemd[1]: Started LSB: weewx weather system.
Aug 24 18:04:27 raspberrypi weewx[5314] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: No <ACK> received from console
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: _determine_hardware; retry #0: 'No <ACK> received from Vantage console'
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: No <ACK> received from console
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: _determine_hardware; retry #1: 'No <ACK> received from Vantage console'
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: No <ACK> received from console
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: _determine_hardware; retry #2: 'No <ACK> received from Vantage console'
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: No <ACK> received from console
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: _determine_hardware; retry #3: 'No <ACK> received from Vantage console'
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.drivers.vantage: Unable to read hardware type; raise WeeWxIOError
Aug 24 18:04:27 raspberrypi weewx[5314] ERROR weewx.engine: Import of driver failed: Unable to read hardware type (<class 'weewx.WeeWxIOError'>)
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** Traceback (most recent call last):
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 119, in setupStation
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** self.console = loader_function(config_dict, self)
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 39, in loader
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** return VantageService(engine, config_dict)
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 1899, in __init__
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** Vantage.__init__(self, **config_dict[DRIVER_NAME])
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 516, in __init__
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** self._setup()
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 1322, in _setup
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** self.hardware_type = self._determine_hardware()
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 1313, in _determine_hardware
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** raise weewx.WeeWxIOError("Unable to read hardware type")
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL weewx.engine: **** WeeWxIOError: Unable to read hardware type
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL __main__: Unable to load driver: Unable to read hardware type
Aug 24 18:04:27 raspberrypi weewx[5314] CRITICAL __main__: **** Exiting...
 

Si quelqu’un pourrait m’apporter une solution s’il vous plaît ?

Lien à poster
Partager sur d’autres sites

Dans weewx.conf il faut être configuré ainsi avec un datalogger USB :

 

 

Configuration du datalogger USB :[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/ttyUSB0

 

Sinon comment a été installé weewx ?

 

Lien à poster
Partager sur d’autres sites

Merci de ta réponse. Il me semble qu’il est déjà configuré de la sorte je t’en dis plus en rentrant. 
 

Pour l’installation de weewx tout s’est bien passé je l’avais déjà installé sur un ancien Raspberry pour ma WMR200 c’était plus simple pour la connexion avec la console je trouve 

Lien à poster
Partager sur d’autres sites

Voici ma configuration de weewx :

 

[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/ttyUSB0
    
    # 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 = 3
    
    # 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

Lien à poster
Partager sur d’autres sites

Effectivement ça semble correctement paramétré .

Pourtant il n'arrive pas à avoir accès à la console, le datalogger USB est bien branché ( connecteur enfoncé à fond) sur la console, et ce datalogger USB a été commandé en même temps que la VP2 ?

Lien à poster
Partager sur d’autres sites

Problème résolu. Merci pour ton aide. Finalement il fallait juste redémarrer la console de la station pour que le Weatherlink soit reconnu par cette dernière, vraiment tous bête comme chose mais bon.

Je vais pouvoir maintenant me consacrer à mon intégration je l’espère au réseau statIC 🙂

  • J'aime 3
Lien à poster
Partager sur d’autres sites

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
 Partager

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...