Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Shelly Switcht schaltet nicht bei Ansteuerung über Blockly

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    996

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Shelly Switcht schaltet nicht bei Ansteuerung über Blockly

Scheduled Pinned Locked Moved Blockly
9 Posts 4 Posters 531 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    griessbx
    wrote on last edited by
    #1

    Hallo, ich bin dabei meine Hausautomation von FHEM auf den IOBROKER umzuziehen und habe Probleme mit den Shelly Switchen wenn ich diese über ein Blocky Script schalten möchte. Ich habe auch noch einige Shelly Plug S hier funktioniert das ganze prima. Die Shelly Switche lassen sich über den Objektdialog problemlos setzen. Die Shellys haben die Version /v1.12.1 (neueste). Beim Button Type habe ich alle 3 (Momentary , Toggle Switch , Edge Switch) durchprobiert. Kein Unterschied
    Hier das script:```
    schedule('{"time":{"exactTime":true,"start":"18:00"},"period":{"days":1}}', async function () {
    setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, true, true);
    setState("shelly.0.SHSW-1#8CAAB5555032#1.Relay0.Switch"/[object Object]/, true, true);
    });

    schedule('{"time":{"exactTime":true,"start":"21:15"},"period":{"days":1}}', async function () {
    setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, false, true);
    setState("shelly.0.SHSW-1#8CAAB5555032#1.Relay0.Switch"/[object Object]/, false, true);
    });

    Wie bekomme ich den Shelly Switch zum schalten ?
    Gruß Roland
    T 1 Reply Last reply
    0
    • G griessbx

      Hallo, ich bin dabei meine Hausautomation von FHEM auf den IOBROKER umzuziehen und habe Probleme mit den Shelly Switchen wenn ich diese über ein Blocky Script schalten möchte. Ich habe auch noch einige Shelly Plug S hier funktioniert das ganze prima. Die Shelly Switche lassen sich über den Objektdialog problemlos setzen. Die Shellys haben die Version /v1.12.1 (neueste). Beim Button Type habe ich alle 3 (Momentary , Toggle Switch , Edge Switch) durchprobiert. Kein Unterschied
      Hier das script:```
      schedule('{"time":{"exactTime":true,"start":"18:00"},"period":{"days":1}}', async function () {
      setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, true, true);
      setState("shelly.0.SHSW-1#8CAAB5555032#1.Relay0.Switch"/[object Object]/, true, true);
      });

      schedule('{"time":{"exactTime":true,"start":"21:15"},"period":{"days":1}}', async function () {
      setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, false, true);
      setState("shelly.0.SHSW-1#8CAAB5555032#1.Relay0.Switch"/[object Object]/, false, true);
      });

      Wie bekomme ich den Shelly Switch zum schalten ?
      Gruß Roland
      T Offline
      T Offline
      TT-Tom
      wrote on last edited by
      #2

      @griessbx

      setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, true, true)

      setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch", true)
      

      So sollte es funktionieren. Zeige mal dein blockly.

      Gruß Tom
      https://github.com/tt-tom17
      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

      NSPanel Script Wiki
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      NSPanel Adapter Wiki
      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

      G 1 Reply Last reply
      0
      • T TT-Tom

        @griessbx

        setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch"/[object Object]/, true, true)

        setState("shelly.0.SHSW-1#84CCA8A8A2EA#1.Relay0.Switch", true)
        

        So sollte es funktionieren. Zeige mal dein blockly.

        G Offline
        G Offline
        griessbx
        wrote on last edited by
        #3

        @tt-tom e7490fdb-5637-40bf-8fdb-33110149b444-image.png

        HomoranH T 2 Replies Last reply
        0
        • G griessbx

          @tt-tom e7490fdb-5637-40bf-8fdb-33110149b444-image.png

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #4

          @griessbx nimm steuere und nicht aktualisiere

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          T 1 Reply Last reply
          0
          • G griessbx

            @tt-tom e7490fdb-5637-40bf-8fdb-33110149b444-image.png

            T Offline
            T Offline
            TT-Tom
            wrote on last edited by
            #5

            @griessbx

            Der Adapter Datenpunkt wird gesteuert, nicht aktualisiert.

            javascript - iobroker.png

            Gruß Tom
            https://github.com/tt-tom17
            Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

            NSPanel Script Wiki
            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            NSPanel Adapter Wiki
            https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

            1 Reply Last reply
            0
            • HomoranH Homoran

              @griessbx nimm steuere und nicht aktualisiere

              T Offline
              T Offline
              TT-Tom
              wrote on last edited by
              #6

              @homoran

              Was mich noch wundert ist, wo im Code das /[object Object]/ herkommt.

              Gruß Tom
              https://github.com/tt-tom17
              Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

              NSPanel Script Wiki
              https://github.com/joBr99/nspanel-lovelace-ui/wiki

              NSPanel Adapter Wiki
              https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

              paul53P 1 Reply Last reply
              0
              • T TT-Tom

                @homoran

                Was mich noch wundert ist, wo im Code das /[object Object]/ herkommt.

                paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #7

                @tt-tom sagte: wo im Code das /[object Object]/ herkommt.

                Ist der Datenpunkt-Name mehrsprachig?

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                T 1 Reply Last reply
                0
                • paul53P paul53

                  @tt-tom sagte: wo im Code das /[object Object]/ herkommt.

                  Ist der Datenpunkt-Name mehrsprachig?

                  T Offline
                  T Offline
                  TT-Tom
                  wrote on last edited by
                  #8

                  @paul53

                  Ich habe auch den Shelly Adapter laufen und bei mir steht Switch im Blockly und der JS Code sieht auch normal aus. Habe eigentlich auch alles auf deutsch.

                  Gruß Tom
                  https://github.com/tt-tom17
                  Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                  NSPanel Script Wiki
                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                  NSPanel Adapter Wiki
                  https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                  G 1 Reply Last reply
                  0
                  • T TT-Tom

                    @paul53

                    Ich habe auch den Shelly Adapter laufen und bei mir steht Switch im Blockly und der JS Code sieht auch normal aus. Habe eigentlich auch alles auf deutsch.

                    G Offline
                    G Offline
                    griessbx
                    wrote on last edited by
                    #9

                    @tt-tom Ok, das war der Fehler aktualisiert. Das erklärt auch warum die Plugs funktionier haben . Die waren mit steuere codiert.
                    Danke und Gruß Roland

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    667

                    Online

                    32.6k

                    Users

                    82.3k

                    Topics

                    1.3m

                    Posts
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Home
                    • Recent
                    • Tags
                    • Unread 0
                    • Categories
                    • Unreplied
                    • Popular
                    • GitHub
                    • Docu
                    • Hilfe