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.
    • Feuersturm
      Feuersturm @apollon77 last edited by

      @apollon77 3.3.7 hat bei mir keine Probleme beim Update und beim Start gemacht.

      1 Reply Last reply Reply Quote 1
      • F
        foxthefox Developer last edited by

        Ich habe im fritzdect Adapter zum Anlegen von Datenpunkten die folgende Definition verwendet:

        		type: 'state',
        		common: {
        			name: name,
        			type: 'number',
        			read: true,
        			write: false,
        			role: 'date',
        			desc: name
        		},
        

        scheint aber irgenwie doch kein number zu sein, weil der neue Controller folgendes meldet.

        2021-05-01 13:01:41.805 - warn: fritzdect.0 (13627) State value to set for "fritzdect.0.DECT_099950226513.windowopenactiveendtime" has wrong type "object" but has to be "number"

        was kann ich da im Adapter anpassen, das der Datenpunkt number für Zeitstempel eine Nummer ist?

        Gruß
        Klaus

        apollon77 1 Reply Last reply Reply Quote 0
        • D
          deta Most Active @apollon77 last edited by

          @apollon77 Moin,
          Hab auch gerade auf die aktuelle gesetzt.
          Was mir aufgefallen ist.
          Das wenn das System komplett neu gestartet wird, also kompletten Rechner. Linux. Kein Dokker

          1. Geht die Weboberfläche nicht. Obwohl iobroker status running ist. Erst nach Manuellen iobroker stop, iobroker start startet auch die Weboberfläche.

          2. iobroker update ok, iobroker upgrade, ja geht, aber es wird das Paket min. 2 mal installiert welches als Update ansteht. Obwohl installation auch beim ersten mal ohne Fehler war. Erst wenn 2 mal installiert ist, dann beendet er auch die upgrade Routine.

          3. Wenn wir gerade dabei sind upgrade, kann man das Y default bitte setzen, ohne das man es jedes mal eingeben muss und Enter drücken muss.

          cu Deta

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

            @apollon77 hatte ich auch noch nicht...

            woody@ioBroker:~$ iobroker upgrade self
            Update js-controller from @3.3.5 to @3.3.7
            NPM version: 6.14.12
            npm install iobroker.js-controller@3.3.7 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
            Trying to install "esbuild-linux-64" using npm
            Failed to install "esbuild-linux-64" using npm: Command failed: npm install --loglevel=error --prefer-offline --no-audit --progress=false esbuild-linux-64@0.11.18
            npm ERR! code ETARGET
            npm ERR! notarget No matching version found for esbuild-linux-64@0.11.18.
            npm ERR! notarget In most cases you or one of your dependencies are requesting
            npm ERR! notarget a package version that doesn't exist.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2021-05-03T06_24_24_305Z-debug.log
            
            Trying to download "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.11.18.tgz"
            Install successful
            woody@ioBroker:~$ iobroker start
            woody@ioBroker:~$ iobroker status
            iobroker is running on this host.
            
            
            Objects type: file
            States  type: file
            
            

            läuft aber...

            K JB_Sullivan 2 Replies Last reply Reply Quote 0
            • K
              Kueppert @da_Woody last edited by

              @da_woody ich komme gerade von 3.3.2 auf 3.3.7 und hatte keinerlei Probleme. Hilft dir nicht weiter, aber liegt ggf an der Version, von der das Update gemacht wird. Ist ne Info, die ggf den Entwicklern weiterhilft, daher erwähne ich es hier.

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

                @kueppert
                Hängt wohl eher an der CPU.
                Denn

                pi@chet:/opt/iobroker $ npm list esbuild-linux-64
                iobroker.inst@3.0.0 /opt/iobroker
                └── (empty)
                
                1 Reply Last reply Reply Quote 0
                • JB_Sullivan
                  JB_Sullivan @da_Woody last edited by

                  @da_woody

                  och - und ich dachte es wäre Windows spezifisch - https://github.com/ioBroker/ioBroker.js-controller/issues/1321#issuecomment-830870803

                  @deta Das Phänomen mit 2x installieren hatte ich auch - siehe issue.

                  JBSullivan created this issue in ioBroker/ioBroker.js-controller

                  closed js-controller läßt sich nicht mehr stoppen (Windows) #1321

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

                    @jb_sullivan habs ein 2.x versucht

                    woody@ioBroker:~$ iobroker upgrade self
                    Host    "ioBroker"       is up to date.
                    woody@ioBroker:~$
                    
                    

                    scheint ok zu sein...

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

                      @foxthefox DIe Frage ist ja was Du wie reinschreibst. Wenn Du direkt ein Date object reinschreibst ist das falsch. mit "myDate.getTime()" solltest du es korrekt schreiben. oder getString()

                      Definition für role date is:

                      date (common.type = string - parsable by "new Date(ddd)" string
                      date (common.type = number - epoch seconds * 1000
                      
                      F 1 Reply Last reply Reply Quote 0
                      • foxriver76
                        foxriver76 Developer @deta last edited by

                        @deta sagte in js-controller 3.3 jetzt im Latest:

                        Wenn wir gerade dabei sind upgrade, kann man das Y default bitte setzen, ohne das man es jedes mal eingeben muss und Enter drücken muss.

                        Halte ich nicht für sinnvoll, wenn man sicher ist was man tut (bzw. sowieso einfach nur Enter hämmert), kann man iob upgrade -y nutzen.

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

                          apropos default-Einstellungen:
                          früher hatte ich einmalig beim Update-log Fenster die Checkbox Schließen wenn fertig angehakt.
                          Das blieb dann bei jedem weiteren Update so.

                          bei Admin 5 muss ich das jetzt jedesmal wieder aktivieren.
                          Ist das gewollt?

                          foxriver76 apollon77 2 Replies Last reply Reply Quote 1
                          • foxriver76
                            foxriver76 Developer @Homoran last edited by

                            @homoran glaube Admin 5 passt hier net ganz. Weiß wohl auch nur BF.

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

                              @foxriver76

                              Wo wir gerade bei update im Terminal sind...

                              Könnte man die Ausgabe der ganzen Liste an Adaptern bei einem

                              iobroker update
                              

                              nicht auf die installierten oder updatebaren Adapter kürzen? Was interessiert mich die Version eines Adapters den ich eh nicht nutze?
                              Im Moment pipe ich das ganze nämlich noch durch ein grep durch.
                              Vielleicht mit einer Option --long für die volle Liste.

                              Feature-Request am besten wo? js-controller? Admin?

                              apollon77 foxriver76 2 Replies Last reply Reply Quote 2
                              • apollon77
                                apollon77 @Homoran last edited by

                                @homoran Issue anlegen

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

                                  @thomas-braun Feature Request js-controller bitte

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

                                    @thomas-braun Bei Upgrade wo man keinen Einfluss hat, wird die unnötig lange Liste ja seit dem aktuellen Controller nicht mehr angezeigt.

                                    Bei update hast du einen Einfluss:

                                    iob update -i

                                    iob update --help
                                    iobroker update [<repositoryUrl>]
                                    
                                    Update repository and list adapters
                                    
                                    Options:
                                          --help        Show help  [boolean]
                                      -v, --version     Show version  [boolean]
                                      -u, --updateable  Only show updateable adapters  [boolean]
                                      -i, --installed   Only show installed adapters  [boolean]
                                      -f, --force       Bypass hash check  [boolean]
                                    

                                    Also wäre wenn dann die Diskussion, -i default zu machen und dafür ein -a Flag. CLI ist immer Controller aktuell.

                                    Thomas Braun apollon77 2 Replies Last reply Reply Quote 1
                                    • Thomas Braun
                                      Thomas Braun Most Active @foxriver76 last edited by

                                      @foxriver76

                                      Ahhhhhhh!!!!
                                      Und ich pipe und greppe da immer wild durch die Gegend rum...

                                      Hatte ich echt nicht auf'm Schirm, die Option -i
                                      Danke fürs drauf stupsen.

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

                                        @foxriver76 sagte in js-controller 3.3 jetzt im Latest:

                                        Also wäre wenn dann die Diskussion, -i default zu machen und dafür ein -a Flag. CLI ist immer Controller aktuell.

                                        Wär ich fast für 🙂

                                        foxriver76 1 Reply Last reply Reply Quote 1
                                        • Homoran
                                          Homoran Global Moderator Administrators @apollon77 last edited by

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

                                          @homoran Issue anlegen

                                          Done!
                                          https://github.com/ioBroker/ioBroker.admin/issues/815

                                          Homoran created this issue in ioBroker/ioBroker.admin

                                          closed checkbox 'close when finished' nor permanently checked #815

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

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

                                            @foxriver76 sagte in js-controller 3.3 jetzt im Latest:

                                            Also wäre wenn dann die Diskussion, -i default zu machen und dafür ein -a Flag. CLI ist immer Controller aktuell.

                                            Wär ich fast für 🙂

                                            Hätte ich im Angebot:
                                            https://github.com/ioBroker/ioBroker.js-controller/pull/1330

                                            foxriver76 created this issue in ioBroker/ioBroker.js-controller

                                            closed default behaviour of cli update command -> only list installed #1330

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

                                            Support us

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

                                            815
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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