Ankündigung

Einklappen
Keine Ankündigung bisher.

Multiple knx_send

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

    Multiple knx_send

    Hi to all,
    I'm tring to make sort of "master off" without creating a specific group address into ets, but sending a value to multiple group addresses from smarthome.

    I wrote down something like this:

    Code:
    ['generale']
            sv_page = generale
            sv_img = scene_office.png
            [[off_p1]]
            name = 'Off Piano 1'
            type = bool
            visu = yes
                    sv_widget = "{{ basic.button('item', 'item', 'off', 'minus', 0, 'midi') }}"
                            knx_dpt = 1
                            knx_init = 0/2/0 | 0/2/4 | 0/2/8
                            knx_send = 0/2/0 | 0/2/4 | 0/2/8
    But when I put more than one ga, widget doesn't render in SmartVisu, it works only with one group address in knx_init and knx_send.

    Need some help...! Thank you!

    P.S.: I tried to search into forum but it's quite difficult for me because the language.

    #2
    It is better to make a special group address in ets and connect your actors to them (you can bind the items to multiple GAs)
    In sh.py you don't have to initiate the item, because you can't read from multiple addresses. A important thing is that you have to force updates to knx on your item (see docs).

    Gesendet von meinem GT-I9100 mit Tapatalk

    Kommentar


      #3
      Ok, I was thinking that the best way is have a dedicated ga, but I wanted to try this solution for "didactic purpose"..

      Thank you

      Kommentar


        #4
        You can try the "scene" items in sh.py
        Should work.
        Derzeit zwischen Kistenauspacken und Garten anlegen.
        Baublog im Profil.

        Kommentar

        Lädt...
        X