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

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [ESPHome] Beta release

NEWS

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

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

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

[ESPHome] Beta release

Geplant Angeheftet Gesperrt Verschoben Tester
591 Beiträge 48 Kommentatoren 156.1k Aufrufe 39 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • OpenSourceNomadO OpenSourceNomad

    @maxpd said in [ESPHome] Beta release:

    wenn man den servo 1 minute (36000 Grad) am stück laufen lassen möchte und anschließend zurück?

    Das ist mit Sicherheit was für eine automation :arrow_left:, welche wiederum durch einen template button gestartet werden kann wenn gewünscht :bulb:

    M Offline
    M Offline
    maxpd
    schrieb am zuletzt editiert von
    #514

    @opensourcenomad puhh, crazy, viel zu lernen, merci :)

    Gruß
    maxpd

    Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

    1 Antwort Letzte Antwort
    0
    • a200A a200

      @e-s hier komplett:
      damit werden entsprechende Buttons von -100 bis 100 und STOP über die Web-GUI verfügbar.

      web_server:
        port: 80
      
      
      button:
        - platform: template
          name: "0"
          on_press:
          - servo.write:
              id: my_servo
              level: 0.0%
        - platform: template
          name: "10"
          on_press:
          - servo.write:
              id: my_servo
              level: 10%
        - platform: template
          name: "20"
          on_press:
          - servo.write:
              id: my_servo
              level: 20%
        - platform: template
          name: "30"
          on_press:
          - servo.write:
              id: my_servo
              level: 30%
        - platform: template
          name: "40"
          on_press:
          - servo.write:
              id: my_servo
              level: 40%
        - platform: template
          name: "50"
          on_press:
          - servo.write:
              id: my_servo
              level: 50%
        - platform: template
          name: "60"
          on_press:
          - servo.write:
              id: my_servo
              level: 60%
        - platform: template
          name: "70"
          on_press:
          - servo.write:
              id: my_servo
              level: 70%
        - platform: template
          name: "80"
          on_press:
          - servo.write:
              id: my_servo
              level: 80%
        - platform: template
          name: "90"
          on_press:
          - servo.write:
              id: my_servo
              level: 90%
        - platform: template
          name: "100"
          on_press:
          - servo.write:
              id: my_servo
              level: 100%
        - platform: template
          name: "-10"
          on_press:
          - servo.write:
              id: my_servo
              level: -10%
        - platform: template
          name: "-20"
          on_press:
          - servo.write:
              id: my_servo
              level: -20%
        - platform: template
          name: "-30"
          on_press:
          - servo.write:
              id: my_servo
              level: -30%
        - platform: template
          name: "-40"
          on_press:
          - servo.write:
              id: my_servo
              level: -40%
        - platform: template
          name: "-50"
          on_press:
          - servo.write:
              id: my_servo
              level: -50%
        - platform: template
          name: "-60"
          on_press:
          - servo.write:
              id: my_servo
              level: -60%
        - platform: template
          name: "-70"
          on_press:
          - servo.write:
              id: my_servo
              level: -70%
        - platform: template
          name: "-80"
          on_press:
          - servo.write:
              id: my_servo
              level: -80%
        - platform: template
          name: "-90"
          on_press:
          - servo.write:
              id: my_servo
              level: -90%
        - platform: template
          name: "-100"
          on_press:
          - servo.write:
              id: my_servo
              level: -100%
        - platform: template
          name: "Stop"
          on_press:
            - servo.detach: my_servo
      
      
      servo:
        - id: my_servo
          output: pwm_output
          
      output:
        - platform: esp8266_pwm
          id: pwm_output
          pin: D1
          frequency: 50 Hz
      
      M Offline
      M Offline
      maxpd
      schrieb am zuletzt editiert von maxpd
      #515

      @a200 lieferst du @Dutchman noch das Log? Danke dir.

      Gruß
      maxpd

      Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

      1 Antwort Letzte Antwort
      1
      • M Offline
        M Offline
        maxpd
        schrieb am zuletzt editiert von
        #516

        @Dutchman

        Ich hab meinen Servo, der bisher nur die Level Variable hat eingebunden.

        Das ist das esp script:

        esphome:
          name: little_wemos
          platform: ESP8266
          board: d1_mini
         
        wifi:
          ssid: !secret wifi_ssid
          password: !secret wifi_password
         
          # Enable fallback hotspot (captive portal) in case wifi connection fails
          ap:
            ssid: "Little Wemos Fallback Hotspot"
            password: "************"
         
        captive_portal:
         
        # Enable logging
        logger:
         
        api:
          services:
            - service: control_servo
              variables:
                level: float
              then:
                - servo.write:
                    id: my_servo
                    level: !lambda 'return level / 1000.0;'
         
        ota:
         
        output:
          - platform: esp8266_pwm
            id: pwm_output
            pin: D3
            frequency: 50 Hz
         
        servo:
          - id: my_servo
            output: pwm_output
        

        Das ist das Debug Log hierzu.

        
        esphome.0
        2022-03-17 15:42:40.693	debug	Create_state called for : C45BBEDDA7E1.info._online with value : true
        
        esphome.0
        2022-03-17 15:42:40.661	debug	MODIFY to hasDeepSleep: ""
        
        esphome.0
        2022-03-17 15:42:40.660	debug	Create_state called for : C45BBEDDA7E1.info.hasDeepSleep with value : false
        
        esphome.0
        2022-03-17 15:42:40.660	debug	create id C45BBEDDA7E1.info.hasDeepSleep with value false and name hasDeepSleep
        
        esphome.0
        2022-03-17 15:42:40.598	debug	MODIFY to model: ""
        
        esphome.0
        2022-03-17 15:42:40.597	debug	Create_state called for : C45BBEDDA7E1.info.model with value : d1_mini
        
        esphome.0
        2022-03-17 15:42:40.597	debug	create id C45BBEDDA7E1.info.model with value d1_mini and name model
        
        esphome.0
        2022-03-17 15:42:40.573	debug	MODIFY to compilationTime: ""
        
        esphome.0
        2022-03-17 15:42:40.572	debug	Create_state called for : C45BBEDDA7E1.info.compilationTime with value : Mar 17 2022, 15:38:01
        
        esphome.0
        2022-03-17 15:42:40.572	debug	create id C45BBEDDA7E1.info.compilationTime with value Mar 17 2022, 15:38:01 and name compilationTime
        
        esphome.0
        2022-03-17 15:42:40.551	debug	MODIFY to esphomeVersion: ""
        
        esphome.0
        2022-03-17 15:42:40.551	debug	Create_state called for : C45BBEDDA7E1.info.esphomeVersion with value : 2022.3.0
        
        esphome.0
        2022-03-17 15:42:40.550	debug	create id C45BBEDDA7E1.info.esphomeVersion with value 2022.3.0 and name esphomeVersion
        
        esphome.0
        2022-03-17 15:42:40.475	info	ESPHome client little_wemos on ip 192.168.178.53 initialized
        
        esphome.0
        2022-03-17 15:42:40.474	debug	192.168.178.53 client log ListEntitiesDoneResponse
        
        esphome.0
        2022-03-17 15:42:40.472	debug	192.168.178.53 client data 
        
        esphome.0
        2022-03-17 15:42:40.460	debug	MODIFY to macAddress: ""
        
        esphome.0
        2022-03-17 15:42:40.459	debug	Create_state called for : C45BBEDDA7E1.info.macAddress with value : C4:5B:BE:DD:A7:E1
        
        esphome.0
        2022-03-17 15:42:40.459	debug	create id C45BBEDDA7E1.info.macAddress with value C4:5B:BE:DD:A7:E1 and name macAddress
        
        esphome.0
        2022-03-17 15:42:40.436	debug	MODIFY to name: ""
        
        esphome.0
        2022-03-17 15:42:40.435	debug	Create_state called for : C45BBEDDA7E1.info.name with value : little_wemos
        
        esphome.0
        2022-03-17 15:42:40.434	debug	create id C45BBEDDA7E1.info.name with value little_wemos and name name
        
        esphome.0
        2022-03-17 15:42:40.430	debug	192.168.178.53 client log ListEntitiesServicesResponse
        
        esphome.0
        2022-03-17 15:42:40.426	debug	192.168.178.53 client data ) control_servo>�S� level
        
        esphome.0
        2022-03-17 15:42:40.406	debug	MODIFY to usesPassword: ""
        
        esphome.0
        2022-03-17 15:42:40.405	debug	Create_state called for : C45BBEDDA7E1.info.usesPassword with value : false
        
        esphome.0
        2022-03-17 15:42:40.404	debug	create id C45BBEDDA7E1.info.usesPassword with value false and name usesPassword
        
        esphome.0
        2022-03-17 15:42:40.384	debug	192.168.178.53 client log DeviceInfoResponse
        
        esphome.0
        2022-03-17 15:42:40.380	debug	DeviceInfo little_wemos: {"192.168.178.53":{"ip":"192.168.178.53","mac":"C4:5B:BE:DD:A7:E1","deviceInfo":{"usesPassword":false,"name":"little_wemos","macAddress":"C4:5B:BE:DD:A7:E1","esphomeVersion":"2022.3.0","compilationTime":"Mar 17 2022, 15:38:01","model":"d1_mini","hasDeepSleep":false},"deviceName":"C45BBEDDA7E1","deviceInfoName":"little_wemos","passWord":""}}
        
        esphome.0
        2022-03-17 15:42:40.378	debug	DeviceData: {"usesPassword":false,"name":"little_wemos","macAddress":"C4:5B:BE:DD:A7:E1","esphomeVersion":"2022.3.0","compilationTime":"Mar 17 2022, 15:38:01","model":"d1_mini","hasDeepSleep":false}
        
        esphome.0
        2022-03-17 15:42:40.378	info	ESPHome Device info received for little_wemos
        
        esphome.0
        2022-03-17 15:42:40.375	debug	192.168.178.53 client data Klittle_wemosC4:5B:BE:DD:A7:E1"2022.3.0*Mar 17 2022, 15:38:012d1_mini
        
        esphome.0
        2022-03-17 15:42:40.359	info	ESPHome client 192.168.178.53 connected
        
        esphome.0
        2022-03-17 15:42:40.358	debug	192.168.178.53 client log ConnectResponse
        
        esphome.0
        2022-03-17 15:42:40.356	debug	192.168.178.53 client data 
        
        esphome.0
        2022-03-17 15:42:40.341	debug	192.168.178.53 client log HelloResponse
        
        esphome.0
        2022-03-17 15:42:40.337	debug	192.168.178.53 client data 4 little_wemos (esphome v2022.3.0)"little_wemos
        
        esphome.0
        2022-03-17 15:42:40.323	debug	192.168.178.53 client log PingResponse
        
        esphome.0
        2022-03-17 15:42:40.320	debug	192.168.178.53 client data 
        
        esphome.0
        2022-03-17 15:42:40.286	debug	espHomeDashboard_Process {"_events":{},"_eventsCount":0,"_maxListeners":100,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"npm","_handle":{"pid":16308},"spawnargs":["npm","run","-s","nopy","/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome","dashboard","/opt/iobroker/iobroker-data/esphome.0"],"pid":16308,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":1,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":1,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]}
        
        esphome.0
        2022-03-17 15:42:40.272	info	Native Integration of ESPHome Dashboard enabled
        
        esphome.0
        2022-03-17 15:42:40.268	info	Auto Discovery startet, new devices (or IP changes) will be detected automatically
        

        Gruß
        maxpd

        Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

        M 1 Antwort Letzte Antwort
        0
        • OpenSourceNomadO OpenSourceNomad

          @maxpd said in [ESPHome] Beta release:

          wenn man den servo 1 minute (36000 Grad) am stück laufen lassen möchte und anschließend zurück?

          Das ist mit Sicherheit was für eine automation :arrow_left:, welche wiederum durch einen template button gestartet werden kann wenn gewünscht :bulb:

          M Offline
          M Offline
          maxpd
          schrieb am zuletzt editiert von
          #517

          @opensourcenomad hast du das schon umgesetzt? Das letzte Update des Adapters liegt noch vor 12.2021.

          Home Assistant Core 2021.12 or higher is required for ESPHome button entities to work.
          

          Und kommt das Template nicht in die configuration.yaml oder template.yaml im Home Assistant? Aber die gibt es im iobroker esphome Adapter nicht. Habe die Ordnerstruktur durchwühlt.

          Gruß
          maxpd

          Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

          OpenSourceNomadO 1 Antwort Letzte Antwort
          0
          • M maxpd

            @opensourcenomad hast du das schon umgesetzt? Das letzte Update des Adapters liegt noch vor 12.2021.

            Home Assistant Core 2021.12 or higher is required for ESPHome button entities to work.
            

            Und kommt das Template nicht in die configuration.yaml oder template.yaml im Home Assistant? Aber die gibt es im iobroker esphome Adapter nicht. Habe die Ordnerstruktur durchwühlt.

            OpenSourceNomadO Offline
            OpenSourceNomadO Offline
            OpenSourceNomad
            Most Active
            schrieb am zuletzt editiert von OpenSourceNomad
            #518

            @maxpd said in [ESPHome] Beta release:

            Das letzte Update des Adapters liegt noch vor 12.2021.

            Du kannst lokal die aktuellste Version (2022.03) mittels pip oder docker installieren.

            Home Assistant Core 2021.12 or higher is required for ESPHome button entities to work.

            Allerdings wird dir das in diesem Fall wohl nicht weiterhelfen weil esphome für die buttons vom iobroker eine neuere Version verlangt.

            Und kommt das Template nicht in die configuration.yaml oder template.yaml im Home Assistant?

            Nein.

            „Das Widerlegen von Schwachsinn erfordert eine Größenordnung mehr Energie als dessen Produktion.“ - Alberto Brandolini (Bullshit-Asymmetrie-Prinzip)

            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              steimi
              schrieb am zuletzt editiert von
              #519

              einfach unter "Adapter -> eine bestimmte Version" die aktuelle Version 0.2.4 nochmal installieren. Dabei zieht er sich die aktuelle ESPhome-Version 2022.03

              M 1 Antwort Letzte Antwort
              1
              • S steimi

                einfach unter "Adapter -> eine bestimmte Version" die aktuelle Version 0.2.4 nochmal installieren. Dabei zieht er sich die aktuelle ESPhome-Version 2022.03

                M Offline
                M Offline
                maxpd
                schrieb am zuletzt editiert von
                #520

                @steimi Ja, lokal habe ich die 2022.03 im ESP.

                Hatte nur die Änderungsdaten der Files im ESPHome Adapter geprüft und die waren alle älter.
                also genau das was @OpenSourceNomad bestätigt hat.

                Gruß
                maxpd

                Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                1 Antwort Letzte Antwort
                0
                • a200A a200

                  @johannes-bauerstatter Ein ESPHome Update innerhalb des USPHome-Adapters ist so einfach, dass es schon peinlich ist.

                  1. IoBroker unter Adapter "Expertenmodus" aktivieren.
                  2. Auf die Katze (installieren aus eigener URL) klicken.
                  3. Im Tab "VON NPM" den ESphome-Adapter auswählen.

                  Der Adapter wird reinstalliert, wobei die neuste Version von ESPHome gezogen und installiert wird. Alle Yamls und die Datenpunkte bleiben erhalten.

                  B Offline
                  B Offline
                  bernd33-1
                  schrieb am zuletzt editiert von
                  #521

                  @a200 said in [ESPHome] Beta release:

                  @johannes-bauerstatter Ein ESPHome Update innerhalb des USPHome-Adapters ist so einfach, dass es schon peinlich ist.

                  1. IoBroker unter Adapter "Expertenmodus" aktivieren.
                  2. Auf die Katze (installieren aus eigener URL) klicken.
                  3. Im Tab "VON NPM" den ESphome-Adapter auswählen.

                  Der Adapter wird reinstalliert, wobei die neuste Version von ESPHome gezogen und installiert wird. Alle Yamls und die Datenpunkte bleiben erhalten.

                  Hi,

                  bei mir wird der ESP-Home Adapter nicht aufgelistet. Muss man noch was beachten?

                  Danke und Grüße, Bernd

                  4f86d2aa-3fd2-4daf-b1f2-8ea4b4072d0e-image.png

                  aktuell habe ich die ESPHome version 2021.8.2 compiled on Mar 14 2022, 09:07:40

                  a200A 1 Antwort Letzte Antwort
                  0
                  • B bernd33-1

                    @a200 said in [ESPHome] Beta release:

                    @johannes-bauerstatter Ein ESPHome Update innerhalb des USPHome-Adapters ist so einfach, dass es schon peinlich ist.

                    1. IoBroker unter Adapter "Expertenmodus" aktivieren.
                    2. Auf die Katze (installieren aus eigener URL) klicken.
                    3. Im Tab "VON NPM" den ESphome-Adapter auswählen.

                    Der Adapter wird reinstalliert, wobei die neuste Version von ESPHome gezogen und installiert wird. Alle Yamls und die Datenpunkte bleiben erhalten.

                    Hi,

                    bei mir wird der ESP-Home Adapter nicht aufgelistet. Muss man noch was beachten?

                    Danke und Grüße, Bernd

                    4f86d2aa-3fd2-4daf-b1f2-8ea4b4072d0e-image.png

                    aktuell habe ich die ESPHome version 2021.8.2 compiled on Mar 14 2022, 09:07:40

                    a200A Offline
                    a200A Offline
                    a200
                    schrieb am zuletzt editiert von
                    #522

                    @bernd33-1 Hast du dein Repository auf BETA umgestellt?

                    523cf4e6-1a76-43c3-bb4d-86effd258bc7-grafik.png

                    IoBroker auf QNAP TS-451, Raspi und NUC

                    1 Antwort Letzte Antwort
                    0
                    • B Offline
                      B Offline
                      bernd33-1
                      schrieb am zuletzt editiert von
                      #523

                      @a200 :man-facepalming: Oh man, ja klar. Ich verwende ESPHome schon so selbstverständlich das ich garnicht mehr an Beta denke.

                      Ja klar, im Beta ist der Adapter da. Danke und schönen Sonntag noch, Bernd

                      a200A 1 Antwort Letzte Antwort
                      0
                      • B bernd33-1

                        @a200 :man-facepalming: Oh man, ja klar. Ich verwende ESPHome schon so selbstverständlich das ich garnicht mehr an Beta denke.

                        Ja klar, im Beta ist der Adapter da. Danke und schönen Sonntag noch, Bernd

                        a200A Offline
                        a200A Offline
                        a200
                        schrieb am zuletzt editiert von
                        #524

                        @bernd33-1 sagte in [ESPHome] Beta release:

                        @a200 :man-facepalming: Oh man, ja klar. Ich verwende ESPHome schon so selbstverständlich das ich garnicht mehr an Beta denke.

                        Ja klar, im Beta ist der Adapter da. Danke und schönen Sonntag noch, Bernd

                        Freut mich zu hören. Über einen + würde ich mich freuen. LG

                        IoBroker auf QNAP TS-451, Raspi und NUC

                        1 Antwort Letzte Antwort
                        1
                        • a200A a200

                          @johannes-bauerstatter Ein ESPHome Update innerhalb des USPHome-Adapters ist so einfach, dass es schon peinlich ist.

                          1. IoBroker unter Adapter "Expertenmodus" aktivieren.
                          2. Auf die Katze (installieren aus eigener URL) klicken.
                          3. Im Tab "VON NPM" den ESphome-Adapter auswählen.

                          Der Adapter wird reinstalliert, wobei die neuste Version von ESPHome gezogen und installiert wird. Alle Yamls und die Datenpunkte bleiben erhalten.

                          B Offline
                          B Offline
                          Beowolf
                          schrieb am zuletzt editiert von Beowolf
                          #525

                          Ich bekomme den Adapter nicht installiert.

                          Hier die Meldungen:

                          $ iobroker add esphome --host ioBroker-Master
                          
                          NPM version: 6.14.16
                          
                          Installing iobroker.esphome@0.2.4... (System call)
                          
                          > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install
                          
                          No python_modules directory; installing pip locally if needed.
                          
                          Successfully completed pip check.
                          
                          Collecting esphome>=2021.8
                          
                          Using cached esphome-2022.2.6-py2.py3-none-any.whl (2.1 MB)
                          
                          Collecting tornado>=3.2
                          
                          Using cached tornado-6.1.tar.gz (497 kB)
                          
                          Preparing metadata (setup.py): started
                          
                          Preparing metadata (setup.py): finished with status 'done'
                          
                          Collecting tzdata>=2021.1
                          
                          Using cached tzdata-2022.1-py2.py3-none-any.whl (339 kB)
                          
                          Collecting esphome-dashboard==20220209.0
                          
                          Using cached esphome_dashboard-20220209.0-py3-none-any.whl (592 kB)
                          
                          Collecting click==8.0.3
                          
                          Using cached click-8.0.3-py3-none-any.whl (97 kB)
                          
                          Collecting PyYAML==6.0
                          
                          Using cached PyYAML-6.0.tar.gz (124 kB)
                          
                          Installing build dependencies: started
                          
                          Installing build dependencies: finished with status 'done'
                          
                          Getting requirements to build wheel: started
                          
                          Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started
                          
                          Preparing metadata (pyproject.toml): finished with status 'done'
                          
                          Collecting aioesphomeapi==10.8.2
                          
                          Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
                          
                          Collecting zeroconf==0.38.3
                          
                          Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB)
                          
                          Collecting kconfiglib==13.7.1
                          
                          Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                          
                          Collecting esptool==3.2
                          
                          Using cached esptool-3.2.tar.gz (206 kB)
                          
                          Preparing metadata (setup.py): started
                          
                          Preparing metadata (setup.py): finished with status 'done'
                          
                          Collecting colorama==0.4.4
                          
                          Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
                          
                          Collecting pyserial==3.5 Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                          
                          Collecting tzlocal==4.1
                          
                          Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
                          
                          Collecting platformio==5.2.5
                          
                          Using cached platformio-5.2.5.tar.gz (218 kB)
                          
                          Preparing metadata (setup.py): started
                          
                          Preparing metadata (setup.py): finished with status 'done'
                          
                          Collecting voluptuous==0.12.2
                          
                          Using cached voluptuous-0.12.2.tar.gz (48 kB)
                          
                          Preparing metadata (setup.py): started
                          
                          Preparing metadata (setup.py): finished with status 'done'
                          
                          Collecting paho-mqtt==1.6.1
                          
                          Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                          
                          Preparing metadata (setup.py): started
                          
                          Preparing metadata (setup.py): finished with status 'done'
                          
                          Collecting protobuf<4.0,>=3.12.2
                          
                          Using cached protobuf-3.19.4-py2.py3-none-any.whl (162 kB)
                          
                          Collecting noiseprotocol<1.0,>=0.3.1
                          
                          Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                          
                          Collecting importlib-metadata
                          
                          Using cached importlib_metadata-4.11.3-py3-none-any.whl (18 kB)
                          
                          Collecting bitstring>=3.1.6
                          
                          Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
                          
                          Collecting cryptography>=2.1.4
                          
                          Using cached cryptography-36.0.2.tar.gz (572 kB)
                          
                          Installing build dependencies: started
                          
                          Installing build dependencies: finished with status 'error'
                          
                          host.ioBroker-Master Cannot install iobroker.esphome@0.2.4: 1
                          
                          ERROR: Process exited with code 25
                          

                          Wo habe ich da einen Fehler?

                          Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                          1 Antwort Letzte Antwort
                          0
                          • M Offline
                            M Offline
                            maxpd
                            schrieb am zuletzt editiert von
                            #526

                            @beowolf welche python version ist drauf?

                            Gruß
                            maxpd

                            Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                            B 1 Antwort Letzte Antwort
                            0
                            • M maxpd

                              @beowolf welche python version ist drauf?

                              B Offline
                              B Offline
                              Beowolf
                              schrieb am zuletzt editiert von Beowolf
                              #527

                              @maxpd
                              pi@ioBroker-Master:~ $ python --version
                              Python 2.7.16
                              pi@ioBroker-Master:~ $ python3 --version
                              Python 3.7.3
                              pi@ioBroker-Master:~ $

                              Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                              M DutchmanD OpenSourceNomadO Thomas BraunT 4 Antworten Letzte Antwort
                              0
                              • B Beowolf

                                @maxpd
                                pi@ioBroker-Master:~ $ python --version
                                Python 2.7.16
                                pi@ioBroker-Master:~ $ python3 --version
                                Python 3.7.3
                                pi@ioBroker-Master:~ $

                                M Offline
                                M Offline
                                maxpd
                                schrieb am zuletzt editiert von
                                #528

                                @beowolf

                                Ich würde dir ein Update empfehlen:

                                https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                                Danach gehts.

                                Gruß
                                maxpd

                                Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                                1 Antwort Letzte Antwort
                                0
                                • B Beowolf

                                  @maxpd
                                  pi@ioBroker-Master:~ $ python --version
                                  Python 2.7.16
                                  pi@ioBroker-Master:~ $ python3 --version
                                  Python 3.7.3
                                  pi@ioBroker-Master:~ $

                                  DutchmanD Online
                                  DutchmanD Online
                                  Dutchman
                                  Developer Most Active Administrators
                                  schrieb am zuletzt editiert von
                                  #529

                                  @beowolf sagte in [ESPHome] Beta release:

                                  @maxpd
                                  pi@ioBroker-Master:~ $ python --version
                                  Python 2.7.16
                                  pi@ioBroker-Master:~ $ python3 --version
                                  Python 3.7.3
                                  pi@ioBroker-Master:~ $

                                  python muss nach 3.7 verweisen , da dies für jedes System anders ist kan ich die Python Installation selber leider nicht Supporten

                                  1 Antwort Letzte Antwort
                                  0
                                  • B Beowolf

                                    @maxpd
                                    pi@ioBroker-Master:~ $ python --version
                                    Python 2.7.16
                                    pi@ioBroker-Master:~ $ python3 --version
                                    Python 3.7.3
                                    pi@ioBroker-Master:~ $

                                    OpenSourceNomadO Offline
                                    OpenSourceNomadO Offline
                                    OpenSourceNomad
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #530

                                    @beowolf said in [ESPHome] Beta release:

                                    Python 2.7.16

                                    Python 2 ist übrigens schon seit über 2 Jahren EOL. Wahrscheinlich gibt es so ziemliche keine (aktuelle) Software die nicht mit Python 3 kompatibel ist :bulb:

                                    „Das Widerlegen von Schwachsinn erfordert eine Größenordnung mehr Energie als dessen Produktion.“ - Alberto Brandolini (Bullshit-Asymmetrie-Prinzip)

                                    1 Antwort Letzte Antwort
                                    0
                                    • B Beowolf

                                      @maxpd
                                      pi@ioBroker-Master:~ $ python --version
                                      Python 2.7.16
                                      pi@ioBroker-Master:~ $ python3 --version
                                      Python 3.7.3
                                      pi@ioBroker-Master:~ $

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von Thomas Braun
                                      #531

                                      @beowolf
                                      Debian? Bullseye?

                                      Dann würde ich empfehlen:

                                      sudo apt update
                                      sudo apt install python-is-python3
                                      sudo apt autoremove
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      B 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @beowolf
                                        Debian? Bullseye?

                                        Dann würde ich empfehlen:

                                        sudo apt update
                                        sudo apt install python-is-python3
                                        sudo apt autoremove
                                        
                                        B Offline
                                        B Offline
                                        Beowolf
                                        schrieb am zuletzt editiert von Beowolf
                                        #532

                                        @thomas-braun

                                        Hm.
                                        Ich habe jetzt alles neu aufgesetzt. Backup eingespielt usw.

                                        Es kommt immer noch diese Meldungen:

                                        
                                        pi@raspberrypi:~ $ cd /opt/iobroker
                                        pi@raspberrypi:/opt/iobroker $ npm i iobroker.esphome@latest
                                        
                                        > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome
                                        > npip install
                                        
                                        No python_modules directory; installing pip locally if needed.
                                          Cache entry deserialization failed, entry ignored
                                          Cache entry deserialization failed, entry ignored
                                        Successfully completed pip check.
                                        Collecting esphome>=2021.8
                                          Using cached esphome-2022.3.0-py2.py3-none-any.whl (2.2 MB)
                                        Collecting tornado>=3.2
                                          Using cached tornado-6.1.tar.gz (497 kB)
                                          Preparing metadata (setup.py) ... done
                                        Collecting tzdata>=2021.1
                                          Using cached tzdata-2022.1-py2.py3-none-any.whl (339 kB)
                                        Collecting kconfiglib==13.7.1
                                          Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                                        Collecting esptool==3.2
                                          Using cached esptool-3.2.tar.gz (206 kB)
                                          Preparing metadata (setup.py) ... done
                                        Collecting PyYAML==6.0
                                          Using cached PyYAML-6.0.tar.gz (124 kB)
                                          Installing build dependencies ... done
                                          Getting requirements to build wheel ... done
                                          Preparing metadata (pyproject.toml) ... done
                                        Collecting aioesphomeapi==10.8.2
                                          Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
                                        Collecting paho-mqtt==1.6.1
                                          Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                                          Preparing metadata (setup.py) ... done
                                        Collecting pyserial==3.5
                                          Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                                        Collecting voluptuous==0.12.2
                                          Using cached voluptuous-0.12.2.tar.gz (48 kB)
                                          Preparing metadata (setup.py) ... done
                                        Collecting tzlocal==4.1
                                          Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
                                        Collecting platformio==5.2.5
                                          Using cached platformio-5.2.5.tar.gz (218 kB)
                                          Preparing metadata (setup.py) ... done
                                        Collecting zeroconf==0.38.3
                                          Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB)
                                        Collecting click==8.0.3
                                          Using cached click-8.0.3-py3-none-any.whl (97 kB)
                                        Collecting colorama==0.4.4
                                          Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
                                        Collecting esphome-dashboard==20220309.0
                                          Using cached esphome_dashboard-20220309.0-py3-none-any.whl (593 kB)
                                        Collecting noiseprotocol<1.0,>=0.3.1
                                          Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                                        Collecting protobuf<4.0,>=3.12.2
                                          Using cached protobuf-3.19.4-py2.py3-none-any.whl (162 kB)
                                        Collecting bitstring>=3.1.6
                                          Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
                                        Collecting cryptography>=2.1.4
                                          Using cached cryptography-36.0.2.tar.gz (572 kB)
                                          Installing build dependencies ... error
                                          error: subprocess-exited-with-error
                                        
                                          × pip subprocess to install build dependencies did not run successfully.
                                          │ exit code: 1
                                          ╰─> [122 lines of output]
                                              Collecting setuptools>=40.6.0
                                                Using cached setuptools-60.10.0-py3-none-any.whl (1.1 MB)
                                              Collecting wheel
                                                Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
                                              Collecting cffi>=1.12
                                                Using cached cffi-1.15.0.tar.gz (484 kB)
                                                Preparing metadata (setup.py): started
                                                Preparing metadata (setup.py): finished with status 'done'
                                              Collecting setuptools-rust>=0.11.4
                                                Using cached setuptools_rust-1.1.2-py3-none-any.whl (21 kB)
                                              Collecting pycparser
                                                Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                                              Collecting typing-extensions>=3.7.4.3
                                                Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
                                              Collecting semantic-version<3,>=2.8.2
                                                Using cached semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
                                              Building wheels for collected packages: cffi
                                                Building wheel for cffi (setup.py): started
                                                Building wheel for cffi (setup.py): finished with status 'error'
                                                error: subprocess-exited-with-error
                                        
                                                × python setup.py bdist_wheel did not run successfully.
                                                │ exit code: 1
                                                ╰─> [36 lines of output]
                                                    running bdist_wheel
                                                    running build
                                                    running build_py
                                                    creating build
                                                    creating build/lib.linux-armv7l-3.9
                                                    creating build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/lock.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/error.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/model.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/__init__.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/api.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/cparser.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/verifier.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.9/cffi
                                                    running build_ext
                                                    building '_cffi_backend' extension
                                                    creating build/temp.linux-armv7l-3.9
                                                    creating build/temp.linux-armv7l-3.9/c
                                                    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 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                                    c/_cffi_backend.c:2:10: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
                                                        2 | #include <Python.h>
                                                          |          ^~~~~~~~~~
                                                    compilation terminated.
                                                    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                                    [end of output]
                                        
                                                note: This error originates from a subprocess, and is likely not a problem with pip.
                                                ERROR: Failed building wheel for cffi
                                                Running setup.py clean for cffi
                                              Failed to build cffi
                                              Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
                                                Running setup.py install for cffi: started
                                                Running setup.py install for cffi: finished with status 'error'
                                                error: subprocess-exited-with-error
                                        
                                                × Running setup.py install for cffi did not run successfully.
                                                │ exit code: 1
                                                ╰─> [38 lines of output]
                                                    running install
                                                    /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
                                                      warnings.warn(
                                                    running build
                                                    running build_py
                                                    creating build
                                                    creating build/lib.linux-armv7l-3.9
                                                    creating build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/lock.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/error.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/model.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/__init__.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/api.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/cparser.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/verifier.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.9/cffi
                                                    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.9/cffi
                                                    running build_ext
                                                    building '_cffi_backend' extension
                                                    creating build/temp.linux-armv7l-3.9
                                                    creating build/temp.linux-armv7l-3.9/c
                                                    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 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                                    c/_cffi_backend.c:2:10: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
                                                        2 | #include <Python.h>
                                                          |          ^~~~~~~~~~
                                                    compilation terminated.
                                                    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                                    [end of output]
                                        
                                                note: This error originates from a subprocess, and is likely not a problem with pip.
                                              error: legacy-install-failure
                                        
                                              × Encountered error while trying to install package.
                                              ╰─> cffi
                                        
                                              note: This is an issue with the package mentioned above, not pip.
                                              hint: See above for output from the failure.
                                              [end of output]
                                        
                                          note: This error originates from a subprocess, and is likely not a problem with pip.
                                        error: subprocess-exited-with-error
                                        
                                        × pip subprocess to install build dependencies did not run successfully.
                                        │ exit code: 1
                                        ╰─> See above for output.
                                        
                                        note: This error originates from a subprocess, and is likely not a problem with pip.
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-03-21T16_38_52_555Z-debug.log
                                        pi@raspberrypi:/opt/iobroker $
                                        
                                        

                                        Wo mache ich etwas falsch?

                                        Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • B Beowolf

                                          @thomas-braun

                                          Hm.
                                          Ich habe jetzt alles neu aufgesetzt. Backup eingespielt usw.

                                          Es kommt immer noch diese Meldungen:

                                          
                                          pi@raspberrypi:~ $ cd /opt/iobroker
                                          pi@raspberrypi:/opt/iobroker $ npm i iobroker.esphome@latest
                                          
                                          > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome
                                          > npip install
                                          
                                          No python_modules directory; installing pip locally if needed.
                                            Cache entry deserialization failed, entry ignored
                                            Cache entry deserialization failed, entry ignored
                                          Successfully completed pip check.
                                          Collecting esphome>=2021.8
                                            Using cached esphome-2022.3.0-py2.py3-none-any.whl (2.2 MB)
                                          Collecting tornado>=3.2
                                            Using cached tornado-6.1.tar.gz (497 kB)
                                            Preparing metadata (setup.py) ... done
                                          Collecting tzdata>=2021.1
                                            Using cached tzdata-2022.1-py2.py3-none-any.whl (339 kB)
                                          Collecting kconfiglib==13.7.1
                                            Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                                          Collecting esptool==3.2
                                            Using cached esptool-3.2.tar.gz (206 kB)
                                            Preparing metadata (setup.py) ... done
                                          Collecting PyYAML==6.0
                                            Using cached PyYAML-6.0.tar.gz (124 kB)
                                            Installing build dependencies ... done
                                            Getting requirements to build wheel ... done
                                            Preparing metadata (pyproject.toml) ... done
                                          Collecting aioesphomeapi==10.8.2
                                            Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
                                          Collecting paho-mqtt==1.6.1
                                            Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                                            Preparing metadata (setup.py) ... done
                                          Collecting pyserial==3.5
                                            Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                                          Collecting voluptuous==0.12.2
                                            Using cached voluptuous-0.12.2.tar.gz (48 kB)
                                            Preparing metadata (setup.py) ... done
                                          Collecting tzlocal==4.1
                                            Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
                                          Collecting platformio==5.2.5
                                            Using cached platformio-5.2.5.tar.gz (218 kB)
                                            Preparing metadata (setup.py) ... done
                                          Collecting zeroconf==0.38.3
                                            Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB)
                                          Collecting click==8.0.3
                                            Using cached click-8.0.3-py3-none-any.whl (97 kB)
                                          Collecting colorama==0.4.4
                                            Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
                                          Collecting esphome-dashboard==20220309.0
                                            Using cached esphome_dashboard-20220309.0-py3-none-any.whl (593 kB)
                                          Collecting noiseprotocol<1.0,>=0.3.1
                                            Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                                          Collecting protobuf<4.0,>=3.12.2
                                            Using cached protobuf-3.19.4-py2.py3-none-any.whl (162 kB)
                                          Collecting bitstring>=3.1.6
                                            Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
                                          Collecting cryptography>=2.1.4
                                            Using cached cryptography-36.0.2.tar.gz (572 kB)
                                            Installing build dependencies ... error
                                            error: subprocess-exited-with-error
                                          
                                            × pip subprocess to install build dependencies did not run successfully.
                                            │ exit code: 1
                                            ╰─> [122 lines of output]
                                                Collecting setuptools>=40.6.0
                                                  Using cached setuptools-60.10.0-py3-none-any.whl (1.1 MB)
                                                Collecting wheel
                                                  Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
                                                Collecting cffi>=1.12
                                                  Using cached cffi-1.15.0.tar.gz (484 kB)
                                                  Preparing metadata (setup.py): started
                                                  Preparing metadata (setup.py): finished with status 'done'
                                                Collecting setuptools-rust>=0.11.4
                                                  Using cached setuptools_rust-1.1.2-py3-none-any.whl (21 kB)
                                                Collecting pycparser
                                                  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                                                Collecting typing-extensions>=3.7.4.3
                                                  Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
                                                Collecting semantic-version<3,>=2.8.2
                                                  Using cached semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
                                                Building wheels for collected packages: cffi
                                                  Building wheel for cffi (setup.py): started
                                                  Building wheel for cffi (setup.py): finished with status 'error'
                                                  error: subprocess-exited-with-error
                                          
                                                  × python setup.py bdist_wheel did not run successfully.
                                                  │ exit code: 1
                                                  ╰─> [36 lines of output]
                                                      running bdist_wheel
                                                      running build
                                                      running build_py
                                                      creating build
                                                      creating build/lib.linux-armv7l-3.9
                                                      creating build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/lock.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/error.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/model.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/__init__.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/api.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/cparser.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/verifier.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.9/cffi
                                                      running build_ext
                                                      building '_cffi_backend' extension
                                                      creating build/temp.linux-armv7l-3.9
                                                      creating build/temp.linux-armv7l-3.9/c
                                                      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 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                                      c/_cffi_backend.c:2:10: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
                                                          2 | #include <Python.h>
                                                            |          ^~~~~~~~~~
                                                      compilation terminated.
                                                      error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                                      [end of output]
                                          
                                                  note: This error originates from a subprocess, and is likely not a problem with pip.
                                                  ERROR: Failed building wheel for cffi
                                                  Running setup.py clean for cffi
                                                Failed to build cffi
                                                Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
                                                  Running setup.py install for cffi: started
                                                  Running setup.py install for cffi: finished with status 'error'
                                                  error: subprocess-exited-with-error
                                          
                                                  × Running setup.py install for cffi did not run successfully.
                                                  │ exit code: 1
                                                  ╰─> [38 lines of output]
                                                      running install
                                                      /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
                                                        warnings.warn(
                                                      running build
                                                      running build_py
                                                      creating build
                                                      creating build/lib.linux-armv7l-3.9
                                                      creating build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/lock.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/error.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/model.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/__init__.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/api.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/cparser.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/verifier.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.9/cffi
                                                      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.9/cffi
                                                      running build_ext
                                                      building '_cffi_backend' extension
                                                      creating build/temp.linux-armv7l-3.9
                                                      creating build/temp.linux-armv7l-3.9/c
                                                      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 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.9/c/_cffi_backend.o
                                                      c/_cffi_backend.c:2:10: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
                                                          2 | #include <Python.h>
                                                            |          ^~~~~~~~~~
                                                      compilation terminated.
                                                      error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                                      [end of output]
                                          
                                                  note: This error originates from a subprocess, and is likely not a problem with pip.
                                                error: legacy-install-failure
                                          
                                                × Encountered error while trying to install package.
                                                ╰─> cffi
                                          
                                                note: This is an issue with the package mentioned above, not pip.
                                                hint: See above for output from the failure.
                                                [end of output]
                                          
                                            note: This error originates from a subprocess, and is likely not a problem with pip.
                                          error: subprocess-exited-with-error
                                          
                                          × pip subprocess to install build dependencies did not run successfully.
                                          │ exit code: 1
                                          ╰─> See above for output.
                                          
                                          note: This error originates from a subprocess, and is likely not a problem with pip.
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! iobroker.esphome@0.2.4 install: `npip install`
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the iobroker.esphome@0.2.4 install script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2022-03-21T16_38_52_555Z-debug.log
                                          pi@raspberrypi:/opt/iobroker $
                                          
                                          

                                          Wo mache ich etwas falsch?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #533

                                          @beowolf sagte in [ESPHome] Beta release:

                                          Wo mache ich etwas falsch?

                                          Wie ist denn python jetzt installiert?

                                          python --version
                                          python3 --version
                                          apt policy python3-pip
                                          apt policy python3-cffi
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          190

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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