FHEM Forum

FHEM => Frontends => Sprachsteuerung => Thema gestartet von: fluppe2 am 04 Juni 2024, 10:17:04

Titel: alexa-fhem Docker: alexa Gerät startet nicht
Beitrag von: fluppe2 am 04 Juni 2024, 10:17:04
Hallo,

ich habe fhem und alexa-fhem als Docker container installiert. FHEM funktioniert per Web, aber nun möchte ich dies auch in der Alexa App einrichten.

Wenn ich versuche den Skill zu aktivieren und den Proxy Key eingebe, so bekomme ich "Good Key", aber
Status SSH: NOT online - no SSH session established
In FHEM sehe ich, dass mein alexa Gerät nicht startet. Im Reading alexaFHEM.ProxyConnection steht:
error; Reverse Proxy replied with neither registered nor unregistered status: out: err:ssh: Could not resolve hostname fhem-va.fhem.de: Temporary failure in name resolution
Im alexaFHEMlog steht nur:
Unknown cipher type '/tmp/alexa-fhem.cfg'
Ich starte die Container mittels Docker Compose (deconz ist auch dabei, Einträge habe ich im Prinzip nur Standard von den Beschreibungen der Container übernommen), hier ist die entsprechende Datei:
name: smarthome

networks:

  net:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: 172.27.0.0/28
          gateway: 172.27.0.1

services:

  fhem:
    image: fhem/fhem:latest
    restart: unless-stopped
    networks:
      net:
        ipv4_address: 172.27.0.5
    ports:
      - 8083:8083
    volumes:
      - ./fhem/:/opt/fhem/
    environment:
      - FHEM_UID=1000
      - FHEM_GID=1000
      - TZ=Europe/Berlin

  alexa-fhem:
    image: fhem/alexa-fhem:latest
    restart: unless-stopped
    networks:
      net:
        ipv4_address: 172.27.0.6
    ports:
      - 3000:3000
    volumes:
      - ./alexa-fhem/:/alexa-fhem/
    environment:
      - ALEXAFHEM_UID=1000
      - ALEXAFHEM_GID=1000
      - TZ=Europe/Berlin

  deconz:
    image: deconzcommunity/deconz:stable
    restart: unless-stopped
    networks:
      net:
        ipv4_address: 172.27.0.7
    privileged: true # This is important! Without it, the deCONZ image won't be able to connect to Conbee II.
    ports:
      - 8080:80
      - 443:443
    volumes:
      - ./deCONZ:/opt/deCONZ
    devices:
      - /dev/ttyACM0 # This is the USB device that Conbee II is running on.
    environment:
      - TZ=Europe/Berlin
      - DECONZ_WEB_PORT=80
      - DECONZ_WS_PORT=443
      - DEBUG_INFO=1
      - DEBUG_APS=0
      - DEBUG_ZCL=0
      - DEBUG_ZDP=0
      - DEBUG_OTA=0
      - DEBUG_HTTP=0
      - DECONZ_DEVICE=/dev/ttyACM0 # This is the USB device that Conbee II is running on.
      - DECONZ_START_VERBOSE=0

Hat das jemand bereits erfolgreich konfiguriert und kann mir helfen?

Gruß
fluppe2
Titel: Aw: alexa-fhem Docker: alexa Gerät startet nicht
Beitrag von: MadMax-FHEM am 04 Juni 2024, 11:03:24
Ist besser im Docker-Unterforum/Thread aufgehoben, denke ich.

Also hier: https://forum.fhem.de/index.php?topic=89745.msg822276#msg822276 (wenn du dich dort meldest, dann hierher verlinken)
Ab ungefähr hier geht es um alexa-fhem und Docker: https://forum.fhem.de/index.php?topic=89745.msg1267297#msg1267297 (evtl. hilft dir das dort schon weiter)

Bzw. ist es mit 2 Docker-Containern (1x fhem / 1x alexa-fhem) halt so: https://forum.fhem.de/index.php?topic=130914.msg1251158#msg1251158

Gruß, Joachim
Titel: Aw: alexa-fhem Docker: alexa Gerät startet nicht
Beitrag von: ZanderKunze am 04 November 2024, 08:12:42
Zitat von: MadMax-FHEM am 04 Juni 2024, 11:03:24Ist besser im Docker-Unterforum/Thread aufgehoben, denke ich.

Also hier: https://forum.fhem.de/index.php?topic=89745.msg822276#msg822276 (wenn du dich dort meldest, dann hierher verlinken)
Ab ungefähr hier geht es um alexa-fhem und Docker: https://forum.fhem.de/index.php?topic=89745.msg1267297#msg1267297 (evtl. hilft dir das dort schon weiter)

Bzw. ist es mit 2 Docker-Containern (1x fhem / 1x alexa-fhem) halt so: https://forum.fhem.de/index.php?topic=130914.msg1251158#msg1251158

Gruß, Joachim
The information you shared is detailed and easy to understand, thank you.