Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.3 jetzt im Beta

    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

    js-controller 3.3 jetzt im Beta

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

      @jb_sullivan Ja ich glaube Dir das das blöd ist, habe aber jetzt keine gescheite "schnelle" Lösung. kannst ggf eins versuchen:

      • Objekte per Admin exportieren - da sollte das mit drin sein
      • dann löschen, neu generieren lasssen
      • Das neu exportieren
      • Dann beide Files vergleichen und (ja blöd manuell) zusammenführen und wieder importieren.

      Das wir mal so in großem Stil Objekte aufräumen müssen weil es nicht sauber angewendet wurde war eine neue Erkenntnis.

      Aber vllt mach mal ein Admin Issue für einen "Custom Data export/imprt ... könnte mir sowas gut vorstellen

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

        @luie rpi2 ... neueste version von "vorhin"? Ansonsten hol mal von GitHub.

        Info checke ich

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

          @apollon77

          Roomba funktioniert noch nicht - Innogy schon.

          roomba.0	2021-07-16 17:17:09.743	info	(15004) State value to set for "roomba.0.statistics.missions.failed" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.743	info	(15004) State value to set for "roomba.0.statistics.missions.succeed" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.742	info	(15004) State value to set for "roomba.0.statistics.missions.total" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.742	info	(15004) State value to set for "roomba.0.statistics.time.nDocks" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.742	info	(15004) State value to set for "roomba.0.statistics.time.nNimhChrg" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.741	info	(15004) State value to set for "roomba.0.statistics.time.nLithChrg" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.741	info	(15004) State value to set for "roomba.0.statistics.time.estCap" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.740	info	(15004) State value to set for "roomba.0.statistics.time.nAvail" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.740	info	(15004) State value to set for "roomba.0.statistics.time.avgMin" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.739	info	(15004) State value to set for "roomba.0.states.battery" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.737	info	(15004) State value to set for "roomba.0.device.versions.hardwareRev" has to be type "string" but received type "number"
          roomba.0	2021-07-16 17:17:09.736	info	(15004) State value to set for "roomba.0.device.network.dhcp" has to be type "string" but received type "boolean"
          roomba.0	2021-07-16 17:17:09.735	info	(15004) State value to set for "roomba.0.commands.last.timestamp" has to be type "string" but received type "number"
          
          apollon77 2 Replies Last reply Reply Quote 0
          • Diginix
            Diginix @apollon77 last edited by

            @apollon77 sagte in js-controller 3.3 jetzt im Beta:

            @diginix sagte in js-controller 3.3 jetzt im Beta:

            Und beim statistics kommt alles als boolean obwohl es number sein müsste.

            ok, da bitte log posten ... so nen fehler hab ich egrade nicht auf dem radar dort. ggf mal Objekte löschen !!

            Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.
            Ein Adapter sollte in der Lage sein den Datentyp usw. seiner Objekte on-the-fly glatt zu ziehen.
            Ich schau mir das mal bei Gelegenheit an ob der Typ vom Objekt oder im Adapter Code falsch ist.

            JB_Sullivan apollon77 2 Replies Last reply Reply Quote 0
            • L
              luie @apollon77 last edited by luie

              @apollon77

              ja, die neuste Version und nochmal von GitHub geholt und getestet.

              021-07-16 17:25:23.374 - info: rpi2.0 (4929) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v14.17.2, js-controller: 3.3.14
              2021-07-16 17:25:24.159 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load1" has to be type "number" but received type "string"
              2021-07-16 17:25:24.163 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load5" has to be type "number" but received type "string"
              2021-07-16 17:25:24.165 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load15" has to be type "number" but received type "string"
              2021-07-16 17:25:24.189 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.cpu_voltage" has no existing object, this might lead to an error in future versions
              2021-07-16 17:25:24.191 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.mem_arm" has no existing object, this might lead to an error in future versions
              2021-07-16 17:25:24.192 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.mem_gpu" has no existing object, this might lead to an error in future versions
              2021-07-16 17:25:30.180 - info: info.0 (2978) State value to set for "info.0.sysinfo.cpu.currentspeed.coresSpeed" has to be stringified but received type "object"
              2021-07-16 17:25:32.128 - info: info.0 (2978) State value to set for "info.0.sysinfo.cpu.temperature.cores" has to be stringified but received type "object"
              2021-07-16 17:26:23.753 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load1" has to be type "number" but received type "string"
              2021-07-16 17:26:23.755 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load5" has to be type "number" but received type "string"
              2021-07-16 17:26:23.756 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load15" has to be type "number" but received type "string"
              
              apollon77 1 Reply Last reply Reply Quote 0
              • JB_Sullivan
                JB_Sullivan @Diginix last edited by

                @diginix sagte in js-controller 3.3 jetzt im Beta:

                Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.

                Ich habe das gleiche Problem (siehe oben) Das ist aber grundsätzlich nicht sooo schlimm. OK, dir fehlen ein paar Minuten wenn du die Objekte neu generieren lässt. In InfluxDB oder so, wird aber danach der gleiche DP Name wieder angelegt, sobald du den Harken gesetzt hast.

                In einem Grafana Grafik Trend hast du dann kurz eine "Flat Line" drin. Das sollte nicht soo schlimm sein. Wir dokumentieren hier ja keine Temperaturen von Impfstoff Kühlschränken 😉

                Grundsätzlich stimme ich dir zu. Gerade wenn man sehr viele Datenbank Einträge aus den Objekten generiert, vergisst man nach einer Adapter Neu Anlage schonmal den einen oder anderen Harken zu setzen.

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

                  @jb_sullivan Kommt davon wenn die GitHub issues unvollstndig sind .... grmpf ... ja heute abend mach ich noch ne Runde. Melde mich

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

                    @luie Für rpi bitte ein Issue im Github mit Debug log. Info Adapter bitte GitHub testen

                    L 2 Replies Last reply Reply Quote 0
                    • apollon77
                      apollon77 @JB_Sullivan last edited by

                      @jb_sullivan Mach mir bitte mitt dem Log ein GitHub Issue für später damits nicht runterfällt

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

                        @diginix sagte in js-controller 3.3 jetzt im Beta:

                        Ein Adapter sollte in der Lage sein den Datentyp usw. seiner Objekte on-the-fly glatt zu ziehen.

                        Ja das könnte er, aber die meisten sind dafür nicht vorbereitet und wenn Sie das tun würden gäbe es ggf andere probleme wie "Hohe I/O weil ständig Objekte neu geschrieben werden". Haben wir auf dem Zettel da was zu überlegen

                        1 Reply Last reply Reply Quote 1
                        • apollon77
                          apollon77 @JB_Sullivan last edited by

                          @jb_sullivan Na macht doch mal einen Admin Feature Request für "custom import/export" ... das wäre doch Eure Lösung

                          1 Reply Last reply Reply Quote 0
                          • Dr. Bakterius
                            Dr. Bakterius Most Active @apollon77 last edited by

                            @apollon77 sagte in js-controller 3.3 jetzt im Beta:

                            Was sonst noch offen?

                            Nuki-Extended (https://github.com/Zefau/ioBroker.nuki-extended/issues/145) unverändert bisher (v2.3.0).

                            arteck created this issue in Zefau/ioBroker.nuki-extended

                            closed admin 5.x #145

                            apollon77 Dr. Bakterius 2 Replies Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Dr. Bakterius last edited by

                              @dr-bakterius Bei dem habe ich keinen echten Zugriff, daher schwierig. habe gefragt was ist ...

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

                                Also:

                                • Roomba: Bitte nochmal GitHub version checken, sollte alles weg sein
                                • Info Adapter: Siehe Issue ... ich behaupte Ihr nutzt nicht den Code von GitHub 🙂
                                JB_Sullivan 1 Reply Last reply Reply Quote 0
                                • L
                                  luie @apollon77 last edited by luie

                                  @apollon77

                                  Ich hoffe das ist so richtig.

                                  https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/72#issuecomment-881637186

                                  SurfGargano created this issue in iobroker-community-adapters/ioBroker.rpi2

                                  closed with js-controller 3.3.2 there are warnings wrong type for objects #72

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

                                    @apollon77 NOPE

                                    Roomba läuft immer noch nicht

                                    roomba.0	2021-07-16 20:40:13.405	info	(15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number"
                                    roomba.0	2021-07-16 20:40:12.603	info	(15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number"
                                    roomba.0	2021-07-16 20:40:11.028	info	(15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number"
                                    roomba.0	2021-07-16 20:40:11.025	info	(15356) State value to set for "roomba.0.missions.current.started" has to be type "string" but received type "number"
                                    roomba.0	2021-07-16 20:40:11.024	info	(15356) State value to set for "roomba.0.missions.current.id" has to be type "string" but received type "number"
                                    roomba.0	2021-07-16 20:40:10.994	info	(15356) Roomba has started a new mission (#434).
                                    roomba.0	2021-07-16 20:40:09.775	info	(15356) Triggered action -start- on Roomba.
                                    web.0	2021-07-16 20:39:36.732	info	(14512) ==>Connected system.user.admin from
                                    
                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • L
                                      luie @apollon77 last edited by

                                      @apollon77

                                      Und mit dem Info-Adapter sieht das jetzt so aus. Der Fehler liegt wohl an meinem System?

                                      2021-07-16 20:35:00.822 - info: host.raspi "system.adapter.info.0" enabled
                                      2021-07-16 20:35:01.356 - info: host.raspi instance system.adapter.info.0 started with pid 6020
                                      2021-07-16 20:35:04.549 - info: info.0 (6020) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                      2021-07-16 20:35:04.567 - info: info.0 (6020) starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.info, node: v14.17.2, js-controller: 3.3.14
                                      2021-07-16 20:35:04.636 - info: info.0 (6020) Reading/updating systemdata.
                                      2021-07-16 20:35:06.007 - error: info.0 (6020) uncaught exception: EACCES: permission denied, scandir '/var/lib/bluetooth/'
                                      2021-07-16 20:35:06.013 - error: info.0 (6020) Error: EACCES: permission denied, scandir '/var/lib/bluetooth/'
                                      at readdirSync (fs.js:1043:3)
                                      at getDirectories (/opt/iobroker/node_modules/systeminformation/lib/util.js:680:12)
                                      at getFilesRecursively (/opt/iobroker/node_modules/systeminformation/lib/util.js:687:16)
                                      at Object.getFilesInPath (/opt/iobroker/node_modules/systeminformation/lib/util.js:695:12)
                                      at /opt/iobroker/node_modules/systeminformation/lib/bluetooth.js:98:30
                                      at processTicksAndRejections (internal/process/task_queues.js:77:11)
                                      2021-07-16 20:35:06.015 - error: info.0 (6020) Exception-Code: EACCES: EACCES: permission denied, scandir '/var/lib/bluetooth/'
                                      2021-07-16 20:35:07.224 - info: info.0 (6020) cleaned everything up...
                                      2021-07-16 20:35:07.226 - info: info.0 (6020) terminating
                                      2021-07-16 20:35:07.230 - warn: info.0 (6020) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      2021-07-16 20:35:07.378 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-0" has to be stringified but received type "object"
                                      2021-07-16 20:35:07.379 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-1" has to be stringified but received type "object"
                                      2021-07-16 20:35:07.381 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-2" has to be stringified but received type "object"
                                      2021-07-16 20:35:07.385 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-3" has to be stringified but received type "object"
                                      2021-07-16 20:35:08.094 - warn: info.0 (6020) get state error: Connection is closed.
                                      2021-07-16 20:35:08.095 - warn: info.0 (6020) get state error: DB closed
                                      ...
                                      2021-07-16 20:35:08.148 - warn: info.0 (6020) get state error: DB closed
                                      2021-07-16 20:35:08.150 - warn: info.0 (6020) get state error: DB closed
                                      2021-07-16 20:35:08.164 - warn: info.0 (6020) get state error: Connection is closed.
                                      2021-07-16 20:35:08.257 - warn: info.0 (6020) Could not perform strict object check of state info.0.newsfeed_filtered: Connection is closed.
                                      2021-07-16 20:35:08.259 - warn: info.0 (6020) get state error: Connection is closed.
                                      2021-07-16 20:35:08.357 - error: host.raspi instance system.adapter.info.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      2021-07-16 20:35:08.359 - info: host.raspi Restart adapter system.adapter.info.0 because enabled
                                      
                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • JB_Sullivan
                                        JB_Sullivan last edited by

                                        Habe noch einen Adapter gefunden. Auch nur Entwickler oder ggf. ebenfalls Community?

                                        spotify-premium.0	2021-07-16 21:03:46.219	info	(10336) State value to set for "spotify-premium.0.authorization.token" has to be stringified but received type "object"
                                        
                                        apollon77 2 Replies Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @luie last edited by

                                          @luie Perfekt, da war noch ne zweite Code-Stelle ... Bitte GitHub Version testen

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

                                            @jb_sullivan Na du kommst ja auch immer mit neuen IDs die vorher nie in den Logs waren. Ich muss JEDE ID einzeln definieren!!
                                            Geändert auf GitHub ... dann die nächsten Bitte? 😉

                                            JB_Sullivan 1 Reply 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

                                            574
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            75
                                            791
                                            180798
                                            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