Event when a client views an object?

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • J V
    LoxBus Spammer
    • 28.08.2015
    • 367

    #1

    Event when a client views an object?

    Hello,

    Is there some event that triggers when a client views an object?

    To give some context: I would like to show the state of a computer, using ping. The PING function block can be set to send a ping event every x seconds and I can show the state on the interface. However, this gives a bit of unnecessary network traffic, makes the Loxone do something frequently and prevents my switch from going to a lower power mode.

    An event that triggers when a client views an object would allow me to send a ping only when someone can actually see the value...

    One other option I can think of is that the computer sets a variable in the Loxone (using the http protocol, but I have to check how that goes) upon boot and upon shutdown (not sure how to achieve that tough), but it would be nice if it could have been done entirely from the Loxone...

    Thanks,

    Jörg
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    This would be a task of LoxControl. Look into your C:\Program Files (x86)\Loxone\LoxPLAN directory, there you'll find the LoxCONTROL.exe.
    This is a virtual moving sensor, installed on your PC. It seems that Loxone removed all the documentation about this tool. Try it, and if you have questions, come back with it here in the thread.

    Regards,
    Christian
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • J V
      LoxBus Spammer
      • 28.08.2015
      • 367

      #3
      I completely forgot about LoxControl... Yes... that would be an option (my computer runs Windows). Thanks!
      I hope support for that one does not disappear though...

      The alternative I thought of was with webservices: http://www.loxone.com/enen/service/d...bservices.html
      Some script on the PC could probably set the value of a virtual input to "1" when the computer boots and set it to 0 when it shuts down. Or it could do it every x seconds and the miniserver could reset it to 0. But it is much less elegant than LoxControl.

      But I'm guessing it is not possible without running something on the PC? That is a shame, as it might be useful for other things.

      Kommentar

      • J V
        LoxBus Spammer
        • 28.08.2015
        • 367

        #4
        I asked Loxone about Loxone Control.

        They replied that it is "currently not further supported"; at the same time they gave me the link to the building block that can be used with it:

        Loxone Control documentation is still linked here.

        As Loxone Control is a simple virtual input, it should probably keep working for now. In case it would disappear, I suspect some script on the PC that addresses web services could do the same. For now, I will use Loxone Control (haven't had time to play with it yet), and see what happens later.

        Kommentar

        • Christian Fenzl
          Lebende Foren Legende
          • 31.08.2015
          • 11234

          #5
          Loxone Support is quite amusing. Loxone Control "is not supported", but as alternative they're sending you a link to a function block (how should you install a function block in Windows?). Luckily this function block links to Loxone Control.
          Happy Loxone Support!
          PS: Backup the English documentation somewhere. It was already razed in the German documentation.
          Zuletzt geändert von Christian Fenzl; 15.02.2016, 10:58.
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar

          • J V
            LoxBus Spammer
            • 28.08.2015
            • 367

            #6
            Well, he really answered my question, and in his reply, he phased it better.
            Just annoying that it is "currently" not supported. What does that mean "currently"? But ok, I can manage for now...

            Kommentar

            • Christian Fenzl
              Lebende Foren Legende
              • 31.08.2015
              • 11234

              #7
              Possibly: It is currently not supported (thinking: ... and will be removed at some time)
              Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

              Kommentar

              • J V
                LoxBus Spammer
                • 28.08.2015
                • 367

                #8
                Yes... that is my fear... Still, I will use it for now as it saves me time having to find some workaround for it. If/when it disappears, I'll just have to find something else to connect to the presence block.

                Kommentar

                Lädt...