Ankündigung

Einklappen
Keine Ankündigung bisher.

Visual Assistant - scene buttons

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

    Visual Assistant - scene buttons

    I have been playing around with the Visual Assistant and was able to do a number of interesting things with minimal effort.
    However, I have not been able to find out how I can add a button that can send a scene selection.

    I have a separate, hardware touch-screen that has been programmed with a number of scenes already, which can be selected by sending a GA of the type u08 on the bus.
    For instance, sending GA 12/0/0 with value 1 selects scene 1, sending GA 12/0/0 with value 2 selects scene 2, etc.

    I would ideally like to be able to add something like 5 buttons to my existing webpage and link each with GA 12/0/0 and value 1 to 5, which would allow for direct selection of a scene.
    The only buttons I have found in the library can only handle b01 type GA's.

    I would surely appreciate it if anyone could point me in the right direction.

    Regards,
    Perry

    #2
    An easy workaround is: Use a Light-Button, to trigger an 1-Bit GA.
    In your code you simply add:
    Code:
    if event("1-BitGA") then callscene("SceneGA", ScenNr) endif
    offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
    Enertex Produkte kaufen

    Kommentar


      #3
      Thanks, that is certainly a 'quick and dirty' solution that I can understand and that would work.

      If I wanted to do it 'properly', could I then add a light button in the Visu Assistant and modify the code of the .epc files directly (i.e. outside of EIBStudio) using a text editor?

      Kommentar


        #4
        Zitat von Perry Beitrag anzeigen
        If I wanted to do it 'properly', could I then add a light button in the Visu Assistant and modify the code of the .epc files directly (i.e. outside of EIBStudio) using a text editor?
        Of course. Keep in mind your code will be overwritten, if you reuse the Assistant, if you don't change the name of the files.
        offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
        Enertex Produkte kaufen

        Kommentar

        Lädt...
        X