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. Hardware
  4. [gelöst] Problem mit Shelly-Adapter 3.0.8

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

[gelöst] Problem mit Shelly-Adapter 3.0.8

Scheduled Pinned Locked Moved Hardware
7 Posts 3 Posters 721 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.
  • joergeliJ Offline
    joergeliJ Offline
    joergeli
    wrote on last edited by joergeli
    #1

    Hallo zusammen,
    Meine Shelly1 haben bis gestern problemlos mit dem Shelly-Adapter 3.0.8 in ioBroker funktioniert.
    Gestern (19.08.2019) habe ich das Firmware-Update 20190819-120540/v1.5.1@69c3ba74 eingespielt.
    Seitdem kann ich die Shellys nicht mehr via ioBroker steuern.

    Was ich bisher versucht/geprüft habe:
    Adapterkonfiguration kontrolliert : Shelly-Protokoll = CoAP and http
    Schalten direkt via Shelly-URL funktioniert ( s.Screenshot),
    die States unter Objekten shelly.0 ändern sich aber trotzdem nicht.

    Shelly Firmware.jpg

    mehrfach CoAP am Shelly aktiviert/deaktiviert (s. Screenshot),
    auch damit erfolgt keine Änderung der States unter Objekten shelly.0.
    Shelly Internet.jpg

    Debug-Log gestartet:

    2019-08-20 09:51:33.361 - info: host.Raspberrypi instance system.adapter.shelly.0 started with pid 10326
    2019-08-20 09:51:34.467 - debug: shelly.0 objectDB connected
    2019-08-20 09:51:34.493 - debug: shelly.0 statesDB connected
    2019-08-20 09:51:34.530 - info: shelly.0 starting. Version 3.0.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.16.0
    2019-08-20 09:51:34.583 - info: shelly.0 Stating Shelly adapter in CoAP modus.
    2019-08-20 09:51:34.646 - info: shelly.0 Listening for Shelly packets in the network
    2019-08-20 09:51:35.378 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#55E96D#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:35.379 - debug: shelly.0 Status update received for SHSW-1#55E96D#1: {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:35.381 - debug: shelly.0 CoAP device description request for SHSW-1#55E96D#1 to 192.168.192.8(0)
    2019-08-20 09:51:35.429 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#55E96D#1"}
    2019-08-20 09:51:35.430 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
    2019-08-20 09:51:38.554 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C7A4C#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:38.555 - debug: shelly.0 Status update received for SHSW-1#2C7A4C#1: {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:38.556 - debug: shelly.0 CoAP device description request for SHSW-1#2C7A4C#1 to 192.168.192.9(0)
    2019-08-20 09:51:38.573 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C7A4C#1"}
    2019-08-20 09:51:38.574 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
    2019-08-20 09:51:38.764 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C7AEF#1","3412":38400,"3420":1792,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,2]]}
    2019-08-20 09:51:38.765 - debug: shelly.0 Status update received for SHSW-1#2C7AEF#1: {"G":[[0,112,0],[0,118,2]]}
    2019-08-20 09:51:38.765 - debug: shelly.0 CoAP device description request for SHSW-1#2C7AEF#1 to 192.168.192.14(0)
    2019-08-20 09:51:38.775 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C7AEF#1"}
    2019-08-20 09:51:38.775 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
    2019-08-20 09:51:39.070 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2BDBC3#1","3412":38400,"3420":2560,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:39.070 - debug: shelly.0 Status update received for SHSW-1#2BDBC3#1: {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:39.070 - debug: shelly.0 CoAP device description request for SHSW-1#2BDBC3#1 to 192.168.192.15(0)
    2019-08-20 09:51:39.079 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2BDBC3#1"}
    2019-08-20 09:51:39.080 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
    2019-08-20 09:51:43.097 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C83BE#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:43.097 - debug: shelly.0 Status update received for SHSW-1#2C83BE#1: {"G":[[0,112,0],[0,118,0]]}
    2019-08-20 09:51:43.097 - debug: shelly.0 CoAP device description request for SHSW-1#2C83BE#1 to 192.168.192.33(0)
    2019-08-20 09:51:43.109 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C83BE#1"}
    

    Darin sind mir folgende Einträge aufgefallen:

    ........
    Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON ......
    .......
    

    Das sieht für mich so aus, als ob es ein Problem mit dem Shelly-Adapter und der neuen Firmware gibt ?
    Kann hier jemand helfen?
    (Falls weitere Infos notwendig sind, bitte fragen.)

    Gruß und Danke
    Jörg

    foxriver76F 1 Reply Last reply
    0
    • E Offline
      E Offline
      eMd
      wrote on last edited by
      #2

      Also ich habe es gerade getestet, und ich kann alles weiterhin über den adapter steuern. Habe heute morgen auch alle meine 14 Devices auf 1.5.1 geupdatet.

      Habe auch keinerlei komische Meldungen im LOG...

      MfG
      eMd

      Master: Intel NUC 16GB/500GB
      Slave: Raspberry Pi 3 + Homematicmodul
      Shelly, Google Home, Zigbee Aqara, Sonoff

      Meine VIS: https://youtu.be/JMYr2KYlpME

      1 Reply Last reply
      0
      • joergeliJ Offline
        joergeliJ Offline
        joergeli
        wrote on last edited by
        #3

        Hallo zusammen,
        ich habe gerade in meiner Verzweifelung die Instanz shelly.0 und anschließend den Shelly-Adapter 3.08 deinstalliert.
        Danach den Shelly-Adapter wieder installiert, mit dem Erfolg, daß keine Shelly-Devices mehr gefunden werden, ergo auch keine entspr. Objekte mehr angelegt werden :-((
        Im debug-Log tauchen die Shellys jedoch auf, mit den gleichen Fehlermeldungen, wie in obigem Log.
        Auch ein Reboot des ioBroker-Raspi hat nicht geholfen.

        Da fällt mir gerade ein, daß ich vor ca. 2 Wochen den ioBroker-Raspi von einem Raspi 3 / 1Gbyte ( mit Raspbian Stretch) auf einen Raspi 4 / 4GByte ( mit Raspbian Buster) umgezogen habe. Allerdings ist der Shelly-Adapter auch nach dem Umzug problemlos gelaufen, bis halt zum Zeitpunkt der gestrigen Firmware-Updates des Shellys.

        Mysteriös ........

        Gruß
        Jörg

        1 Reply Last reply
        0
        • joergeliJ joergeli

          Hallo zusammen,
          Meine Shelly1 haben bis gestern problemlos mit dem Shelly-Adapter 3.0.8 in ioBroker funktioniert.
          Gestern (19.08.2019) habe ich das Firmware-Update 20190819-120540/v1.5.1@69c3ba74 eingespielt.
          Seitdem kann ich die Shellys nicht mehr via ioBroker steuern.

          Was ich bisher versucht/geprüft habe:
          Adapterkonfiguration kontrolliert : Shelly-Protokoll = CoAP and http
          Schalten direkt via Shelly-URL funktioniert ( s.Screenshot),
          die States unter Objekten shelly.0 ändern sich aber trotzdem nicht.

          Shelly Firmware.jpg

          mehrfach CoAP am Shelly aktiviert/deaktiviert (s. Screenshot),
          auch damit erfolgt keine Änderung der States unter Objekten shelly.0.
          Shelly Internet.jpg

          Debug-Log gestartet:

          2019-08-20 09:51:33.361 - info: host.Raspberrypi instance system.adapter.shelly.0 started with pid 10326
          2019-08-20 09:51:34.467 - debug: shelly.0 objectDB connected
          2019-08-20 09:51:34.493 - debug: shelly.0 statesDB connected
          2019-08-20 09:51:34.530 - info: shelly.0 starting. Version 3.0.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.16.0
          2019-08-20 09:51:34.583 - info: shelly.0 Stating Shelly adapter in CoAP modus.
          2019-08-20 09:51:34.646 - info: shelly.0 Listening for Shelly packets in the network
          2019-08-20 09:51:35.378 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#55E96D#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:35.379 - debug: shelly.0 Status update received for SHSW-1#55E96D#1: {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:35.381 - debug: shelly.0 CoAP device description request for SHSW-1#55E96D#1 to 192.168.192.8(0)
          2019-08-20 09:51:35.429 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#55E96D#1"}
          2019-08-20 09:51:35.430 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
          2019-08-20 09:51:38.554 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C7A4C#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:38.555 - debug: shelly.0 Status update received for SHSW-1#2C7A4C#1: {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:38.556 - debug: shelly.0 CoAP device description request for SHSW-1#2C7A4C#1 to 192.168.192.9(0)
          2019-08-20 09:51:38.573 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C7A4C#1"}
          2019-08-20 09:51:38.574 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
          2019-08-20 09:51:38.764 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C7AEF#1","3412":38400,"3420":1792,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,2]]}
          2019-08-20 09:51:38.765 - debug: shelly.0 Status update received for SHSW-1#2C7AEF#1: {"G":[[0,112,0],[0,118,2]]}
          2019-08-20 09:51:38.765 - debug: shelly.0 CoAP device description request for SHSW-1#2C7AEF#1 to 192.168.192.14(0)
          2019-08-20 09:51:38.775 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C7AEF#1"}
          2019-08-20 09:51:38.775 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
          2019-08-20 09:51:39.070 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2BDBC3#1","3412":38400,"3420":2560,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:39.070 - debug: shelly.0 Status update received for SHSW-1#2BDBC3#1: {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:39.070 - debug: shelly.0 CoAP device description request for SHSW-1#2BDBC3#1 to 192.168.192.15(0)
          2019-08-20 09:51:39.079 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2BDBC3#1"}
          2019-08-20 09:51:39.080 - debug: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON {"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
          2019-08-20 09:51:43.097 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-1#2C83BE#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:43.097 - debug: shelly.0 Status update received for SHSW-1#2C83BE#1: {"G":[[0,112,0],[0,118,0]]}
          2019-08-20 09:51:43.097 - debug: shelly.0 CoAP device description request for SHSW-1#2C83BE#1 to 192.168.192.33(0)
          2019-08-20 09:51:43.109 - debug: shelly.0 CoAP response: {"3332":"SHSW-1#2C83BE#1"}
          

          Darin sind mir folgende Einträge aufgefallen:

          ........
          Error handling Shelly data: SyntaxError: Unexpected token { in JSON at position 28 for JSON ......
          .......
          

          Das sieht für mich so aus, als ob es ein Problem mit dem Shelly-Adapter und der neuen Firmware gibt ?
          Kann hier jemand helfen?
          (Falls weitere Infos notwendig sind, bitte fragen.)

          Gruß und Danke
          Jörg

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          wrote on last edited by foxriver76
          #4

          @joergeli Problem besteht seitens der Shelly Entwickler und ist bereits gemeldet.

          s. a. https://forum.iobroker.net/topic/15308/aufruf-test-shelly-adapter/641

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Reply Last reply
          0
          • joergeliJ Offline
            joergeliJ Offline
            joergeli
            wrote on last edited by
            #5

            @foxriver76
            Danke für die Info!
            Ich hatte zwar vor meinem Post die SuFu benutzt, aber nichts diesbzgl. gefunden.
            Dann harre ich mal Dinge und bin beruhigt, daß das Problem nicht vor dem Rechner sitzt ;-)

            Gru
            Jörg

            foxriver76F 1 Reply Last reply
            0
            • joergeliJ joergeli

              @foxriver76
              Danke für die Info!
              Ich hatte zwar vor meinem Post die SuFu benutzt, aber nichts diesbzgl. gefunden.
              Dann harre ich mal Dinge und bin beruhigt, daß das Problem nicht vor dem Rechner sitzt ;-)

              Gru
              Jörg

              foxriver76F Offline
              foxriver76F Offline
              foxriver76
              Developer
              wrote on last edited by
              #6

              @joergeli ohne nachzuschauen glaube ich, dass dein Post auch eher war, allerdings im anderen Thread eine Diskussion entstanden ist. War kein ‚benutze mal die sufu‘ Link Post sondern eher ein Verweis wo die aktive Diskussion statt findet. ;-)

              Videotutorials & mehr

              Hier könnt ihr mich unterstützen.

              1 Reply Last reply
              0
              • joergeliJ Offline
                joergeliJ Offline
                joergeli
                wrote on last edited by
                #7

                Yippeeeee,

                nach dem gerade installierten Firmware-Update 20190821-094851/v1.5.2@4148d2b7 "sprechen" meine Shelly 1 wieder über CoAP mit iobroker :-))

                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

                333

                Online

                32.4k

                Users

                81.5k

                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