Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Meldungen seit controller v3.3 zu falschem Datentyp

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Meldungen seit controller v3.3 zu falschem Datentyp

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

      @apollon77
      squeezeboxrpc

      squeezeboxrpc.0	2021-08-05 21:47:06.916	info	(19018) State value to set for "squeezeboxrpc.0.Server.LastScan" has to be type "number" but received type "string"
      

      GitHub done

      apollon77 OliverIO 2 Replies Last reply Reply Quote 0
      • apollon77
        apollon77 @metaxa last edited by

        @metaxa Github Issues bitte!!

        metaxa 1 Reply Last reply Reply Quote 0
        • metaxa
          metaxa @apollon77 last edited by

          @apollon77 Hab für enigma2 leider keine Issues Möglichkeit gefunden (??), aber dafür diesen Thread. Ich checke nochmal für sno und squeezeboxrpc

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @metaxa last edited by Thomas Braun

            @metaxa https://github.com/Matten-Matten/ioBroker.enigma2/issues vielleicht?

            Da hat auch schon jemand mit dem gleichen Nickname ein Issue eröffnet:
            https://github.com/Matten-Matten/ioBroker.enigma2/issues/52
            Verrückte Welt!

            metaxa1 created this issue in Matten-Matten/ioBroker.enigma2

            closed JS-Controller wrong type of field #52

            metaxa 2 Replies Last reply Reply Quote 0
            • metaxa
              metaxa @Thomas Braun last edited by

              @thomas-braun
              ManOMann da habe ich einiges durcheinander gebracht ...... michgeniere

              1 Reply Last reply Reply Quote 0
              • metaxa
                metaxa @Thomas Braun last edited by

                @thomas-braun

                bei der Syno scheiterte ich
                Hast du da bitt event. auch einen Link zum Anlegen eines Issues für mich?

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @metaxa last edited by

                  @metaxa Der scheint verstorben zu sein. Also der Adapter, ich hoffe nicht der Maintainer-Mensch.

                  metaxa 1 Reply Last reply Reply Quote 0
                  • metaxa
                    metaxa @Thomas Braun last edited by

                    @thomas-braun sagte in Meldungen seit controller v3.3 zu falschem Datentyp:

                    @metaxa Der scheint verstorben zu sein. Also der Adapter, ich hoffe nicht der Maintainer-Mensch.

                    Das beruhigt mich jetzt ein wenig (weil nix gefunden), ich werde die DP manuell editieren und gut ist es.

                    Danke und LG
                    mxa

                    1 Reply Last reply Reply Quote 0
                    • OliverIO
                      OliverIO @metaxa last edited by

                      @metaxa sagte in Meldungen seit controller v3.3 zu falschem Datentyp:

                      @apollon77
                      squeezeboxrpc

                      squeezeboxrpc.0	2021-08-05 21:47:06.916	info	(19018) State value to set for "squeezeboxrpc.0.Server.LastScan" has to be type "number" but received type "string"
                      

                      GitHub done

                      fixed in squeezeboxrpc v 1.3.6

                      1 Reply Last reply Reply Quote 2
                      • Boronsbruder
                        Boronsbruder last edited by

                        @apollon77
                        Ich hab auch noch einen:

                        kodi.0	2021-08-06 18:44:10.314	info	(32308) State value to set for "kodi.0.seek" has to be type "number" but received type "string" 
                        

                        Finde den Adapter aber nicht mehr bei GitHUB, also kein Issue?

                        Grüße

                        Homoran paul53 apollon77 3 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Boronsbruder last edited by

                          @boronsbruder wo hast du den denn her?
                          in der offiziellen Adapterliste finde ich ihn auch nicht

                          Boronsbruder 1 Reply Last reply Reply Quote 0
                          • Boronsbruder
                            Boronsbruder @Homoran last edited by Boronsbruder

                            @homoran
                            Von npm hab ich das 2.0.7 Update her

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Boronsbruder last edited by

                              @boronsbruder sagte in Meldungen seit controller v3.3 zu falschem Datentyp:

                              @homoran
                              Von npm hab ich das 2.0.7 Update her

                              und bei dem dort genannten Repo
                              github.com/instalator/ioBroker.kodi

                              kommt nur ein 404 - not found 😞
                              Vielleicht gibt es den Adapter nicht mehr

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Homoran last edited by Glasfaser

                                Vielleicht gibt es den Adapter nicht mehr

                                instalator hat auch den Synology Adapter entwickelt , der ist auch Down .

                                https://forum.iobroker.net/topic/33224/iobroker-synology-adapter/269?_=1628268934322

                                sigi234 apollon77 3 Replies Last reply Reply Quote 0
                                • paul53
                                  paul53 @Boronsbruder last edited by

                                  @boronsbruder sagte: Finde den Adapter aber nicht mehr bei GitHUB, also kein Issue?

                                  Der Adapter wird offenbar nicht mehr gepflegt. Dann ändere den Typ des Datenpunktes "kodi.0.seek" manuell in Zeichenkette (string).

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    Es gibt noch eine frühe Version bei Auriodonov
                                    https://github.com/aurodionov/iobroker.kodi

                                    und ein Repo bei den Community Adaptern, aber das ist leer

                                    Boronsbruder 1 Reply Last reply Reply Quote 0
                                    • Boronsbruder
                                      Boronsbruder @Homoran last edited by

                                      @homoran

                                      Was mich wundert, ist, dass er im Code (kodi.js) anscheinend den Wert als Float behandelt...

                                      saveState('main.seek', parseFloat(res[0].percentage).toFixed(4));
                                      
                                      .
                                      .
                                      .
                                      
                                      function saveState(name, val){
                                          const k = name.split('.');
                                          if(k.length === 1){
                                              k.unshift('main');
                                          }
                                          if (!states[k[0]][k[1]]){
                                              adapter.log.error('saveState Object not found - ' + name + ': {val: false, name: "' + name + '", role: "media", type: "string", read: false, write: true}');
                                          } else {
                                              if (val === undefined){
                                                  if (states[k[0]][k[1]].type === 'string'){
                                                      val = '';
                                                  } else if (states[k[0]][k[1]].type === 'number'){
                                                      val = 0;
                                                  } else if (states[k[0]][k[1]].type === 'boolean'){
                                                      val = false;
                                                  }
                                              }
                                              states[k[0]][k[1]].val = val;
                                          }
                                      }
                                      
                                      Homoran paul53 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Boronsbruder last edited by

                                        @boronsbruder sagte in Meldungen seit controller v3.3 zu falschem Datentyp:

                                        dass er im Code (kodi.js) anscheinend den Wert als Float behandelt...

                                        aber er schreibt es als string:

                                        @boronsbruder sagte in Meldungen seit controller v3.3 zu falschem Datentyp:

                                        parseFloat(res[0].percentage).toFixed(4));

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

                                          @boronsbruder sagte: den Wert als Float behandelt...

                                          .toFixed(4)
                                          

                                          macht aus der Zahl einen String mit 4 Nachkommastellen.

                                          Boronsbruder 1 Reply Last reply Reply Quote 1
                                          • Boronsbruder
                                            Boronsbruder @paul53 last edited by

                                            @paul53
                                            Danke!

                                            Hab es bei mir gefixed...

                                            saveState('main.seek', parseFloat(parseFloat(res[0].percentage).toFixed(4)));
                                            

                                            Kodi.js (Zeile 494)

                                            Bitte nicht schlagen 🙄

                                            Homoran paul53 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            873
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            35
                                            175
                                            17572
                                            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