[alexa-fhem | Generell] Alles zu Installation und damit verbundenen Problemen

Begonnen von prodigy7, 09 November 2016, 19:42:01

Vorheriges Thema - Nächstes Thema

MadMax-FHEM

@nocomment:

Dann musst du auf V0.4.4 von alexa-fhem...

Kommen zusätzliche Ausgaben, wenn du die Suche startest!?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

nocomment

Hallo Joachim,

ich finde die ganze Zeit leider nur diese Version von alexa-fhem

https://forum.fhem.de/index.php/topic,60244.msg540117.html#msg540117

EDIT: habs gefunden!


Nein, er wird einfach nichts gefunden.


Danke,
Patrick

MadMax-FHEM

Zitat von: nocomment am 23 Februar 2018, 14:41:43
Hallo Joachim,

ich finde die ganze Zeit leider nur diese Version von alexa-fhem

https://forum.fhem.de/index.php/topic,60244.msg540117.html#msg540117

EDIT: habs gefunden!


Nein, er wird einfach nichts gefunden.


Danke,
Patrick

Äh: Version gefunden!?

Falls nicht: https://forum.fhem.de/index.php/topic,81324.0.html

Ansonsten noch mal die Frage: kommen weitere Ausgaben, wenn du die Suche startest?

Wenn nicht:
- Trigger prüfen
- Zugang "von außen" prüfen

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

mike.d

was heißt denn Trigger prüfen!? also gibt es eine Möglichkeit zu sehen, warum dort keine Kommunikation ZUR lambda-funktion entsteht?

nocomment

Hallo Joachim,

ich habe jetzt die Version 0.4.4 am laufen:

2018-2-23 15:36:26] using /root/.alexa/config.json
[2018-2-23 15:36:26] ---
[2018-2-23 15:36:26] this is alexa-fhem 0.4.4
[2018-2-23 15:36:26] Fetching FHEM devices...
[2018-2-23 15:36:26] [FHEM] starting longpoll: http://127.0.0.1:8082/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1519396586929
[2018-2-23 15:36:26] Server listening on: https://:::3000
[2018-2-23 15:36:26] [FHEM] Checking devices and attributes...
[2018-2-23 15:36:26] [FHEM]   executing: http://127.0.0.1:8082/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_301610826318332&XHR=1
[2018-2-23 15:36:26] [FHEM]   executing: http://127.0.0.1:8082/fhem?cmd=jsonlist2%20TYPE=alexa&fwcsrf=csrf_301610826318332&XHR=1
[2018-2-23 15:36:26] [FHEM] Fetching FHEM devices...
[2018-2-23 15:36:26] [FHEM] fetching: http://127.0.0.1:8082/fhem?cmd=jsonlist2%20room=alexa&fwcsrf=csrf_301610826318332&XHR=1
[2018-2-23 15:36:26] [FHEM] alexa device is MyAlexa
[2018-2-23 15:36:26] [FHEM] MyAlexa is switch
[2018-2-23 15:36:26] [FHEM] MyAlexa has
[2018-2-23 15:36:26] [FHEM] homebridgeMapping: #Characteristic=<name>=<value>,...
On=verb=schalte,valueOn=an;ein,valueOff=aus,valueToggle=um

Brightness=verb=stelle,property=helligkeit,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

Hue=verb=stelle,valuePrefix=auf,values=rot:0;grün:128;blau:200
Hue=verb=färbe,values=rot:0;grün:120;blau:220

Saturation=verb=stelle,property=sättigung,valuePrefix=auf,values=AMAZON.NUMBER
Saturation=verb=sättige,values=AMAZON.NUMBER

TargetPosition=verb=mach,articles=den;die,values=auf:100;zu:0
TargetPosition=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

TargetTemperature=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=grad

Volume:verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

#Weckzeit=verb=stelle,valuePrefix=auf;für,values=AMAZON.TIME,valueSuffix=uhr
[2018-2-23 15:36:26] [FHEM]   executing: http://127.0.0.1:8082/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;%7B$defs%7BMyAlexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.4.4%22%7D;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_301610826318332&XHR=1
[2018-2-23 15:36:26] perfectOfVerb:
[2018-2-23 15:36:26] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2018-2-23 15:36:26] verbsOfIntent:
[2018-2-23 15:36:26] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  gradIntent: [ 'stelle' ] ]
[2018-2-23 15:36:26] characteristicsOfIntent:
[2018-2-23 15:36:26] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'TargetPosition', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  gradIntent: [ 'TargetTemperature' ] }
[2018-2-23 15:36:26] prefixOfIntent:
[2018-2-23 15:36:26] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'auf' }
[2018-2-23 15:36:26] suffixOfIntent:
[2018-2-23 15:36:26] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'grad' }
[2018-2-23 15:36:26] alexaTypes:
[2018-2-23 15:36:26] { light: [ 'licht', 'lampen' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ] }
[2018-2-23 15:36:26] roomOfEcho:
[2018-2-23 15:36:26] {}
[2018-2-23 15:36:26] fhemIntents:
[2018-2-23 15:36:26] { FHEMgutenMorgenIntent: 'gutenMorgen',
  FHEMguteNachtIntent: 'guteNacht' }
[2018-2-23 15:36:26] [FHEM]   executing: http://127.0.0.1:8082/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;list%20MyAlexa%20.Alexa.Authorization;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_301610826318332&XHR=1
[2018-2-23 15:36:26] [FHEM] got: 1 results
[2018-2-23 15:36:26] [FHEM] Hue_ComputerEcke is light
[2018-2-23 15:36:26] [FHEM] Hue_ComputerEcke has
[2018-2-23 15:36:26] [FHEM]   On [onoff;on,off]
[2018-2-23 15:36:26] [FHEM]   Brightness [bri]
[2018-2-23 15:36:26] [FHEM]   Hue [hue;hue;0-65535]
[2018-2-23 15:36:26] [FHEM]   Saturation [sat;sat;0-254]
[2018-2-23 15:36:26] [FHEM]   Custom Color Temperature [ct]
[2018-2-23 15:36:26] [FHEM]   colormode [colormode]
[2018-2-23 15:36:26] [FHEM]   xy [xy]
[2018-2-23 15:36:26] [FHEM] { reading: 'onoff',
  valueOff: '0',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-onoff',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-onoff: 1
[2018-2-23 15:36:26] [FHEM] { reading: 'bri',
  cmd: 'pct',
  delay: true,
  reading2homekit: [Function: bound ],
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-bri',
  characteristic_type: 'Brightness',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-bri: 254
[2018-2-23 15:36:26] [FHEM] { reading: 'hue',
  cmd: 'hue',
  max: '65535',
  maxValue: 359,
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-hue',
  characteristic_type: 'Hue',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-hue: 35298
[2018-2-23 15:36:26] [FHEM] { reading: 'sat',
  cmd: 'sat',
  max: '254',
  maxValue: 100,
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-sat',
  characteristic_type: 'Saturation',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-sat: 148
[2018-2-23 15:36:26] [FHEM] { reading: 'ct',
  cmd: 'ct',
  delay: true,
  name: 'Color Temperature',
  format: 'UINT16',
  minValue: 6493,
  maxValue: 2000,
  minStep: 10,
  reading2homekit: [Function: bound reading2homekit],
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-ct',
  characteristic_type: 'A18E5901-CFA1-4D37-A10F-0071CEEEEEBD',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-ct: 181 (5524K)
[2018-2-23 15:36:26] [FHEM]     caching: Custom Color Temperature: 5524 (as number; from '181 (5524K)')
[2018-2-23 15:36:26] [FHEM] { reading: 'colormode',
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-colormode',
  characteristic_type: 'colormode',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-colormode: xy
[2018-2-23 15:36:26] [FHEM] { reading: 'xy',
  device: 'Hue_ComputerEcke',
  informId: 'Hue_ComputerEcke-xy',
  characteristic_type: 'xy',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 15:36:26 caching: Hue_ComputerEcke-xy: 0.3335,0.3335



Leider finde ich trotzdem noch keine Geräte bei Alexa.

LG

PS: @mike.d würde mich auch interessieren

MadMax-FHEM

@mike.d:

Trigger prüfen heißt, die Einstellungen des Smart Home Skill bzw. des Triggers (ähnlich dem Custom Skill) dort wo du den Trigger definierst prüfen, ob alle Einstellungen passen und sich nicht zufällig bei copy/paste der ganzen IDs etc. ein Leerzeichen "dazwischengeschummelt" hat (ist mir passiert).

Da der Custom Skill ja läuft (wie ich dem editierten Beitrag entnehmen konnte) passt ja prinzipiell alles bis auf vermutlich den Trigger...
...oder Einstellungen (oauthID) in der config.json

Filter passt?
Geräte werden zumindest von alexa-fhem "gefunden"?

Ansonsten wäre auch die Ausgabe des alexa-fhem Log bzw. Console (je nachdem wie du startest) interessant...
...und nicht immer nur Teile von denen du denkst sie würden reichen... ;)


@nocomment:

Wenn keine weiteren Ausgaben erfolgen (im Log/Console) wenn du die Gerätesuche startest, dann eben falls Trigger prüfen.
Vorher jedoch sicherstellen, dass Zugang von "außen" geht (hab jetzt bei 2 Problemfällen parallel nicht mehr so genau im Kopf was jetzt exakt bei wem geht/nicht geht ;)   ).
Was passiert jetzt (nach Update auf 0.4.4) beim Test in AWS Lambda?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

mike.d

puuh...  also ich hab jetzt alles zum 100ten Mal neu aufgesetzt und es bleibt dabei, dass ich keine Kommunikation zwischen dem SmartHomeSkill und der lambda-Funktion hinbekomme. Es taucht NICHTS im log auf, wenn ich den skill in Alexa verknüpfe und nach neuen Geräten suchen lasse.

Kann ich aus dem DeviceLog im Test-Modus des Skills heraus lesen, ob er einen Fehler bringt!? Offensichtliches hab ich nicht gefunden...
sehr ernüchternd - vor allem weil der CustomSkill so gut funktioniert! :)

Vielen Dank MadMax für deine Unterstützung und Geduld!

ach ja: Geräte werden von alexa-fhem gefunden:

[2018-2-22 20:59:19] [FHEM] Fetching FHEM devices...
[2018-2-22 20:59:19] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Echo&XHR=1
[2018-2-22 20:59:19] [FHEM] got: 2 results
[2018-2-22 20:59:19] [FHEM] Alexa.Party is switch
[2018-2-22 20:59:19] [FHEM] Alexa.Party has
[2018-2-22 20:59:19] [FHEM]   On [state;on,off]
[2018-2-22 20:59:19] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'Alexa.Party',
  informId: 'Alexa.Party-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-22 20:59:19 caching: Alexa.Party-state: off

MadMax-FHEM

Da du nie die ganze Ausgabe postest ist es schwer (auch für andere) zu helfen...

Welche Version von alexa-fhem hast du?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

mike.d

ich hab das Logfile mal neu aufgesetzt, sowie das list meines Alexa-device:
Restart von alexa-fhem sowie einen custom-Skill ausgeführt (Wohnzimmerlicht aus), danach eine Suche mit dem SmartHomeSkill angestoßen

Internals:
   NAME       MyAlexa
   NR         624
   STATE      active
   TYPE       alexa
   active     0
   alexa-fhem version 0.4.4
   READINGS:
     2018-02-23 20:22:45   consentToken    undefined
     2018-02-23 20:22:45   echoId          amzn1.ask.device.AFXX6S2QLQVTQWVFW2BS5RPYV2KEHTNNRJSXCVWC6BAN2ZI6QCGTD76OCHX4VKJLBXK22ZVF2MCHVW3KFFZHRRBPEE4WMQZMIQZZPARLTMHY22GXOB2K3LN6LHEM47TLVM7EA5SSREJTEZFVMGJX5KBXMU4A
     2018-02-23 20:22:46   echoRoom        unknown
     2018-02-22 22:49:04   fhemIntent      FHEMperlCodeIntentB
     2018-02-23 20:22:45   intent          IntentRequest OnIntent
Attributes:
   alexaMapping #Characteristic=<name>=<value>,...
On=verb=schalte,valueOn=an;ein,valueOff=aus,valueToggle=um

Brightness=verb=stelle,property=helligkeit,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

Hue=verb=stelle,valuePrefix=auf,values=rot:0;grün:128;blau:200
Hue=verb=färbe,values=rot:0;grün:120;blau:220

Saturation=verb=stelle,property=sättigung,valuePrefix=auf,values=AMAZON.NUMBER
Saturation=verb=sättige,values=AMAZON.NUMBER

TargetPosition=verb=mach,articles=den;die,values=auf:100;zu:0
TargetPosition=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

TargetTemperature=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=grad

Volume:verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

#Weckzeit=verb=stelle,valuePrefix=auf;für,values=AMAZON.TIME,valueSuffix=uhr
   alexaTypes #Type=<alias>[,<alias2>[,...]]
light=licht,lampen
blind=rolladen,rolläden,jalousie,jalousien,rollo,rollos
   echoRooms  #<deviceId>=<room>

   fhemIntents #IntentName=<sample utterance>
#gutenMorgen=guten morgen
#guteNacht=gute nacht
{alexa_guten_morgen()}=guten morgen
{alexa_gute_nacht()}=gute nacht
   room       System


logfile:

[2018-2-23 20:22:27] using /root/.alexa/config.json
[2018-2-23 20:22:28] ---
[2018-2-23 20:22:28] this is alexa-fhem 0.4.4
[2018-2-23 20:22:28] Fetching FHEM devices...
[2018-2-23 20:22:28] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1519413748238
[2018-2-23 20:22:28] Server listening on: https://:::3000
[2018-2-23 20:22:28] [FHEM] Checking devices and attributes...
[2018-2-23 20:22:28] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2018-2-23 20:22:28] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE=alexa&XHR=1
[2018-2-23 20:22:28] [FHEM] Fetching FHEM devices...
[2018-2-23 20:22:28] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Echo&XHR=1
[2018-2-23 20:22:28] [FHEM] alexa device is MyAlexa
[2018-2-23 20:22:28] [FHEM] MyAlexa is switch
[2018-2-23 20:22:28] [FHEM] MyAlexa has
[2018-2-23 20:22:28] [FHEM] homebridgeMapping: #Characteristic=<name>=<value>,...
On=verb=schalte,valueOn=an;ein,valueOff=aus,valueToggle=um

Brightness=verb=stelle,property=helligkeit,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

Hue=verb=stelle,valuePrefix=auf,values=rot:0;grün:128;blau:200
Hue=verb=färbe,values=rot:0;grün:120;blau:220

Saturation=verb=stelle,property=sättigung,valuePrefix=auf,values=AMAZON.NUMBER
Saturation=verb=sättige,values=AMAZON.NUMBER

TargetPosition=verb=mach,articles=den;die,values=auf:100;zu:0
TargetPosition=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

TargetTemperature=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=grad

Volume:verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent

#Weckzeit=verb=stelle,valuePrefix=auf;für,values=AMAZON.TIME,valueSuffix=uhr
[2018-2-23 20:22:28] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;%7B$defs%7BMyAlexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.4.4%22%7D;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:28] perfectOfVerb:
[2018-2-23 20:22:29] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2018-2-23 20:22:29] verbsOfIntent:
[2018-2-23 20:22:29] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  gradIntent: [ 'stelle' ] ]
[2018-2-23 20:22:29] characteristicsOfIntent:
[2018-2-23 20:22:29] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'TargetPosition', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  gradIntent: [ 'TargetTemperature' ] }
[2018-2-23 20:22:29] prefixOfIntent:
[2018-2-23 20:22:29] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'auf' }
[2018-2-23 20:22:29] suffixOfIntent:
[2018-2-23 20:22:29] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'grad' }
[2018-2-23 20:22:29] alexaTypes:
[2018-2-23 20:22:29] { light: [ 'licht', 'lampen' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ] }
[2018-2-23 20:22:29] roomOfEcho:
[2018-2-23 20:22:29] {}
[2018-2-23 20:22:29] fhemIntents:
[2018-2-23 20:22:29] { FHEMperlCodeIntent: '{alexa_guten_morgen()}',
  FHEMperlCodeIntentB: '{alexa_gute_nacht()}' }
[2018-2-23 20:22:29] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;list%20MyAlexa%20.Alexa.Authorization;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:29] [FHEM] got: 3 results
[2018-2-23 20:22:29] [FHEM] Alexa.Party is switch
[2018-2-23 20:22:29] [FHEM] Alexa.Party has
[2018-2-23 20:22:29] [FHEM]   On [state;on,off]
[2018-2-23 20:22:29] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'Alexa.Party',
  informId: 'Alexa.Party-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 20:22:29 caching: Alexa.Party-state: off
[2018-2-23 20:22:29] [FHEM] Alexa_Guten_Morgen_dummy: no service type detected
[2018-2-23 20:22:29] [FHEM] no device created for Alexa_Guten_Morgen_dummy (dummy)
[2018-2-23 20:22:29] [FHEM] WZ.alle is light
[2018-2-23 20:22:29] [FHEM] WZ.alle has
[2018-2-23 20:22:29] [FHEM]   Hue [hue;hue;0-359]
[2018-2-23 20:22:29] [FHEM]   Saturation [sat;sat;0-100]
[2018-2-23 20:22:29] [FHEM]   Custom Color Temperature [ct]
[2018-2-23 20:22:29] [FHEM]   On [state;on,off]
[2018-2-23 20:22:29] [FHEM] { reading: 'hue',
  cmd: 'hue',
  max: 359,
  maxValue: 359,
  device: 'WZ.alle',
  informId: 'WZ.alle-hue',
  characteristic_type: 'Hue',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
[2018-2-23 20:22:29] [FHEM] { reading: 'sat',
  cmd: 'sat',
  max: 100,
  maxValue: 100,
  device: 'WZ.alle',
  informId: 'WZ.alle-sat',
  characteristic_type: 'Saturation',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
[2018-2-23 20:22:29] [FHEM] { reading: 'ct',
  cmd: 'ct',
  delay: true,
  name: 'Color Temperature',
  format: 'UINT16',
  minValue: 6500,
  maxValue: 2000,
  minStep: 10,
  reading2homekit: [Function: bound reading2homekit],
  device: 'WZ.alle',
  informId: 'WZ.alle-ct',
  characteristic_type: 'A18E5901-CFA1-4D37-A10F-0071CEEEEEBD',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
[2018-2-23 20:22:29] [FHEM] WZ.alle-ct not a number: undefined
[2018-2-23 20:22:29] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'WZ.alle',
  informId: 'WZ.alle-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-02-23 20:22:29 caching: WZ.alle-state: on
[2018-2-23 20:22:45] accepted new token
**** Received Directive: {"version":"1.0","session":{"new":true,"sessionId":"amzn1.echo-api.session.9450fd2e-3460-421e-ac90-0412e62ee8b1","application":{"applicationId":"amzn1.ask.skill.384005ec-d186-401f-ba11-29ea0d2ef4db"},"user":{"userId":"xxxxxx","accessToken":"xxxxxx"}},"context":{"AudioPlayer":{"playerActivity":"IDLE"},"System":{"application":{"applicationId":"amzn1.ask.skill.384005ec-d186-401f-ba11-29ea0d2ef4db"},"user":{"userId":"xxxxxx","accessToken":"xxxxxx"},"device":{"deviceId":"xxxxxx","supportedInterfaces":{"AudioPlayer":{}}},"apiEndpoint":"https://api.amazonalexa.com","apiAccessToken":"xxxxxx"}},"request":{"type":"IntentRequest","requestId":"amzn1.echo-api.request.881c88f4-d611-4bef-b5f3-b628c7a06f7c","timestamp":"2018-02-23T19:22:43Z","locale":"de-DE","intent":{"name":"OnIntent","confirmationStatus":"NONE","slots":{"preposition":{"name":"preposition","confirmationStatus":"NONE"},"On_Value":{"name":"On_Value","value":"aus","resolutions":{"resolutionsPerAuthority":[{"authority":"amzn1.er-authority.echo-sdk.amzn1.ask.skill.384005ec-d186-401f-ba11-29ea0d2ef4db.On_Value","status":{"code":"ER_SUCCESS_MATCH"},"values":[{"value":{"name":"  aus","id":"2f74235256e3bff6054362c29bcf8a8d"}}]}]},"confirmationStatus":"NONE"},"Room":{"name":"Room","confirmationStatus":"NONE"},"Device":{"name":"Device","value":"licht","resolutions":{"resolutionsPerAuthority":[{"authority":"amzn1.er-authority.echo-sdk.amzn1.ask.skill.384005ec-d186-401f-ba11-29ea0d2ef4db.FHEM_Device","status":{"code":"ER_SUCCESS_MATCH"},"values":[{"value":{"name":"    licht","id":"6a0a4d26ff65d5158547c1557b19225a"}}]}]},"confirmationStatus":"NONE"},"article":{"name":"article","confirmationStatus":"NONE"}}}}}
[2018-2-23 20:22:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;setreading%20MyAlexa%20consentToken%20undefined;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:45] OnIntent
[2018-2-23 20:22:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;setreading%20MyAlexa%20intent%20IntentRequest%20OnIntent;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;setreading%20MyAlexa%20echoId%20amzn1.ask.device.AFXX6S2QLQVTQWVFW2BS5RPYV2KEHTNNRJSXCVWC6BAN2ZI6QCGTD76OCHX4VKJLBXK22ZVF2MCHVW3KFFZHRRBPEE4WMQZMIQZZPARLTMHY22GXOB2K3LN6LHEM47TLVM7EA5SSREJTEZFVMGJX5KBXMU4A;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;setreading%20MyAlexa%20echoRoom%20unknown;%7B$defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&XHR=1
[2018-2-23 20:22:45] [FHEM] WZ.alle: executing set cmd for On with value 0
[2018-2-23 20:22:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=set%20WZ.alle%20off&XHR=1
response :{"version":"1.0","sessionAttributes":{},"response":{"outputSpeech":{"type":"PlainText","text":"Ich habe  wohnzimmerlicht ausgeschaltet."},"shouldEndSession":true,"card":{"type":"Simple","title":"On","content":" wohnzimmerlicht ausgeschaltet."}}}
  2018-02-23 20:22:47 caching: WZ.alle-state: off

MadMax-FHEM

Da der Custom Skill funktioniert, alexa-fhem 0.4.4 ist und die Suchanfrage nicht zu sehen ist sag ich's ungern aber: Trigger prüfen.

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

TomLee

@mike.d

bei der Suche im Forum nach deinem geschilderten Fehler hier

bin ich hier auf exakt die gleiche Fehlermeldung gestossen, vielleicht hast da ja wirklich nen Fehler bei der Konfiguration der ARN gemacht.

Gruß

Thomas

mike.d

vielen Dank Thoma, den thread hatte ich auch schon gelesen.

Die dort gezeigte Fehlermeldung wird bei jedem produziert, da die Test-Prozedur in der lambda-funktion immer die selbe ist.

Es bleibt jedoch ein Kommunikationsproblem zwischen trigger und lambda und den hab ich nun schon zu genüge kontrolliert. :- (

MadMax-FHEM

Auch den 2ten Link mit dem Arn!?

Es ist schwer zu helfen weil du ja nur schreibst 1000 mal kontrolliert und passt...

Aber irgendwas kann nicht passen...

Und da alles inkl. Custom Skill geht kann es eigentlich trotzdem nur der Trigger sein, da ja auch die Suchanfrage nicht ankommt...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

amenomade

Und auch prüfen, dass das Skill in der Alexa App aktiviert ist, und mit dem Amazon Konto verbunden.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Amenophis86

Mal ne kurze Frage zwischen drin. Trotz Such habe ich nix gefunden und die meisten wichtigen Threads haben doch weit über 100 Seiten ;) Weiß jemand etwas zum Stand über Benachrichtigungen über Alexa? Also quasi TTS zu Alexa senden und ausgeben lassen. Ich weiß, dass es immer mal wieder geplant war und dann doch nicht gekommen ist.
Aktuell dabei unser neues Haus mit KNX am einrichten. Im nächsten Schritt dann KNX mit FHEM verbinden. Allein zwei Dinge sind dabei selten: Zeit und Geld...