Text Input to Miniserver

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    Text Input to Miniserver

    I've created a wiki HowTo at the following link - https://www.loxwiki.eu/display/LOXEN...+to+Miniserver

    Please feel free to discuss in this thread.
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.
  • Riesenschnabel
    Extension Master
    • 04.11.2015
    • 106

    #2
    Oh, whow!
    This looks like quite some work from your side.
    Thank you for your effort, even if I have currently no direct use case for this.
    Loxone-Installation mit mehreren Extensions, Dimmer-Extension, DMX, 1-Wire (alles aktuell noch im Auslieferungszustand);
    FritzBox, Netgear Plus Switch mit mehreren VLANs, Intel NUC mit VMWare ESXi 6.5 (pfSense, Loxberry, Kleinkram)

    Kommentar


    • Tico
      Tico kommentierte
      Kommentar bearbeiten
      You're welcome.
  • Clubsport
    MS Profi
    • 11.01.2018
    • 601

    #3
    Wow, that looks like a LOT of work!
    Will give it a try to get Title informations from iTunes into Loxone!

    Thank you for sharing this!

    Kind regards,

    Martin

    Kommentar

    • Aleq
      Smart Home'r
      • 04.05.2016
      • 52

      #4
      Impressive. But I wonder, does it not put excessive load on the miniserver? Meaning how big is increase of Miniserver load percentages?

      Kommentar

      • Tico
        Lox Guru
        • 31.08.2016
        • 1035

        #5
        The extra CPU load is not noticeable. This will depend though on the polling interval for the Virtual Inputs. For my use case, polling every 5 minutes has no problems.

        I recently deleted an A3 page of 53 Status Blocks with associated Virtual Inputs. The Miniserver dropped by about 2% Memory Requirement.
        Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

        Kommentar

        • Eusebius
          Smart Home'r
          • 08.09.2017
          • 60

          #6
          Wow - that is a huge workaround - thanks!
          Unfortunately I would need this at several places, so the huge number of blocks would make my (already complicated) config a lot of more complicated.

          When digging into a similar problem (parsing weather data), I found some suggestions to implement this using Pico-C - see https://groups.google.com/forum/#!to...sh/KZNGlIQz4qU, https://github.com/netdata-be/loxone...wunderground.c, https://www.loxforum.com/forum/faqs-...stein-abfragen. Wouldn't this be a more elegant solution?

          Kommentar

          • Tico
            Lox Guru
            • 31.08.2016
            • 1035

            #7
            Yes...it wouldn't be very hard to find a more elegant solution! It's really there to satisfy the need to ingest text when there's no other way.

            Of those solutions you posted - The Wunderground PicoC script never really worked. It has a memory leak and the Miniserver will ultimately crash or reboot continuously.

            Remember you can also delete as many Status Blocks as required to suit your needs. You can also adapt the single tab of Status Blocks for multiple uses without duplicating the blocks. So your 'several places' re-uses the single page of blocks.



            Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

            Kommentar

            • Eusebius
              Smart Home'r
              • 08.09.2017
              • 60

              #8
              Zitat von Tico
              You can also adapt the single tab of Status Blocks for multiple uses without duplicating the blocks. So your 'several places' re-uses the single page of blocks.
              How could that work? If I have e.g. 2 times 20 letters to parse - so 40 inputs, how could I attach them to 20 status blocks?

              Kommentar

              • Tico
                Lox Guru
                • 31.08.2016
                • 1035

                #9
                I should qualify that. Re-use of the blocks is limited to when you can adapt the command recognition to suit both data sources. In your case, what is the command recognition you are using for the first 20 letters? And the command recognition being used for the second 20 letters? (ie. Just the first letter for each case).
                Zuletzt geändert von Tico; 25.06.2020, 14:12.
                Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

                Kommentar

                • Christian Fenzl
                  Lebende Foren Legende
                  • 31.08.2015
                  • 11200

                  #10
                  It is more easy to fetch the data from a Raspberry/LoxBerry and send the text to a VTI. That’s only some lines of code.
                  Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                  Kommentar

                • Gast

                  #11
                  Ich habe nichts herausgefunden, wie man Werte aus "Google Kalender" liest.

                  Wie soll ich beispielsweise die Eingabe 'URL' angeben?


                  I couldn't figure out how to read the value from the Google Calendar.

                  For example, in this case, how do I specify the input 'URL'?
                  Zuletzt geändert von Gast; 16.02.2021, 22:31.

                  Kommentar

                  • Tico
                    Lox Guru
                    • 31.08.2016
                    • 1035

                    #12
                    That screenshot example is using the Loxberry plugin called CalDAV-4-Lox -





                    You need a Raspberry Pi (Loxberry) to do the authentication required to login to Google Calendar. The Miniserver can't do it on it's own. CalDAV-4-Lox has also evolved since the wiki was written. It can now pass the full text to the Miniserver via another plugin called MQTT. The 'Text input to Miniserver' won't be required if you set up a Loxberry.

                    Zuletzt geändert von Tico; 29.01.2024, 00:00.
                    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

                    Kommentar

                    • smal
                      Dumb Home'r
                      • 02.10.2022
                      • 22

                      #13
                      Hi Tico, unfortunately it seems that after the wiki moved to https://loxwiki.atlassian.net, the links are not automatically forwarded. Do you happen to know if your wiki page has been moved too? (I could not find it by searching for text input).

                      Kommentar

                    Lädt...