2 arduino rflink sur raspberry

Bonjour à tous !!!
Me revoilà avec un nouveau souci, j’ai gladys sur un raspberry 3, et j’ai branché dessus en usb une arduino rflink 433,92 mhz alimenté sur secteur et une arduino rflink RTS pour mes volets somfy branché et alimenté avec l’usb du raspberry, tout fonctionnait bien jusqu’à avant-hier, je voudrais savoir si quelqu’un avait 2 arduino rflink connecté sur le même raspberry ? je m’aperçois que sur paramètres/paramètres je n’ai qu’une arduino rflink sur l’usb ttyACM1 et quand je veux ajouter la deuxième qui est sur ttyACM0 ne se creer pas !!!
Merci d’avance pour votre aide

Résolu j’ai tout réinstallé, quelques bugs encore mais je peaufine.
Comment fait-on pour mettre RESOLU je n’arrive pas à modifier mon titre…

C’est modifié.
Pense à mettre ce que tu as faits, à part tout réinstallé, pour les prochains.

Ok Tlse-vins, bon mais je pense qu’il faut réouvrir le topic car ça merde et je ne comprends pas:triumph:
Alors après réinstallation complète de gladys, j’ai renommé tout mes volets roulants rts via le logiciel Rflinkloader, puis j’ai rebranché mon arduino rflink RTS sur le raspberry alimenté par celui-ci, j’ai refait toutes les configurations de mes volets pour les avoir dans mes périphériques, cela fonctionnait hier, j’ai ensuite branché mon 2ème arduino Rflink en 433 sur mon raspberry alimenté à part sur secteur. J’ai reconfiguré mes prises connectés.
J’ai refais mes alarmes CRON pour mes volets roulants fermeture au coucher du soleil, cela à fonctionner sur les 3/4 des volets (7 sur 10), et pour ma prise qui a bien fonctionné.
Ce matin nickel ma prise a fonctionné par contre maintenant mes volets ne répondent plus via contrôler mes périphériques :cold_sweat: si je relance une configuration du module Rflink après suppression des périphériques ils me les détectent de nouveaux mais ne fonctionnent pas. Voilà j’espère avoir été assez clair pour que vous puissiez m’aider.

Salut, des explication c’est top, des logs c’est mieux…

Dès que tu vois que ça foire sur ton interface il faut regarder les logs et nous les envoyer.

Voici mes logs j’ai remonté sur 50 lignes.

[email protected]:~ $ pm2 logs gladys --lines 50
[TAILING] Tailing last 50 lines for [gladys] process (change the value with --lines option)
/home/pi/.pm2/logs/gladys-error-0.log last 50 lines:
100 1920 0 1920 0 0 4522 0 --:–:-- --:–:-- --:–:-- 4528
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 4797 0 --:–:-- --:–:-- --:–:-- 4800
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1586 0 1586 0 0 3722 0 --:–:-- --:–:-- --:–:-- 3731
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys |
0|gladys | =======================================
0|gladys | WARNING: You currently have your default CORS settings configured to allow
0|gladys | all requests from all origins, with credentials. This may leave your app
0|gladys | open to attack by third-party sites! Consider making your origins setting
0|gladys | more restrictive or setting credentials to false, or else make certain that
0|gladys | none of your routes perform sensitive actions or reveal secure information.
0|gladys | =======================================
0|gladys |
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 15 100 15 0 0 44 0 --:–:-- --:–:-- --:–:-- 45
0|gladys | -------------------------------------------------------
0|gladys | :: Tue Dec 17 2019 09:56:29 GMT+0100 (CET)
0|gladys | Environment : production
0|gladys | Port : 8080
0|gladys | -------------------------------------------------------
0|gladys | Gladys : MP3 Player : Starting folder scan. Scanning folder “/home/pi/musiques”.
0|gladys | Gladys : MP3 Player : Finished scanning, found 1 musics, and 0 playlists.
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 3572 0 --:–:-- --:–:-- --:–:-- 3568
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 6874 0 --:–:-- --:–:-- --:–:-- 6881
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 6819 0 --:–:-- --:–:-- --:–:-- 6808
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 6952 0 --:–:-- --:–:-- --:–:-- 6981
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1920 0 1920 0 0 7219 0 --:–:-- --:–:-- --:–:-- 7245
0|gladys | % Total % Received % Xferd Average Speed Time Time Time Current
0|gladys | Dload Upload Total Spent Left Speed
100 1593 0 1593 0 0 5498 0 --:–:-- --:–:-- --:–:-- 5493

/home/pi/.pm2/logs/gladys-out-0.log last 50 lines:
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.

0|gladys | Sending datas to arduino:10;RTS;1F1F1F;0;OFF;
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Sending datas to arduino:10;RTS;1F1F1F;0;ON;
0|gladys | Event : create : new Event with code : devicetype-new-value
0|gladys | Scenario : Trigger : New event : devicetype-new-value
0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
0|gladys | Received data from RFLINK 20;3E;OK;
0|gladys | Received data from RFLINK 20;3F;OK;

voici d’autres logs que j’ai pris beaucoup plus haut lors de ma configuration des volets:

0|gladys | Params = “[“730ecc.01”,“rflink”,“binary”]”
0|gladys | RFLink error during creation or update of device : Error: NotFound.
0|gladys | Pass to configuration mode if you want to add new devices.
0|gladys | Received data from RFLINK 20;25;Debug;RTS P1;a02c10131cdc92;
0|gladys | Received data from RFLINK 20;26;RTS;ID=1cdc92;SWITCH=01;CMD=UP;
0|gladys | gladys.utils.sqlUnique was not able to find element
0|gladys | Query = "
0|gladys | SELECT devicetype.id
0|gladys | FROM device
0|gladys | JOIN devicetype ON (device.id = devicetype.device)
0|gladys | WHERE device.identifier = ? AND device.service = ? AND devicetype.type = ?;
0|gladys | "
0|gladys | Params = “[“1cdc92.01”,“rflink”,“binary”]”
0|gladys | RFLink error during creation or update of device : Error: NotFound.
0|gladys | Pass to configuration mode if you want to add new devices.
0|gladys | Received data from RFLINK 20;27;Debug;RTS P1;a02c10131cdc92;
0|gladys | Received data from RFLINK 20;28;RTS;ID=1cdc92;SWITCH=01;CMD=UP;
0|gladys | gladys.utils.sqlUnique was not able to find element
0|gladys | Query = "
0|gladys | SELECT devicetype.id
0|gladys | FROM device
0|gladys | JOIN devicetype ON (device.id = devicetype.device)
0|gladys | WHERE device.identifier = ? AND device.service = ? AND devicetype.type = ?;
0|gladys | "
0|gladys | Params = “[“1cdc92.01”,“rflink”,“binary”]”
0|gladys | RFLink error during creation or update of device : Error: NotFound.
0|gladys | Pass to configuration mode if you want to add new devices.
0|gladys | Received data from RFLINK 20;29;Debug;RTS P1;a02c10131cdc92;
0|gladys | Received data from RFLINK 20;2A;RTS;ID=1cdc92;SWITCH=01;CMD=UP;
0|gladys | gladys.utils.sqlUnique was not able to find element
0|gladys | Query = "
0|gladys | SELECT devicetype.id
0|gladys | FROM device
0|gladys | JOIN devicetype ON (device.id = devicetype.device)
0|gladys | WHERE device.identifier = ? AND device.service = ? AND devicetype.type = ?;
0|gladys | "
0|gladys | Params = “[“1cdc92.01”,“rflink”,“binary”]”
0|gladys | RFLink error during creation or update of device : Error: NotFound.
0|gladys | Pass to configuration mode if you want to add new devices.
0|gladys | Received data from RFLINK 20;2B;Debug;RTS P1;a02c10131cdc92;
0|gladys | Received data from RFLINK 20;2C;RTS;ID=1cdc92;SWITCH=01;CMD=UP;
0|gladys | gladys.utils.sqlUnique was not able to find element
0|gladys | Query = "
0|gladys | SELECT devicetype.id
0|gladys | FROM device
0|gladys | JOIN devicetype ON (device.id = devicetype.device)
0|gladys | WHERE device.identifier = ? AND device.service = ? AND devicetype.type = ?;
0|gladys | "
0|gladys | Params = “[“1cdc92.01”,“rflink”,“binary”]”
0|gladys | RFLink error during creation or update of device : Error: NotFound.
0|gladys | Pass to configuration mode if you want to add new devices.
0|gladys | Received data from RFLINK 20;2D;Debug;RTS P1;a02c10131cdc92;
0|gladys | Received data from RFLINK 20;2E;RTS;ID=1cdc92;SWITCH=01;CMD=UP;
0|gladys | gladys.utils.sqlUnique was not able to find element
0|gladys | Query = "
0|gladys | SELECT devicetype.id
0|gladys | FROM device
0|gladys | JOIN devicetype ON (device.id = devicetype.device)
0|gladys | WHERE device.identifier = ? AND device.service = ? AND devicetype.type = ?;

Merci en espérant que ça vous parle car pour moi c’est du chinois.
Désolé Jean34 c’est vrai que si je ne donne pas tout les éléments c’est compliqué pour vous :disappointed_relieved: