oops sorry, I hope it will work, because after repeatedly reinstalling I’ve gotten into the habit of backing up regularly, but I’ve never done it the way you’re going to.
Did you run
``
yes, and not just once ![]()
I just found a solution here :
I used the USB10 port redirected from ACM0
I had also edited the flows.json file to change the RFlink port.
I found my flow again! Cool.
Great ![]()
Keep it up
Hi everyone,
J’ai un souci lorsque je veux écrire des données dans un fichier, j’obtiens l’erreur
« failed to create file: Error: EACCES: permission denied, mkdir ‹ /NodeRedBackup/20221105 › »
J’ai fait un sudo chmod 777 NodeRedBackup/ mais cela n’a rien changé.
Est-ce que cela vient du fait que dans ce tuto, lors de l’installation de Node-RED on ne met pas
–privileged \
-u root \
Comme dans celui de @pierre-g
Hello, I just finished pairing all my RTS shutters with my new RFLink installed using a kit from Nodo shop. Everything works correctly with RFLink Loader; my shutters respond perfectly to my commands. Now I’m trying to get the same result with Node-RED and that’s where I’m stuck.
I followed the tutorial above, I have the correct version of Node-RED, the correct version of serialport and my RFLink is properly connected for transmit and receive. I inject a 1 at the input; the Node replaces it with the shutter command. It works for stop and for open but not for close even though the 3 Nodes have the same configuration.
Any idea how to solve this problem?
The next step is to replace the manual inputs with an MQTT Node. And there I can’t find how to have 3 different values for open, stop and close.
Good evening @elfedagger
how did you find the codes 10;RTS,F00030;0;UP;
When you send your commands with the TC, you can read what you send in the debug, can you show it to me?
For the transition from Gladys to Node-RED it should be simpler, first solve the closing issue.
in the debug for stop and open I have 1 at the input of the Change node and the RTS command at the output, and for closing I had 1 at the input and also 1 at the output at the beginning of the evening and now I have this message.« Error: Invalid ‹ from › property: unsupported type: undefined »
With my remote control (TC) I receive this as command 20;09;RTS;ID=420e64;SWITCH=01;CMD=DOWN;
My rflink is paired with my blinds as an additional remote control.
RTS Record: 0 Address: FFFFFF RC: FFFF
RTS Record: 1 Address: F00010 RC: 0412 (Hallway blind)
RTS Record: 2 Address: F00020 RC: 0412 (Kitchen blind)
RTS Record: 3 Address: F00030 RC: 0412 (Living room blind)
RTS Record: 4 Address: F00040 RC: 0412 (Bedroom 1 blind)
RTS Record: 5 Address: F00050 RC: 0412 (Attic blind)
RTS Record: 6 Address: F00060 RC: 0412 (All blinds)
RTS Record: 7 Address: FFFFFF RC: FFFF
RTS Record: 8 Address: FFFFFF RC: FFFF
RTS Record: 9 Address: FFFFFF RC: FFFF
RTS Record: 10 Address: FFFFFF RC: FFFF
RTS Record: 11 Address: FFFFFF RC: FFFF
RTS Record: 12 Address: FFFFFF RC: FFFF
RTS Record: 13 Address: FFFFFF RC: FFFF
RTS Record: 14 Address: FFFFFF RC: FFFF
I deduced these commands which all work with rflink loader
Hallway blind:
10;RTS;F00010;0;DOWN;
10;RTS;F00010;0;UP;
10;RTS;F00010;0;STOP;
Kitchen blind:
10;RTS;F00020;0;DOWN;
10;RTS;F00020;0;UP;
10;RTS;F00020;0;STOP;
Living room blind:
10;RTS;F00030;0;DOWN;
10;RTS;F00030;0;UP;
10;RTS;F00030;0;STOP;
Bedroom 1 blind:
10;RTS;F00040;0;DOWN;
10;RTS;F00040;0;UP;
10;RTS;F00040;0;STOP;
Attic blind:
10;RTS;F00050;0;DOWN;
10;RTS;F00050;0;UP;
10;RTS;F00050;0;STOP;
All blinds:
10;RTS;F00060;0;DOWN;
10;RTS;F00060;0;UP;
10;RTS;F00060;0;STOP;
is it the closing command for a single shutter or for all the shutters that’s not working?
did you create a receiver node?
Hello, yes I have a reception node and here I see the commands sent by the TC
and the responses from my shutters.
I only tested with the living room shutter commands in Node-RED, I will test the others today. With RFLink loader all commands work including the one that controls all the shutters at the same time. I think what’s wrong in Node-RED is the change node for the closing section. The debug shows that I have a 1 at the input of the change node and I still have 1 at the output, whereas I should have the shutter command like on the two other change nodes for stop and for open.
I solved my problem without knowing how. I started from scratch on flow 2 and deleted flow 1.

Great — you can move on to the next step. If you need, I can explain what I did for my shutters, if you want
For moving from Gladys to Node-RED, in Gladys you create an MQTT device with the function: Shutter state
look at my display window shutter device:
you can set the min and max values as you like — I have -1 0 1. You can set 1 as min and 3 as max so you’ll have the values 1 2 and 3. When you click on your shutter button in the Gladys dashboard (after creating it, of course) the close function will send to Node-RED the min value of your device, so 1; open will send the max value 3; and stop will send the value 2. In Node-RED you create the appropriate MQTT node and then you create a « switch » node (with 3 outputs — you do that with the little « +add » at the bottom left of the window) which will create 3 outputs 1 2 or 3, you connect the outputs to your « change » nodes: close on output 1, stop output 2 and open output 3.
In this window you put 1 instead of -1, 2 instead of 1 and 3 instead of 0. You see that the outputs correspond to the functions you want. If you change the wiring order of the « Change » nodes, you need to change the numbering of the outputs of the « Switch » node
Voilà
And for the shutter button, what should I do? When I want to add it to the Dashboard I only have the shutter state to display, not a button. Do I also have to create each button with MQTT? I’ve seen in some topics that there was a special button for shutters.
Have you already created devices with MQTT in Gladys for other projects?
No, I watched Pierre Gilles’ tutorials and I understood the principle. I created my MQTT node for the living room shutter and it’s connected to Gladys. But I don’t see the button for the shutters. When I edit my dashboard, I only have the shutter’s status and no button available.
I found the button, I had left « is this a sensor? » checked when I unchecked the button it appeared.
So when you created your MQTT device for the living room, you must give it a function; in « select » you type « shutter », you get a dropdown menu with « Shutter state » and « Shutter position ». You click on « Shutter state » and then you click on the right on « add function » (and there you’ll have a 3-position shutter button). You fill in your function as I wrote above
You can add this feature to your flow to control the roller shutters (VR) ![]()
And make a mini-tutorial or publish your final flow to help move things forward for the community!!! ![]()








