Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter mihome-vacuum v2.0.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.6k

Test Adapter mihome-vacuum v2.0.x

Geplant Angeheftet Gesperrt Verschoben Tester
xiaomiroborockmihome-vacuummap
1.5k Beiträge 144 Kommentatoren 497.8k Aufrufe 118 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • B blackeagle998

    Guten Morgen,

    Testfahrt läuft bisher sehr gut, einen kleinen Fehler habe ich:

    2020-02-20 08:06:38.685 - warn: javascript.0 (6095) You are assigning a boolean to the state "mihome-vacuum.0.control.carpet_mode" which expects a switch. Please fix your code to use a switch or change the state type to boolean. This warning might become an error in future versions.
    

    Gesetzt wird der Wert per Befehl:
    setState('mihome-vacuum.0.control.carpet_mode', true);

    DiginixD Offline
    DiginixD Offline
    Diginix
    schrieb am zuletzt editiert von
    #268

    @blackeagle998 sagte in Test Adapter mihome-vacuum v2.0.x:

    Guten Morgen,

    Testfahrt läuft bisher sehr gut, einen kleinen Fehler habe ich:

    2020-02-20 08:06:38.685 - warn: javascript.0 (6095) You are assigning a boolean to the state "mihome-vacuum.0.control.carpet_mode" which expects a switch. Please fix your code to use a switch or change the state type to boolean. This warning might become an error in future versions.
    

    Gesetzt wird der Wert per Befehl:
    setState('mihome-vacuum.0.control.carpet_mode', true);

    @Meistertr & @dirkhe
    Das ist ein Fehler im Datenpunkt "carpet_mode". Dieser ist vom type=switch. Switch ist aber eine Rolle und der type muss boolean sein.
    Also so gehört es in der main.js ab Zeile 279:

    "type": "boolean",
    "role": "switch"
    

    ..:: So long! Tom ::..

    NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

    1 Antwort Letzte Antwort
    0
    • D Offline
      D Offline
      dirkhe
      Developer
      schrieb am zuletzt editiert von
      #269

      is gefixt und im git

      Patchwork 3001P DiginixD 2 Antworten Letzte Antwort
      0
      • D Offline
        D Offline
        dirkhe
        Developer
        schrieb am zuletzt editiert von dirkhe
        #270

        @Meistertr Beim JSON.parse wird ein Fehler geworfen, wenn der String leer ist. Das bekommt man bespielsweise bei miIo_info zurück, wenn der robo nicht mit dem inet verbunden ist. Ich habe daher das mal wieder zurückgebaut und habe den loglevel da auf silly gesetzt

        MeistertrM 1 Antwort Letzte Antwort
        0
        • D dirkhe

          is gefixt und im git

          Patchwork 3001P Offline
          Patchwork 3001P Offline
          Patchwork 3001
          schrieb am zuletzt editiert von
          #271

          @dirkhe danke alles top

          1 Antwort Letzte Antwort
          0
          • D dirkhe

            @Meistertr Beim JSON.parse wird ein Fehler geworfen, wenn der String leer ist. Das bekommt man bespielsweise bei miIo_info zurück, wenn der robo nicht mit dem inet verbunden ist. Ich habe daher das mal wieder zurückgebaut und habe den loglevel da auf silly gesetzt

            MeistertrM Offline
            MeistertrM Offline
            Meistertr
            Developer
            schrieb am zuletzt editiert von
            #272

            @dirkhe top. War auch nur zum testen gedacht.

            Patchwork 3001P 1 Antwort Letzte Antwort
            0
            • MeistertrM Meistertr

              @dirkhe top. War auch nur zum testen gedacht.

              Patchwork 3001P Offline
              Patchwork 3001P Offline
              Patchwork 3001
              schrieb am zuletzt editiert von Patchwork 3001
              #273

              @Meistertr so habe getestet. Alles läuft mit dem s5.
              Nur eins verstehe ich nicht alles ist da sogar die räume mit Nummern und alles geht .
              aber im log steht

              " mihome-vacuum.0 2020-02-20 10:02:31.053 error (9276) TypeError: Cannot read property '0' of undefined "

              aber alles läuft so wie gedacht.???

              D 1 Antwort Letzte Antwort
              0
              • Patchwork 3001P Patchwork 3001

                @Meistertr so habe getestet. Alles läuft mit dem s5.
                Nur eins verstehe ich nicht alles ist da sogar die räume mit Nummern und alles geht .
                aber im log steht

                " mihome-vacuum.0 2020-02-20 10:02:31.053 error (9276) TypeError: Cannot read property '0' of undefined "

                aber alles läuft so wie gedacht.???

                D Offline
                D Offline
                dirkhe
                Developer
                schrieb am zuletzt editiert von
                #274

                @Patchwork-3001 sagte in Test Adapter mihome-vacuum v2.0.x:

                property

                kannst du bitte mal das debug schicken?

                Patchwork 3001P B 2 Antworten Letzte Antwort
                0
                • D dirkhe

                  @Patchwork-3001 sagte in Test Adapter mihome-vacuum v2.0.x:

                  property

                  kannst du bitte mal das debug schicken?

                  Patchwork 3001P Offline
                  Patchwork 3001P Offline
                  Patchwork 3001
                  schrieb am zuletzt editiert von
                  #275

                  @dirkhe gerne wenn du mir sagst wie das geht

                  1 Antwort Letzte Antwort
                  0
                  • D dirkhe

                    is gefixt und im git

                    DiginixD Offline
                    DiginixD Offline
                    Diginix
                    schrieb am zuletzt editiert von
                    #276

                    @dirkhe sagte in Test Adapter mihome-vacuum v2.0.x:

                    is gefixt und im git

                    Das ist aber auch nicht korrekt. Button braucht read=false ;-)
                    Meiner hat diese Funktion nicht, aber Switch ist sicher eindeutiger zu erkennen vom Zustand.

                    adapter.setObjectNotExists('control.carpet_mode', {
                        type: 'state',
                        common: {
                            name: 'Carpet mode',
                            type: 'boolean',
                            role: 'button',
                            read: true,
                            write: true,
                            desc: 'Fanspeed is Max on carpets',
                        },
                        native: {}
                    });
                    

                    ..:: So long! Tom ::..

                    NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                    1 Antwort Letzte Antwort
                    0
                    • D dirkhe

                      @Patchwork-3001 sagte in Test Adapter mihome-vacuum v2.0.x:

                      property

                      kannst du bitte mal das debug schicken?

                      B Offline
                      B Offline
                      blackeagle998
                      schrieb am zuletzt editiert von
                      #277

                      @dirkhe sagte in Test Adapter mihome-vacuum v2.0.x:

                      @Patchwork-3001 sagte in Test Adapter mihome-vacuum v2.0.x:

                      property

                      kannst du bitte mal das debug schicken?

                      Habe das gleiche Thema, hier der DEBUG Auszug:

                      mihome-vacuum.0	2020-02-20 11:54:12.943	error	(17390) TypeError: Cannot read property '0' of undefined
                      mihome-vacuum.0	2020-02-20 11:54:12.430	debug	(17390) update_Map use old mapurl
                      mihome-vacuum.0	2020-02-20 11:54:12.430	debug	(17390) update_Map Mimap enabled
                      mihome-vacuum.0	2020-02-20 11:54:10.428	error	(17390) TypeError: Cannot read property '0' of undefined
                      mihome-vacuum.0	2020-02-20 11:54:09.973	debug	(17390) update_Map got new time:1582196049
                      mihome-vacuum.0	2020-02-20 11:54:09.973	debug	(17390) update_Map got new expires:1582197849
                      mihome-vacuum.0	2020-02-20 11:54:09.972	debug	(17390) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/robomap/74488275/7?Expires=xxxxxxxxx&GalaxyAccessKeyId=xxxxxxxxx&Signature=xxxxxxxxxx=
                      mihome-vacuum.0	2020-02-20 11:54:09.906	debug	(17390) update_Map need new mapurl
                      mihome-vacuum.0	2020-02-20 11:54:09.905	debug	(17390) update_Map Mimap enabled
                      mihome-vacuum.0	2020-02-20 11:54:07.903	error	(17390) TypeError: Cannot read property '0' of undefined
                      mihome-vacuum.0	2020-02-20 11:54:07.388	debug	(17390) update_Map got new time:1582196047
                      mihome-vacuum.0	2020-02-20 11:54:07.388	debug	(17390) update_Map got new expires:1582197847
                      
                      MeistertrM 1 Antwort Letzte Antwort
                      0
                      • D Offline
                        D Offline
                        dirkhe
                        Developer
                        schrieb am zuletzt editiert von
                        #278

                        Ich habe den Fehler jetzt abgefangen, aber warum es keine Kartendaten gibt, sollte sich @Meistertr anschauen, der ist da tiefer drin

                        Den button habe ich jetzt auch auf read gesetzt. Ich habe button genommen, weil alle button sind und nicht switch, wollte das einheitlich lassen

                        Patchwork 3001P 1 Antwort Letzte Antwort
                        1
                        • D dirkhe

                          Ich habe den Fehler jetzt abgefangen, aber warum es keine Kartendaten gibt, sollte sich @Meistertr anschauen, der ist da tiefer drin

                          Den button habe ich jetzt auch auf read gesetzt. Ich habe button genommen, weil alle button sind und nicht switch, wollte das einheitlich lassen

                          Patchwork 3001P Offline
                          Patchwork 3001P Offline
                          Patchwork 3001
                          schrieb am zuletzt editiert von
                          #279

                          @dirkhe karte und alles sind ja da und laufen perfekt . aber das trotzdem der Fehler im log steht ist halt komisch

                          1 Antwort Letzte Antwort
                          0
                          • S Offline
                            S Offline
                            smarti2015
                            schrieb am zuletzt editiert von
                            #280

                            Hi, wollte update Installieren von 1.1.5 auf Version 2.x aber es kommt immer eine Fehlermeldung:

                            host.All-In-One-Tinker	2020-02-20 12:50:29.060	info	iobroker exit 25
                            host.All-In-One-Tinker	2020-02-20 12:50:28.043	error	iobroker host.All-In-One-Tinker Cannot install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master: 1
                            host.All-In-One-Tinker	2020-02-20 12:50:28.006	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-02-20T11_50_27_975Z-debug.log
                            host.All-In-One-Tinker	2020-02-20 12:50:27.955	info	iobroker This is probably not a problem with npm. There is likely additional logging output above.
                            host.All-In-One-Tinker	2020-02-20 12:50:27.954	info	iobroker npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR!
                            host.All-In-One-Tinker	2020-02-20 12:50:27.953	info	iobroker errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                            host.All-In-One-Tinker	2020-02-20 12:50:27.951	info	iobroker code ELIFECYCLEnpm ERR!
                            host.All-In-One-Tinker	2020-02-20 12:50:27.950	info	iobroker ERR!
                            host.All-In-One-Tinker	2020-02-20 12:50:27.949	info	iobroker npm
                            host.All-In-One-Tinker	2020-02-20 12:50:25.594	info	iobroker /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.18.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
                            host.All-In-One-Tinker	2020-02-20 12:50:25.593	info	iobroker ERR! System Linux 4.19.69-rockchipnode-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ER
                            host.All-In-One-Tinker	2020-02-20 12:50:25.591	info	iobroker node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modu
                            host.All-In-One-Tinker	2020-02-20 12:50:25.587	info	iobroker node-pre-gyp ERR! build error
                            host.All-In-One-Tinker	2020-02-20 12:50:25.571	info	iobroker /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.18.1gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok
                            host.All-In-One-Tinker	2020-02-20 12:50:25.569	info	iobroker ERR! System Linux 4.19.69-rockchipgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroke
                            host.All-In-One-Tinker	2020-02-20 12:50:25.568	info	iobroker stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Pr
                            host.All-In-One-Tinker	2020-02-20 12:50:25.567	info	iobroker gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR!
                            host.All-In-One-Tinker	2020-02-20 12:50:25.565	info	iobroker ERR! configure error
                            host.All-In-One-Tinker	2020-02-20 12:50:25.564	info	iobroker gyp
                            host.All-In-One-Tinker	2020-02-20 12:50:25.529	info	iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                            host.All-In-One-Tinker	2020-02-20 12:50:25.528	info	iobroker Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' fou
                            host.All-In-One-Tinker	2020-02-20 12:50:22.082	info	iobroker node-aead-crypto not needed on this system, since all ciphers are natively supported
                            

                            Bild Text

                            GEEKOM AS 6

                            Patchwork 3001P D 2 Antworten Letzte Antwort
                            0
                            • S smarti2015

                              Hi, wollte update Installieren von 1.1.5 auf Version 2.x aber es kommt immer eine Fehlermeldung:

                              host.All-In-One-Tinker	2020-02-20 12:50:29.060	info	iobroker exit 25
                              host.All-In-One-Tinker	2020-02-20 12:50:28.043	error	iobroker host.All-In-One-Tinker Cannot install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master: 1
                              host.All-In-One-Tinker	2020-02-20 12:50:28.006	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-02-20T11_50_27_975Z-debug.log
                              host.All-In-One-Tinker	2020-02-20 12:50:27.955	info	iobroker This is probably not a problem with npm. There is likely additional logging output above.
                              host.All-In-One-Tinker	2020-02-20 12:50:27.954	info	iobroker npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR!
                              host.All-In-One-Tinker	2020-02-20 12:50:27.953	info	iobroker errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                              host.All-In-One-Tinker	2020-02-20 12:50:27.951	info	iobroker code ELIFECYCLEnpm ERR!
                              host.All-In-One-Tinker	2020-02-20 12:50:27.950	info	iobroker ERR!
                              host.All-In-One-Tinker	2020-02-20 12:50:27.949	info	iobroker npm
                              host.All-In-One-Tinker	2020-02-20 12:50:25.594	info	iobroker /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.18.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
                              host.All-In-One-Tinker	2020-02-20 12:50:25.593	info	iobroker ERR! System Linux 4.19.69-rockchipnode-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ER
                              host.All-In-One-Tinker	2020-02-20 12:50:25.591	info	iobroker node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modu
                              host.All-In-One-Tinker	2020-02-20 12:50:25.587	info	iobroker node-pre-gyp ERR! build error
                              host.All-In-One-Tinker	2020-02-20 12:50:25.571	info	iobroker /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.18.1gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok
                              host.All-In-One-Tinker	2020-02-20 12:50:25.569	info	iobroker ERR! System Linux 4.19.69-rockchipgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroke
                              host.All-In-One-Tinker	2020-02-20 12:50:25.568	info	iobroker stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Pr
                              host.All-In-One-Tinker	2020-02-20 12:50:25.567	info	iobroker gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR!
                              host.All-In-One-Tinker	2020-02-20 12:50:25.565	info	iobroker ERR! configure error
                              host.All-In-One-Tinker	2020-02-20 12:50:25.564	info	iobroker gyp
                              host.All-In-One-Tinker	2020-02-20 12:50:25.529	info	iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                              host.All-In-One-Tinker	2020-02-20 12:50:25.528	info	iobroker Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' fou
                              host.All-In-One-Tinker	2020-02-20 12:50:22.082	info	iobroker node-aead-crypto not needed on this system, since all ciphers are natively supported
                              

                              Bild Text

                              Patchwork 3001P Offline
                              Patchwork 3001P Offline
                              Patchwork 3001
                              schrieb am zuletzt editiert von Patchwork 3001
                              #281

                              @smarti2015 Wenn der Adapter nicht installiert werden kann, kann Canvas nicht installiert werden

                              npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1

                              Dann müssen folgende Packete und Bibliotheken selber installiert werden:

                              " sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev "

                              " sudo npm install canvas --unsafe-perm=true "

                              über putty ohne "

                              K S 2 Antworten Letzte Antwort
                              0
                              • B blackeagle998

                                @dirkhe sagte in Test Adapter mihome-vacuum v2.0.x:

                                @Patchwork-3001 sagte in Test Adapter mihome-vacuum v2.0.x:

                                property

                                kannst du bitte mal das debug schicken?

                                Habe das gleiche Thema, hier der DEBUG Auszug:

                                mihome-vacuum.0	2020-02-20 11:54:12.943	error	(17390) TypeError: Cannot read property '0' of undefined
                                mihome-vacuum.0	2020-02-20 11:54:12.430	debug	(17390) update_Map use old mapurl
                                mihome-vacuum.0	2020-02-20 11:54:12.430	debug	(17390) update_Map Mimap enabled
                                mihome-vacuum.0	2020-02-20 11:54:10.428	error	(17390) TypeError: Cannot read property '0' of undefined
                                mihome-vacuum.0	2020-02-20 11:54:09.973	debug	(17390) update_Map got new time:1582196049
                                mihome-vacuum.0	2020-02-20 11:54:09.973	debug	(17390) update_Map got new expires:1582197849
                                mihome-vacuum.0	2020-02-20 11:54:09.972	debug	(17390) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/robomap/74488275/7?Expires=xxxxxxxxx&GalaxyAccessKeyId=xxxxxxxxx&Signature=xxxxxxxxxx=
                                mihome-vacuum.0	2020-02-20 11:54:09.906	debug	(17390) update_Map need new mapurl
                                mihome-vacuum.0	2020-02-20 11:54:09.905	debug	(17390) update_Map Mimap enabled
                                mihome-vacuum.0	2020-02-20 11:54:07.903	error	(17390) TypeError: Cannot read property '0' of undefined
                                mihome-vacuum.0	2020-02-20 11:54:07.388	debug	(17390) update_Map got new time:1582196047
                                mihome-vacuum.0	2020-02-20 11:54:07.388	debug	(17390) update_Map got new expires:1582197847
                                
                                MeistertrM Offline
                                MeistertrM Offline
                                Meistertr
                                Developer
                                schrieb am zuletzt editiert von
                                #282

                                @blackeagle998 dann bräuchte uch einen etwas größeren logauszug

                                B 1 Antwort Letzte Antwort
                                0
                                • Patchwork 3001P Patchwork 3001

                                  @smarti2015 Wenn der Adapter nicht installiert werden kann, kann Canvas nicht installiert werden

                                  npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1

                                  Dann müssen folgende Packete und Bibliotheken selber installiert werden:

                                  " sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev "

                                  " sudo npm install canvas --unsafe-perm=true "

                                  über putty ohne "

                                  K Online
                                  K Online
                                  K_o_bold
                                  schrieb am zuletzt editiert von
                                  #283

                                  @Patchwork-3001, @Meistertr ,

                                  bei mir läuft Iobroker in einem Docker-Container.
                                  Wenn Canvas z.T. manuell installiert werden muss, bedeutet das, dass ich es bei jedem Container Neustart wieder manuell installieren muss. ( Oder ich ändere das Docker-Container Image ).

                                  Wird das bis zur Stable Version so bleiben, dass man ggf. manuell etwas nachinstallieren muss?
                                  --> Ich bin am überlegen, ob ich jetzt schon umsteige auf die neue Version.

                                  Bisher was ich so gelesen habe ist sehr vielversprechend, tolle Arbeit an alle Beteiligten.. :+1:

                                  1 Antwort Letzte Antwort
                                  0
                                  • S smarti2015

                                    Hi, wollte update Installieren von 1.1.5 auf Version 2.x aber es kommt immer eine Fehlermeldung:

                                    host.All-In-One-Tinker	2020-02-20 12:50:29.060	info	iobroker exit 25
                                    host.All-In-One-Tinker	2020-02-20 12:50:28.043	error	iobroker host.All-In-One-Tinker Cannot install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master: 1
                                    host.All-In-One-Tinker	2020-02-20 12:50:28.006	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-02-20T11_50_27_975Z-debug.log
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.955	info	iobroker This is probably not a problem with npm. There is likely additional logging output above.
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.954	info	iobroker npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR!
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.953	info	iobroker errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.951	info	iobroker code ELIFECYCLEnpm ERR!
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.950	info	iobroker ERR!
                                    host.All-In-One-Tinker	2020-02-20 12:50:27.949	info	iobroker npm
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.594	info	iobroker /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.18.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.593	info	iobroker ERR! System Linux 4.19.69-rockchipnode-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ER
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.591	info	iobroker node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modu
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.587	info	iobroker node-pre-gyp ERR! build error
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.571	info	iobroker /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.18.1gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.569	info	iobroker ERR! System Linux 4.19.69-rockchipgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroke
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.568	info	iobroker stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Pr
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.567	info	iobroker gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR!
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.565	info	iobroker ERR! configure error
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.564	info	iobroker gyp
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.529	info	iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                                    host.All-In-One-Tinker	2020-02-20 12:50:25.528	info	iobroker Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' fou
                                    host.All-In-One-Tinker	2020-02-20 12:50:22.082	info	iobroker node-aead-crypto not needed on this system, since all ciphers are natively supported
                                    

                                    Bild Text

                                    D Offline
                                    D Offline
                                    dirkhe
                                    Developer
                                    schrieb am zuletzt editiert von dirkhe
                                    #284

                                    @K_o_bold Das Problem ist, dass dies eine Abhängigkeit beim Installieren ist, hat mit dem Adapter selber nichts zu tun. Ich weiss nicht, ob man das optional machen kann, ich vermute mal eher nicht.

                                    K 1 Antwort Letzte Antwort
                                    0
                                    • D dirkhe

                                      @K_o_bold Das Problem ist, dass dies eine Abhängigkeit beim Installieren ist, hat mit dem Adapter selber nichts zu tun. Ich weiss nicht, ob man das optional machen kann, ich vermute mal eher nicht.

                                      K Online
                                      K Online
                                      K_o_bold
                                      schrieb am zuletzt editiert von
                                      #285

                                      @Meistertr ,

                                      noch eine andere Frage:

                                      Mit IOS war die Tokenauslesung ein echter Krampf.
                                      Außerdem habe ich bei mir die Besonderheit, dass der Roboter in der App nur halblebig integriert ist, da ich das EU Modell gekauft habe aber alle anderen Geräte aus China kommen, habe ich Mainland China im Gateway eingestellt. Dadurch lässt sich der Roboter nicht sauber integrieren, funktioniert aber trotzdem einwandfrei mit dem Iobroker Adapter. Nur die Karte und Zonenreinigung konnte ich nie machen.
                                      Es wäre also ein echter Mehrwert die neue Version des Adapters. :grinning:
                                      Nun zur Frage:
                                      Die Token Gewinnung geht jetzt wirklich so einfach wie im ersten Post beschrieben?
                                      Gibt es für das Update aus der Adapterversion 1.1.5 noch Dinge worauf man achten muss?

                                      D 1 Antwort Letzte Antwort
                                      0
                                      • K K_o_bold

                                        @Meistertr ,

                                        noch eine andere Frage:

                                        Mit IOS war die Tokenauslesung ein echter Krampf.
                                        Außerdem habe ich bei mir die Besonderheit, dass der Roboter in der App nur halblebig integriert ist, da ich das EU Modell gekauft habe aber alle anderen Geräte aus China kommen, habe ich Mainland China im Gateway eingestellt. Dadurch lässt sich der Roboter nicht sauber integrieren, funktioniert aber trotzdem einwandfrei mit dem Iobroker Adapter. Nur die Karte und Zonenreinigung konnte ich nie machen.
                                        Es wäre also ein echter Mehrwert die neue Version des Adapters. :grinning:
                                        Nun zur Frage:
                                        Die Token Gewinnung geht jetzt wirklich so einfach wie im ersten Post beschrieben?
                                        Gibt es für das Update aus der Adapterversion 1.1.5 noch Dinge worauf man achten muss?

                                        D Offline
                                        D Offline
                                        dirkhe
                                        Developer
                                        schrieb am zuletzt editiert von
                                        #286

                                        @K_o_bold Einfach machen, soviel kannst du ja nicht einstellen, was du verlieren könntest.

                                        1 Antwort Letzte Antwort
                                        0
                                        • Patchwork 3001P Patchwork 3001

                                          @smarti2015 Wenn der Adapter nicht installiert werden kann, kann Canvas nicht installiert werden

                                          npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1

                                          Dann müssen folgende Packete und Bibliotheken selber installiert werden:

                                          " sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev "

                                          " sudo npm install canvas --unsafe-perm=true "

                                          über putty ohne "

                                          S Offline
                                          S Offline
                                          smarti2015
                                          schrieb am zuletzt editiert von
                                          #287

                                          @Patchwork-3001 Danke jetzt hat es geklapt. Wo kann ich jetzt eigentlich die Karte im ioBorker abrufen?

                                          GEEKOM AS 6

                                          C 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          315

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe