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. Tester
  4. [Aufruf] Test Shelly Adapter

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

[Aufruf] Test Shelly Adapter

Scheduled Pinned Locked Moved Tester
shellyadapter
717 Posts 81 Posters 216.0k Views 30 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.
  • Sascha TiedemannS Sascha Tiedemann

    Ich habe gestern Abend auf die 3.0.5 geupdatet und alle shelly1 auf die Firmware 1.5 gebracht. Seit dem geht nichts mehr. Kein einziger shelly lässt sich noch schalten.

    Auf dem WebIF der shelly s lassen Sie sich schalten. In der shelly App auch. Im WebIF habe ich auch schon testweise sie Coap Funktion aktiviert. Hilft aber leider auch nicht.
    Warum geht es in der neuen Version nicht mehr über iobroker?

    StuebiS Offline
    StuebiS Offline
    Stuebi
    wrote on last edited by
    #593

    @Sascha-Tiedemann , um dir diese Frage zu beantworten, müsste ich wissen von welcher Shelly Version du kommst, ob du MQTT oder CoAP nutzt und ich benötige das Logfile mit den Fehlern, falls es welche gibt.

    ioBroker auf Synology DS216+II im Docker Container

    1 Reply Last reply
    0
    • Sascha TiedemannS Offline
      Sascha TiedemannS Offline
      Sascha Tiedemann
      wrote on last edited by Sascha Tiedemann
      #594

      ich meine, dass ich von Version 1.05 komme.
      Wo kann ich das jetzt noch sehen?

      Ich nutze CoAP und http im shelly Adapter

      Ich habe iobroker mal neu gestartet. Das ist der Log zum Suchbegriff "shelly"

      host.WIN2016	2019-07-23 22:20:21.421	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:20:21.421	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      host.WIN2016	2019-07-23 22:20:20.641	info	instance system.adapter.shelly.0 started with pid 2298
      host.WIN2016	2019-07-23 22:19:50.615	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:19:50.614	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      host.WIN2016	2019-07-23 22:19:49.893	info	instance system.adapter.shelly.0 started with pid 1816
      host.WIN2016	2019-07-23 22:19:19.870	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:19:19.870	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      host.WIN2016	2019-07-23 22:19:19.170	info	instance system.adapter.shelly.0 started with pid 1289
      host.WIN2016	2019-07-23 22:18:49.142	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:18:49.141	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      host.WIN2016	2019-07-23 22:18:48.429	info	instance system.adapter.shelly.0 started with pid 802
      host.WIN2016	2019-07-23 22:18:18.402	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:18:18.402	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      host.WIN2016	2019-07-23 22:18:17.669	info	instance system.adapter.shelly.0 started with pid 255
      host.WIN2016	2019-07-23 22:17:47.656	info	Restart adapter system.adapter.shelly.0 because enabled
      host.WIN2016	2019-07-23 22:17:46.032	info	instance system.adapter.shelly.0 started with pid 32362
      history.0	2019-07-23 22:17:45.139	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
      history.0	2019-07-23 22:17:45.085	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
      shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
      shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
      shelly.0	2019-07-23 22:17:43.280	info	Stating Shelly adapter in CoAP modus.
      shelly.0	2019-07-23 22:17:43.279	info	Stating Shelly adapter in CoAP modus.
      shelly.0	2019-07-23 22:17:43.266	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
      shelly.0	2019-07-23 22:17:43.257	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
      shelly.0	2019-07-23 22:17:43.246	warn	Reconnection to DB.
      shelly.0	2019-07-23 22:17:43.245	warn	Reconnection to DB.
      Adapter	2019-07-23 22:17:40.481	info	shelly still running
      Adapter	2019-07-23 22:17:39.482	info	shelly still running
      shelly.0	2019-07-23 22:14:06.343	info	Listening for Shelly packets in the network
      shelly.0	2019-07-23 22:14:06.284	info	Stating Shelly adapter in CoAP modus.
      shelly.0	2019-07-23 22:14:06.276	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
      host.WIN2016	2019-07-23 22:14:05.485	info	instance system.adapter.shelly.0 started with pid 30260
      host.WIN2016	2019-07-23 22:14:02.962	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
      shelly.0	2019-07-23 22:14:02.948	info	Closing Adapter
      shelly.0	2019-07-23 22:14:02.946	info	Closing Adapter
      host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0 killing pid 30131
      host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0
      host.WIN2016	2019-07-23 22:14:02.945	info	object change system.adapter.shelly.0
      shelly.0	2019-07-23 22:13:44.915	info	Listening for Shelly packets in the network
      shelly.0	2019-07-23 22:13:44.840	info	Stating Shelly adapter in CoAP modus.
      shelly.0	2019-07-23 22:13:44.831	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
      host.WIN2016	2019-07-23 22:13:44.045	info	instance system.adapter.shelly.0 started with pid 30131
      host.WIN2016	2019-07-23 22:13:41.523	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
      shelly.0	2019-07-23 22:13:41.514	info	Closing Adapter
      shelly.0	2019-07-23 22:13:41.511	info	Closing Adapter
      host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0 killing pid 17887
      host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0
      host.WIN2016	2019-07-23 22:13:41.509	info	object change system.adapter.shelly.0
      host.WIN2016	2019-07-23 22:17:47.656	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
      
      StuebiS Sascha TiedemannS 2 Replies Last reply
      0
      • StuebiS Stuebi

        @DreamForce , danke für die genaue Analyse. Zu dem Thema gibt es ein Issue (https://github.com/schmupu/ioBroker.shelly/issues/71). Leider bin ich bei der Lösung des Fehlers auf andere Libs angewiesen. Daher muss ich warten, bis dort der Fehler behoben wird.
        In der 3.0.7 der Shelly Adapter startet der Shelly nicht neu. Das kann ich aber in Version 3.0.8 wieder einbauen.

        M Offline
        M Offline
        maniac
        wrote on last edited by
        #595

        @Stuebi sagte in [Aufruf] Test Shelly Adapter:

        @DreamForce , danke für die genaue Analyse. Zu dem Thema gibt es ein Issue (https://github.com/schmupu/ioBroker.shelly/issues/71). Leider bin ich bei der Lösung des Fehlers auf andere Libs angewiesen. Daher muss ich warten, bis dort der Fehler behoben wird.
        In der 3.0.7 der Shelly Adapter startet der Shelly nicht neu. Das kann ich aber in Version 3.0.8 wieder einbauen.

        Bei mir auch noch immer das gleiche und ähnlich wie bei @dreamforce habe ich alle Shellys stromlos gemacht, danach lief es wieder.
        Wenn man nun aber weis woran es liegt, kann man ja reagieren.
        Da die Shellys ja noch über das Webinterface reagieren, dachte ich mir das man die dann neu startet per http-Request?
        Geht das irgendwie?

        Gruß Frank…

        1 Reply Last reply
        0
        • Sascha TiedemannS Sascha Tiedemann

          ich meine, dass ich von Version 1.05 komme.
          Wo kann ich das jetzt noch sehen?

          Ich nutze CoAP und http im shelly Adapter

          Ich habe iobroker mal neu gestartet. Das ist der Log zum Suchbegriff "shelly"

          host.WIN2016	2019-07-23 22:20:21.421	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:20:21.421	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          host.WIN2016	2019-07-23 22:20:20.641	info	instance system.adapter.shelly.0 started with pid 2298
          host.WIN2016	2019-07-23 22:19:50.615	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:19:50.614	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          host.WIN2016	2019-07-23 22:19:49.893	info	instance system.adapter.shelly.0 started with pid 1816
          host.WIN2016	2019-07-23 22:19:19.870	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:19:19.870	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          host.WIN2016	2019-07-23 22:19:19.170	info	instance system.adapter.shelly.0 started with pid 1289
          host.WIN2016	2019-07-23 22:18:49.142	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:18:49.141	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          host.WIN2016	2019-07-23 22:18:48.429	info	instance system.adapter.shelly.0 started with pid 802
          host.WIN2016	2019-07-23 22:18:18.402	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:18:18.402	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          host.WIN2016	2019-07-23 22:18:17.669	info	instance system.adapter.shelly.0 started with pid 255
          host.WIN2016	2019-07-23 22:17:47.656	info	Restart adapter system.adapter.shelly.0 because enabled
          host.WIN2016	2019-07-23 22:17:46.032	info	instance system.adapter.shelly.0 started with pid 32362
          history.0	2019-07-23 22:17:45.139	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
          history.0	2019-07-23 22:17:45.085	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
          shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
          shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
          shelly.0	2019-07-23 22:17:43.280	info	Stating Shelly adapter in CoAP modus.
          shelly.0	2019-07-23 22:17:43.279	info	Stating Shelly adapter in CoAP modus.
          shelly.0	2019-07-23 22:17:43.266	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
          shelly.0	2019-07-23 22:17:43.257	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
          shelly.0	2019-07-23 22:17:43.246	warn	Reconnection to DB.
          shelly.0	2019-07-23 22:17:43.245	warn	Reconnection to DB.
          Adapter	2019-07-23 22:17:40.481	info	shelly still running
          Adapter	2019-07-23 22:17:39.482	info	shelly still running
          shelly.0	2019-07-23 22:14:06.343	info	Listening for Shelly packets in the network
          shelly.0	2019-07-23 22:14:06.284	info	Stating Shelly adapter in CoAP modus.
          shelly.0	2019-07-23 22:14:06.276	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
          host.WIN2016	2019-07-23 22:14:05.485	info	instance system.adapter.shelly.0 started with pid 30260
          host.WIN2016	2019-07-23 22:14:02.962	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
          shelly.0	2019-07-23 22:14:02.948	info	Closing Adapter
          shelly.0	2019-07-23 22:14:02.946	info	Closing Adapter
          host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0 killing pid 30131
          host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0
          host.WIN2016	2019-07-23 22:14:02.945	info	object change system.adapter.shelly.0
          shelly.0	2019-07-23 22:13:44.915	info	Listening for Shelly packets in the network
          shelly.0	2019-07-23 22:13:44.840	info	Stating Shelly adapter in CoAP modus.
          shelly.0	2019-07-23 22:13:44.831	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
          host.WIN2016	2019-07-23 22:13:44.045	info	instance system.adapter.shelly.0 started with pid 30131
          host.WIN2016	2019-07-23 22:13:41.523	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
          shelly.0	2019-07-23 22:13:41.514	info	Closing Adapter
          shelly.0	2019-07-23 22:13:41.511	info	Closing Adapter
          host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0 killing pid 17887
          host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0
          host.WIN2016	2019-07-23 22:13:41.509	info	object change system.adapter.shelly.0
          host.WIN2016	2019-07-23 22:17:47.656	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
          
          StuebiS Offline
          StuebiS Offline
          Stuebi
          wrote on last edited by
          #596

          @Sascha-Tiedemann , sieht so aus, als ob der Shelly Adapter 2 Mal läuft.
          Beende einmal ioBroker und starte es neu. Wenn dann der Shely später immer noch nicht geht, bitte nochmals Logfile schicken.

          ioBroker auf Synology DS216+II im Docker Container

          1 Reply Last reply
          0
          • Sascha TiedemannS Sascha Tiedemann

            ich meine, dass ich von Version 1.05 komme.
            Wo kann ich das jetzt noch sehen?

            Ich nutze CoAP und http im shelly Adapter

            Ich habe iobroker mal neu gestartet. Das ist der Log zum Suchbegriff "shelly"

            host.WIN2016	2019-07-23 22:20:21.421	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:20:21.421	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            host.WIN2016	2019-07-23 22:20:20.641	info	instance system.adapter.shelly.0 started with pid 2298
            host.WIN2016	2019-07-23 22:19:50.615	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:19:50.614	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            host.WIN2016	2019-07-23 22:19:49.893	info	instance system.adapter.shelly.0 started with pid 1816
            host.WIN2016	2019-07-23 22:19:19.870	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:19:19.870	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            host.WIN2016	2019-07-23 22:19:19.170	info	instance system.adapter.shelly.0 started with pid 1289
            host.WIN2016	2019-07-23 22:18:49.142	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:18:49.141	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            host.WIN2016	2019-07-23 22:18:48.429	info	instance system.adapter.shelly.0 started with pid 802
            host.WIN2016	2019-07-23 22:18:18.402	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:18:18.402	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            host.WIN2016	2019-07-23 22:18:17.669	info	instance system.adapter.shelly.0 started with pid 255
            host.WIN2016	2019-07-23 22:17:47.656	info	Restart adapter system.adapter.shelly.0 because enabled
            host.WIN2016	2019-07-23 22:17:46.032	info	instance system.adapter.shelly.0 started with pid 32362
            history.0	2019-07-23 22:17:45.139	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
            history.0	2019-07-23 22:17:45.085	info	enabled logging of shelly.0.SHSW-PM#E640C7#1.Power (Count=7), Alias=false
            shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
            shelly.0	2019-07-23 22:17:43.281	info	Listening for Shelly packets in the network
            shelly.0	2019-07-23 22:17:43.280	info	Stating Shelly adapter in CoAP modus.
            shelly.0	2019-07-23 22:17:43.279	info	Stating Shelly adapter in CoAP modus.
            shelly.0	2019-07-23 22:17:43.266	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
            shelly.0	2019-07-23 22:17:43.257	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
            shelly.0	2019-07-23 22:17:43.246	warn	Reconnection to DB.
            shelly.0	2019-07-23 22:17:43.245	warn	Reconnection to DB.
            Adapter	2019-07-23 22:17:40.481	info	shelly still running
            Adapter	2019-07-23 22:17:39.482	info	shelly still running
            shelly.0	2019-07-23 22:14:06.343	info	Listening for Shelly packets in the network
            shelly.0	2019-07-23 22:14:06.284	info	Stating Shelly adapter in CoAP modus.
            shelly.0	2019-07-23 22:14:06.276	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
            host.WIN2016	2019-07-23 22:14:05.485	info	instance system.adapter.shelly.0 started with pid 30260
            host.WIN2016	2019-07-23 22:14:02.962	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
            shelly.0	2019-07-23 22:14:02.948	info	Closing Adapter
            shelly.0	2019-07-23 22:14:02.946	info	Closing Adapter
            host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0 killing pid 30131
            host.WIN2016	2019-07-23 22:14:02.945	info	stopInstance system.adapter.shelly.0
            host.WIN2016	2019-07-23 22:14:02.945	info	object change system.adapter.shelly.0
            shelly.0	2019-07-23 22:13:44.915	info	Listening for Shelly packets in the network
            shelly.0	2019-07-23 22:13:44.840	info	Stating Shelly adapter in CoAP modus.
            shelly.0	2019-07-23 22:13:44.831	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.1
            host.WIN2016	2019-07-23 22:13:44.045	info	instance system.adapter.shelly.0 started with pid 30131
            host.WIN2016	2019-07-23 22:13:41.523	info	instance system.adapter.shelly.0 terminated with code 0 (OK)
            shelly.0	2019-07-23 22:13:41.514	info	Closing Adapter
            shelly.0	2019-07-23 22:13:41.511	info	Closing Adapter
            host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0 killing pid 17887
            host.WIN2016	2019-07-23 22:13:41.510	info	stopInstance system.adapter.shelly.0
            host.WIN2016	2019-07-23 22:13:41.509	info	object change system.adapter.shelly.0
            host.WIN2016	2019-07-23 22:17:47.656	error	instance system.adapter.shelly.0 terminated with code 7 (Adapter already running)
            
            Sascha TiedemannS Offline
            Sascha TiedemannS Offline
            Sascha Tiedemann
            wrote on last edited by
            #597

            Ich habe den shelly Adapter nochmal komplett gelöscht und neu installiert. Bei der Installation kommt folgendes:

            $ ./iobroker add shelly  --host WIN2016
            NPM version: 6.4.1
            npm install iobroker.shelly --production --save --prefix "/opt/iobroker" (System call)
            npm WARN
             enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/es6-set/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/event-emitter/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/npmlog/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/es6-map/package.json'
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
            
            
            host.WIN2016 install adapter shelly
            got /opt/iobroker/node_modules/iobroker.shelly/admin
            upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
            upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
            upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
            host.WIN2016 object system.adapter.shelly created
            host.WIN2016 create instance shelly
            host.WIN2016 object shelly.0.info.connection created
            host.WIN2016 object shelly.0.info created
            host.WIN2016 object system.adapter.shelly.0.outputCount created
            host.WIN2016 object system.adapter.shelly.0.inputCount created
            host.WIN2016 object system.adapter.shelly.0.uptime created
            host.WIN2016 object system.adapter.shelly.0.memRss created
            host.WIN2016 object system.adapter.shelly.0.memHeapTotal created
            host.WIN2016 object system.adapter.shelly.0.memHeapUsed created
            host.WIN2016 object system.adapter.shelly.0.connected created
            host.WIN2016 object system.adapter.shelly.0.alive created
            host.WIN2016 object system.adapt
            
            StuebiS 1 Reply Last reply
            0
            • Sascha TiedemannS Sascha Tiedemann

              Ich habe den shelly Adapter nochmal komplett gelöscht und neu installiert. Bei der Installation kommt folgendes:

              $ ./iobroker add shelly  --host WIN2016
              NPM version: 6.4.1
              npm install iobroker.shelly --production --save --prefix "/opt/iobroker" (System call)
              npm WARN
               enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/es6-set/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/event-emitter/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/npmlog/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/es6-map/package.json'
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              
              
              host.WIN2016 install adapter shelly
              got /opt/iobroker/node_modules/iobroker.shelly/admin
              upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
              upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
              upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
              host.WIN2016 object system.adapter.shelly created
              host.WIN2016 create instance shelly
              host.WIN2016 object shelly.0.info.connection created
              host.WIN2016 object shelly.0.info created
              host.WIN2016 object system.adapter.shelly.0.outputCount created
              host.WIN2016 object system.adapter.shelly.0.inputCount created
              host.WIN2016 object system.adapter.shelly.0.uptime created
              host.WIN2016 object system.adapter.shelly.0.memRss created
              host.WIN2016 object system.adapter.shelly.0.memHeapTotal created
              host.WIN2016 object system.adapter.shelly.0.memHeapUsed created
              host.WIN2016 object system.adapter.shelly.0.connected created
              host.WIN2016 object system.adapter.shelly.0.alive created
              host.WIN2016 object system.adapt
              
              StuebiS Offline
              StuebiS Offline
              Stuebi
              wrote on last edited by
              #598

              @Sascha-Tiedemann , sind erst einmal nur warnings. Erst einmal nicht beachten. Wichtig ist, dass der Shelly Adapter nicht mehrfach läuft.

              ioBroker auf Synology DS216+II im Docker Container

              1 Reply Last reply
              0
              • Sascha TiedemannS Offline
                Sascha TiedemannS Offline
                Sascha Tiedemann
                wrote on last edited by
                #599

                Ich habe iobroker gestopt und wieder neu gestartet.
                Jetzt kommt kein Fehler mehr im Log, dass es doppelt läuft.
                Einen Restart von iobroker habe ich bestimmt schon 5 Mal gemacht. Ohne Erfolg.

                Der Adapter (jetzt Version 3.0.7) scheint nun fehlerfrei zu laufen.
                Durch das löschen des Adapters sind nun aber keine Objekte zu shelly da.

                Er findet bisher nichts von allein. Muss ich da noch was machen?

                StuebiS 1 Reply Last reply
                0
                • Sascha TiedemannS Sascha Tiedemann

                  Ich habe iobroker gestopt und wieder neu gestartet.
                  Jetzt kommt kein Fehler mehr im Log, dass es doppelt läuft.
                  Einen Restart von iobroker habe ich bestimmt schon 5 Mal gemacht. Ohne Erfolg.

                  Der Adapter (jetzt Version 3.0.7) scheint nun fehlerfrei zu laufen.
                  Durch das löschen des Adapters sind nun aber keine Objekte zu shelly da.

                  Er findet bisher nichts von allein. Muss ich da noch was machen?

                  StuebiS Offline
                  StuebiS Offline
                  Stuebi
                  wrote on last edited by
                  #600

                  @Sascha-Tiedemann , hast du in der Shelly Adapter Konfiguration unter Instanzen CoAP stehen? Dann musst nichts tun. Die Shellys werden automatisch erkannt.
                  Wenn das nicht der Fall ist, hast Du irgendetwas an Deinem Netzwerk verändert wie z.B. neuer Switch, Router, IP Adressen, ...

                  ioBroker auf Synology DS216+II im Docker Container

                  1 Reply Last reply
                  0
                  • Sascha TiedemannS Offline
                    Sascha TiedemannS Offline
                    Sascha Tiedemann
                    wrote on last edited by Sascha Tiedemann
                    #601

                    Genau. Es ist die Standard-Konfig mit CoAP und http.
                    Ich kann alle Shellys über deren IP erreichen (WebIF).
                    Alles sind nach wie vor im Netzwerkbereich 192.168.0.xxx, wie auch der iobroker Server

                    Es werden keine shellys gefunden.

                    Alles shellys haben die neuste Firmware 20190711-084053/v1.5.0-hotfix4@3b4f7414

                    Der Discovery Adapter findet alle shellys. Hilft aber für den shelly Adapter nicht weiter.

                    StuebiS 1 Reply Last reply
                    0
                    • Sascha TiedemannS Sascha Tiedemann

                      Genau. Es ist die Standard-Konfig mit CoAP und http.
                      Ich kann alle Shellys über deren IP erreichen (WebIF).
                      Alles sind nach wie vor im Netzwerkbereich 192.168.0.xxx, wie auch der iobroker Server

                      Es werden keine shellys gefunden.

                      Alles shellys haben die neuste Firmware 20190711-084053/v1.5.0-hotfix4@3b4f7414

                      Der Discovery Adapter findet alle shellys. Hilft aber für den shelly Adapter nicht weiter.

                      StuebiS Offline
                      StuebiS Offline
                      Stuebi
                      wrote on last edited by
                      #602

                      @Sascha-Tiedemann , auch wenn Deine Shellys über http erreichbar sind, heißt es nicht, dass diese auch über CoAP erreichbar sind. CoAP nutzt Multicast. Wenn die Shellys nicht gefunden werden, liegt es z.B. an unterschiedliche Subnetze, an Deinem Netzwerkinterface von ioBroker Server, Switches, Router, ....
                      Um zu sehen ob CoAP funktioniert, kannst Du z.B. einmal den Shelly Adapter stoppen (darf nicht laufen!!!!) und dann folgendes ausführen:

                      cd /opt/iobroker/node_modules/iobroker.shelly
                      node coaptest.js
                      

                      Nun sollten Deine Shellys zu sehen sein. Wenn nicht, dann suche einmal den Fehler im Netzwerk bei Dir. Kannst auch einmal versuchen ein Hardware Reset bei einem Shelly durchzuführen.
                      Wenn Du den Shelly Adapter wieder startest, darf node coaptest.js nicht mehr laufen.

                      ioBroker auf Synology DS216+II im Docker Container

                      1 Reply Last reply
                      0
                      • Sascha TiedemannS Offline
                        Sascha TiedemannS Offline
                        Sascha Tiedemann
                        wrote on last edited by
                        #603

                        da kommt nur:
                        undefined
                        UDP Server listening on 0.0.0.0:5683

                        StuebiS 1 Reply Last reply
                        0
                        • Sascha TiedemannS Sascha Tiedemann

                          da kommt nur:
                          undefined
                          UDP Server listening on 0.0.0.0:5683

                          StuebiS Offline
                          StuebiS Offline
                          Stuebi
                          wrote on last edited by
                          #604

                          @Sascha-Tiedemann , es werden keine CoAP Pakete (Multicast) Pakete in Deinem Netzwerk von den Shellys an Deinen ioBroker Server weitergeleitet. Da musst Du jetzt den Fehler bei Dir suchen.
                          Hat nichts mit ioBroker zu tun.

                          Als erstes würde ich testweise bei einem Shelly einen Hardware Reset durchführen.

                          ioBroker auf Synology DS216+II im Docker Container

                          1 Reply Last reply
                          0
                          • Sascha TiedemannS Offline
                            Sascha TiedemannS Offline
                            Sascha Tiedemann
                            wrote on last edited by
                            #605

                            GEFUNDEN!
                            Da ich iobroker auf einem Windows Server betreibe war der UDP Port 5683 durch die Windows Firewall gesperrt.
                            Gibt man den frei funktioniert auch alles:confused:

                            Das muss aber neu sein. Bisher war diese Freigabe nicht nötig.
                            Habe das Ganze schon fast ein Jahr so laufen.

                            Mein Problem hätte ich alleine nie gelöst!!!
                            Vielen Dank für eure Hilfe!

                            1 Reply Last reply
                            1
                            • StuebiS Offline
                              StuebiS Offline
                              Stuebi
                              wrote on last edited by
                              #606

                              Hallo,
                              es gibt eine neue Version des Shelly Adapter (3.0.8). Unterstützt wird nun auch der Shelly EM. Ich hoffe jemand von Euch hat diesen im Einsatz und kann ordentlich testen. Besonders der Wert Power Factor (PF) interessiert mich. Dieser wird nicht vom Shelly geliefert, sondern muss berechnet werden. Ich hoffe ich habe das richtig umgesetzt :-)

                              Hier die Neuerungen in der Version 3.0.8

                              • Add device Shelly EM
                              • Add state energy for Shelly Plug S, Shelly PM and Shelly 2.5 in CoAP mode
                              • Add state temperature for Shelly Plug S, Shelly PM and Shelly 2.5 in CoAP mode
                              • Add state overtemperature for Shelly Plug S, Shelly PM and Shelly 2.5 in CoAP and MQTT mode
                              • Bugfixing

                              Die Version steht auf GitHub ab sofort zur Verfügung, als Update bei den Adaptern wahrscheinlich morgen.

                              VG
                              Stübi

                              ioBroker auf Synology DS216+II im Docker Container

                              1 Reply Last reply
                              1
                              • DiginixD Offline
                                DiginixD Offline
                                Diginix
                                wrote on last edited by
                                #607

                                Ich habe täglich wenn die Rollläden hoch/runter fahren folgenden Fehler im Log:

                                2019-07-28 21:23:59.719  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token P in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}P
                                
                                2019-07-29 21:23:01.705  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}`E
                                
                                

                                An sich funktioniert alles. Ist mir eben nur durch Zufall aufgefallen.

                                ..:: So long! Tom ::..

                                NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                StuebiS N 2 Replies Last reply
                                0
                                • DiginixD Diginix

                                  Ich habe täglich wenn die Rollläden hoch/runter fahren folgenden Fehler im Log:

                                  2019-07-28 21:23:59.719  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token P in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}P
                                  
                                  2019-07-29 21:23:01.705  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}`E
                                  
                                  

                                  An sich funktioniert alles. Ist mir eben nur durch Zufall aufgefallen.

                                  StuebiS Offline
                                  StuebiS Offline
                                  Stuebi
                                  wrote on last edited by
                                  #608

                                  @Diginix , danke für den Hinweis. Wenn alles funktioniert, werde ich die Meldung nur noch im Debug Modus anzeigen lassen.

                                  ioBroker auf Synology DS216+II im Docker Container

                                  1 Reply Last reply
                                  1
                                  • DiginixD Diginix

                                    Ich habe täglich wenn die Rollläden hoch/runter fahren folgenden Fehler im Log:

                                    2019-07-28 21:23:59.719  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token P in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}P
                                    
                                    2019-07-29 21:23:01.705  - info: shelly.0 Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 420 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":122,"T":"S","D":"State","R":"0/1","L":1},{"I":111,"T":"W","D":"Power","R":"0/3680","L":2},{"I":113,"T":"S","D":"Position","R":"0/100","L":2}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]},{"I":221,"D":"Switch","L":1,"P":[{"I":2021,"D":"ToState","R":"0/1"}]}]}`E
                                    
                                    

                                    An sich funktioniert alles. Ist mir eben nur durch Zufall aufgefallen.

                                    N Offline
                                    N Offline
                                    NemoN
                                    wrote on last edited by
                                    #609

                                    @Diginix hinter dem JSON kommen noch "Müllbytes". Es wäre evtl. sauberer alles nach dem letzten } abzuschneiden und dann das JSON zu parsen!?

                                    StuebiS 1 Reply Last reply
                                    0
                                    • N NemoN

                                      @Diginix hinter dem JSON kommen noch "Müllbytes". Es wäre evtl. sauberer alles nach dem letzten } abzuschneiden und dann das JSON zu parsen!?

                                      StuebiS Offline
                                      StuebiS Offline
                                      Stuebi
                                      wrote on last edited by
                                      #610

                                      @NemoN , das ist leider ein Fehler von Shelly. Die senden teilweise kaputte JSONs. Ich werde ab Version 3.0.8 diese Fehlerhaften JSONs nur noch im Debug Modus anzeigen. Eine Korrektur des Shelly JSONs in ioBroker werde ich nicht vornehmen, da diese vom Adapter nicht benötigt werden. Diese beschreiben den Aufbau der CoAP Daten-Nachrichten.

                                      ioBroker auf Synology DS216+II im Docker Container

                                      1 Reply Last reply
                                      1
                                      • StuebiS Stuebi

                                        @srkonus , kannst du einmal schauen ob Power Werte in ioBroker für den Shelly Plug S noch angepasst werden, sobald Dein Blocky nicht mehr geht.
                                        Leider werden die Daten zu Power per CoAP vom Shelly nicht mitgeliefert. Daher hole ich mir die Power Werte alle paar Sekunden per http Abfrage vom Shelly. Dieser Prozess läuft in einer Endlosschleife. Vielleicht wird die Schleife irgendwann nicht mehr durchlaufen. Das muss ich mir einmal genauer anschauen und testen

                                        S Offline
                                        S Offline
                                        srkonus
                                        wrote on last edited by
                                        #611

                                        @Stuebi Hi Stübi,

                                        gerade hatte ich den Fall, das mein Script nicht ging. Flott nachgeschaut und bemerkt, das der Power-Wert nicht gefüllt war. Somit ist klar warum das Script nicht geht.
                                        Hilft MQTT dabei die Power-Werte zu übermitteln? Im Einsatz habe ich die neueste Version des Adapters

                                        StuebiS 1 Reply Last reply
                                        0
                                        • S srkonus

                                          @Stuebi Hi Stübi,

                                          gerade hatte ich den Fall, das mein Script nicht ging. Flott nachgeschaut und bemerkt, das der Power-Wert nicht gefüllt war. Somit ist klar warum das Script nicht geht.
                                          Hilft MQTT dabei die Power-Werte zu übermitteln? Im Einsatz habe ich die neueste Version des Adapters

                                          StuebiS Offline
                                          StuebiS Offline
                                          Stuebi
                                          wrote on last edited by
                                          #612

                                          @srkonus , kannst Du mir sagen welches Shelly Gerät du im Einsatz hast? Eigentlich sollte es mit dem Shelly 2, Shelly 2.5, Shelly PM und Shelly Plug S gehen.

                                          ioBroker auf Synology DS216+II im Docker Container

                                          S 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

                                          635

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          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