Shelly dimmer

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • frankyglobal
    Dumb Home'r
    • 08.01.2017
    • 12

    #1

    Shelly dimmer

    Hi. Connecting a shelly dimmer 2 to loxone using virtual output with template found in this forum . Can switch off shelly but can’t dimming with parameter <v>
    don’t know what I am doing wrong

    any help pls

    thanks in advance
  • Benjamin Jobst
    Lox Guru
    • 25.08.2015
    • 1194

    #2
    Hi, as I can't see how you connected the outputs it's just guessing until you post a screenshot...

    you imported the template with the http VOs? Then you should have 2 commands - switch and dim.
    Switch just has the parameters command for on/off while dim uses the command "/light/0?brightness=<v>"
    the easiest way to test this is if you just place the VO dim command on a sheet and send brightness values via the LiveView. In case that works you can connect it to a light controller etc.
    For switching off by sending 0% I connected the switch VO via a EIB Dimmer control that's working perfect.
    MfG Benny

    Kommentar

    • frankyglobal
      Dumb Home'r
      • 08.01.2017
      • 12

      #3
      I’m able to switch off the shelly device sending virtual output command but can’t dimming using another vo command with Shelly Ip and light/0?brightness=<v>

      Kommentar

      • Benjamin Jobst
        Lox Guru
        • 25.08.2015
        • 1194

        #4
        As I said before it is just guessing without knowing what you have done so far. So maybe you can post some screenshots of your connections and the settings of the VOs then I'm sure we find a way to get this going.
        MfG Benny

        Kommentar

        • frankyglobal
          Dumb Home'r
          • 08.01.2017
          • 12

          #5
          Hola, funcionó con % de entrada directa

          /light/0?brightness=30

          pero no funciona pasando valores de input a <v> variable

          /light/0?brightness=<v

          >
          Angehängte Dateien

          Kommentar

          • frankyglobal
            Dumb Home'r
            • 08.01.2017
            • 12

            #6
            This is log I get from the http monitor:

            4 19:41:39.587 Sin título 2 Response 192.168.2.205 /light/0?brightness=nan HTTP/1.1 400 Bad Request\r\nServer: Mongoose/6.18\r\nContent-Type: text/plain\r\nConnection: close\r\nContent-Length: 21

            Shelly reply Bad Request and <v> is converted to nan

            Kommentar

            • Christian Fenzl
              Lebende Foren Legende
              • 31.08.2015
              • 11233

              #7
              You don't send a number in your request.
              Show a full Screenshot. Do not crop everything away.
              Use LiveView.
              Zuletzt geändert von Christian Fenzl; 27.11.2022, 00:11.
              Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

              Kommentar

              • frankyglobal
                Dumb Home'r
                • 08.01.2017
                • 12

                #8
                Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1113
Größe: 101,9 KB
ID: 368618Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1118
Größe: 101,9 KB
ID: 368619

                Kommentar

                • frankyglobal
                  Dumb Home'r
                  • 08.01.2017
                  • 12

                  #9
                  I already send <v> with virtual input

                  Kommentar

                  • MountMeru
                    Dumb Home'r
                    • 30.01.2023
                    • 16

                    #10
                    Ich habe das gleiche Problem, dass ich im Monitor NaN anstelle des Dimmwertes sehe. Bin leider noch nicht drauf gekommen wo das Problem der Zuweisung zu <v> ist. Wenn ich einen Konstanten Zahlenwert sende funktioniert dies. die Variable wird offensichtlich falsch interpretiert

                    Kommentar

                    • MountMeru
                      Dumb Home'r
                      • 30.01.2023
                      • 16

                      #11
                      Ok, hab nochmal probiert und die Lösung gefunden. Wichtig ist, dass bei den Parametern Korrektur nicht alles auf 0 steht, sondern Eingangswert 2 = 100 und Zielwert 2 = 100.

                      Kommentar

                      Lädt...