Ankündigung

Einklappen
Keine Ankündigung bisher.

UDP virutal analog input

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

  • UDP virutal analog input

    Hi gents,

    I have a strange problem. I am sending data in UDP towards loxone in a single string like:

    wind=xxx;temp=xxx;humidity=xxx

    I created the UDP input, select it as analog, with wind=\v (and others) to read the data. after creating all analog inputs I see in UDP monitor that they are correctly identified, but the inputs in loxplan are empty...

    ANY IDEAS? there is no reason why it is not being read into the program...

    please see screenshots bellow. This is for NodeRed/NetAtmo integration which I want to share, but this for whatever reason does not work as it should.

    thx!
    Jakub

  • #2
    You‘ve saved it to the Miniserver?
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar


    • #3
      Zitat von Christian Fenzl Beitrag anzeigen
      You‘ve saved it to the Miniserver?
      hi, yes for sure that is why it gets identified as value in [ ] on second image. however the inputs are empty

      Kommentar


      • #4
        Show the properties from the Input and Input Commands.
        Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

        Kommentar


        • #5
          PS: You have blanks between = and the value. Check that too.
          PS2: The UDP strings are not the same as you have written in your text.
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar


          • #6
            Zitat von Christian Fenzl Beitrag anzeigen
            PS: You have blanks between = and the value. Check that too.
            PS2: The UDP strings are not the same as you have written in your text.
            Hello Christian,

            so the string comming from NodeRed is like this:
            ;windstr 4 ;windangle 254 ;guststr 8 ;gustangle 245 ;windtime 1566313203

            I have corrected and removed the "=" to have it completely same way as Xiaomi reader for temp/batter/humi sensors where everything works

            the reading command is:
            gustangle \v
            guststr \v
            windtime \v
            windangle \v
            windstr=\v


            and the config of UDP reader is attached, as well as the values coming in (from UDP monitor it looks completely the same as for Xiaomi, except the fact, I am getting 5 values in single string where xiaomi sends 1 value per UDP packet. however I have tested it also with single value and it also does not work).


            thx
            Jakub

            Kommentar


            • #7
              Just to be sure,

              I have create just one simple UDP reader from scratch, with value of single property. and it also does not work what a funny/sad thing. please see screenshot with data also from Xiaomi which works without problem.

              Kommentar


              • #8
                And the in-port of the VI is set to 20000?
                You haven’t screenshoted the VI.

                PS: You can’t have two VI’s with the same port.
                Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                Kommentar


                • #9
                  Zitat von Christian Fenzl Beitrag anzeigen
                  And the in-port of the VI is set to 20000?
                  You haven’t screenshoted the VI.

                  PS: You can’t have two VI’s with the same port.
                  input on UDP 20000 is dedicated for Nodered. it would not work otherwise... screenshots are proving the data are coming in correct format and data are being recognized correctly based on resolution command.

                  Kommentar


                  • #10
                    so...

                    I have deleted the complete Nodered UDP20000 tree from VI. and recreated again and it started to work...

                    now question is, if this was caused by already existing tree and just adding new resolution command, or by a bug

                    Kommentar


                    • #11
                      We never will know. The main point is, it works 😉
                      Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                      Kommentar

                      Lädt...
                      X