deleted
Ankündigung
Einklappen
Keine Ankündigung bisher.
KNX node for node-red
Einklappen
X
-
Hi Chris
no, sorry, i've told you a fake news. There is no chance to only change the setting without sending any telegram, unless you select "not to write on the bus" in the config window.
Istantanea_15_11_22__14_34.png
Please consider also using the KNX Node in "Universal Mode"
- Likes 1
Kommentar
-
Zitat von TheMax74 Beitrag anzeigenplease add the command "delete msg.payload" anywhere in the function node. The payload comes from the Inject node.
/EDIT:
Just saw your latest reply after sending the message. Unfortunately I need to send data with that node later on, so it has to be allowed to send. But the hint with universal mode actually got me thinking that would actually be easier than setting up the stuff beforehand ... Thanks!Chris
Kommentar
-
Hi epogo
Mine works as expected with {red:255, green:200, blue:30}
Are you sure you're using the right object in the actuator?
Node-RED.png
Try to recall the scene from the flow. Put this code in the Function node:
Code:msg.recallscene = true; return msg;
Angehängte Dateien
Kommentar
-
Hi TheMax74,
I was looking at the Global Context node to get the GA metadata. It looks like it's only reporting GAs that have ever seen traffic during runtime, not all GAs that have been imported from the ETS export (it reported 212 GAs, my current imported GA list must be around 1800). Is there any way to query the metadata of ALL GAs that KNXUltimate is aware about from the ETS import?
Cheers,
ChrisChris
Kommentar
-
Hi Chris
Yes, it reports only GA with a valid value.
If you leave nodered running for a while, the Global variable will be filled nicely, with fresh values.
I though letting users read GA with undefined or very old and not up to date values, it’s not very useful.
But… if you need that, i could take a look at the code.
Kommentar
-
Yeah, for me it would be very helpful to just being able to iterate over the metadata to find e.g. all GA that match a certain name pattern (so I can do stuff with them afterwards). So basically just the list as it comes from the import useable in our function nodes.
Chris
Kommentar
-
Hi Chris.
Done. See here https://github.com/Supergiovane/node...r/CHANGELOG.md and https://github.com/Supergiovane/node...GlobalVariable
- Likes 2
Kommentar
-
Hallo zusammen, ich glaub das ist mein erster Beitrag, nachdem ich über 2 Jahren stiller Leser war. Ich baue nächstes Jahr, hab mir ein Testbrett zum üben angeschafft und stehe jetzt ein bisschen auf dem Schlauch mit einem sicherlich eigentlich simplen Problem:
Wie kann ich in Node-Red per KNX Ultimate den Status einer Gruppenadresse abfragen?
Hintergrund:
Ich möchte das meine Rollladen morgens automatisch nach Astrozeit hochfahren, das funktioniert auch einwandfrei mit dem time inject von node-red-contrib-sun-position. Jetzt soll aber noch meine Anwesenheit abgefragt werden. Also wenn ich zuhause bin bleiben die Rolllos unten, bin ich abwesend können Sie hochfahren. Mit IoBroker war das kein Problem, da gibt es ein „get State“ welches ich hinter den time inject geklemmt habe. Aber wie mache ich das bei KNX? Die Gruppenadresse speichert ja den letzten State nicht, wenn ich das Prinzip richtig verstanden habe,oder? Müsste ich den Wert in eine Variable schreiben und die dann Abfragen?
Vielleicht gibts ja eine ganz einfache Lösung auf die ich einfach nicht komme..?
Viele Grüße
Raimund
Kommentar
Kommentar