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.

Problème de transmission weewx + raspberry


didihp
 Partager

Messages recommandés

Bonjour à tous,

 

Je rencontre depuis quelques jours de sérieux problèmes avec mon installation. J'ai une Davis Vantage Pro 2 avec datalogger USB relié à un raspberry linux. L'ensemble tourne visiblement avec weewx. Ma station est inscrite au réseau StatiC (Goulles en Corrèze)

 

Voici mon soucis : depuis 3 jours je n'ai plus aucune transmission de données sur internet. Le problème est survenu après une grosse coupure de courant.

Mon raspberry fonctionne bien. Les données continuent d'être enregistrée sur la console de la station. Je peux changer l'heure de la station via le raspberry mais plus aucune données ne sont envoyées sur internet. 

 

Sachant que jusqu'à présent tout était géré à distance par quelqu'un d'autre que moi et que je n'y connaît absolument rien, pouvez-vous m'aider s'il-vous plaît ?🙏

 

Lien à poster
Partager sur d’autres sites

Posté(e)
st yrieix le déjalat (19) 750 m / 1800 mm annuel

Slt , normalement il faut debrancher sur raspberry le cable  qui vient de la console puis l'alim du raspberry , attendre 30s puis rebrancher le cable venant de la console puis rebrancher l'alim .

Lien à poster
Partager sur d’autres sites

Merci ! Je viens juste d'essayer et c'est un échec : mes données restent bloquées à 16h20 il y a trois jours 😭. J'ai même essayé de changer de port USB sur le raspberry mais sans succès. 

 

Lien à poster
Partager sur d’autres sites

Posté(e)
st yrieix le déjalat (19) 750 m / 1800 mm annuel
il y a 5 minutes, didihp a dit :

Merci ! Je viens juste d'essayer et c'est un échec : mes données restent bloquées à 16h20 il y a trois jours 😭. J'ai même essayé de changer de port USB sur le raspberry mais sans succès. 

 

il faut vider le datalogger usb sur un ordi

Lien à poster
Partager sur d’autres sites

Posté(e)
st yrieix le déjalat (19) 750 m / 1800 mm annuel
il y a 4 minutes, didihp a dit :

Ok. Comment procède-t'on ? (J'y connais vraiment pas grand chose 😬)

il faut telecharger le logiciel weatherlink 

Lien à poster
Partager sur d’autres sites

  • Responsable Technique
Posté(e)
Moliets-et-Mâa(40)
il y a 51 minutes, didihp a dit :

Merci ! Je viens juste d'essayer et c'est un échec : mes données restent bloquées à 16h20 il y a trois jours 😭. J'ai même essayé de changer de port USB sur le raspberry mais sans succès. 

 

Peux tu allez dans le fichier weeewx.conf et modifier la ligne 

 

v

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

Vers

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

et puis tu fais  

 

sudo tail -f /var/log/syslog

  tu patiente 30s et tu copie le texte ici :) 

Lien à poster
Partager sur d’autres sites

il y a 7 minutes, 970hPa a dit :

Peux tu allez dans le fichier weeewx.conf et modifier la ligne 

 

v

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

Vers

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

et puis tu fais  

 

sudo tail -f /var/log/syslog

  tu patiente 30s et tu copie le texte ici :) 

Le problème c'est que j'ai 7 dossiers différents de weewx...

Weewx-3.3.1

Weewx-3.8.2

Weewx-3.5.0

Weewx-3.6.2

Weewx-3.9.1

Weewx-3.8.2.tar.gz

Weewx-3.9.1.tar.gz

 

Ils possèdent tous un fichier weewx.conf

Comment je sais quel est le bon dossier?

il y a 48 minutes, sylver19 a dit :

il faut telecharger le logiciel weatherlink 

Je vais essayer : une fois téléchargé et installé j'ai juste à brancher ma console sur le pc ? 

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

  • Responsable Technique
Posté(e)
Moliets-et-Mâa(40)
il y a 9 minutes, didihp a dit :

Le problème c'est que j'ai 7 dossiers différents de weewx...

Weewx-3.3.1

Weewx-3.8.2

Weewx-3.5.0

Weewx-3.6.2

Weewx-3.9.1

Weewx-3.8.2.tar.gz

Weewx-3.9.1.tar.gz

 

Ils possèdent tous un fichier weewx.conf

Comment je sais quel est le bon dossier?

Je vais essayer : une fois téléchargé et installé j'ai juste à brancher ma console sur le pc ? 

Weewx-3.9.1 

Lien à poster
Partager sur d’autres sites

il y a 5 minutes, 970hPa a dit :

Weewx-3.9.1 

 Voici le résultat :

 

pi@raspberrypi ~ $ sudo tail -f /var/log/syslog
Oct 12 21:55:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 21:55:25 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 7.36 seconds
Oct 12 22:00:17 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 1.99 seconds
Oct 12 22:00:18 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.70 seconds
Oct 12 22:00:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:00:36 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 17.98 seconds
Oct 12 22:05:17 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 2.05 seconds
Oct 12 22:05:18 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.71 seconds
Oct 12 22:05:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:05:27 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 8.59 seconds

 

Lien à poster
Partager sur d’autres sites

  • Responsable Technique
Posté(e)
Moliets-et-Mâa(40)
il y a 4 minutes, didihp a dit :

 Voici le résultat :

 

pi@raspberrypi ~ $ sudo tail -f /var/log/syslog
Oct 12 21:55:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 21:55:25 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 7.36 seconds
Oct 12 22:00:17 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 1.99 seconds
Oct 12 22:00:18 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.70 seconds
Oct 12 22:00:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:00:36 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 17.98 seconds
Oct 12 22:05:17 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 2.05 seconds
Oct 12 22:05:18 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.71 seconds
Oct 12 22:05:18 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:05:27 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 8.59 seconds

 

fais 

wee_device --clear-memory

patiente 15s et redemarre la console 

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

il y a 7 minutes, 970hPa a dit :

fais 

wee_device --clear-memory

patiente 15s et redemarre la console 

voici ce que ça m'a mis après avoir redémarrer la console :

 

wee_device --clear-memory
Oct 12 22:18:51 raspberrypi weewx[2328]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Oct 12 22:19:09 raspberrypi weewx[2328]: vantage: Unable to wake up console
Oct 12 22:19:09 raspberrypi weewx[2328]: vantage: LOOP try #2; error: Unable to wake up Vantage console
Oct 12 22:19:15 raspberrypi weewx[2328]: vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead
Oct 12 22:19:28 raspberrypi weewx[2328]: vantage: LOOP try #4; error: Expected to read 99 chars; got 0 instead
Oct 12 22:19:28 raspberrypi weewx[2328]: vantage: LOOP max tries (4) exceeded.
Oct 12 22:19:28 raspberrypi weewx[2328]: engine: Main loop exiting. Shutting engine down.
Oct 12 22:19:28 raspberrypi weewx[2328]: engine: Shutting down StdReport thread
Oct 12 22:19:28 raspberrypi weewx[2328]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.
Oct 12 22:19:28 raspberrypi weewx[2328]:     ****  Waiting 60 seconds then retrying...
Oct 12 22:20:28 raspberrypi weewx[2328]: engine: retrying...
Oct 12 22:20:28 raspberrypi weewx[2328]: engine: Using configuration file /home/weewx/weewx.conf
Oct 12 22:20:28 raspberrypi weewx[2328]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: StdConvert target unit is 0x1
Oct 12 22:20:29 raspberrypi weewx[2328]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Oct 12 22:20:29 raspberrypi weewx[2328]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Archive will use data binding wx_binding
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Record generation will be attempted in 'hardware'
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 12 22:20:29 raspberrypi weewx[2328]: manager: Starting backfill of daily summaries
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: StationRegistry: Registration not requested.
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: Wunderground: Posting not enabled.
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: PWSweather: Posting not enabled.
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: CWOP: Posting not enabled.
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: WOW: Posting not enabled.
Oct 12 22:20:29 raspberrypi weewx[2328]: restx: AWEKAS: Posting not enabled.
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Starting up weewx version 3.9.1
Oct 12 22:20:29 raspberrypi weewx[2328]: engine: Clock error is -3720.15 seconds (positive is fast)
Oct 12 22:20:29 raspberrypi weewx[2328]: vantage: Clock set to 2022-10-12 22:20:29 CEST (1665606029)
Oct 12 22:20:31 raspberrypi weewx[2328]: engine: Starting main packet loop.
Oct 12 22:20:35 raspberrypi weewx[2328]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

 

Lien à poster
Partager sur d’autres sites

970hPa j'ai ça qui s'affiche toutes les 5 minutes :

 

Oct 12 22:35:19 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 2.01 seconds
Oct 12 22:35:19 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.76 seconds
Oct 12 22:35:19 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:35:27 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 7.15 seconds
Oct 12 22:40:19 raspberrypi weewx[2328]: cheetahgenerator: Generated 22 files for report StandardReport in 2.00 seconds
Oct 12 22:40:19 raspberrypi weewx[2328]: imagegenerator: Generated 12 images for StandardReport in 0.70 seconds
Oct 12 22:40:19 raspberrypi weewx[2328]: copygenerator: copied 0 files to /home/weewx/public_html
Oct 12 22:40:26 raspberrypi weewx[2328]: ftpgenerator: ftp'd 34 files in 7.21 seconds

 

Lien à poster
Partager sur d’autres sites

Miracle ! J'ai brancher la console sur mon Pc pour passer par weatherlink et tout refonctionne !! Il faut effectivement vider le Datalogger en passant par weatherlink. 

Merci beaucoup pour tous vos conseils 👍

Modifié par didihp
  • J'aime 2
  • Merci 1
  • Solidaire 1
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...