Bonsoir Jerome
Est ce que le Node émetteur est connecté sur Node red (le petit carré vert)? si oui, reprends ton montage coté émission sur ta Mega
tu as testé avec un node inject ?
Oui bien connecté. Il reçoit bien l’info car la diode clignote sur l’arduino mega.
Tu as une idée de comment tester l’émetteur sinon ?
Bonjour Jérôme
si tu bidouilles un peu tu peux essayer ça ( Cloner une télécommande Radio Fréquence (433MHz) – Part 1 – Acquisition | StefTech)
Au début de Gladys 3 c’est comme ça que j’ai vérifier si ça fonctionnait.Tu branches ton récepteur sur ton Pc prise entrée line (avec une prise jack) , tu visualises avec le logiciel audacity les signaux reçu. tu génères une trame avec la Mega et tu vois si elle arrive sur ton Pc .
Hello everyone,
I have an issue with Node-RED:
On each restart of Gladys the port of my Arduino RFLink changes
hello @gaetanb76
look in the Node-RED RFLink tutorial I talk about it there
does it change the port between RFLink and the Zigbee USB stick?
No, the Zigbee dongle remains on ttyUSB0
In the tutorial there’s this:
docker run -d \
--log-opt max-size=10m \
--restart=always \
--network=host \
--name node_red \
-u node-red:dialout \
--device=/dev/ttyUSB0 \
--device=/dev/ttyUSB1 \
--label com.centurylinklabs.watchtower.enable=false \
-v /var/lib/node-red:/data \
nodered/node-red
which I adapted during installation to:
--device=/dev/ttyUSB0 \
--device=/dev/ttyACM1 \
If I do that
That’s strange,
the node-red container ID has changed and its name too.
c1772a1d78ab nodered/node-red \"./entrypoint.sh\" 44 seconds ago Up 43 seconds (healthy) 1880/tcp nervous_keldysh
Previously the ID started with bfc5d463b
If I run docker run… again, here’s the error:
docker: Error response from daemon: Conflict. The container name "/node_red" is already in use by container "bfc5d463b…". You have to remove (or rename) that container to be able to reuse that name.
I’m not very familiar with the subject — my problem was that at startup the Rflink was on port ttyUSB0 and the dongle on ttyUSB1, and at each startup they would swap. At first I swapped the wiring and it worked again. Since then it’s been working with those two lines you mention (thanks to Vonox). What do you have on the other ttyACM port?
There is nothing at the other port.
[quote="
No, actually, there’s only one with docker ps …
That’s strange,
In a situation like that I have a radical solution: since I’m not very familiar with it, I’ll completely reinstall Node-RED.
Try adding this line:
--device=/dev/ttyACM0 \
Maybe this will fix the ACM ports
Already done.
The problem is that I can no longer run docker start node_red because it no longer finds the ttyACM1 port.
Each time I rerun the docker run command, it creates a new container for me.
Are you deleting all of Node-RED?
No, I don’t want to delete my flows.
I might be able to make a copy of the files flows.json and flows_cred.json before removing Node-RED.
For sure, you need to make a copy of your flows
You just need to, in Node-RED, export your flows, which you’ll find in your PC’s Downloads folder (I’m on Windows)
However, you’ll need to configure one of the MQTT nodes
But I can’t access Node-RED since I can’t start it ![]()
I copied the files with WinSCP.
I hope that’s enough