Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
Hello,
I have a question regarding msg.destination which I would like to use to send to the KNX Device node.
First let me say that my node red experiance is not soo big. Therefore I fear that I have made a silly failure.
Can anybody help me and tell me, what I'm doing wrong?
Hi Markus
What do you need to achieve?
As far as i can see, you wish to issue a READ request on these 3 Group addresses, right?
Otherwise, what do you wanna achieve?
Hello,
read on three adresses is right.
Three adresses deliver the parameters for one room.
After the read some cacuilations will follow.
This calculationa have to be done for several rooms.
Therefore I would like to create a sublow out of this flow and would like to pass three adresses into the subflow, let the subflow do the calculations and from there deliver the result into the mainflow.
Do you really need that flows variables?
In a range from 0 to 10, what are your javascript programming skills? This helps me to do a sample that you can einfach understand.
Please bear in mind, that msg.address doesn't set the address of the node, it only changes it temporarly.
For this reason, they won't emit anyhing, because they stick with 0/0/1
You need to find another approach.
If you have ETS, you can simply import the Group addresses file and you're almost done. Can you do that?
Oh oh! The next fan of subflows @ nodered
Massimo has not made the best experience with subflows...
Mit Heimautomatisierung lassen sich alle Probleme lösen die wir sonst gar nicht hätten...
KNX + HUE + SONOS + SIMATIC-S7 + Fritzbox + RasPi mit NodeRed + Telegramm
Nope. Right. I hate subflows. You lost all control over it. Olli, i'm in guru meditation about your gitHub request. Stay tuned. megahorst, If you have ETS, you can simply import the Group addresses file and you're almost done. Can you do that?
Hm, I just learned about subflows right now as you guys talked about it. Thought about something like that in the past as this could help clean up some repeated flows but never checked if anything for that existed and was quite happy to read up about them now.
Mind to go into this a bit more? What's the issue with using them? Of course they might not be a solution for everything, but it felt that they might be good for repeated data processing structures.
PS: Actually reading up a bit about their features I think it would be nice if the environment variables of subflows could be used in KNX nodes, at least for the GA and DPT fields (might already be the case, but it sounds like it's probably not ). This would actually help me clean up my junk a lot
Alloc Hi, i really don't wanna talk about subflows. Last time i used it, the nodes in the sublow don't even show their status. They was absolutely not debuggable.
I don't know if with the latest versions, they are better. I don't want to try it.
Yes they can be useful, but honestly, i'm using the "link nodes" instead of subflows in my whole system. I create standard flows with an "input link node" as entry point and an "output link node" as exit point.
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar