Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Skripte stoppen nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Skripte stoppen nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      blackvento @paul53 last edited by

      @paul53
      läuft seit drei Jahren ohne Probleme. Ich habe nicht viel Ahnung von der ganzen Sache aber ich glaube nicht das zu wenig RAM die Ursache ist. Oder bist du dir da sicher das es am RAM liegt?

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @blackvento last edited by

        @blackvento sagte: läuft seit drei Jahren ohne Probleme.

        Node.js und NPM sind entsprechend alt. Wie sieht es mit js-controller und den Adaptern aus? Wenn neuer, reicht der RAM für 8 aktive Instanzen auf gar keinen Fall, da ioBroker inzwischen kräftig gewachsen ist, was den RAM-Bedarf betrifft.

        B 1 Reply Last reply Reply Quote 0
        • B
          blackvento @paul53 last edited by

          @paul53 deswegen habe ich auch kein Update gemacht.
          Telegram 1.8
          Shelly 4.0.6
          Admin 4.2.1
          JS 5.0.14
          wenn die Skripte nicht laufen würden könnte ich dem zustimmen das ich aufrüsten muß.
          Aber ich möchte stoppen und das Funktioniert nicht.

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @blackvento last edited by

            @blackvento Gibt es zufällig was unter Global?

            Was kommt im log wenn du stoppst?

            B 1 Reply Last reply Reply Quote 0
            • B
              blackvento @wendy2702 last edited by wendy2702

              @wendy2702
              Ich habe alle Skripte gestoppt, LOG Datei gelöscht, Instanzen aus gemacht und wieder an gemacht. Folgende Info kam dann bei LOG.

              shelly.0	2023-02-04 14:23:53.534	info	(1628) Shelly device 192.168.178.131 (shelly1pm / shelly1pm-E8DB84D2FFC7 / SHSW-PM#E8DB84D2FFC7#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:51.497	info	(1628) Shelly device 192.168.178.110 (shelly1 / shelly1-8CAAB5552D39 / SHSW-1#8CAAB5552D39#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:51.363	info	(1628) Shelly device 192.168.178.120 (shellyuni / shellyuni-E8DB84D657FC / SHUNI-1#E8DB84D657FC#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:51.153	info	(1628) Shelly device 192.168.178.111 (shelly1 / shelly1-483FDA91B357 / SHSW-1#483FDA91B357#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:50.790	info	(1628) Shelly device 192.168.178.101 (shellyswitch25 / shellyswitch25-84CCA8A721B7 / SHSW-25#84CCA8A721B7#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:50.538	info	(1628) Shelly device 192.168.178.102 (shellyswitch25 / shellyswitch25-483FDA8DB6B4 / SHSW-25#483FDA8DB6B4#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:39.112	info	(1628) Shelly device 192.168.178.103 (shellyswitch25 / shellyswitch25-8CAAB561E454 / SHSW-25#8CAAB561E454#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:38.829	info	(1628) Shelly device 192.168.178.104 (shellyswitch25 / shellyswitch25-483FDA8D2315 / SHSW-25#483FDA8D2315#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:38.345	info	(1628) Shelly device 192.168.178.130 (shelly1pm / shelly1pm-E8DB84D7ED0A / SHSW-PM#E8DB84D7ED0A#1) with CoAP connected!
              shelly.0	2023-02-04 14:23:36.590	info	(1628) Listening for Shelly packets in the network
              shelly.0	2023-02-04 14:23:35.251	info	(1628) Starting Shelly adapter in CoAP modus.
              shelly.0	2023-02-04 14:23:34.180	info	(1628) Polltime of the shelly devices: 5 sec.
              shelly.0	2023-02-04 14:23:34.153	info	(1628) Starting Adapter shelly.0 in version 4.0.6
              shelly.0	2023-02-04 14:23:33.279	info	(1628) starting. Version 4.0.6 in /opt/iobroker/node_modules/iobroker.shelly, node: v12.20.1, js-controller: 3.2.16
              telegram.0	2023-02-04 14:23:31.459	info	(1621) starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.telegram, node: v12.20.1, js-controller: 3.2.16
              host.raspberrypi	2023-02-04 14:22:59.232	info	instance system.adapter.shelly.0 started with pid 1628
              host.raspberrypi	2023-02-04 14:22:58.894	info	"system.adapter.shelly.0" enabled
              host.raspberrypi	2023-02-04 14:22:58.307	info	instance system.adapter.telegram.0 started with pid 1621
              host.raspberrypi	2023-02-04 14:22:57.922	info	"system.adapter.telegram.0" enabled
              host.raspberrypi	2023-02-04 14:22:56.950	info	instance system.adapter.telegram.0 terminated with code 0 (NO_ERROR)
              host.raspberrypi	2023-02-04 14:22:56.292	info	stopInstance system.adapter.telegram.0 killing pid 1529
              telegram.0	2023-02-04 14:22:55.701	info	(1529) Terminated (NO_ERROR): Without reason
              telegram.0	2023-02-04 14:22:55.689	info	(1529) terminating
              host.raspberrypi	2023-02-04 14:22:55.257	info	stopInstance system.adapter.telegram.0 send kill signal
              telegram.0	2023-02-04 14:22:55.249	info	(1529) Got terminate signal TERMINATE_YOURSELF
              host.raspberrypi	2023-02-04 14:22:55.169	info	stopInstance system.adapter.telegram.0 (force=false, process=true)
              host.raspberrypi	2023-02-04 14:22:55.154	info	"system.adapter.telegram.0" disabled
              telegram.0	2023-02-04 14:22:55.104	info	(1529) Adapter is disabled => stop
              host.raspberrypi	2023-02-04 14:22:52.685	info	instance system.adapter.shelly.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              shelly.0	2023-02-04 14:22:52.458	error	(1522) Error in function httpIoBrokerState for state SHSW-25#483FDA8D2315#1.Relay0.ChannelName and request{"url":"http://192.168.178.104/settings/relay/0","timeout":5000} for 192.168.178.104 (shellys
              shelly.0	2023-02-04 14:22:52.384	warn	(1522) get state error: Connection is closed.
              shelly.0	2023-02-04 14:22:51.764	info	(1522) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              shelly.0	2023-02-04 14:22:51.755	info	(1522) terminating
              shelly.0	2023-02-04 14:22:51.750	info	(1522) Closing Adapter
              shelly.0	2023-02-04 14:22:51.659	info	(1522) Got terminate signal TERMINATE_YOURSELF
              host.raspberrypi	2023-02-04 14:22:51.671	info	stopInstance system.adapter.shelly.0 send kill signal
              host.raspberrypi	2023-02-04 14:22:51.581	info	stopInstance system.adapter.shelly.0 (force=false, process=true)
              host.raspberrypi	2023-02-04 14:22:51.566	info	"system.adapter.shelly.0" disabled
              host.raspberrypi	2023-02-04 14:21:28.094	error	cannot get getHostInfo: timeout
              
              

              Gruß
              blackvento

              Mod EDIT: LOG in CODE TAGS </> GEPACKT

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @blackvento last edited by

                @blackvento sagte in Skripte stoppen nicht:

                Ich habe alle Skripte gestoppt

                Ich denke das geht nicht?

                Sorry, kann dir gerade nicht folgen aber was willst du uns denn jetzt mit dem Log Zeigen?

                Das LOg bitte beim nächsten mal in Code Tags packen. Dieser Button "</>"

                B 1 Reply Last reply Reply Quote 0
                • B
                  blackvento @wendy2702 last edited by

                  @wendy2702
                  "Was kommt im log wenn du stoppst?" war deine Frage . Deswegen habe ich den LOP nach dem Neustart ausgedruckt. Ich kann weder programmieren noch einen LOP lesen.
                  "Ich denke das geht nicht?" Die Skripte laufen seit Jahren wunderbar aber die laufen auch weiter wenn ich die stoppe und im Skript angezeigt wird "Skript läuft nicht"
                  " Code Tags packen. Dieser Button "</>" sorry, kannte ich nicht.
                  Ich werde die Skripte löschen die ich vorübergehend nicht gebrauche.
                  Nicht die feine Lösung aber eine andere habe ich jetzt nicht.
                  Danke für deine Bemühung.

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @blackvento last edited by

                    @blackvento sagte in Skripte stoppen nicht:

                    "Ich denke das geht nicht?" Die Skripte laufen seit Jahren wunderbar aber die laufen auch weiter wenn ich die stoppe und im Skript angezeigt wird "Skript läuft nicht"

                    Im Log sehe ich keinen Script stop. Nur einen Neustart vom Shelly Adapter.
                    Kannst du von dem Script das du gestoppt hast mal einen Screenshot zeigen.

                    Ich werde die Skripte löschen die ich vorübergehend nicht gebrauche.

                    Nicht löschen. Stoppen und ioBroker oder besser den kompletten Rechner mal neu starten.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      blackvento @wendy2702 last edited by

                      @wendy2702 wenn ich den Blockly so speichere
                      Screenshot (2).png
                      und das Telegram Objekt so einstelle
                      Screenshot (4).png
                      bekomme ich den Text angezeigt, kann aber den Skript nicht stoppen.

                      Position der Schalusie WZ-Straße=>87%

                      wenn ich den Blockly so speichere
                      Screenshot (7).png
                      und das Telegram Objekt so einstelle
                      Screenshot (5).png
                      bekomme ich den Text zwei mal gesendet ohne % Angabe und kann den Skript stoppen.

                      Position der Schalusie WZ-Straße
                      Position der Schalusie WZ-Straße

                      Ich hoffe das ich den Screenshot richtig eingefügt habe.

                      crunchip bahnuhr 2 Replies Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @blackvento last edited by crunchip

                        @blackvento sagte in Skripte stoppen nicht:

                        und das Telegram Objekt so einstelle

                        das eine ist per script und das andere ist direkt in den Objekten, das hast du aktiv, deswegen kommen auch Nachrichten, unabhängig vom blockly
                        entweder oder, aber nicht beides
                        denn das eine hat mit dem anderen nichts zu tun

                        B 1 Reply Last reply Reply Quote 0
                        • bahnuhr
                          bahnuhr Forum Testing Most Active @blackvento last edited by

                          @blackvento sagte in Skripte stoppen nicht:

                          Schalusie

                          schreibt man dies jetzt so ?
                          oder ist das Phantasie

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            blackvento @crunchip last edited by blackvento

                            @crunchip
                            am liebsten wäre mir mit Blockly aber nur einmal die Nachricht und mit % Angabe.

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @blackvento last edited by

                              @blackvento und was genau soll das blockly machen, nur den Positionsstand per telegram senden?

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                blackvento @bahnuhr last edited by

                                @bahnuhr
                                deine Frage hilft mir zwar nicht weiter aber ja, man kann

                                Schalusie
                                schreiben oder
                                Jalousie
                                was dir besser gefällt.

                                bahnuhr 1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @blackvento last edited by

                                  @blackvento sagte in Skripte stoppen nicht:

                                  @bahnuhr
                                  deine Frage hilft mir zwar nicht weiter aber ja, man kann

                                  Schalusie
                                  schreiben oder
                                  Jalousie
                                  was dir besser gefällt.

                                  lt. google nicht:a3466152-e4b8-4f96-928a-313223f377a7-image.png

                                  Und weil dies so furchtbar aussieht, ist das für mich eher abschreckend überhaupt zu antworten oder den thread zu lesen.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    blackvento @crunchip last edited by

                                    @crunchip den Text
                                    Position der Schalusie WZ-Straße XX%

                                    bahnuhr crunchip 2 Replies Last reply Reply Quote 0
                                    • bahnuhr
                                      bahnuhr Forum Testing Most Active @blackvento last edited by

                                      @blackvento sagte in Skripte stoppen nicht:

                                      @crunchip den Text
                                      Position der Schalusie WZ-Straße XX%

                                      und so wie du es schreibst schon mal gar nicht:
                                      36885fe3-e919-48b0-b703-ea60f3d0420e-image.png

                                      aber egal, beides ist falsch.

                                      Und wie gesagt, ich lese nicht weiter; schreckt mich eher ab.

                                      B 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @blackvento last edited by

                                        @blackvento dbd747f1-1678-4e20-bf77-ed637e7ad86c-image.png

                                        B 3 Replies Last reply Reply Quote 1
                                        • B
                                          blackvento @bahnuhr last edited by

                                          @bahnuhr ich habe das Blockly geändert von Schalusie auf Jalousie.
                                          Es läuft aber noch immer nicht richtig. Hast du noch so einen wertvollen Tip?

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            blackvento @crunchip last edited by

                                            @crunchip werde ich testen und melde mich noch mal.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            762
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            34
                                            1066
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo