Navigation

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

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Warung im Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • bumm
      bumm last edited by

      Hallo Zusammen

      Kann mir jemand sagen wieso ich ein WARN bekomme?

      Eigentlich macht das Skript was ich will.

      Sind 2 LED Spripe mit RGBW die immer wider die Farbe wechseln.

      735e29e4-966b-4805-92ff-b897e481f221-image.png

      Schönen Abend Stefan

      dslraser 1 Reply Last reply Reply Quote 0
      • dslraser
        dslraser Forum Testing Most Active @bumm last edited by

        @bumm sagte in Warung im Skript:

        Hallo Zusammen

        Kann mir jemand sagen wieso ich ein WARN bekomme?

        Eigentlich macht das Skript was ich will.

        Sind 2 LED Spripe mit RGBW die immer wider die Farbe wechseln.

        735e29e4-966b-4805-92ff-b897e481f221-image.png

        Schönen Abend Stefan

        Zeig mal das "richtige Log"
        Text statt Zahlen ?

        bumm 1 Reply Last reply Reply Quote 0
        • bumm
          bumm @dslraser last edited by

          code_text
          `javascript.0	2021-04-28 23:56:45.379	warn	(18557) at processTimers (internal/timers.js:497:7)
          javascript.0	2021-04-28 23:56:45.379	warn	(18557) at listOnTimeout (internal/timers.js:554:17)
          javascript.0	2021-04-28 23:56:45.379	warn	(18557) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2073:34)
          javascript.0	2021-04-28 23:56:45.378	warn	(18557) at Object.<anonymous> (script.js.common.LED_Glaswand.Effekt_1:10:7)
          javascript.0	2021-04-28 23:56:45.378	warn	(18557) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
          javascript.0	2021-04-28 23:56:45.375	warn	(18557) You are assigning a string to the state "shelly.0.SHRGBW2#0111DC#1.lights.blue" which expects a number. Please fix your code to use a number or change the state type to string. This warning mi
          javascript.0	2021-04-28 23:56:45.375	warn	(18557) at processTimers (internal/timers.js:497:7)
          javascript.0	2021-04-28 23:56:45.375	warn	(18557) at listOnTimeout (internal/timers.js:554:17)
          javascript.0	2021-04-28 23:56:45.375	warn	(18557) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2073:34)
          javascript.0	2021-04-28 23:56:45.374	warn	(18557) at Object.<anonymous> (script.js.common.LED_Glaswand.Effekt_1:9:7)
          javascript.0	2021-04-28 23:56:45.374	warn	(18557) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
          javascript.0	2021-04-28 23:56:45.371	warn	(18557) You are assigning a string to the state "shelly.0.SHRGBW2#0111DC#1.lights.white" which expects a number. Please fix your code to use a number or change the state type to string. This warning m
          javascript.0	2021-04-28 23:56:45.341	warn	(18557) at processTimers (internal/timers.js:497:7)
          javascript.0	2021-04-28 23:56:45.341	warn	(18557) at listOnTimeout (internal/timers.js:556:17)
          javascript.0	2021-04-28 23:56:45.340	warn	(18557) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1485:29)
          javascript.0	2021-04-28 23:56:45.340	warn	(18557) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
          javascript.0	2021-04-28 23:56:45.337	warn	(18557) You are assigning a string to the state "shelly.0.SHRGBW2#0113F7#1.lights.blue" which expects a number. Please fix your code to use a number or change the state type to string. This warning mi
          javascript.0	2021-04-28 23:56:45.336	warn	(18557) at processTimers (internal/timers.js:497:7)``
          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @bumm last edited by

            @bumm
            Zahlen anstelle von Text verwenden und die Intervalle im sonst-Zweig der Abfrage stoppen.

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

              @paul53 Hallo Paul

              Ist das so gemeint?

              ea35cb21-9a8b-46c3-adb8-2495f5dc5d38-image.png

              Danke für deine Hilfe.

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

                @bumm sagte: Ist das so gemeint?

                Ja.

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

                Support us

                ioBroker
                Community Adapters
                Donate

                907
                Online

                32.1k
                Users

                80.7k
                Topics

                1.3m
                Posts

                3
                6
                318
                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