alexa-fhem: amazon alexa smart home skill für fhem

Begonnen von justme1968, 05 November 2016, 23:21:32

Vorheriges Thema - Nächstes Thema

justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Bootscreen

moin moin,

ich bin grad dabei mich auch in das Thema Alexa einzuarbeiten und hab da mal ne Frage. Derzeit teste ich erstmal nur mit dem Smart Home Skill rum. Nun Ist meine Frage wie ich die Geräte in den einzelnen Räumen außeinander halten kann? Ich habe z.b. im Wohnzimmer und Arbeitszimmer jeweils eine Hintergrundbeleuchtung. Ich habe beiden den alexaName Hintergrundbeleuchtung gegeben und alexaRoom jeweils Arbeitszimmer und Wohnzimmer genannt. Nur das funktioniert nicht. Wie macht man das denn am besten?

Gruß Bootscreen
Gruß
Oliver

FHEM 5.7 Hardware:
Raspberry PI B+ | HomeMatic USB 2 | 433Mhz Sender (pilight) | nanoCUL (433Mhz)

justme1968

alexaRoom ist nur für den custom skill relevant. das smart home api bietet keine möglichkeit. du musst in der app von hand gruppen vergeben.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Bootscreen

achso ok, dann nur noch eine folge Frage, bei den Gruppen werden dann alle in der Gruppe geschaltet oder kann ich z.b. eine Gruppe Arbeitszimmer anlegen und dort dann nur eine Lampe von ausschalten?
Gruß
Oliver

FHEM 5.7 Hardware:
Raspberry PI B+ | HomeMatic USB 2 | 433Mhz Sender (pilight) | nanoCUL (433Mhz)

justme1968

so lange du den geräte namen mit angibst wird auch nur ein gerät geschaltet.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Bootscreen

irgendwie will das nicht. Wie muss ich das Alexa sagen? ich habe jetzt eine Gruppe Arbeitszimmer erstellt und möchte daraus nur die hintergrundbeleuchtung anschalten. Alexa sagt mir aber immer das es kein Gerät "ArbeitszimmerHintergrundbeleuchtung" gibt. :(
Gruß
Oliver

FHEM 5.7 Hardware:
Raspberry PI B+ | HomeMatic USB 2 | 433Mhz Sender (pilight) | nanoCUL (433Mhz)

justme1968

wenn das gerät hintergundbeleuchtung heisst und die gruppe arbeitszimmer sollte 'alexa, schalte die hintergtrundbeleiuchtung im arbeitszimmer ein'

du musst in der app nachschauen was genau erkannt wird. eventuell wird aus hintergundbeleuchtung hintergund beleuchtung
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Bootscreen

Irgendwie will sie nicht :(
Im Verlauf steht es zwar richtig "alexa schalte hintergrundbeleuchtung im arbeitszimmer an", aber alexa ignoriert scheinbar das im, denn das is ihre Anwtort: "Sorry, ich konnte kein Gerät bzw. keine Gruppe mit dem Namen hintergrundbeleuchtung arbeitszimmer in Oliver's Konto finden."

Wenn ich sage "Alexa Schalte Arbeistzimmer an" geht es und auch wenn ich Geräte direkt anspreche wie z.B. die Deckenlampe die nur einmal bisher existieren.
Gruß
Oliver

FHEM 5.7 Hardware:
Raspberry PI B+ | HomeMatic USB 2 | 433Mhz Sender (pilight) | nanoCUL (433Mhz)

DocPepper

#2558
Zitat von: ComanderKeen am 27 April 2017, 21:26:18
Hallo nochmal,

@Halsi
Nein, leider funktioniert die Geräte suche bei mir auch nicht.
wenn ich /bin/alexa starte, werden die beiden Geräte im Raum erkannt, aber unter meinem Skill in Alexa finde ich nichts  :(

Wenn ich in AWS gucke, sehe ich aber auch keine invocations.

VG
ComanderKeen

Hi,
hast Du bereits eine Lösung gefunden? Ich habe dasgleiche Problem. Ich habe mal vorsorglich den Support von Amazon kontaktiert, mal sehen, ob das was wird. ;)


Update 20170502:
Amazon hat mir mitgeteilt, dass es für die Developerplatform eigentlich keine regionalisierung gibt.
Ein erneuter Versuch heute, die Euro ARN einzutragen hat klaglos funktioniert und der Skill funktioniert auch.


@all
Beim Start von alexa-fhem bekomme ich folgende Meldungen:
[2017-04-28 16:57:58] using /home/me/.alexa/config.json
[2017-04-28 16:57:58] ---
[2017-04-28 16:57:58] this is alexa-fhem 0.3.4
[2017-04-28 16:57:58] Fetching FHEM devices...
[2017-04-28 16:57:58] [FHEM] starting longpoll: http://192.168.2.22:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1493391478944
[2017-04-28 16:57:58] Server listening on: https://:::3000
[2017-04-28 16:57:58] [FHEM] Checking devices and attributes...
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=jsonlist2%20TYPE=alexa&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM] Fetching FHEM devices...
[2017-04-28 16:57:58] [FHEM] fetching: http://192.168.2.22:8083/fhem?cmd=jsonlist2%20room=alexa&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM] alexa device is alexa
[2017-04-28 16:57:58] [FHEM] alexa is switch
[2017-04-28 16:57:58] [FHEM] alexa has
[2017-04-28 16:57:58] [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
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.3.4%22%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] perfectOfVerb:
[2017-04-28 16:57:58] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2017-04-28 16:57:58] verbsOfIntent:
[2017-04-28 16:57:58] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  gradIntent: [ 'stelle' ] ]
[2017-04-28 16:57:58] characteristicsOfIntent:
[2017-04-28 16:57:59] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'TargetPosition', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  gradIntent: [ 'TargetTemperature' ] }
[2017-04-28 16:57:59] prefixOfIntent:
[2017-04-28 16:57:59] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'auf' }
[2017-04-28 16:57:59] suffixOfIntent:
[2017-04-28 16:57:59] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'grad' }
[2017-04-28 16:57:59] alexaTypes:
[2017-04-28 16:57:59] { light: [ 'licht', 'lampen' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ] }
[2017-04-28 16:57:59] roomOfEcho:
[2017-04-28 16:57:59] {}
[2017-04-28 16:57:59] fhemIntents:
[2017-04-28 16:57:59] { FHEMgutenMorgenIntent: 'gutenMorgen',
  FHEMguteNachtIntent: 'guteNacht' }
[2017-04-28 16:57:59] [FHEM] got: 2 results
[2017-04-28 16:57:59] [FHEM] GA.ledstrip1 is light
[2017-04-28 16:57:59] [FHEM] GA.ledstrip1 has
[2017-04-28 16:57:59] [FHEM]   Hue [hue;HSV;0-359]
[2017-04-28 16:57:59] [FHEM]   Saturation [saturation;HSV;0-100]
[2017-04-28 16:57:59] [FHEM]   Brightness [brightness]
[2017-04-28 16:57:59] [FHEM]   On [state;on,off]
[2017-04-28 16:57:59] [FHEM] { reading: 'hue',
  cmd: 'HSV',
  max: 359,
  maxValue: 359,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-hue',
  characteristic_type: 'Hue',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-hue: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'saturation',
  cmd: 'HSV',
  max: 100,
  maxValue: 100,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-saturation',
  characteristic_type: 'Saturation',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-saturation: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'brightness',
  cmd: 'HSV',
  max: 100,
  maxValue: 100,
  delay: true,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-brightness',
  characteristic_type: 'Brightness',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-brightness: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-state: off
[2017-04-28 16:57:59] [FHEM] INTER_AB_1_D is switch
[2017-04-28 16:57:59] [FHEM] INTER_AB_1_D has
[2017-04-28 16:57:59] [FHEM]   On [state;on,off]
[2017-04-28 16:57:59] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'INTER_AB_1_D',
  informId: 'INTER_AB_1_D-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: INTER_AB_1_D-state: on


Also irgendwas wird erkannt, aber so ganz richtig schaut das nicht aus, oder?

ComanderKeen

Hallo zusammen,

der Amazon Support hat grade mitgeteilt das es ein Problem gibt mit den Skills

VG
ComanderKeen

AmunRe

Zitat von: DocPepper am 28 April 2017, 17:00:48
Hi,
hast Du bereits eine Lösung gefunden? Ich habe dasgleiche Problem. Ich habe mal vorsorglich den Support von Amazon kontaktiert, mal sehen, ob das was wird. ;)


@all
Beim Start von alexa-fhem bekomme ich folgende Meldungen:
[2017-04-28 16:57:58] using /home/me/.alexa/config.json
[2017-04-28 16:57:58] ---
[2017-04-28 16:57:58] this is alexa-fhem 0.3.4
[2017-04-28 16:57:58] Fetching FHEM devices...
[2017-04-28 16:57:58] [FHEM] starting longpoll: http://192.168.2.22:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1493391478944
[2017-04-28 16:57:58] Server listening on: https://:::3000
[2017-04-28 16:57:58] [FHEM] Checking devices and attributes...
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=jsonlist2%20TYPE=alexa&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM] Fetching FHEM devices...
[2017-04-28 16:57:58] [FHEM] fetching: http://192.168.2.22:8083/fhem?cmd=jsonlist2%20room=alexa&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM] alexa device is alexa
[2017-04-28 16:57:58] [FHEM] alexa is switch
[2017-04-28 16:57:58] [FHEM] alexa has
[2017-04-28 16:57:58] [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
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.3.4%22%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] [FHEM]   executing: http://192.168.2.22:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200%7D&fwcsrf=csrf_203612622539017&XHR=1
[2017-04-28 16:57:58] perfectOfVerb:
[2017-04-28 16:57:58] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2017-04-28 16:57:58] verbsOfIntent:
[2017-04-28 16:57:58] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  gradIntent: [ 'stelle' ] ]
[2017-04-28 16:57:58] characteristicsOfIntent:
[2017-04-28 16:57:59] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'TargetPosition', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  gradIntent: [ 'TargetTemperature' ] }
[2017-04-28 16:57:59] prefixOfIntent:
[2017-04-28 16:57:59] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'auf' }
[2017-04-28 16:57:59] suffixOfIntent:
[2017-04-28 16:57:59] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  gradIntent: 'grad' }
[2017-04-28 16:57:59] alexaTypes:
[2017-04-28 16:57:59] { light: [ 'licht', 'lampen' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ] }
[2017-04-28 16:57:59] roomOfEcho:
[2017-04-28 16:57:59] {}
[2017-04-28 16:57:59] fhemIntents:
[2017-04-28 16:57:59] { FHEMgutenMorgenIntent: 'gutenMorgen',
  FHEMguteNachtIntent: 'guteNacht' }
[2017-04-28 16:57:59] [FHEM] got: 2 results
[2017-04-28 16:57:59] [FHEM] GA.ledstrip1 is light
[2017-04-28 16:57:59] [FHEM] GA.ledstrip1 has
[2017-04-28 16:57:59] [FHEM]   Hue [hue;HSV;0-359]
[2017-04-28 16:57:59] [FHEM]   Saturation [saturation;HSV;0-100]
[2017-04-28 16:57:59] [FHEM]   Brightness [brightness]
[2017-04-28 16:57:59] [FHEM]   On [state;on,off]
[2017-04-28 16:57:59] [FHEM] { reading: 'hue',
  cmd: 'HSV',
  max: 359,
  maxValue: 359,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-hue',
  characteristic_type: 'Hue',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-hue: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'saturation',
  cmd: 'HSV',
  max: 100,
  maxValue: 100,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-saturation',
  characteristic_type: 'Saturation',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-saturation: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'brightness',
  cmd: 'HSV',
  max: 100,
  maxValue: 100,
  delay: true,
  homekit2reading: [Function: bound ],
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-brightness',
  characteristic_type: 'Brightness',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-brightness: 0
[2017-04-28 16:57:59] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'GA.ledstrip1',
  informId: 'GA.ledstrip1-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: GA.ledstrip1-state: off
[2017-04-28 16:57:59] [FHEM] INTER_AB_1_D is switch
[2017-04-28 16:57:59] [FHEM] INTER_AB_1_D has
[2017-04-28 16:57:59] [FHEM]   On [state;on,off]
[2017-04-28 16:57:59] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'INTER_AB_1_D',
  informId: 'INTER_AB_1_D-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2017-04-28 16:57:59 caching: INTER_AB_1_D-state: on


Also irgendwas wird erkannt, aber so ganz richtig schaut das nicht aus, oder?


Das Problem hatte ich auch, lag schlußendlich an der Portweiterleitung. Alexa-fhem hat zwar die Geräte gefunden, konnte sie aber nicht auf Abfrage übergeben(Weil die Abfrage nicht ankam)
4 x Echo Dot, HMLAN Gateway, und diverse HM Komponenten, Philips Hue + OSRAM Plugs

Fixel2012

Zitat von: Bootscreen am 28 April 2017, 16:32:27
Irgendwie will sie nicht :(
Im Verlauf steht es zwar richtig "alexa schalte hintergrundbeleuchtung im arbeitszimmer an", aber alexa ignoriert scheinbar das im, denn das is ihre Anwtort: "Sorry, ich konnte kein Gerät bzw. keine Gruppe mit dem Namen hintergrundbeleuchtung arbeitszimmer in Oliver's Konto finden."

Wenn ich sage "Alexa Schalte Arbeistzimmer an" geht es und auch wenn ich Geräte direkt anspreche wie z.B. die Deckenlampe die nur einmal bisher existieren.

Das Problem habe ich auch, meine bisherige Lösung ist der Custom Skill.
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

justme1968

mit dem aktuellen fire tv update lässt sich alexa auch dort verwenden. inklusive smart home und custom skills.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

hanswerner1

Hallo,

seit gestern funktioniert bei mir alexa nicht mehr. Im Log steht folgendes:

Zitat
/opt/alexa-fhem/node_modules/nat-upnp/node_modules/async/dist/async.js:105
      ( }
        ^

SyntaxError: Unexpected token }
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/opt/alexa-fhem/node_modules/nat-upnp/lib/nat-upnp/cl      ient.js:2:13)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10

Ich habe 1 Tag vorher das Xiaomi Gateway installiert, dafür musste folgendes installiert werden:
sudo apt-get install libio-socket-multicast-perl
sudo apt-get install libjson-perl
sudo apt-get install libcrypt-cbc-perl
sudo cpan Crypt::Cipher::AES

Kann es damit zusammenhängen ?

halsi82

Nachdem Amazon meinen Account angepasst hat -funktioniert jetzt der Trigger.
TOP.