Ankündigung

Einklappen
Keine Ankündigung bisher.

Jalousien-Lamelllen-Winkel mit basic.button ändern

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

    Jalousien-Lamelllen-Winkel mit basic.button ändern

    Hallo zusammen!

    Hab schon viel gesucht, aber noch keinen Erfolg gehabt, mit dem was ich dann getestet hab.

    Eigentlich will ich grad nicht viel.
    Nur den Lamellen-Winkel mit einem basic.button + und einem - schrittweise (z.B. 5er Schritte) hoch oder runter kippen.

    Habs z.B. mit einem Item "tiltplus" und folgendem Button-Einstellungen versucht. Aber nix

    Code:
     [[[[tiltplus]]]]
                type = num
                visu = yes
                visu_acl = rw
                enforce_updates = True
                eval = sh.EG.Wohnen.Rollladen.tiltpos(sh.EG.Wohnen.Rollladen.tiltpos()+1)
    Code:
    {{ basic.button('LivingBlindsStepUp', 'EG.Wohnen.Rollladen.tiltplus', '', icon0~"control_plus.png", '', 'midi') }}
    Könnte mir hier bitte jemand weiter auf die Sprünge helfen?

    Danke!

    Grüße
    Thorsten

    #2
    Hi, was sagt das SmartHome.py Log?
    Gruß Sven

    Kommentar


      #3
      Hab gerade eh den Debug-Modus laufen und der sagt dann:

      Code:
      2015-02-19 13:25:08,460 DEBUG    Main         192.168.1.49:38261 sent '{"cmd":"item","id":"EG.Wohnen.Rollladen.tiltplus","val":"1"}' -- __init__.py:json_parse:270
      2015-02-19 13:25:08,465 DEBUG    Main         Triggering EG.Wohnen.Rollladen.tiltplus-eval - by: Visu source: 192.168.1.49:38261 dest: None value: {'dest': None, 'source': '192.168.1.49:3 -- scheduler.py:trigger:162
      2015-02-19 13:25:08,473 DEBUG    EG.Wohnen.Rollladen.tiltplus-eval Item EG.Wohnen.Rollladen.tiltpos = 0 via Logic None None -- item.py:__update:363
      2015-02-19 13:25:08,486 DEBUG    Main         knx: 0.0.0 set 2/0/51 to 00 -- __init__.py:parse_telegram:181
      2015-02-19 13:25:08,489 INFO     EG.Wohnen.Rollladen.tiltplus-eval Item EG.Wohnen.Rollladen.tiltplus: evaluating sh.EG.Wohnen.Rollladen.tiltpos(sh.EG.Wohnen.Rollladen.tiltpos()+1) returns None -- item.py:__run_eval:334

      Kommentar


        #4
        Hm, schaut irgendwie nach einem Henne / Ei Problem aus :P
        Spontan hab ich leider keine Idee.
        Alternativ kannst du dir aber mal den RTR anschauen. Da ist das ganze mit einem Input und zwei Buttons mit JScript gelöst.
        Gruß Sven

        Kommentar


          #5
          Den RTR hatte ich ja bisher.
          Aber auf m Smartphone net so toll zu bedienen bzw. anzusehen.

          Kommentar


            #6
            Zeig bitte mal ein wenig mehr von deiner Config (den gesamten EG.Wohnen.Rollladen)
            Gruß Sven

            Kommentar


              #7
              Bitte schön :-)

              Code:
              [EG]
                 [[Wohnen]]
                      [[[Rollladen]]]
                          [[[[move]]]]
                              type = num
                              enforce_updates = true
                              visu_acl = rw
                              knx_dpt = 1
                              knx_send = 2/0/8
                          [[[[stop]]]]
                              type = num
                              visu_acl = rw
                              enforce_updates = true #<<- damit der Stop-Befehl auch greift
                              knx_dpt = 1
                              knx_send = 2/0/9
                          [[[[pos]]]]
                              type = num
                              enforce_updates = true
                              visu_acl = rw
                              knx_dpt = 5
                              knx_listen = 2/0/10
                              knx_send = 2/0/44
                              knx_init = 2/0/10
                          [[[[tilt]]]]
                              type = num
                              enforce_updates = true
                              visu_acl = rw
                              knx_dpt = 5
                              knx_listen = 2/0/12
                              knx_send = 2/0/51
                              knx_init = 2/0/12
                          [[[[tiltpos]]]]
                              type = num
                              enforce_updates = true
                              visu_acl = rw
                              knx_dpt = 5
                              knx_listen = 2/0/25
                              knx_send = 2/0/51
                              knx_init = 2/0/25
                          [[[[tiltplus]]]]
                          type = num
                          visu = yes
                          visu_acl = rw
                          enforce_updates = True
                          eval = sh.EG.Wohnen.Rollladen.tiltpos(sh.EG.Wohnen.Rollladen.tiltpos()+1)
                          [[[[tiltminus]]]]
                          type = num
                          visu = yes
                          visu_acl = rw
                          enforce_updates = True
                          eval = sh.EG.Wohnen.Rollladen.tiltpos(sh.EG.Wohnen.Rollladen.tiltpos()-1)

              Kommentar

              Lädt...
              X