Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Warnmeldung bei Wallpanel Script

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Warnmeldung bei Wallpanel Script

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

      Re: [Script] Wallpanel MQTT Daten interpretieren

      Hallo zusammen,

      ich kriege ständige folgende Warnmeldungen, wenn das Skript mit einem Amazon Fire HD10 läuft:

      
      javascript.1
      6260	2021-12-16 11:30:51.541	warn	Object of state "0_userdata.0.FireHD.wallpanel.mywallpanel.sensor.light.id" is missing the required property "common.type"
      
      javascript.1
      6260	2021-12-16 11:30:51.540	warn	Object of state "0_userdata.0.FireHD.wallpanel.mywallpanel.sensor.light.unit" is missing the required property "common.type"
      
      javascript.1
      6260	2021-12-16 11:30:51.540	warn	Object of state "0_userdata.0.FireHD.wallpanel.mywallpanel.sensor.light.value" is missing the required property "common.type"
      

      Ich weiß, die sind nicht schlimm, stören mich aber dennoch etwas. Habt Ihr eine Idee, was ich dagegen tun kann?

      Danke

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

        @spooky82 sagte: Habt Ihr eine Idee, was ich dagegen tun kann?

        Den Datenpunkt-Typ ("string" / "number") unter "common" im Tab "Objekte" nachtragen. Beispiel:

          "common": {
            "name": "Taupunkt",
            "desc": "Manuell erzeugt",
            "role": "value.dewpoint",
            "type": "number",
            "read": true,
            "write": true,
            "unit": "°C",
            "def": 0
          },
        
        S 1 Reply Last reply Reply Quote 0
        • S
          spooky82 @paul53 last edited by

          @paul53 jetzt stehe ich etwas auf dem Schlauch: Im Script eintragen oder wo?

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

            @spooky82 sagte: Im Script eintragen oder wo?

            Wie geschrieben: Im Tab "Objekte" in den Objekt-Eigenschaften (Bleistift rechts) von z.B. "0_userdata.0.FireHD.wallpanel.mywallpanel.sensor.light.id".

            S 2 Replies Last reply Reply Quote 0
            • S
              spooky82 @paul53 last edited by spooky82

              @paul53 Danke!

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

                @paul53

                Nun kommen zusätzlich folgende Meldungen:

                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5706:41)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:530:29)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1087:38)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at Object.<anonymous> (script.js.(1)_FireHD_Skripte.HD10_WallPanel:284:75)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at MduiUpdateWallpanelMQTT.onChangeMQTT (script.js.(1)_FireHD_Skripte.HD10_WallPanel:309:20)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at MduiUpdateWallpanelMQTT.setState (script.js.(1)_FireHD_Skripte.HD10_WallPanel:199:10)
                
                javascript.1
                18933	2021-12-20 09:30:12.968	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1439:20)
                
                javascript.1
                18933	2021-12-20 09:30:12.967	warn	You are assigning a boolean to the state "0_userdata.0.FireHD.wallpanel.mywallpanel.state.camera" which expects a string. Please fix your code to use a string or change the state type to boolean. This warning might become an error in future versions.
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at processImmediate (internal/timers.js:464:21)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5706:41)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:530:29)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1087:38)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at Object.<anonymous> (script.js.(1)_FireHD_Skripte.HD10_WallPanel:284:75)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at MduiUpdateWallpanelMQTT.onChangeMQTT (script.js.(1)_FireHD_Skripte.HD10_WallPanel:309:20)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at MduiUpdateWallpanelMQTT.setState (script.js.(1)_FireHD_Skripte.HD10_WallPanel:199:10)
                
                javascript.1
                18933	2021-12-20 09:30:12.966	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1439:20)
                
                javascript.1
                18933	2021-12-20 09:30:12.965	warn	You are assigning a boolean to the state "0_userdata.0.FireHD.wallpanel.mywallpanel.state.screenOn" which expects a string. Please fix your code to use a string or c
                

                Woran könnte das liegen?

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

                  @spooky82 sagte: You are assigning a boolean to the state "0_userdata.0.FireHD.wallpanel.mywallpanel.state.screenOn" which expects a string.

                  Datenpunkt-Typ korrigieren.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  850
                  Online

                  31.8k
                  Users

                  80.0k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  321
                  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