Ankündigung

Einklappen
Keine Ankündigung bisher.

KNX node for node-red

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    deleted
    Zuletzt geändert von TheMax74; 15.11.2022, 14:24.

    Kommentar



      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"

      Kommentar


        Zitat von TheMax74 Beitrag anzeigen
        please add the command "delete msg.payload" anywhere in the function node. The payload comes from the Inject node.
        That's what I thought (before I had an timestamp payload in there from the inject node, it was sending "random" values to the KNX bus). But the above message object is exactly what the node sees, i.e. that's an capture from a debug node that's in parallel to the KNX node. There is *no* payload property at that point.


        /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


          Yes, i wrote above. Normally, an user just send the payload while changing the settings. Please consider using the knx node in Universal Mode as well, it may be suit your needs.

          Kommentar


            Hi TheMax74

            How can i set an RGB Value in the Scene Node?

            I tested {red:255, green:200, blue:30} but it doesn't work ....

            Greetings epogo

            You do not have permission to view this gallery.
            This gallery has 1 photos.
            Gruß Stephan

            Kommentar


              Hello epogo
              I'll take a look ant i'll let you know...

              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;​
                Node-RED.png
                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,
                  Chris
                  Chris

                  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


                        Ah… that make sense.
                        I’ll take a look at that tomorrow. Are you able to open a github issue for that?

                        Kommentar


                          Sure, will do. Thank you!
                          Chris

                          Kommentar


                            Hi Chris.
                            Done. See here https://github.com/Supergiovane/node...r/CHANGELOG.md and https://github.com/Supergiovane/node...GlobalVariable

                            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


                                Eventuell hast Du ja einen Schaltaktor Kanal übrig den Du dafür verwenden kannst?
                                Jemand zuhause Kanal ein. Keiner daheim Kanal aus. Wenn Du dann den Status vom Schaltaktor Kanal ab fragst hast Du Deinen Status.

                                Kommentar

                                Lädt...
                                X