Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert

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

      @thomas-braun

      
      flo@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/nopy/src/
      ls: cannot access '/opt/iobroker/node_modules/nopy/src/': No such file or directory
      flo@raspberrypi:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

        @mayokleckz

        cd /opt/iobroker
        npm i nopy
        sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
        

        Danach sollte es mit der Installation funktionieren.

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

          @thomas-braun said in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

          sudo -u iobroker chmod a+x /opt/iobroker/node_modules/nopy/src/n*

          Mit den Rechten kommt man ein Stück weiter. Jedoch rennt das System in den nächsten Fehler.
          Ist da bei meiner Installation gestern was schief gegangen? Mit so viel Problemen installiert sich ja sonst niemand einen Adapter.
          Würd mich freuen wenn du auch hier nochmal drüber schaust.

          Hier das Logfile /home/iobroker/.npm/_logs/2023-04-24T20_20_00_942Z-debug-0.log

          0 verbose cli /usr/bin/node /usr/bin/npm
          1 info using npm@9.5.1
          2 info using node@v18.16.0
          3 timing npm:load:whichnode Completed in 24ms
          4 timing config:load:defaults Completed in 17ms
          5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 24ms
          6 timing config:load:builtin Completed in 24ms
          7 timing config:load:cli Completed in 11ms
          8 timing config:load:env Completed in 1ms
          9 timing config:load:file:/opt/iobroker/.npmrc Completed in 8ms
          10 timing config:load:project Completed in 12ms
          11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
          12 timing config:load:user Completed in 1ms
          13 timing config:load:file:/usr/etc/npmrc Completed in 1ms
          14 timing config:load:global Completed in 1ms
          15 timing config:load:setEnvs Completed in 6ms
          16 timing config:load Completed in 77ms
          17 timing npm:load:configload Completed in 77ms
          18 timing npm:load:mkdirpcache Completed in 1ms
          19 timing npm:load:mkdirplogs Completed in 1ms
          20 verbose title npm install iobroker.esphome@0.2.4
          21 verbose argv "install" "--save-exact" "iobroker.esphome@0.2.4"
          22 timing npm:load:setTitle Completed in 5ms
          23 timing config:load:flatten Completed in 13ms
          24 timing npm:load:display Completed in 17ms
          25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-04-24T20_20_00_942Z-
          26 verbose logfile /home/iobroker/.npm/_logs/2023-04-24T20_20_00_942Z-debug-0.log
          27 timing npm:load:logFile Completed in 20ms
          28 timing npm:load:timers Completed in 0ms
          29 timing npm:load:configScope Completed in 0ms
          30 timing npm:load Completed in 151ms
          31 timing arborist:ctor Completed in 3ms
          32 silly logfile start cleaning logs, removing 2 files
          33 silly logfile done cleaning log files
          34 timing idealTree:init Completed in 4111ms
          35 timing idealTree:userRequests Completed in 30ms
          36 silly idealTree buildDeps
          37 silly fetch manifest iobroker.esphome@0.2.4
          38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
          39 http fetch GET 200 https://registry.npmjs.org/iobroker.esphome 181ms (cache hit)
          40 silly placeDep ROOT iobroker.esphome@0.2.4 OK for: iobroker.inst@3.0.0 want: 0.2.4
          41 silly fetch manifest @sentry/node@^5.30.0
          42 silly fetch manifest esphome-native-api@^1.0.9
          43 silly fetch manifest tree-kill@^1.2.2
          44 http fetch GET 200 https://registry.npmjs.org/esphome-native-api 3381ms (cache hit)
          45 http fetch GET 200 https://registry.npmjs.org/@sentry%2fnode 3396ms (cache hit)
          46 http fetch GET 200 https://registry.npmjs.org/tree-kill 3453ms (cache hit)
          47 timing idealTree:#root Completed in 3683ms
          48 silly placeDep node_modules/iobroker.esphome @sentry/node@5.30.0 OK for: iobroker.esphome@0.2.4 want: ^5.30.0
          49 silly placeDep ROOT esphome-native-api@1.0.9 OK for: iobroker.esphome@0.2.4 want: ^1.0.9
          50 silly placeDep ROOT tree-kill@1.2.2 OK for: iobroker.esphome@0.2.4 want: ^1.2.2
          51 silly fetch manifest @sentry/core@5.30.0
          52 silly fetch manifest @sentry/hub@5.30.0
          53 silly fetch manifest @sentry/types@5.30.0
          54 silly fetch manifest @sentry/utils@5.30.0
          55 silly fetch manifest eslint@^7.13.0
          56 silly fetch manifest events@^3.2.0
          57 silly fetch manifest google-protobuf@^3.14.0
          58 silly fetch manifest multicast-dns@^7.2.2
          59 silly fetch manifest net@^1.0.2
          60 http fetch GET 200 https://registry.npmjs.org/@sentry%2ftypes 963ms (cache hit)
          61 http fetch GET 200 https://registry.npmjs.org/events 976ms (cache hit)
          62 http fetch GET 200 https://registry.npmjs.org/multicast-dns 986ms (cache hit)
          63 http fetch GET 200 https://registry.npmjs.org/@sentry%2fhub 1010ms (cache hit)
          64 http fetch GET 200 https://registry.npmjs.org/@sentry%2futils 1037ms (cache hit)
          65 http fetch GET 200 https://registry.npmjs.org/@sentry%2fcore 1067ms (cache hit)
          66 http fetch GET 200 https://registry.npmjs.org/google-protobuf 1072ms (cache hit)
          67 http fetch GET 200 https://registry.npmjs.org/net 1075ms (cache hit)
          68 http fetch GET 200 https://registry.npmjs.org/eslint 1093ms (cache hit)
          69 timing idealTree:node_modules/iobroker.esphome Completed in 1226ms
          70 silly placeDep ROOT eslint@7.32.0 OK for: esphome-native-api@1.0.9 want: ^7.13.0
          71 silly placeDep ROOT events@3.3.0 OK for: esphome-native-api@1.0.9 want: ^3.2.0
          72 silly placeDep ROOT google-protobuf@3.21.2 OK for: esphome-native-api@1.0.9 want: ^3.14.0
          73 silly placeDep ROOT multicast-dns@7.2.5 OK for: esphome-native-api@1.0.9 want: ^7.2.2
          74 silly placeDep ROOT net@1.0.2 OK for: esphome-native-api@1.0.9 want: ^1.0.2
          75 silly fetch manifest @babel/code-frame@7.12.11
          76 silly fetch manifest @eslint/eslintrc@^0.4.3
          77 silly fetch manifest @humanwhocodes/config-array@^0.5.0
          78 silly fetch manifest debug@^4.0.1
          79 silly fetch manifest doctrine@^3.0.0
          80 silly fetch manifest enquirer@^2.3.5
          81 silly fetch manifest eslint-scope@^5.1.1
          82 silly fetch manifest eslint-utils@^2.1.0
          83 silly fetch manifest eslint-visitor-keys@^2.0.0
          84 silly fetch manifest espree@^7.3.1
          85 silly fetch manifest esquery@^1.4.0
          86 silly fetch manifest esutils@^2.0.2
          87 silly fetch manifest file-entry-cache@^6.0.1
          88 silly fetch manifest functional-red-black-tree@^1.0.1
          89 silly fetch manifest globals@^13.6.0
          90 silly fetch manifest ignore@^4.0.6
          91 silly fetch manifest js-yaml@^3.13.1
          92 silly fetch manifest json-stable-stringify-without-jsonify@^1.0.1
          93 silly fetch manifest levn@^0.4.1
          94 silly fetch manifest lodash.merge@^4.6.2
          95 silly fetch manifest minimatch@^3.0.4
          96 silly fetch manifest natural-compare@^1.4.0
          97 silly fetch manifest optionator@^0.9.1
          98 silly fetch manifest progress@^2.0.0
          99 silly fetch manifest regexpp@^3.1.0
          100 silly fetch manifest strip-json-comments@^3.1.0
          101 silly fetch manifest table@^6.0.9
          102 silly fetch manifest text-table@^0.2.0
          103 silly fetch manifest v8-compile-cache@^2.0.3
          104 silly fetch manifest dns-packet@^5.2.2
          105 silly fetch manifest thunky@^1.0.2
          106 http fetch GET 200 https://registry.npmjs.org/@babel%2fcode-frame 325ms (cache hit)
          107 http fetch GET 200 https://registry.npmjs.org/@eslint%2feslintrc 328ms (cache hit)
          108 http fetch GET 200 https://registry.npmjs.org/@humanwhocodes%2fconfig-array 332ms (cache hit)
          109 http fetch GET 200 https://registry.npmjs.org/debug 337ms (cache hit)
          110 http fetch GET 200 https://registry.npmjs.org/enquirer 357ms (cache hit)
          111 http fetch GET 200 https://registry.npmjs.org/eslint-scope 362ms (cache hit)
          112 http fetch GET 200 https://registry.npmjs.org/doctrine 368ms (cache hit)
          113 http fetch GET 200 https://registry.npmjs.org/eslint-utils 368ms (cache hit)
          114 http fetch GET 200 https://registry.npmjs.org/eslint-visitor-keys 371ms (cache hit)
          115 http fetch GET 200 https://registry.npmjs.org/espree 374ms (cache hit)
          116 http fetch GET 200 https://registry.npmjs.org/esquery 382ms (cache hit)
          117 http fetch GET 200 https://registry.npmjs.org/esutils 381ms (cache hit)
          118 http fetch GET 200 https://registry.npmjs.org/file-entry-cache 381ms (cache hit)
          119 http fetch GET 200 https://registry.npmjs.org/functional-red-black-tree 382ms (cache hit)
          120 http fetch GET 200 https://registry.npmjs.org/globals 382ms (cache hit)
          121 http fetch GET 200 https://registry.npmjs.org/ignore 386ms (cache hit)
          122 http fetch GET 200 https://registry.npmjs.org/js-yaml 391ms (cache hit)
          123 http fetch GET 200 https://registry.npmjs.org/json-stable-stringify-without-jsonify 395ms (cache hit)
          124 http fetch GET 200 https://registry.npmjs.org/lodash.merge 393ms (cache hit)
          125 http fetch GET 200 https://registry.npmjs.org/levn 399ms (cache hit)
          126 http fetch GET 200 https://registry.npmjs.org/natural-compare 395ms (cache hit)
          127 http fetch GET 200 https://registry.npmjs.org/minimatch 402ms (cache hit)
          128 http fetch GET 200 https://registry.npmjs.org/progress 409ms (cache hit)
          129 http fetch GET 200 https://registry.npmjs.org/optionator 417ms (cache hit)
          130 http fetch GET 200 https://registry.npmjs.org/regexpp 417ms (cache hit)
          131 http fetch GET 200 https://registry.npmjs.org/strip-json-comments 417ms (cache hit)
          132 http fetch GET 200 https://registry.npmjs.org/text-table 415ms (cache hit)
          133 http fetch GET 200 https://registry.npmjs.org/table 421ms (cache hit)
          134 http fetch GET 200 https://registry.npmjs.org/thunky 417ms (cache hit)
          135 http fetch GET 200 https://registry.npmjs.org/v8-compile-cache 425ms (cache hit)
          136 http fetch GET 200 https://registry.npmjs.org/dns-packet 425ms (cache hit)
          137 timing idealTree:node_modules/esphome-native-api Completed in 534ms
          138 silly placeDep node_modules/eslint @babel/code-frame@7.12.11 OK for: eslint@7.32.0 want: 7.12.11
          139 silly placeDep ROOT @eslint/eslintrc@0.4.3 OK for: eslint@7.32.0 want: ^0.4.3
          140 silly placeDep ROOT @humanwhocodes/config-array@0.5.0 OK for: eslint@7.32.0 want: ^0.5.0
          141 silly placeDep node_modules/eslint debug@4.3.4 OK for: eslint@7.32.0 want: ^4.0.1
          142 silly placeDep ROOT doctrine@3.0.0 OK for: eslint@7.32.0 want: ^3.0.0
          143 silly placeDep ROOT enquirer@2.3.6 OK for: eslint@7.32.0 want: ^2.3.5
          144 silly placeDep ROOT eslint-scope@5.1.1 OK for: eslint@7.32.0 want: ^5.1.1
          145 silly placeDep ROOT eslint-utils@2.1.0 OK for: eslint@7.32.0 want: ^2.1.0
          146 silly placeDep ROOT eslint-visitor-keys@2.1.0 OK for: eslint@7.32.0 want: ^2.0.0
          147 silly placeDep ROOT espree@7.3.1 OK for: eslint@7.32.0 want: ^7.3.1
          148 silly placeDep ROOT esquery@1.5.0 OK for: eslint@7.32.0 want: ^1.4.0
          149 silly placeDep ROOT esutils@2.0.3 OK for: eslint@7.32.0 want: ^2.0.2
          150 silly placeDep ROOT file-entry-cache@6.0.1 OK for: eslint@7.32.0 want: ^6.0.1
          151 silly placeDep ROOT functional-red-black-tree@1.0.1 OK for: eslint@7.32.0 want: ^1.0.1
          152 silly placeDep ROOT globals@13.20.0 OK for: eslint@7.32.0 want: ^13.6.0
          153 silly placeDep node_modules/eslint ignore@4.0.6 OK for: eslint@7.32.0 want: ^4.0.6
          154 silly placeDep ROOT js-yaml@3.14.1 OK for: eslint@7.32.0 want: ^3.13.1
          155 silly placeDep ROOT json-stable-stringify-without-jsonify@1.0.1 OK for: eslint@7.32.0 want: ^1.0.1
          156 silly placeDep ROOT levn@0.4.1 OK for: eslint@7.32.0 want: ^0.4.1
          157 silly placeDep ROOT lodash.merge@4.6.2 OK for: eslint@7.32.0 want: ^4.6.2
          158 silly placeDep node_modules/eslint minimatch@3.1.2 OK for: eslint@7.32.0 want: ^3.0.4
          159 silly placeDep ROOT natural-compare@1.4.0 OK for: eslint@7.32.0 want: ^1.4.0
          160 silly placeDep ROOT optionator@0.9.1 OK for: eslint@7.32.0 want: ^0.9.1
          161 silly placeDep ROOT progress@2.0.3 OK for: eslint@7.32.0 want: ^2.0.0
          162 silly placeDep ROOT regexpp@3.2.0 OK for: eslint@7.32.0 want: ^3.1.0
          163 silly placeDep node_modules/eslint strip-json-comments@3.1.1 OK for: eslint@7.32.0 want: ^3.1.0
          164 silly placeDep ROOT table@6.8.1 OK for: eslint@7.32.0 want: ^6.0.9
          165 silly placeDep ROOT text-table@0.2.0 OK for: eslint@7.32.0 want: ^0.2.0
          166 silly placeDep ROOT v8-compile-cache@2.3.0 OK for: eslint@7.32.0 want: ^2.0.3
          167 silly fetch manifest debug@^4.1.1
          168 silly fetch manifest strip-json-comments@^3.1.1
          169 silly fetch manifest @humanwhocodes/object-schema@^1.2.0
          170 silly fetch manifest ms@2.1.2
          171 silly fetch manifest ansi-colors@^4.1.1
          172 silly fetch manifest esrecurse@^4.3.0
          173 silly fetch manifest estraverse@^4.1.1
          174 silly fetch manifest eslint-visitor-keys@^1.1.0
          175 silly fetch manifest acorn@^7.4.0
          176 silly fetch manifest acorn-jsx@^5.3.1
          177 silly fetch manifest eslint-visitor-keys@^1.3.0
          178 silly fetch manifest estraverse@^5.1.0
          179 silly fetch manifest flat-cache@^3.0.4
          180 silly fetch manifest type-fest@^0.20.2
          181 silly fetch manifest argparse@^1.0.7
          182 silly fetch manifest esprima@^4.0.0
          183 silly fetch manifest prelude-ls@^1.2.1
          184 silly fetch manifest type-check@~0.4.0
          185 silly fetch manifest brace-expansion@^1.1.7
          186 silly fetch manifest deep-is@^0.1.3
          187 silly fetch manifest word-wrap@^1.2.3
          188 silly fetch manifest type-check@^0.4.0
          189 silly fetch manifest fast-levenshtein@^2.0.6
          190 silly fetch manifest ajv@^8.0.1
          191 silly fetch manifest lodash.truncate@^4.4.2
          192 silly fetch manifest slice-ansi@^4.0.0
          193 http fetch GET 200 https://registry.npmjs.org/esrecurse 315ms (cache hit)
          194 http fetch GET 200 https://registry.npmjs.org/estraverse 315ms (cache hit)
          195 http fetch GET 200 https://registry.npmjs.org/estraverse 308ms (cache hit)
          196 http fetch GET 200 https://registry.npmjs.org/flat-cache 308ms (cache hit)
          197 http fetch GET 200 https://registry.npmjs.org/@humanwhocodes%2fobject-schema 337ms (cache hit)
          198 http fetch GET 200 https://registry.npmjs.org/ms 336ms (cache hit)
          199 http fetch GET 200 https://registry.npmjs.org/acorn 327ms (cache hit)
          200 http fetch GET 200 https://registry.npmjs.org/type-fest 327ms (cache hit)
          201 http fetch GET 200 https://registry.npmjs.org/ansi-colors 358ms (cache hit)
          202 http fetch GET 200 https://registry.npmjs.org/prelude-ls 330ms (cache hit)
          203 http fetch GET 200 https://registry.npmjs.org/acorn-jsx 350ms (cache hit)
          204 http fetch GET 200 https://registry.npmjs.org/esprima 338ms (cache hit)
          205 http fetch GET 200 https://registry.npmjs.org/type-check 336ms (cache hit)
          206 http fetch GET 200 https://registry.npmjs.org/brace-expansion 334ms (cache hit)
          207 http fetch GET 200 https://registry.npmjs.org/word-wrap 332ms (cache hit)
          208 http fetch GET 200 https://registry.npmjs.org/type-check 331ms (cache hit)
          209 http fetch GET 200 https://registry.npmjs.org/argparse 355ms (cache hit)
          210 http fetch GET 200 https://registry.npmjs.org/lodash.truncate 305ms (cache hit)
          211 http fetch GET 200 https://registry.npmjs.org/slice-ansi 307ms (cache hit)
          212 http fetch GET 200 https://registry.npmjs.org/deep-is 351ms (cache hit)
          213 http fetch GET 200 https://registry.npmjs.org/fast-levenshtein 343ms (cache hit)
          214 http fetch GET 200 https://registry.npmjs.org/ajv 351ms (cache hit)
          215 timing idealTree:node_modules/eslint Completed in 668ms
          216 silly placeDep node_modules/@eslint/eslintrc debug@4.3.4 OK for: @eslint/eslintrc@0.4.3 want: ^4.1.1
          217 silly placeDep node_modules/@eslint/eslintrc ignore@4.0.6 OK for: @eslint/eslintrc@0.4.3 want: ^4.0.6
          218 silly placeDep node_modules/@eslint/eslintrc minimatch@3.1.2 OK for: @eslint/eslintrc@0.4.3 want: ^3.0.4
          219 silly placeDep node_modules/@eslint/eslintrc strip-json-comments@3.1.1 OK for: @eslint/eslintrc@0.4.3 want: ^3.1.1
          220 timing idealTree:node_modules/@eslint/eslintrc Completed in 24ms
          221 silly placeDep ROOT @humanwhocodes/object-schema@1.2.1 OK for: @humanwhocodes/config-array@0.5.0 want: ^1.2.0
          222 silly placeDep node_modules/@humanwhocodes/config-array debug@4.3.4 OK for: @humanwhocodes/config-array@0.5.0 want: ^4.1.1
          223 silly placeDep node_modules/@humanwhocodes/config-array minimatch@3.1.2 OK for: @humanwhocodes/config-array@0.5.0 want: ^3.0.4
          224 timing idealTree:node_modules/@humanwhocodes/config-array Completed in 18ms
          225 timing idealTree:node_modules/@humanwhocodes/object-schema Completed in 0ms
          226 timing idealTree:node_modules/doctrine Completed in 0ms
          227 silly placeDep ROOT ansi-colors@4.1.3 OK for: enquirer@2.3.6 want: ^4.1.1
          228 timing idealTree:node_modules/enquirer Completed in 6ms
          229 timing idealTree:node_modules/ansi-colors Completed in 0ms
          230 silly placeDep ROOT esrecurse@4.3.0 OK for: eslint-scope@5.1.1 want: ^4.3.0
          231 silly placeDep ROOT estraverse@4.3.0 OK for: eslint-scope@5.1.1 want: ^4.1.1
          232 silly fetch manifest estraverse@^5.2.0
          233 timing idealTree:node_modules/eslint-scope Completed in 15ms
          234 silly placeDep node_modules/eslint-utils eslint-visitor-keys@1.3.0 OK for: eslint-utils@2.1.0 want: ^1.1.0
          235 timing idealTree:node_modules/eslint-utils Completed in 4ms
          236 timing idealTree:node_modules/eslint-visitor-keys Completed in 0ms
          237 silly placeDep ROOT acorn@7.4.1 OK for: espree@7.3.1 want: ^7.4.0
          238 silly placeDep ROOT acorn-jsx@5.3.2 OK for: espree@7.3.1 want: ^5.3.1
          239 silly placeDep node_modules/espree eslint-visitor-keys@1.3.0 OK for: espree@7.3.1 want: ^1.3.0
          240 timing idealTree:node_modules/espree Completed in 26ms
          241 timing idealTree:node_modules/acorn Completed in 0ms
          242 timing idealTree:node_modules/acorn-jsx Completed in 0ms
          243 silly placeDep node_modules/esquery estraverse@5.3.0 OK for: esquery@1.5.0 want: ^5.1.0
          244 timing idealTree:node_modules/esquery Completed in 6ms
          245 silly placeDep node_modules/esrecurse estraverse@5.3.0 OK for: esrecurse@4.3.0 want: ^5.2.0
          246 timing idealTree:node_modules/esrecurse Completed in 4ms
          247 timing idealTree:node_modules/estraverse Completed in 0ms
          248 timing idealTree:node_modules/esutils Completed in 1ms
          249 timing idealTree:node_modules/events Completed in 0ms
          250 silly placeDep ROOT flat-cache@3.0.4 OK for: file-entry-cache@6.0.1 want: ^3.0.4
          251 silly fetch manifest flatted@^3.1.0
          252 http fetch GET 200 https://registry.npmjs.org/flatted 18ms (cache hit)
          253 timing idealTree:node_modules/file-entry-cache Completed in 31ms
          254 silly placeDep ROOT flatted@3.2.7 OK for: flat-cache@3.0.4 want: ^3.1.0
          255 timing idealTree:node_modules/flat-cache Completed in 7ms
          256 timing idealTree:node_modules/flatted Completed in 0ms
          257 timing idealTree:node_modules/functional-red-black-tree Completed in 0ms
          258 silly placeDep node_modules/globals type-fest@0.20.2 OK for: globals@13.20.0 want: ^0.20.2
          259 timing idealTree:node_modules/globals Completed in 5ms
          260 timing idealTree:node_modules/google-protobuf Completed in 0ms
          261 silly placeDep ROOT argparse@1.0.10 OK for: js-yaml@3.14.1 want: ^1.0.7
          262 silly placeDep ROOT esprima@4.0.1 OK for: js-yaml@3.14.1 want: ^4.0.0
          263 silly fetch manifest sprintf-js@~1.0.2
          264 http fetch GET 200 https://registry.npmjs.org/sprintf-js 20ms (cache hit)
          265 timing idealTree:node_modules/js-yaml Completed in 38ms
          266 silly placeDep node_modules/argparse sprintf-js@1.0.3 OK for: argparse@1.0.10 want: ~1.0.2
          267 timing idealTree:node_modules/argparse Completed in 4ms
          268 timing idealTree:node_modules/esprima Completed in 0ms
          269 timing idealTree:node_modules/json-stable-stringify-without-jsonify Completed in 0ms
          270 silly placeDep ROOT prelude-ls@1.2.1 OK for: levn@0.4.1 want: ^1.2.1
          271 silly placeDep ROOT type-check@0.4.0 OK for: levn@0.4.1 want: ~0.4.0
          272 timing idealTree:node_modules/levn Completed in 13ms
          273 timing idealTree:node_modules/lodash.merge Completed in 0ms
          274 silly placeDep node_modules/multicast-dns dns-packet@5.6.0 OK for: multicast-dns@7.2.5 want: ^5.2.2
          275 silly placeDep ROOT thunky@1.1.0 OK for: multicast-dns@7.2.5 want: ^1.0.2
          276 silly fetch manifest @leichtgewicht/ip-codec@^2.0.1
          277 http fetch GET 200 https://registry.npmjs.org/@leichtgewicht%2fip-codec 18ms (cache hit)
          278 timing idealTree:node_modules/multicast-dns Completed in 34ms
          279 timing idealTree:node_modules/natural-compare Completed in 0ms
          280 timing idealTree:node_modules/net Completed in 0ms
          281 silly placeDep ROOT deep-is@0.1.4 OK for: optionator@0.9.1 want: ^0.1.3
          282 silly placeDep ROOT fast-levenshtein@2.0.6 OK for: optionator@0.9.1 want: ^2.0.6
          283 silly placeDep ROOT word-wrap@1.2.3 OK for: optionator@0.9.1 want: ^1.2.3
          284 timing idealTree:node_modules/optionator Completed in 19ms
          285 timing idealTree:node_modules/deep-is Completed in 0ms
          286 timing idealTree:node_modules/fast-levenshtein Completed in 1ms
          287 timing idealTree:node_modules/prelude-ls Completed in 0ms
          288 timing idealTree:node_modules/progress Completed in 0ms
          289 timing idealTree:node_modules/regexpp Completed in 0ms
          290 silly placeDep node_modules/table ajv@8.12.0 OK for: table@6.8.1 want: ^8.0.1
          291 silly placeDep ROOT lodash.truncate@4.4.2 OK for: table@6.8.1 want: ^4.4.2
          292 silly placeDep node_modules/table slice-ansi@4.0.0 OK for: table@6.8.1 want: ^4.0.0
          293 silly fetch manifest json-schema-traverse@^1.0.0
          294 silly fetch manifest require-from-string@^2.0.2
          295 silly fetch manifest astral-regex@^2.0.0
          296 http fetch GET 200 https://registry.npmjs.org/require-from-string 48ms (cache hit)
          297 http fetch GET 200 https://registry.npmjs.org/astral-regex 47ms (cache hit)
          298 http fetch GET 200 https://registry.npmjs.org/json-schema-traverse 54ms (cache hit)
          299 timing idealTree:node_modules/table Completed in 78ms
          300 timing idealTree:node_modules/lodash.truncate Completed in 0ms
          301 timing idealTree:node_modules/text-table Completed in 0ms
          302 timing idealTree:node_modules/thunky Completed in 0ms
          303 timing idealTree:node_modules/tree-kill Completed in 1ms
          304 timing idealTree:node_modules/type-check Completed in 0ms
          305 timing idealTree:node_modules/v8-compile-cache Completed in 0ms
          306 timing idealTree:node_modules/word-wrap Completed in 0ms
          307 silly placeDep node_modules/@eslint/eslintrc ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
          308 timing idealTree:node_modules/@eslint/eslintrc/node_modules/debug Completed in 6ms
          309 timing idealTree:node_modules/@eslint/eslintrc/node_modules/ignore Completed in 0ms
          310 silly placeDep node_modules/@eslint/eslintrc brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
          311 timing idealTree:node_modules/@eslint/eslintrc/node_modules/minimatch Completed in 5ms
          312 timing idealTree:node_modules/@eslint/eslintrc/node_modules/brace-expansion Completed in 0ms
          313 timing idealTree:node_modules/@eslint/eslintrc/node_modules/ms Completed in 0ms
          314 timing idealTree:node_modules/@eslint/eslintrc/node_modules/strip-json-comments Completed in 0ms
          315 silly placeDep node_modules/@humanwhocodes/config-array ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
          316 timing idealTree:node_modules/@humanwhocodes/config-array/node_modules/debug Completed in 4ms
          317 silly placeDep node_modules/@humanwhocodes/config-array brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
          318 timing idealTree:node_modules/@humanwhocodes/config-array/node_modules/minimatch Completed in 6ms
          319 timing idealTree:node_modules/@humanwhocodes/config-array/node_modules/brace-expansion Completed in 1ms
          320 timing idealTree:node_modules/@humanwhocodes/config-array/node_modules/ms Completed in 0ms
          321 timing idealTree:node_modules/argparse/node_modules/sprintf-js Completed in 0ms
          322 timing idealTree:node_modules/eslint-utils/node_modules/eslint-visitor-keys Completed in 0ms
          323 timing idealTree:node_modules/eslint/node_modules/@babel/code-frame Completed in 0ms
          324 silly placeDep node_modules/eslint ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
          325 timing idealTree:node_modules/eslint/node_modules/debug Completed in 5ms
          326 timing idealTree:node_modules/eslint/node_modules/ignore Completed in 0ms
          327 silly placeDep node_modules/eslint brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
          328 timing idealTree:node_modules/eslint/node_modules/minimatch Completed in 6ms
          329 timing idealTree:node_modules/eslint/node_modules/brace-expansion Completed in 0ms
          330 timing idealTree:node_modules/eslint/node_modules/ms Completed in 0ms
          331 timing idealTree:node_modules/eslint/node_modules/strip-json-comments Completed in 0ms
          332 timing idealTree:node_modules/espree/node_modules/eslint-visitor-keys Completed in 0ms
          333 timing idealTree:node_modules/esquery/node_modules/estraverse Completed in 0ms
          334 timing idealTree:node_modules/esrecurse/node_modules/estraverse Completed in 0ms
          335 timing idealTree:node_modules/globals/node_modules/type-fest Completed in 1ms
          336 silly placeDep node_modules/iobroker.esphome @sentry/core@5.30.0 OK for: @sentry/node@5.30.0 want: 5.30.0
          337 silly placeDep node_modules/iobroker.esphome @sentry/hub@5.30.0 OK for: @sentry/node@5.30.0 want: 5.30.0
          338 silly placeDep node_modules/iobroker.esphome @sentry/types@5.30.0 OK for: @sentry/node@5.30.0 want: 5.30.0
          339 silly placeDep node_modules/iobroker.esphome @sentry/utils@5.30.0 OK for: @sentry/node@5.30.0 want: 5.30.0
          340 silly fetch manifest @sentry/minimal@5.30.0
          341 http fetch GET 200 https://registry.npmjs.org/@sentry%2fminimal 32ms (cache hit)
          342 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/node Completed in 79ms
          343 silly placeDep node_modules/iobroker.esphome @sentry/minimal@5.30.0 OK for: @sentry/core@5.30.0 want: 5.30.0
          344 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/core Completed in 6ms
          345 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/hub Completed in 0ms
          346 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/minimal Completed in 0ms
          347 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/types Completed in 0ms
          348 timing idealTree:node_modules/iobroker.esphome/node_modules/@sentry/utils Completed in 0ms
          349 silly placeDep ROOT @leichtgewicht/ip-codec@2.0.4 OK for: dns-packet@5.6.0 want: ^2.0.1
          350 timing idealTree:node_modules/multicast-dns/node_modules/dns-packet Completed in 8ms
          351 timing idealTree:node_modules/@leichtgewicht/ip-codec Completed in 0ms
          352 silly placeDep node_modules/table json-schema-traverse@1.0.0 OK for: ajv@8.12.0 want: ^1.0.0
          353 silly placeDep ROOT require-from-string@2.0.2 OK for: ajv@8.12.0 want: ^2.0.2
          354 timing idealTree:node_modules/table/node_modules/ajv Completed in 12ms
          355 timing idealTree:node_modules/require-from-string Completed in 0ms
          356 timing idealTree:node_modules/table/node_modules/json-schema-traverse Completed in 0ms
          357 silly placeDep ROOT astral-regex@2.0.0 OK for: slice-ansi@4.0.0 want: ^2.0.0
          358 timing idealTree:node_modules/table/node_modules/slice-ansi Completed in 7ms
          359 timing idealTree:node_modules/astral-regex Completed in 0ms
          360 timing idealTree:buildDeps Completed in 6642ms
          361 timing idealTree:fixDepFlags Completed in 30ms
          362 timing idealTree Completed in 10857ms
          363 timing reify:loadTrees Completed in 10861ms
          364 timing reify:diffTrees Completed in 104ms
          365 silly reify mark retired [ '/opt/iobroker/node_modules/fsevents' ]
          366 silly reify mark retired [ '/opt/iobroker/node_modules/osx-temperature-sensor' ]
          367 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.vis' ]
          368 silly reify moves {
          368 silly reify   '/opt/iobroker/node_modules/fsevents': '/opt/iobroker/node_modules/.fsevents-yNYMVUiI',
          368 silly reify   '/opt/iobroker/node_modules/osx-temperature-sensor': '/opt/iobroker/node_modules/.osx-temperature-sensor-hwc16MPv',
          368 silly reify   '/opt/iobroker/node_modules/iobroker.vis': '/opt/iobroker/node_modules/.iobroker.vis-A3mwBQZP'
          368 silly reify }
          369 timing reify:retireShallow Completed in 16ms
          370 timing reify:createSparse Completed in 41ms
          371 timing reify:loadBundles Completed in 0ms
          372 verbose reify failed optional dependency /opt/iobroker/node_modules/osx-temperature-sensor
          373 silly reify mark deleted [ '/opt/iobroker/node_modules/osx-temperature-sensor' ]
          374 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents
          375 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ]
          376 timing reifyNode:node_modules/osx-temperature-sensor Completed in 56ms
          377 timing reifyNode:node_modules/fsevents Completed in 57ms
          378 timing reifyNode:node_modules/natural-compare Completed in 1469ms
          379 timing reifyNode:node_modules/require-from-string Completed in 1511ms
          380 timing reifyNode:node_modules/fast-levenshtein Completed in 1513ms
          381 timing reifyNode:node_modules/table/node_modules/slice-ansi Completed in 1538ms
          382 timing reifyNode:node_modules/@humanwhocodes/config-array/node_modules/brace-expansion Completed in 1540ms
          383 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/brace-expansion Completed in 1540ms
          384 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/ms Completed in 1541ms
          385 timing reifyNode:node_modules/eslint/node_modules/brace-expansion Completed in 1540ms
          386 timing reifyNode:node_modules/eslint/node_modules/ms Completed in 1541ms
          387 timing reifyNode:node_modules/@humanwhocodes/config-array/node_modules/ms Completed in 1545ms
          388 timing reifyNode:node_modules/astral-regex Completed in 1562ms
          389 timing reifyNode:node_modules/word-wrap Completed in 1561ms
          390 timing reifyNode:node_modules/lodash.truncate Completed in 1562ms
          391 timing reifyNode:node_modules/net Completed in 1576ms
          392 timing reifyNode:node_modules/eslint/node_modules/strip-json-comments Completed in 1589ms
          393 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/strip-json-comments Completed in 1592ms
          394 timing reifyNode:node_modules/eslint/node_modules/@babel/code-frame Completed in 1592ms
          395 timing reifyNode:node_modules/esrecurse Completed in 1628ms
          396 timing reifyNode:node_modules/tree-kill Completed in 1644ms
          397 timing reifyNode:node_modules/thunky Completed in 1674ms
          398 timing reifyNode:node_modules/v8-compile-cache Completed in 1687ms
          399 timing reifyNode:node_modules/file-entry-cache Completed in 1688ms
          400 timing reifyNode:node_modules/@humanwhocodes/config-array Completed in 1698ms
          401 timing reifyNode:node_modules/@humanwhocodes/config-array/node_modules/minimatch Completed in 1716ms
          402 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/minimatch Completed in 1716ms
          403 timing reifyNode:node_modules/eslint/node_modules/minimatch Completed in 1715ms
          404 timing reifyNode:node_modules/type-check Completed in 1738ms
          405 timing reifyNode:node_modules/acorn-jsx Completed in 1742ms
          406 timing reifyNode:node_modules/lodash.merge Completed in 1746ms
          407 timing reifyNode:node_modules/@leichtgewicht/ip-codec Completed in 1778ms
          408 timing reifyNode:node_modules/ansi-colors Completed in 1779ms
          409 timing reifyNode:node_modules/progress Completed in 1781ms
          410 timing reifyNode:node_modules/levn Completed in 1782ms
          411 timing reifyNode:node_modules/eslint-visitor-keys Completed in 1784ms
          412 timing reifyNode:node_modules/eslint-utils/node_modules/eslint-visitor-keys Completed in 1795ms
          413 timing reifyNode:node_modules/espree/node_modules/eslint-visitor-keys Completed in 1796ms
          414 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/debug Completed in 1793ms
          415 timing reifyNode:node_modules/eslint/node_modules/debug Completed in 1793ms
          416 timing reifyNode:node_modules/@humanwhocodes/config-array/node_modules/debug Completed in 1796ms
          417 timing reifyNode:node_modules/estraverse Completed in 1810ms
          418 timing reifyNode:node_modules/globals Completed in 1810ms
          419 timing reifyNode:node_modules/esrecurse/node_modules/estraverse Completed in 1821ms
          420 timing reifyNode:node_modules/esquery/node_modules/estraverse Completed in 1818ms
          421 timing reifyNode:node_modules/deep-is Completed in 1827ms
          422 timing reifyNode:node_modules/flat-cache Completed in 1828ms
          423 timing reifyNode:node_modules/optionator Completed in 1829ms
          424 timing reifyNode:node_modules/functional-red-black-tree Completed in 1830ms
          425 timing reifyNode:node_modules/multicast-dns Completed in 1832ms
          426 timing reifyNode:node_modules/eslint/node_modules/ignore Completed in 1835ms
          427 timing reifyNode:node_modules/@eslint/eslintrc/node_modules/ignore Completed in 1838ms
          428 timing reifyNode:node_modules/esutils Completed in 1879ms
          429 timing reifyNode:node_modules/multicast-dns/node_modules/dns-packet Completed in 1885ms
          430 timing reifyNode:node_modules/prelude-ls Completed in 1896ms
          431 timing reifyNode:node_modules/text-table Completed in 1939ms
          432 timing reifyNode:node_modules/espree Completed in 1938ms
          433 timing reifyNode:node_modules/doctrine Completed in 1939ms
          434 timing reifyNode:node_modules/flatted Completed in 1950ms
          435 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/minimal Completed in 1953ms
          436 timing reifyNode:node_modules/json-stable-stringify-without-jsonify Completed in 1967ms
          437 timing reifyNode:node_modules/table/node_modules/json-schema-traverse Completed in 1977ms
          438 timing reifyNode:node_modules/@humanwhocodes/object-schema Completed in 2000ms
          439 timing reifyNode:node_modules/eslint-scope Completed in 2019ms
          440 timing reifyNode:node_modules/argparse/node_modules/sprintf-js Completed in 2039ms
          441 timing reifyNode:node_modules/regexpp Completed in 2053ms
          442 timing reifyNode:node_modules/esprima Completed in 2076ms
          443 timing reifyNode:node_modules/eslint-utils Completed in 2084ms
          444 timing reifyNode:node_modules/events Completed in 2277ms
          445 timing reifyNode:node_modules/argparse Completed in 2319ms
          446 timing reifyNode:node_modules/@eslint/eslintrc Completed in 2330ms
          447 timing reifyNode:node_modules/iobroker.esphome Completed in 2359ms
          448 timing reifyNode:node_modules/globals/node_modules/type-fest Completed in 2398ms
          449 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/hub Completed in 2525ms
          450 timing reifyNode:node_modules/esphome-native-api Completed in 2527ms
          451 timing reifyNode:node_modules/enquirer Completed in 2544ms
          452 timing reifyNode:node_modules/google-protobuf Completed in 2602ms
          453 timing reifyNode:node_modules/js-yaml Completed in 2616ms
          454 timing reifyNode:node_modules/esquery Completed in 2617ms
          455 timing reifyNode:node_modules/acorn Completed in 2683ms
          456 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/core Completed in 2893ms
          457 timing reifyNode:node_modules/table Completed in 3019ms
          458 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/utils Completed in 3240ms
          459 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/node Completed in 3279ms
          460 timing reifyNode:node_modules/iobroker.esphome/node_modules/@sentry/types Completed in 3411ms
          461 timing reifyNode:node_modules/table/node_modules/ajv Completed in 4089ms
          462 timing reifyNode:node_modules/eslint Completed in 4128ms
          463 timing reify:unpack Completed in 4140ms
          464 timing reify:unretire Completed in 1ms
          465 timing build:queue Completed in 18ms
          466 timing build:link:node_modules/eslint Completed in 5ms
          467 timing build:link:node_modules/acorn Completed in 9ms
          468 timing build:link:node_modules/esprima Completed in 5ms
          469 timing build:link:node_modules/js-yaml Completed in 5ms
          470 timing build:link:node_modules/multicast-dns Completed in 5ms
          471 timing build:link:node_modules/tree-kill Completed in 4ms
          472 timing build:link Completed in 10ms
          473 info run iobroker.esphome@0.2.4 install node_modules/iobroker.esphome npip install
          474 info run iobroker.esphome@0.2.4 install { code: 1, signal: null }
          475 timing reify:rollback:createSparse Completed in 487ms
          476 timing reify:rollback:retireShallow Completed in 2ms
          477 timing command:install Completed in 107556ms
          478 verbose stack Error: command failed
          478 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
          478 verbose stack     at ChildProcess.emit (node:events:513:28)
          478 verbose stack     at maybeClose (node:internal/child_process:1091:16)
          478 verbose stack     at Socket.<anonymous> (node:internal/child_process:449:11)
          478 verbose stack     at Socket.emit (node:events:513:28)
          478 verbose stack     at Pipe.<anonymous> (node:net:322:12)
          479 verbose pkgid iobroker.esphome@0.2.4
          480 verbose cwd /opt/iobroker
          481 verbose Linux 6.1.21-v8+
          482 verbose node v18.16.0
          483 verbose npm  v9.5.1
          484 error code 1
          485 error path /opt/iobroker/node_modules/iobroker.esphome
          486 error command failed
          487 error command sh -c npip install
          488 error No python_modules directory; installing pip locally if needed.
          488 error Successfully completed pip check.
          488 error Collecting esphome>=2021.8
          488 error   Using cached esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB)
          488 error Collecting tornado>=3.2
          488 error   Using cached tornado-6.3.1.tar.gz (508 kB)
          488 error   Installing build dependencies: started
          488 error   Installing build dependencies: finished with status 'done'
          488 error   Getting requirements to build wheel: started
          488 error   Getting requirements to build wheel: finished with status 'done'
          488 error   Preparing metadata (pyproject.toml): started
          488 error   Preparing metadata (pyproject.toml): finished with status 'done'
          488 error Collecting voluptuous==0.13.1 (from esphome>=2021.8)
          488 error   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
          488 error Collecting PyYAML==6.0 (from esphome>=2021.8)
          488 error   Using cached PyYAML-6.0.tar.gz (124 kB)
          488 error   Installing build dependencies: started
          488 error   Installing build dependencies: finished with status 'done'
          488 error   Getting requirements to build wheel: started
          488 error   Getting requirements to build wheel: finished with status 'done'
          488 error   Preparing metadata (pyproject.toml): started
          488 error   Preparing metadata (pyproject.toml): finished with status 'done'
          488 error Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
          488 error   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
          488 error   Preparing metadata (setup.py): started
          488 error   Preparing metadata (setup.py): finished with status 'done'
          488 error Collecting colorama==0.4.6 (from esphome>=2021.8)
          488 error   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
          488 error Collecting tornado>=3.2
          488 error   Using cached tornado-6.2.tar.gz (504 kB)
          488 error   Installing build dependencies: started
          488 error   Installing build dependencies: finished with status 'done'
          488 error   Getting requirements to build wheel: started
          488 error   Getting requirements to build wheel: finished with status 'done'
          488 error   Preparing metadata (pyproject.toml): started
          488 error   Preparing metadata (pyproject.toml): finished with status 'done'
          488 error Collecting tzlocal==4.2 (from esphome>=2021.8)
          488 error   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
          488 error Collecting tzdata>=2021.1 (from esphome>=2021.8)
          488 error   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
          488 error Collecting pyserial==3.5 (from esphome>=2021.8)
          488 error   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
          488 error Collecting platformio==6.1.6 (from esphome>=2021.8)
          488 error   Using cached platformio-6.1.6.tar.gz (236 kB)
          488 error   Preparing metadata (setup.py): started
          488 error   Preparing metadata (setup.py): finished with status 'done'
          488 error Collecting esptool==4.5.1 (from esphome>=2021.8)
          488 error   Using cached esptool-4.5.1.tar.gz (252 kB)
          488 error   Preparing metadata (setup.py): started
          488 error   Preparing metadata (setup.py): finished with status 'done'
          488 error Collecting click==8.1.3 (from esphome>=2021.8)
          488 error   Using cached click-8.1.3-py3-none-any.whl (96 kB)
          488 error Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
          488 error   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
          488 error Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
          488 error   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
          488 error Collecting zeroconf==0.56.0 (from esphome>=2021.8)
          488 error   Using cached zeroconf-0.56.0.tar.gz (140 kB)
          488 error   Installing build dependencies: started
          488 error   Installing build dependencies: finished with status 'done'
          488 error   Getting requirements to build wheel: started
          488 error   Getting requirements to build wheel: finished with status 'done'
          488 error   Preparing metadata (pyproject.toml): started
          488 error   Preparing metadata (pyproject.toml): finished with status 'done'
          488 error Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
          488 error   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
          488 error Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
          488 error   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
          488 error Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
          488 error   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
          488 error Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
          488 error   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
          488 error Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
          488 error   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
          488 error Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
          488 error   Using cached cryptography-40.0.2.tar.gz (625 kB)
          488 error   Installing build dependencies: started
          488 error   Installing build dependencies: finished with status 'error'
          489 error /usr/bin/python3: No module named pip
          489 error /usr/bin/python3: No module named ensurepip
          489 error ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/wheel-0.40.0.dist-info/INSTALLER4efqrkmn.tmp'
          489 error
          489 error   error: subprocess-exited-with-error
          489 error   
          489 error   × pip subprocess to install build dependencies did not run successfully.
          489 error   │ exit code: 1
          489 error   ╰─> [81 lines of output]
          489 error       Collecting setuptools!=60.9.0,>=40.6.0
          489 error         Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
          489 error       Collecting wheel
          489 error         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
          489 error       Collecting cffi>=1.12
          489 error         Using cached cffi-1.15.1.tar.gz (508 kB)
          489 error         Preparing metadata (setup.py): started
          489 error         Preparing metadata (setup.py): finished with status 'done'
          489 error       Collecting setuptools-rust>=0.11.4
          489 error         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
          489 error       Collecting pycparser (from cffi>=1.12)
          489 error         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
          489 error       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
          489 error         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
          489 error       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
          489 error         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
          489 error       Building wheels for collected packages: cffi
          489 error         Building wheel for cffi (setup.py): started
          489 error         Building wheel for cffi (setup.py): finished with status 'error'
          489 error         error: subprocess-exited-with-error
          489 error       
          489 error         × python setup.py bdist_wheel did not run successfully.
          489 error         │ exit code: 1
          489 error         ╰─> [50 lines of output]
          489 error             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
          489 error             !!
          489 error       
          489 error                     ********************************************************************************
          489 error                     The license_file parameter is deprecated, use license_files instead.
          489 error       
          489 error                     By 2023-Oct-30, you need to update your project and remove deprecated calls
          489 error                     or your builds will no longer be supported.
          489 error       
          489 error                     See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          489 error                     ********************************************************************************
          489 error       
          489 error             !!
          489 error               parsed = self.parsers.get(option_name, lambda x: x)(value)
          489 error             running bdist_wheel
          489 error             running build
          489 error             running build_py
          489 error             creating build
          489 error             creating build/lib.linux-aarch64-cpython-39
          489 error             creating build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
          489 error             running build_ext
          489 error             building '_cffi_backend' extension
          489 error             creating build/temp.linux-aarch64-cpython-39
          489 error             creating build/temp.linux-aarch64-cpython-39/c
          489 error             arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
          489 error             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
          489 error                 2 | #include <Python.h>
          489 error                   |          ^~~~~~~~~~
          489 error             compilation terminated.
          489 error             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
          489 error             [end of output]
          489 error       
          489 error         note: This error originates from a subprocess, and is likely not a problem with pip.
          489 error         ERROR: Failed building wheel for cffi
          489 error         Running setup.py clean for cffi
          489 error       Failed to build cffi
          489 error       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
          489 error       [end of output]
          489 error   
          489 error   note: This error originates from a subprocess, and is likely not a problem with pip.
          489 error error: subprocess-exited-with-error
          489 error
          489 error × pip subprocess to install build dependencies did not run successfully.
          489 error │ exit code: 1
          489 error ╰─> See above for output.
          489 error
          489 error note: This error originates from a subprocess, and is likely not a problem with pip.
          490 verbose exit 1
          491 timing npm Completed in 107807ms
          492 verbose unfinished npm timer reify 1682367601160
          493 verbose unfinished npm timer reify:build 1682367616344
          494 verbose unfinished npm timer build 1682367616349
          495 verbose unfinished npm timer build:deps 1682367616350
          496 verbose unfinished npm timer build:run:install 1682367616381
          497 verbose unfinished npm timer build:run:install:node_modules/iobroker.esphome 1682367616382
          498 verbose code 1
          499 error A complete log of this run can be found in:
          499 error     /home/iobroker/.npm/_logs/2023-04-24T20_20_00_942Z-debug-0.log
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @mayokleckz last edited by

            @mayokleckz

            apt policy python3-full python3-pip
            
            M 1 Reply Last reply Reply Quote 0
            • M
              mayokleckz @Thomas Braun last edited by

              @thomas-braun said in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

              apt policy python3-full python3-pip

              
              flo@raspberrypi:~ $ apt policy python3-full python3-pip
              python3-full:
                Installed: (none)
                Candidate: 3.9.2-3
                Version table:
                   3.9.2-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              python3-pip:
                Installed: 20.3.4-4+rpt1+deb11u1
                Candidate: 20.3.4-4+rpt1+deb11u1
                Version table:
               *** 20.3.4-4+rpt1+deb11u1 500
                      500 http://archive.raspberrypi.org/debian bullseye/main armhf Packages
                      100 /var/lib/dpkg/status
                   20.3.4-4+deb11u1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              flo@raspberrypi:~ $ 
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

                @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                python3-full

                Installier das mal nach.

                sudo apt install python3-full python3.9-dev libpython3.9-dev
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  mayokleckz @Thomas Braun last edited by

                  @thomas-braun
                  Die Installation funktioniert nun.
                  Es war also

                  cd /opt/iobroker
                  npm i nopy
                  sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                  

                  und

                  sudo apt install python3-full python3.9-dev libpython3.9-dev
                  

                  notwendig.
                  Danke.

                  Beim Kompilieren komme ich in einen neuen Fehler. Nach erstem suchen ein 32-bit<>64-bit os Problem?!

                  INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esphome-web-7a8069.yaml...
                  INFO Generating C++ source...
                  INFO Compiling app...
                  Processing esphome--brunnen-web-7a8069 (board: esp01_1m; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
                  --------------------------------------------------------------------------------
                  HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
                  Dependency Graph
                  |-- ESPAsyncTCP-esphome @ 1.2.3
                  |-- ESPAsyncWebServer-esphome @ 2.1.0
                  |   |-- ESPAsyncTCP-esphome @ 1.2.3
                  |   |-- Hash @ 1.0
                  |   |-- ESP8266WiFi @ 1.0
                  |-- DNSServer @ 1.1.1
                  |-- ESP8266WiFi @ 1.0
                  |-- ESP8266mDNS @ 1.2
                  |-- noise-c @ 0.1.4
                  |   |-- libsodium @ 1.10018.1
                  Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_connection.cpp.o
                  sh: 1: xtensa-lx106-elf-g++: not found
                  Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_frame_helper.cpp.o
                  sh: 1: xtensa-lx106-elf-g++: not found
                  Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2.cpp.o
                  sh: 1: xtensa-lx106-elf-g++: not found
                  *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_connection.cpp.o] Error 127
                  Compiling .pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2_service.cpp.o
                  *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
                  *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2.cpp.o] Error 127
                  sh: 1: xtensa-lx106-elf-g++: not found
                  *** [.pioenvs/esphome--brunnen-web-7a8069/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
                  ========================== [FAILED] Took 2.55 seconds ==========================
                  

                  Der erste Lösungsversuch schlug schonmal fehl.

                  flo@raspberrypi:~ $ sudo apt-get install xtensa-lx106-elf
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  E: Unable to locate package xtensa-lx106-elf
                  flo@raspberrypi:~ $ 
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @mayokleckz last edited by

                    @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                    xtensa-lx106-elf-g++

                    Versuch es mit

                    sudo apt install gcc-xtensa-lx106
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mayokleckz @Thomas Braun last edited by

                      @thomas-braun
                      Das ging durch.

                      Ich stolper trotzdem nur ahnungslos von Fehler zu Fehler.

                      INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esp-home-brunnen.yaml...
                      INFO Generating C++ source...
                      INFO Compiling app...
                      Processing esphome-brunnen (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
                      --------------------------------------------------------------------------------
                      HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
                      Dependency Graph
                      |-- ESPAsyncTCP-esphome @ 1.2.3
                      |-- ESPAsyncWebServer-esphome @ 2.1.0
                      |   |-- ESPAsyncTCP-esphome @ 1.2.3
                      |   |-- Hash @ 1.0
                      |   |-- ESP8266WiFi @ 1.0
                      |-- DNSServer @ 1.1.1
                      |-- ESP8266WiFi @ 1.0
                      |-- ESP8266mDNS @ 1.2
                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
                      xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                      compilation terminated.
                      xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                      compilation terminated.
                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o
                      xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                      compilation terminated.
                      *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o] Error 1
                      *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
                      *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o] Error 1
                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o
                      xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                      compilation terminated.
                      *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o] Error 1
                      ========================== [FAILED] Took 2.38 seconds ==========================
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

                        @mayokleckz

                        Da fehlt dir der Cross Compiler
                        https://packages.debian.org/search?searchon=contents&keywords=cc1plus&mode=exactfilename&suite=stable&arch=any

                        Musst Mal schauen welcher gcc und welche Architektur da bei dir am Start ist. Danach richtet sich das zu installierende Paket.

                        uname -m
                        gcc --version
                        

                        sagt dir Näheres.

                        Edit:
                        Ich sehe gerade, das sollte eigentlich auch im Paket gcc-xtensa-lx106 drin sein. Dann weiß ich nicht was dem System noch fehlt.

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

                          @thomas-braun
                          ok schade. trotzdem danke.

                          Evtl. ließt hier noch jemand drüber und weiß weiter Rat.

                          Ich hab mal nachgeschaut, also vorhanden scheint es zu sein.

                          flo@raspberrypi:~ $ find /usr/ -name "*cc1*"
                          /usr/share/terminfo/x/xterm+pcc1
                          /usr/share/doc/libcc1-0
                          /usr/lib/debug/.build-id/97/fca3e5a4e23a7a9dc3429293fe5f810dcc1cd6.debug
                          /usr/lib/debug/.build-id/ac/24d09573ac4b8d5987190d274d9128cc1aeb38.debug
                          find: ‘/usr/lib/mysql/plugin/auth_pam_tool_dir’: Permission denied
                          /usr/lib/arm-linux-gnueabihf/libcc1.so.0.0.0
                          /usr/lib/arm-linux-gnueabihf/libcc1.so.0
                          /usr/lib/gcc/arm-linux-gnueabihf/10/cc1
                          /usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
                          /usr/lib/gcc/arm-linux-gnueabihf/10/libcc1.so
                          /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so
                          /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0.0.0
                          /usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1plus
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so.0.0.0
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.so.0
                          /usr/lib/gcc/xtensa-lx106-elf/10.2.1/plugin/libcc1plugin.la
                          flo@raspberrypi:~ $ find /usr/ -name "*execvp*"
                          /usr/share/man/man3/execvpe.3.gz
                          /usr/share/man/man3/execvp.3.gz
                          find: ‘/usr/lib/mysql/plugin/auth_pam_tool_dir’: Permission denied
                          flo@raspberrypi:~ $ ^C
                          
                          

                          da eine Rechtevergabe schon mal geklappt hat, hab ich mal verzweifelt chmod versucht.

                          
                          flo@raspberrypi:~ $ sudo -u iobroker chmod a+x /usr/lib/gcc/xtensa-lx106-elf/10.2.1/c*
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/cc1plus': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/collect2': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtbegin.o': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtend.o': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crti.o': Operation not permitted
                          chmod: changing permissions of '/usr/lib/gcc/xtensa-lx106-elf/10.2.1/crtn.o': Operation not permitted
                          flo@raspberrypi:~ $
                          

                          Dann noch in die Umgebungsvariable

                          flo@raspberrypi:~ $ export PATH=$PATH:/usr/lib/gcc/xtensa-lx106-elf/10.2.1
                          flo@raspberrypi:~ $ $PATH
                          -bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/bin/g++::/usr/lib/gcc/xtensa-lx106-elf/10.2.1:
                          flo@raspberrypi:~ $ 
                          
                          

                          Den Adapter auch noch mal neu installiert. Kompiliert einfach nicht.

                          Hänge also weiter bei

                          @mayokleckz said in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                          @thomas-braun
                          Das ging durch.

                          Ich stolper trotzdem nur ahnungslos von Fehler zu Fehler.

                          INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esp-home-brunnen.yaml...
                          INFO Generating C++ source...
                          INFO Compiling app...
                          Processing esphome-brunnen (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
                          --------------------------------------------------------------------------------
                          HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
                          Dependency Graph
                          |-- ESPAsyncTCP-esphome @ 1.2.3
                          |-- ESPAsyncWebServer-esphome @ 2.1.0
                          |   |-- ESPAsyncTCP-esphome @ 1.2.3
                          |   |-- Hash @ 1.0
                          |   |-- ESP8266WiFi @ 1.0
                          |-- DNSServer @ 1.1.1
                          |-- ESP8266WiFi @ 1.0
                          |-- ESP8266mDNS @ 1.2
                          Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
                          Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
                          xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                          compilation terminated.
                          xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                          compilation terminated.
                          Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o
                          xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                          compilation terminated.
                          *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o] Error 1
                          *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
                          *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2.cpp.o] Error 1
                          Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o
                          xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                          compilation terminated.
                          *** [.pioenvs/esphome-brunnen/src/esphome/components/api/api_pb2_service.cpp.o] Error 1
                          ========================== [FAILED] Took 2.38 seconds ==========================
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @mayokleckz last edited by Thomas Braun

                            @mayokleckz sagte in ESPHome pls upgr to pio Core 6 obwohl v6.1.6 installiert:

                            da eine Rechtevergabe schon mal geklappt hat, hab ich mal verzweifelt chmod versucht.

                            Schlachte dich da nicht so durch das Rechtegefüge. Das die Rechte bei per Paketmanager installierten Softwarepaketen nicht stimmen kommt nur extrem selten vor, ich würde behaupten nie. Eher fehlen da Gruppenzugehörigkeiten für die User.

                            Gibt es da wo der Code herkommt keine Hinweise was für eine build chain benötigt wird?

                            Edith: Gerade noch was herumgeschaut. Hab ähnliche Probleme gefunden, wenn ältere Versionen von esphome verwendet wurden.

                            echad@chet:~ $ esphome version
                            Version: 2023.4.1
                            echad@chet:~ $
                            

                            Was spuckt das bei dir aus?

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

                              @thomas-braun

                              
                              flo@raspberrypi:~ $ esphome version
                              -bash: esphome: command not found
                              flo@raspberrypi:~ $ 
                              

                              Gibt es da wo der Code herkommt keine Hinweise was für eine build chain benötigt wird?

                              Welchen Code meinst du? Falls der YAML Code zum kompilieren gemeint ist, das ist die initiale yaml Datei, die vom ESPHome Adapter beim hinzufügen eines Geräts automatisch erzeugt wird.

                              esphome:
                                name: esphome-brunnen
                               
                              esp8266:
                                board: d1_mini
                               
                              # Enable logging
                              logger:
                               
                              # Enable Home Assistant API
                              api:
                                  password: 'MyPassword'
                              ota:
                                password: "d960f666ab261cb6fbcd4e21b4cd9a59"
                               
                              wifi:
                                ssid: !secret wifi_ssid
                                password: !secret wifi_password
                               
                                # Enable fallback hotspot (captive portal) in case wifi connection fails
                                ap:
                                  ssid: "Esphome-Brunnen Fallback Hotspot"
                                  password: "15dOCTm1PxgU"
                               
                              captive_portal:
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @mayokleckz last edited by

                                @mayokleckz

                                Keine Ahnung, hab mit esphome eigentlich nix am Hut.

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

                                  @thomas-braun

                                  Das esphome version keine Antwort gab, hab ich folgendes versucht. Brachte aber auch keine Änderung am Ergebnis. Und im falschen Verzeichnis hab ichs wohl auch noch installiert.

                                  flo@raspberrypi:~ $ pip3 install esphome
                                  Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
                                  Collecting esphome
                                    Downloading https://www.piwheels.org/simple/esphome/esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB)
                                       |████████████████████████████████| 2.6 MB 1.2 MB/s
                                  Collecting tzdata>=2021.1
                                    Downloading https://www.piwheels.org/simple/tzdata/tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                                       |████████████████████████████████| 341 kB 7.1 MB/s
                                  Collecting colorama==0.4.6
                                    Downloading https://www.piwheels.org/simple/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                                  Collecting tzlocal==4.2
                                    Downloading https://www.piwheels.org/simple/tzlocal/tzlocal-4.2-py3-none-any.whl (19 kB)
                                  Collecting PyYAML==6.0
                                    Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-6.0-cp39-cp39-linux_armv7l.whl (45 kB)
                                       |████████████████████████████████| 45 kB 1.5 MB/s
                                  Collecting kconfiglib==13.7.1
                                    Downloading https://www.piwheels.org/simple/kconfiglib/kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                                       |████████████████████████████████| 145 kB 1.2 MB/s
                                  Collecting platformio==6.1.6
                                    Downloading https://www.piwheels.org/simple/platformio/platformio-6.1.6-py3-none-any.whl (416 kB)
                                       |████████████████████████████████| 416 kB 6.9 MB/s
                                  Collecting esptool==4.5.1
                                    Downloading https://www.piwheels.org/simple/esptool/esptool-4.5.1-py3-none-any.whl (320 kB)
                                       |████████████████████████████████| 320 kB 3.8 MB/s
                                  Collecting tornado==6.2
                                    Downloading https://www.piwheels.org/simple/tornado/tornado-6.2-cp37-abi3-linux_armv7l.whl (422 kB)
                                       |████████████████████████████████| 422 kB 2.9 MB/s
                                  Collecting pyserial==3.5
                                    Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
                                       |████████████████████████████████| 90 kB 2.9 MB/s
                                  Collecting zeroconf==0.56.0
                                    Downloading https://www.piwheels.org/simple/zeroconf/zeroconf-0.56.0-cp39-cp39-manylinux_2_31_armv7l.whl (2.1 MB)
                                       |████████████████████████████████| 2.1 MB 1.2 MB/s
                                  Collecting voluptuous==0.13.1
                                    Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
                                  Collecting click==8.1.3
                                    Downloading https://www.piwheels.org/simple/click/click-8.1.3-py3-none-any.whl (96 kB)
                                       |████████████████████████████████| 96 kB 1.6 MB/s
                                  Collecting esphome-dashboard==20230214.0
                                    Downloading https://www.piwheels.org/simple/esphome-dashboard/esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                                       |████████████████████████████████| 1.6 MB 6.8 MB/s
                                  Collecting paho-mqtt==1.6.1
                                    Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB)
                                       |████████████████████████████████| 75 kB 1.6 MB/s
                                  Collecting aioesphomeapi==13.5.1
                                    Downloading https://www.piwheels.org/simple/aioesphomeapi/aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                                       |████████████████████████████████| 54 kB 802 kB/s
                                  Collecting protobuf>=3.19.0
                                    Downloading https://www.piwheels.org/simple/protobuf/protobuf-4.22.3-cp39-cp39-linux_armv7l.whl (924 kB)
                                       |████████████████████████████████| 924 kB 1.2 MB/s
                                  Collecting async-timeout>=4.0
                                    Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                                  Collecting noiseprotocol<1.0,>=0.3.1
                                    Downloading https://www.piwheels.org/simple/noiseprotocol/noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                                  Collecting cryptography>=2.1.4
                                    Downloading https://www.piwheels.org/simple/cryptography/cryptography-40.0.2-cp39-cp39-linux_armv7l.whl (1.5 MB)
                                       |████████████████████████████████| 1.5 MB 1.2 MB/s
                                  Collecting reedsolo<=1.6.0,>=1.5.3
                                    Downloading https://www.piwheels.org/simple/reedsolo/reedsolo-1.6.0-cp39-cp39-linux_armv7l.whl (897 kB)
                                       |████████████████████████████████| 897 kB 6.9 MB/s
                                  Collecting ecdsa>=0.16.0
                                    Downloading https://www.piwheels.org/simple/ecdsa/ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
                                       |████████████████████████████████| 142 kB 7.0 MB/s
                                  Collecting bitstring>=3.1.6
                                    Downloading https://www.piwheels.org/simple/bitstring/bitstring-4.0.2-py3-none-any.whl (46 kB)
                                       |████████████████████████████████| 46 kB 1.6 MB/s
                                  Collecting semantic-version==2.10.*
                                    Downloading https://www.piwheels.org/simple/semantic-version/semantic_version-2.10.0-py2.py3-none-any.whl (19 kB)
                                  Collecting tabulate==0.9.*
                                    Downloading https://www.piwheels.org/simple/tabulate/tabulate-0.9.0-py3-none-any.whl (35 kB)
                                  Collecting starlette==0.23.*
                                    Downloading https://www.piwheels.org/simple/starlette/starlette-0.23.1-py3-none-any.whl (64 kB)
                                       |████████████████████████████████| 64 kB 1.4 MB/s
                                  Collecting pyelftools<1,>=0.27
                                    Downloading https://www.piwheels.org/simple/pyelftools/pyelftools-0.29-py2.py3-none-any.whl (174 kB)
                                       |████████████████████████████████| 174 kB 6.9 MB/s
                                  Collecting ajsonrpc==1.*
                                    Downloading https://www.piwheels.org/simple/ajsonrpc/ajsonrpc-1.2.0-py3-none-any.whl (22 kB)
                                  Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==6.1.6->esphome) (2.25.1)
                                  Collecting aiofiles==22.1.*
                                    Downloading https://www.piwheels.org/simple/aiofiles/aiofiles-22.1.0-py3-none-any.whl (14 kB)
                                  Collecting wsproto==1.2.*
                                    Downloading https://www.piwheels.org/simple/wsproto/wsproto-1.2.0-py3-none-any.whl (24 kB)
                                  Collecting bottle==0.12.*
                                    Downloading https://www.piwheels.org/simple/bottle/bottle-0.12.25-py3-none-any.whl (90 kB)
                                       |████████████████████████████████| 90 kB 2.8 MB/s
                                  Collecting marshmallow==3.*
                                    Downloading marshmallow-3.19.0-py3-none-any.whl (49 kB)
                                       |████████████████████████████████| 49 kB 1.6 MB/s
                                  Collecting uvicorn==0.20.*
                                    Downloading https://www.piwheels.org/simple/uvicorn/uvicorn-0.20.0-py3-none-any.whl (56 kB)
                                       |████████████████████████████████| 56 kB 787 kB/s
                                  Collecting packaging>=17.0
                                    Downloading https://www.piwheels.org/simple/packaging/packaging-23.1-py3-none-any.whl (48 kB)
                                       |████████████████████████████████| 48 kB 992 kB/s
                                  Collecting typing-extensions>=3.10.0
                                    Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                                  Collecting anyio<5,>=3.4.0
                                    Downloading https://www.piwheels.org/simple/anyio/anyio-3.6.2-py3-none-any.whl (80 kB)
                                       |████████████████████████████████| 80 kB 937 kB/s
                                  Collecting pytz-deprecation-shim
                                    Downloading https://www.piwheels.org/simple/pytz-deprecation-shim/pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
                                  Collecting h11>=0.8
                                    Downloading https://www.piwheels.org/simple/h11/h11-0.14.0-py3-none-any.whl (58 kB)
                                       |████████████████████████████████| 58 kB 2.0 MB/s
                                  Collecting ifaddr>=0.1.7
                                    Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
                                  Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<5,>=3.4.0->starlette==0.23.*->platformio==6.1.6->esphome) (2.10)
                                  Collecting sniffio>=1.1
                                    Downloading https://www.piwheels.org/simple/sniffio/sniffio-1.3.0-py3-none-any.whl (10 kB)
                                  Collecting cffi>=1.12
                                    Downloading https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp39-cp39-linux_armv7l.whl (364 kB)
                                       |████████████████████████████████| 364 kB 1.2 MB/s
                                  Collecting pycparser
                                    Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
                                       |████████████████████████████████| 119 kB 6.9 MB/s
                                  Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==4.5.1->esphome) (1.16.0)
                                  Installing collected packages: pycparser, sniffio, cffi, tzdata, typing-extensions, packaging, ifaddr, h11, cryptography, click, async-timeout, anyio, zeroconf, wsproto, uvicorn, tabulate, starlette, semantic-version, reedsolo, pytz-deprecation-shim, pyserial, pyelftools, protobuf, noiseprotocol, marshmallow, ecdsa, colorama, bottle, bitstring, ajsonrpc, aiofiles, voluptuous, tzlocal, tornado, PyYAML, platformio, paho-mqtt, kconfiglib, esptool, esphome-dashboard, aioesphomeapi, esphome
                                    WARNING: The script uvicorn is installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The script tabulate is installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The scripts pyserial-miniterm and pyserial-ports are installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The script async-json-rpc-server is installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The scripts pio, piodebuggdb and platformio are installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The scripts alldefconfig, allmodconfig, allnoconfig, allyesconfig, defconfig, genconfig, guiconfig, listnewconfig, menuconfig, oldconfig, olddefconfig, savedefconfig and setconfig are installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                    WARNING: The script esphome is installed in '/home/flo/.local/bin' which is not on PATH.
                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
                                  Successfully installed PyYAML-6.0 aioesphomeapi-13.5.1 aiofiles-22.1.0 ajsonrpc-1.2.0 anyio-3.6.2 async-timeout-4.0.2 bitstring-4.0.2 bottle-0.12.25 cffi-1.15.1 click-8.1.3 colorama-0.4.6 cryptography-40.0.2 ecdsa-0.18.0 esphome-2023.4.1 esphome-dashboard-20230214.0 esptool-4.5.1 h11-0.14.0 ifaddr-0.2.0 kconfiglib-13.7.1 marshmallow-3.19.0 noiseprotocol-0.3.1 packaging-23.1 paho-mqtt-1.6.1 platformio-6.1.6 protobuf-4.22.3 pycparser-2.21 pyelftools-0.29 pyserial-3.5 pytz-deprecation-shim-0.1.0.post0 reedsolo-1.6.0 semantic-version-2.10.0 sniffio-1.3.0 starlette-0.23.1 tabulate-0.9.0 tornado-6.2 typing-extensions-4.5.0 tzdata-2023.3 tzlocal-4.2 uvicorn-0.20.0 voluptuous-0.13.1 wsproto-1.2.0 zeroconf-0.56.0
                                  flo@raspberrypi:~ $ esphome version
                                  -bash: esphome: command not found
                                  flo@raspberrypi:~ $ ^C
                                  flo@raspberrypi:~ $ export PATH=$PATH:/home/flo/.local/bin
                                  flo@raspberrypi:~ $ esphome version
                                  Version: 2023.4.1
                                  flo@raspberrypi:~ $
                                  
                                  

                                  Ich glaub den ESPHome Adapter lass ich dann mal bleiben, oder versuchs mal bei HA.

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

                                    @mayokleckz

                                    pipx install esphome
                                    

                                    ist aber möglich das des Adapter das anders braucht/selber mitbringt.

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

                                      @thomas-braun
                                      Ich weiß ja, dass es kein iobroker Thema mehr ist, würde es aber trotzdem hier Dokumentieren, falls ich zu einer Lösung komme. Kann ja nicht sein, dass es nicht geht. . .

                                      Im Abhängigkeitsbaum zu Beginn der Kompilierung, habe ich festgestellt, dass im Vergleich zu anderen noise-c und libsodium fehlen. Kann es daran liegen?
                                      Falls ja, wie kann ich das installieren? Wenn ich google, bekomm ich nur noise canceling und audio Ergebnisse.

                                      Mein "Error"Log auf dem Raspi

                                      HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
                                      Dependency Graph
                                      |-- ESPAsyncTCP-esphome @ 1.2.3
                                      |-- ESPAsyncWebServer-esphome @ 2.1.0
                                      |   |-- ESPAsyncTCP-esphome @ 1.2.3
                                      |   |-- Hash @ 1.0
                                      |   |-- ESP8266WiFi @ 1.0
                                      |-- DNSServer @ 1.1.1
                                      |-- ESP8266WiFi @ 1.0
                                      |-- ESP8266mDNS @ 1.2
                                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_connection.cpp.o
                                      Compiling .pioenvs/esphome-brunnen/src/esphome/components/api/api_frame_helper.cpp.o
                                      xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
                                      

                                      Hier aus dem log einer funktionierenden Kompilierung

                                      Dependency Graph
                                      |-- ESPAsyncTCP-esphome @ 1.2.3
                                      |-- ESPAsyncWebServer-esphome @ 2.1.0
                                      |   |-- ESPAsyncTCP-esphome @ 1.2.3
                                      |   |-- Hash @ 1.0
                                      |   |-- ESP8266WiFi @ 1.0
                                      |-- DNSServer @ 1.1.1
                                      |-- ESP8266WiFi @ 1.0
                                      |-- ESP8266mDNS @ 1.2
                                      |-- noise-c @ 0.1.4
                                      |   |-- libsodium @ 1.10018.1
                                      Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_connection.cpp.o
                                      Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_frame_helper.cpp.o
                                      Compiling .pioenvs\esp-home-brunnen-defsettings\src\esphome\components\api\api_pb2.cpp.o
                                      
                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mayokleckz @mayokleckz last edited by

                                        @mayokleckz
                                        SD Karte formatieren und RaspOS 64 bit drauf. Alles installieren und es läuft.
                                        Ich brech zam.

                                        Danke @Thomas-Braun für den support und sorry, war offensichtlich unnötig.

                                        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

                                        615
                                        Online

                                        32.0k
                                        Users

                                        80.4k
                                        Topics

                                        1.3m
                                        Posts

                                        esphome platformio python wemos d1 mini
                                        3
                                        29
                                        1839
                                        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