Problème communication Rflink & Raspberry

Forum dédié au Rflink : installation, paramétrage, utilisation, interfaces ...
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Problème communication Rflink & Raspberry

Message par Red-light59 »

bonjour à tous !
Je suis nouveau sur ce forum avec de belle sources d'information ! :P

J'ai un petit problème avec mon Raspberry Pi 3 zero & le Rflink

Il a très bien fonctionné jusqu'a la dernière mise a jour et depuis voila ce qu'il me raconte !
J'ai cherché pas mal, mes rien ne fait.

Par contre le Rflink fonctionne sur mon ordinateur PERSO avec domoticz mes pas avec le Raspberry


2018-11-21 21:02:48.531 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-11-21 21:02:48.532 Status: RFLink: Using serial port: /dev/serial1
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.532 Error: Serial Port closed!... Error: End of file
2018-11-21 21:02:48.533 Error: Serial Port closed!... Error: End of file


Merci d'avance pour vos réponse

Ludo
Tonio16
Messages : 349
Inscription : 13 oct. 2017, 17:00

Re: Problème communication Rflink & Raspberry

Message par Tonio16 »

Red-light59 a écrit : 21 nov. 2018, 21:07 bonjour à tous !
Je suis nouveau sur ce forum avec de belle sources d'information ! :P

J'ai un petit problème avec mon Raspberry Pi 3 zero & le Rflink

Il a très bien fonctionné jusqu'a la dernière mise a jour et depuis voila ce qu'il me raconte !
J'ai cherché pas mal, mes rien ne fait.

Par contre le Rflink fonctionne sur mon ordinateur PERSO avec domoticz mes pas avec le Raspberry


2018-11-21 21:02:48.531 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-11-21 21:02:48.532 Status: RFLink: Using serial port: /dev/serial1
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.532 Error: Serial Port closed!... Error: End of file
2018-11-21 21:02:48.533 Error: Serial Port closed!... Error: End of file


Merci d'avance pour vos réponse

Ludo
Salut

Tester avec un autre cable USB.

Tu pourrais aussi configurer ton installation pour avoir un port persistent. Si tu as d'autres appareils sur le Pi, cela peut aussi être ton souci ici.

Antoine
Domoticz V2020.2 sous raspbian-Buster
Raspberry Pi B+ avec Clé Zigate 3.1d Plugin 4.11.011
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Re: Problème communication Rflink & Raspberry

Message par Red-light59 »

Tonio16 a écrit : 22 nov. 2018, 07:30
Red-light59 a écrit : 21 nov. 2018, 21:07 bonjour à tous !
Je suis nouveau sur ce forum avec de belle sources d'information ! :P

J'ai un petit problème avec mon Raspberry Pi 3 zero & le Rflink

Il a très bien fonctionné jusqu'a la dernière mise a jour et depuis voila ce qu'il me raconte !
J'ai cherché pas mal, mes rien ne fait.

Par contre le Rflink fonctionne sur mon ordinateur PERSO avec domoticz mes pas avec le Raspberry


2018-11-21 21:02:48.531 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-11-21 21:02:48.532 Status: RFLink: Using serial port: /dev/serial1
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.732 Status: RFLink: serial retrying in 30 seconds...
2018-11-21 21:02:48.532 Error: Serial Port closed!... Error: End of file
2018-11-21 21:02:48.533 Error: Serial Port closed!... Error: End of file


Merci d'avance pour vos réponse

Ludo
Salut

Tester avec un autre cable USB.

Tu pourrais aussi configurer ton installation pour avoir un port persistent. Si tu as d'autres appareils sur le Pi, cela peut aussi être ton souci ici.

Antoine
Bonsoir, merci pour avoir pris du temps pour me répondre !
Je vais regarder avec un nouveau câble, par contre je remarque que le raspberry & le Rflink détectent ma xiaomi gateway avec l'ensemble des capteurs associés. Par contre rien de mes autres capteurs en 433 mhz [Température Est etc].
Comment le configurer avec un Port persistant ?

Ludo
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Re: Problème communication Rflink & Raspberry

Message par Red-light59 »

- Tester avec un autre cable USB.

aucun résultat toujours le même problème.

2019-03-31 14:56:05.096 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:56:05.152 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:56:08.637 (Gateway - Xiaomi) Lux (Aqara Motion Sensor - Capteur Parents)
2019-03-31 14:56:08.644 (Gateway - Xiaomi) Light/Switch (Aqara Motion Sensor)
2019-03-31 14:56:08.703 (Gateway - Xiaomi) Lux (Aqara Motion Sensor - Capteur Enfants)
2019-03-31 14:56:08.721 (Gateway - Xiaomi) Light/Switch (Aqara Motion Sensor)
2019-03-31 14:56:34.915 Status: RFLink: Using serial port: /dev/serial1
2019-03-31 14:56:34.974 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-03-31 14:56:34.916 Error: Serial Port closed!... Error: End of file
2019-03-31 14:56:34.974 Error: Serial Port closed!... Error: End of file
2019-03-31 14:56:35.116 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:56:35.174 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:57:04.935 Status: RFLink: Using serial port: /dev/serial1
2019-03-31 14:57:04.935 Error: Serial Port closed!... Error: End of file
2019-03-31 14:57:05.000 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-03-31 14:57:05.135 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:57:05.200 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:57:05.000 Error: Serial Port closed!... Error: End of file
2019-03-31 14:57:08.928 (Gateway - Xiaomi) Lux (Aqara Motion Sensor - Capteur Parents)
2019-03-31 14:57:08.952 (Gateway - Xiaomi) Light/Switch (Aqara Motion Sensor)
2019-03-31 14:57:30.248 (Gateway - Xiaomi) Lux (Aqara Motion Sensor - Capteur Enfants)
2019-03-31 14:57:30.289 (Gateway - Xiaomi) Light/Switch (Aqara Motion Sensor)
2019-03-31 14:57:34.955 Status: RFLink: Using serial port: /dev/serial1
2019-03-31 14:57:34.956 Error: Serial Port closed!... Error: End of file
2019-03-31 14:57:35.026 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-03-31 14:57:35.156 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:57:35.226 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:57:35.026 Error: Serial Port closed!... Error: End of file
2019-03-31 14:58:04.974 Status: RFLink: Using serial port: /dev/serial1
2019-03-31 14:58:04.974 Error: Serial Port closed!... Error: End of file
2019-03-31 14:58:05.050 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-03-31 14:58:05.174 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:58:05.251 Status: RFLink: serial retrying in 30 seconds...
2019-03-31 14:58:05.050 Error: Serial Port closed!... Error: End of file
Neutrino
Messages : 2662
Inscription : 10 juil. 2015, 15:42
Localisation : Les Herbiers(85)

Re: Problème communication Rflink & Raspberry

Message par Neutrino »

Bonjour,

Déjà, tu as 2 RFLINK de configurés dans tes matériels.
C'est 1 de trop.

Ensuite, le port choisi n'est pas bon pour une connexion en USB.
Il devrait plus ressembler à /dev/ttyAMA0
Ma maison à plein d'IP ! :mrgreen:
SAV Bonjour. Vous avez vidé le cache ?
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Re: Problème communication Rflink & Raspberry

Message par Red-light59 »

Neutrino a écrit : 31 mars 2019, 21:05 Bonjour,

Déjà, tu as 2 RFLINK de configurés dans tes matériels.
C'est 1 de trop.

Ensuite, le port choisi n'est pas bon pour une connexion en USB.
Il devrait plus ressembler à /dev/ttyAMA0

Bonjour, Merci je regarde ça ce soir 😉
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Re: Problème communication Rflink & Raspberry

Message par Red-light59 »

Neutrino a écrit : 31 mars 2019, 21:05 Bonjour,

Déjà, tu as 2 RFLINK de configurés dans tes matériels.
C'est 1 de trop.

Ensuite, le port choisi n'est pas bon pour une connexion en USB.
Il devrait plus ressembler à /dev/ttyAMA0
Voila le résultat:

2019-04-02 18:29:20.617 Status: RFLink: Serial Worker stopped...
2019-04-02 18:29:20.844 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-04-02 18:29:20.844 Error: Serial Port closed!... Error: End of file
2019-04-02 18:29:21.044 Status: RFLink: serial retrying in 30 seconds...
2019-04-02 18:29:25.236 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-04-02 18:29:25.436 Status: RFLink: serial retrying in 30 seconds...
2019-04-02 18:29:25.236 Error: Serial Port closed!... Error: End of file
2019-04-02 18:29:32.451 Status: RFLink: Serial Worker stopped...
2019-04-02 18:29:55.255 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-04-02 18:29:55.455 Status: RFLink: serial retrying in 30 seconds...
2019-04-02 18:29:55.255 Error: Serial Port closed!... Error: End of file
2019-04-02 18:30:11.099 (Gateway - Xiaomi) Light/Switch (Aqara Motion Sensor)
2019-04-02 18:30:25.277 Status: RFLink: Using serial port: /dev/ttyAMA0
2019-04-02 18:30:25.478 Status: RFLink: serial retrying in 30 seconds...
2019-04-02 18:30:25.278 Error: Serial Port closed!... Error: End of file

Toujours le même problème comment faire pour avoir le port persistant ?
Neutrino
Messages : 2662
Inscription : 10 juil. 2015, 15:42
Localisation : Les Herbiers(85)

Re: Problème communication Rflink & Raspberry

Message par Neutrino »

Que te renvoie la commande

Code : Tout sélectionner

dmesg|grep tty
?
Ma maison à plein d'IP ! :mrgreen:
SAV Bonjour. Vous avez vidé le cache ?
Red-light59
Messages : 8
Inscription : 21 nov. 2018, 18:48

Re: Problème communication Rflink & Raspberry

Message par Red-light59 »

Neutrino a écrit : 02 avr. 2019, 21:39 Que te renvoie la commande

Code : Tout sélectionner

dmesg|grep tty
?


[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:EF:48:0E vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=6f048ce1-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000743] console [tty1] enabled
[ 0.812087] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2


Ok je comprends la commande elle te donne la correspondance du PORT sur lequel est branché le Rflink
Pas mal du tout merci
Neutrino
Messages : 2662
Inscription : 10 juil. 2015, 15:42
Localisation : Les Herbiers(85)

Re: Problème communication Rflink & Raspberry

Message par Neutrino »

Je ne suis planté !
C'est pas AMA0, mais ACM0 qui devrait remonter...
Peux tu nous montrer ce que te renvoie lsusb ?
Mais à première vue, ton rflink n'est pas détecté.
Il est branché comment ?
Tu es sûr de ton port USB et de l'alimentation de ton rflink ?
Ma maison à plein d'IP ! :mrgreen:
SAV Bonjour. Vous avez vidé le cache ?
Répondre