Autor Thema: alexa-fhem: amazon alexa smart home skill für fhem, api version 3  (Gelesen 34596 mal)

Offline MadMax-FHEM

  • Hero Member
  • *****
  • Beiträge: 3834
  • NIVEAu ist keine Creme...
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #345 am: 08 September 2018, 19:16:11 »
Bei Präposition hast du 'im' eingetragen!?

Und mit "Alexa Wohnung" bin ich nicht sicher, ob tatsächlich der Custom Skill aktiviert wird...
Oder wartest du bis Alexa frägt was sie tun kann?

Ansonsten versuch mal: "Alexa sag Wohnung ..."

Poste doch mal die Logausgaben von alexa-fhem, wenn du den Befehl absetzt (und auch mal vom Start von alexa-fhem)...

Gruß, Joachim
FHEM 5.8 PI3: HM-CFG-USB, 40x HM, ZWave-USB, 6x ZWave, EnOcean-PI, 3x EnOcean, DashButtons, CO2, ESP-Multisensor, FireTV, NanoLeaf, ...
FHEM 5.8 PI2: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, KODI, ha-bridge, ...
FHEM 5.8 PI3 (Test): HM-MOD-PCB, Alexa (alexa-fhem), Google Home

Offline Sirmike

  • New Member
  • *
  • Beiträge: 6
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #346 am: 08 September 2018, 20:18:07 »
Ich hab die Präposition drinnen.
Ich warte immer bis Alexa frägt was sie tun kann. Also Aktivierung müsste funktionieren. Wenn ich den Raum, in diesem Fall "schrank" weg lasse gehts auch.
hier mal das log:

[2018-9-8 18:08:27] using /home/pi/.alexa/config.json
[2018-9-8 18:08:28] ---
[2018-9-8 18:08:28] this is alexa-fhem 0.4.4
[2018-9-8 18:08:28] Fetching FHEM devices...
[2018-9-8 18:08:28] [FHEM] starting longpoll: http://192.168.1.224:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1536430108325
[2018-9-8 18:08:28] Server listening on: https://:::3000
[2018-9-8 18:08:28] [FHEM] Checking devices and attributes...
[2018-9-8 18:08:28] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=jsonlist2%20TYPE=alexa&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] [FHEM] Fetching FHEM devices...
[2018-9-8 18:08:28] [FHEM] fetching: http://192.168.1.224:8083/fhem?cmd=jsonlist2%20room=alexa&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] [FHEM] alexa device is alexa
[2018-9-8 18:08:28] [FHEM] alexa is switch
[2018-9-8 18:08:28] [FHEM] alexa has
[2018-9-8 18:08: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,values=auf:100;zu:0

TargetHeatingCoolingState=verb=setze,valuePrefix=auf,values=auto:AUTO;boost:HEAT;aus:OFF;manual:COOL

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-9-8 18:08:28] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;%7B$defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.4.4%22%7D;%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] perfectOfVerb:
[2018-9-8 18:08:28] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2018-9-8 18:08:28] verbsOfIntent:
[2018-9-8 18:08:28] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  TargetHeatingCoolingStateIntent: [ 'setze' ],
  gradIntent: [ 'stelle' ] ]
[2018-9-8 18:08:28] characteristicsOfIntent:
[2018-9-8 18:08:28] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  TargetHeatingCoolingStateIntent: [ 'TargetHeatingCoolingState' ],
  gradIntent: [ 'TargetTemperature' ] }
[2018-9-8 18:08:28] prefixOfIntent:
[2018-9-8 18:08:28] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  TargetHeatingCoolingStateIntent: 'auf',
  gradIntent: 'auf' }
[2018-9-8 18:08:28] suffixOfIntent:
[2018-9-8 18:08:28] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  TargetHeatingCoolingStateIntent: undefined,
  gradIntent: 'grad' }
[2018-9-8 18:08:28] alexaTypes:
[2018-9-8 18:08:28] { light: [ 'licht', 'lampen', 'lampe' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ],
  Outlet: [ 'steckdose' ],
  TemperatureSensor: [ 'thermometer', 'temperatur' ] }
[2018-9-8 18:08:28] roomOfEcho:
[2018-9-8 18:08:28] {}
[2018-9-8 18:08:28] fhemIntents:
[2018-9-8 18:08:28] { FHEMgutenMorgenIntent: 'gutenMorgen',
  FHEMguteNachtIntent: 'guteNacht' }
[2018-9-8 18:08:28] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;list%20alexa%20.Alexa.Authorization;%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] [FHEM] got: 19 results
[2018-9-8 18:08:28] [FHEM] HM_Licht_Bad is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Bad has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Bad',
  informId: 'HM_Licht_Bad-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Bad-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Gang is switch
[2018-9-8 18:08:28] [FHEM] HM_Licht_Gang has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Gang',
  informId: 'HM_Licht_Gang-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Gang-state: on
[2018-9-8 18:08:28] [FHEM] HM_Licht_Jasmin is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Jasmin has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Jasmin',
  informId: 'HM_Licht_Jasmin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Jasmin-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Justin is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Justin has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Justin',
  informId: 'HM_Licht_Justin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Justin-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Kueche_1 is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Kueche_1 has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Kueche_1',
  informId: 'HM_Licht_Kueche_1-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Kueche_1-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Kueche_2 is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Kueche_2 has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Kueche_2',
  informId: 'HM_Licht_Kueche_2-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Kueche_2-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Luca is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Luca has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Luca',
  informId: 'HM_Licht_Luca-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Luca-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Marco is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Marco has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Marco',
  informId: 'HM_Licht_Marco-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Marco-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Schlafzimmer is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Schlafzimmer has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Schlafzimmer',
  informId: 'HM_Licht_Schlafzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Schlafzimmer-state: on
[2018-9-8 18:08:28] [FHEM] HM_Licht_WC is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_WC has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_WC',
  informId: 'HM_Licht_WC-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_WC-state: off
[2018-9-8 18:08:28] [FHEM] HM_Licht_Wohnzimmer is light
[2018-9-8 18:08:28] [FHEM] HM_Licht_Wohnzimmer has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Wohnzimmer',
  informId: 'HM_Licht_Wohnzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Licht_Wohnzimmer-state: on
[2018-9-8 18:08:28] [FHEM] HM_Strom_Gang is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Gang has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Gang',
  informId: 'HM_Strom_Gang-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Gang-state: on
[2018-9-8 18:08:28] [FHEM] HM_Strom_Jasmin is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Jasmin has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Jasmin',
  informId: 'HM_Strom_Jasmin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Jasmin-state: off
[2018-9-8 18:08:28] [FHEM] HM_Strom_Justin is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Justin has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Justin',
  informId: 'HM_Strom_Justin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Justin-state: on
[2018-9-8 18:08:28] [FHEM] HM_Strom_Luca is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Luca has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Luca',
  informId: 'HM_Strom_Luca-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Luca-state: on
[2018-9-8 18:08:28] [FHEM] HM_Strom_Marco is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Marco has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Marco',
  informId: 'HM_Strom_Marco-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Marco-state: off
[2018-9-8 18:08:28] [FHEM] HM_Strom_Schlafzimmer is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Schlafzimmer has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Schlafzimmer',
  informId: 'HM_Strom_Schlafzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Schlafzimmer-state: on
[2018-9-8 18:08:28] [FHEM] HM_Strom_Wohnzimmer is outlet
[2018-9-8 18:08:28] [FHEM] HM_Strom_Wohnzimmer has
[2018-9-8 18:08:28] [FHEM]   On [state;on,off]
[2018-9-8 18:08:28] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Wohnzimmer',
  informId: 'HM_Strom_Wohnzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: HM_Strom_Wohnzimmer-state: on
[2018-9-8 18:08:28] [FHEM] homebridgeMapping: clear
TargetTemperature=control::4.SET_TEMPERATURE,minValue=4.5,maxValue=30,minStep=0.5,nocache=1
CurrentTemperature=4.ACTUAL_TEMPERATURE
StatusLowBattery=Schlafzimmer:battery,values=ok:BATTERY_LEVEL_NORMAL;;/^.*/:BATTERY_LEVEL_LOW
TargetHeatingCoolingState=heatingState,values=OFF:0;;HEAT:1;;COOL:2;;AUTO:3,cmds=OFF:off;;HEAT:Boost;;AUTO:Auto;;COOL:Night
CurrentHeatingCoolingState=heatingState,values=OFF:0;;HEAT:1;;COOL:2;;AUTO:0
[2018-9-8 18:08:28] [FHEM] Schlafzimmerthermostat is thermostat
[2018-9-8 18:08:28] [FHEM] Schlafzimmerthermostat has
[2018-9-8 18:08:28] [FHEM]   TargetTemperature [4.SET_TEMPERATURE]
[2018-9-8 18:08:28] [FHEM]   CurrentTemperature [4.ACTUAL_TEMPERATURE]
[2018-9-8 18:08:28] [FHEM]   StatusLowBattery [Schlafzimmer.battery]
[2018-9-8 18:08:28] [FHEM]   TargetHeatingCoolingState [heatingState]
[2018-9-8 18:08:28] [FHEM]   CurrentHeatingCoolingState [heatingState]
[2018-9-8 18:08:28] [FHEM] { reading: '4.SET_TEMPERATURE',
  cmd: 'control',
  minValue: 4.5,
  maxValue: 30,
  minStep: 0.5,
  nocache: '1',
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-4.SET_TEMPERATURE',
  characteristic_type: 'TargetTemperature',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
[2018-9-8 18:08:28] [FHEM] { reading: '4.ACTUAL_TEMPERATURE',
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-4.ACTUAL_TEMPERATURE',
  characteristic_type: 'CurrentTemperature',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:08:28 caching: Schlafzimmerthermostat-4.ACTUAL_TEMPERATURE: 21.9
[2018-9-8 18:08:28] [FHEM] query: StatusLowBattery for Schlafzimmer-battery
[2018-9-8 18:08:28] [FHEM]   not cached
[2018-9-8 18:08:28] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7BReadingsVal(%22Schlafzimmer%22,%22battery%22,%22%22)%7D&fwcsrf=csrf_13435870777530&XHR=1
[2018-9-8 18:08:28] [FHEM] { reading: 'battery',
  device: 'Schlafzimmer',
  values: [ 'ok:BATTERY_LEVEL_NORMAL', '', '/^.*/:BATTERY_LEVEL_LOW' ],
  informId: 'Schlafzimmer-battery',
  characteristic_type: 'StatusLowBattery',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { ok: 'BATTERY_LEVEL_NORMAL', '': '' },
  value2homekit_re: [ { re: '^.*', to: 'BATTERY_LEVEL_LOW' } ] }
[2018-9-8 18:08:28] [FHEM] { reading: 'heatingState',
  values: [ 'OFF:0', '', 'HEAT:1', '', 'COOL:2', '', 'AUTO:3' ],
  cmds: [ 'OFF:off', '', 'HEAT:Boost', '', 'AUTO:Auto', '', 'COOL:Night' ],
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-heatingState',
  characteristic_type: 'TargetHeatingCoolingState',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { OFF: '0', '': '', HEAT: '1', COOL: '2', AUTO: '3' },
  value2homekit_re: [],
  homekit2cmd: { OFF: 'off', '': '', HEAT: 'Boost', AUTO: 'Auto', COOL: 'Night' },
  homekit2cmd_re: [] }
  2018-09-08 18:08:28 caching: Schlafzimmerthermostat-heatingState: AUTO
[2018-9-8 18:08:28] [FHEM] { reading: 'heatingState',
  values: [ 'OFF:0', '', 'HEAT:1', '', 'COOL:2', '', 'AUTO:0' ],
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-heatingState',
  characteristic_type: 'CurrentHeatingCoolingState',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { OFF: '0', '': '', HEAT: '1', COOL: '2', AUTO: '0' },
  value2homekit_re: [] }
[2018-9-8 18:08:28] [FHEM]   value:
  2018-09-08 18:08:28 caching: Schlafzimmer-battery:
  2018-09-08 18:08:35 caching: Schlafzimmerthermostat-4.SET_TEMPERATURE: 21.0

Soll ich, wenn es ohne den Raum funktioniert, dazu auch den log bringen?

Ach ja bei Alexa wird es so angezeigt:

licht
n: HM_Licht_Wohnzimmer, r: schrank

« Letzte Änderung: 08 September 2018, 20:23:24 von Sirmike »

Offline MadMax-FHEM

  • Hero Member
  • *****
  • Beiträge: 3834
  • NIVEAu ist keine Creme...
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #347 am: 08 September 2018, 20:23:24 »
Ich kann aktuell nur per Handy kucken, sehe aber kein Kommando!?

Ja, poste mal das alexa-fhem Log beider Kommandos...

Gruß, Joachim
FHEM 5.8 PI3: HM-CFG-USB, 40x HM, ZWave-USB, 6x ZWave, EnOcean-PI, 3x EnOcean, DashButtons, CO2, ESP-Multisensor, FireTV, NanoLeaf, ...
FHEM 5.8 PI2: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, KODI, ha-bridge, ...
FHEM 5.8 PI3 (Test): HM-MOD-PCB, Alexa (alexa-fhem), Google Home

Offline Sirmike

  • New Member
  • *
  • Beiträge: 6
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #348 am: 08 September 2018, 20:34:29 »
Ok hier das log mit "schalte das licht ein" und "schalte das licht aus"

[2018-9-8 18:31:49] using /home/pi/.alexa/config.json
[2018-9-8 18:31:49] ---
[2018-9-8 18:31:49] this is alexa-fhem 0.4.4
[2018-9-8 18:31:49] Fetching FHEM devices...
[2018-9-8 18:31:49] [FHEM] starting longpoll: http://192.168.1.224:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1536431509213
[2018-9-8 18:31:49] Server listening on: https://:::3000
[2018-9-8 18:31:49] [FHEM] Checking devices and attributes...
[2018-9-8 18:31:49] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=jsonlist2%20TYPE=alexa&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] [FHEM] Fetching FHEM devices...
[2018-9-8 18:31:49] [FHEM] fetching: http://192.168.1.224:8083/fhem?cmd=jsonlist2%20room=alexa&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] [FHEM] alexa device is alexa
[2018-9-8 18:31:49] [FHEM] alexa is switch
[2018-9-8 18:31:49] [FHEM] alexa has
[2018-9-8 18:31:49] [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,values=auf:100;zu:0

TargetHeatingCoolingState=verb=setze,valuePrefix=auf,values=auto:AUTO;boost:HEAT;aus:OFF;manual:COOL

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-9-8 18:31:49] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;%7B$defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20=%20%220.4.4%22%7D;%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] perfectOfVerb:
[2018-9-8 18:31:49] { stelle: 'gestellt',
  schalte: 'geschaltet',
  'färbe': 'gefärbt',
  mach: 'gemacht' }
[2018-9-8 18:31:49] verbsOfIntent:
[2018-9-8 18:31:49] [ OnIntent: [ 'schalte' ],
  prozentIntent: [ 'stelle' ],
  HueIntent: [ 'stelle' ],
  HueIntentB: [ 'färbe' ],
  SaturationIntent: [ 'stelle' ],
  SaturationIntentB: [ 'sättige' ],
  TargetPositionIntent: [ 'mach' ],
  TargetHeatingCoolingStateIntent: [ 'setze' ],
  gradIntent: [ 'stelle' ] ]
[2018-9-8 18:31:49] characteristicsOfIntent:
[2018-9-8 18:31:49] { OnIntent: [ 'On' ],
  prozentIntent: [ 'Brightness', 'Volume' ],
  HueIntent: [ 'Hue' ],
  HueIntentB: [ 'Hue' ],
  SaturationIntent: [ 'Saturation' ],
  SaturationIntentB: [ 'Saturation' ],
  TargetPositionIntent: [ 'TargetPosition' ],
  TargetHeatingCoolingStateIntent: [ 'TargetHeatingCoolingState' ],
  gradIntent: [ 'TargetTemperature' ] }
[2018-9-8 18:31:49] prefixOfIntent:
[2018-9-8 18:31:49] { OnIntent: undefined,
  prozentIntent: 'auf',
  HueIntent: 'auf',
  HueIntentB: undefined,
  SaturationIntent: 'auf',
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  TargetHeatingCoolingStateIntent: 'auf',
  gradIntent: 'auf' }
[2018-9-8 18:31:49] suffixOfIntent:
[2018-9-8 18:31:49] { OnIntent: undefined,
  prozentIntent: 'prozent',
  HueIntent: undefined,
  HueIntentB: undefined,
  SaturationIntent: undefined,
  SaturationIntentB: undefined,
  TargetPositionIntent: undefined,
  TargetHeatingCoolingStateIntent: undefined,
  gradIntent: 'grad' }
[2018-9-8 18:31:49] alexaTypes:
[2018-9-8 18:31:49] { light: [ 'licht', 'lampen', 'lampe' ],
  blind:
   [ 'rolladen',
     'rolläden',
     'jalousie',
     'jalousien',
     'rollo',
     'rollos' ],
  Outlet: [ 'steckdose' ],
  TemperatureSensor: [ 'thermometer', 'temperatur' ] }
[2018-9-8 18:31:49] roomOfEcho:
[2018-9-8 18:31:49] {}
[2018-9-8 18:31:49] fhemIntents:
[2018-9-8 18:31:49] { FHEMgutenMorgenIntent: 'gutenMorgen',
  FHEMguteNachtIntent: 'guteNacht' }
[2018-9-8 18:31:49] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%201;;undef%7D;list%20alexa%20.Alexa.Authorization;%7B$defs%7Balexa%7D-%3E%7B%22active%22%7D%20=%200;;undef%7D&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] [FHEM] got: 19 results
[2018-9-8 18:31:49] [FHEM] HM_Licht_Bad is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Bad has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Bad',
  informId: 'HM_Licht_Bad-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Bad-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Gang is switch
[2018-9-8 18:31:49] [FHEM] HM_Licht_Gang has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Gang',
  informId: 'HM_Licht_Gang-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Gang-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Jasmin is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Jasmin has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Jasmin',
  informId: 'HM_Licht_Jasmin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Jasmin-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Justin is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Justin has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Justin',
  informId: 'HM_Licht_Justin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Justin-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Kueche_1 is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Kueche_1 has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Kueche_1',
  informId: 'HM_Licht_Kueche_1-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Kueche_1-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Kueche_2 is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Kueche_2 has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Kueche_2',
  informId: 'HM_Licht_Kueche_2-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Kueche_2-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Luca is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Luca has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Luca',
  informId: 'HM_Licht_Luca-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Luca-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Marco is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Marco has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Marco',
  informId: 'HM_Licht_Marco-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Marco-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Schlafzimmer is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Schlafzimmer has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Schlafzimmer',
  informId: 'HM_Licht_Schlafzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Schlafzimmer-state: on
[2018-9-8 18:31:49] [FHEM] HM_Licht_WC is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_WC has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_WC',
  informId: 'HM_Licht_WC-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_WC-state: off
[2018-9-8 18:31:49] [FHEM] HM_Licht_Wohnzimmer is light
[2018-9-8 18:31:49] [FHEM] HM_Licht_Wohnzimmer has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Licht_Wohnzimmer',
  informId: 'HM_Licht_Wohnzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Licht_Wohnzimmer-state: on
[2018-9-8 18:31:49] [FHEM] HM_Strom_Gang is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Gang has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Gang',
  informId: 'HM_Strom_Gang-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Gang-state: on
[2018-9-8 18:31:49] [FHEM] HM_Strom_Jasmin is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Jasmin has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Jasmin',
  informId: 'HM_Strom_Jasmin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Jasmin-state: off
[2018-9-8 18:31:49] [FHEM] HM_Strom_Justin is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Justin has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Justin',
  informId: 'HM_Strom_Justin-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Justin-state: on
[2018-9-8 18:31:49] [FHEM] HM_Strom_Luca is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Luca has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Luca',
  informId: 'HM_Strom_Luca-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Luca-state: on
[2018-9-8 18:31:49] [FHEM] HM_Strom_Marco is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Marco has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Marco',
  informId: 'HM_Strom_Marco-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Marco-state: off
[2018-9-8 18:31:49] [FHEM] HM_Strom_Schlafzimmer is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Schlafzimmer has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Schlafzimmer',
  informId: 'HM_Strom_Schlafzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Schlafzimmer-state: on
[2018-9-8 18:31:49] [FHEM] HM_Strom_Wohnzimmer is outlet
[2018-9-8 18:31:49] [FHEM] HM_Strom_Wohnzimmer has
[2018-9-8 18:31:49] [FHEM]   On [state;on,off]
[2018-9-8 18:31:49] [FHEM] { reading: 'state',
  valueOff: '/off|A0|000000/',
  cmdOn: 'on',
  cmdOff: 'off',
  device: 'HM_Strom_Wohnzimmer',
  informId: 'HM_Strom_Wohnzimmer-state',
  characteristic_type: 'On',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: HM_Strom_Wohnzimmer-state: on
[2018-9-8 18:31:49] [FHEM] homebridgeMapping: clear
TargetTemperature=control::4.SET_TEMPERATURE,minValue=4.5,maxValue=30,minStep=0.5,nocache=1
CurrentTemperature=4.ACTUAL_TEMPERATURE
StatusLowBattery=Schlafzimmer:battery,values=ok:BATTERY_LEVEL_NORMAL;;/^.*/:BATTERY_LEVEL_LOW
TargetHeatingCoolingState=heatingState,values=OFF:0;;HEAT:1;;COOL:2;;AUTO:3,cmds=OFF:off;;HEAT:Boost;;AUTO:Auto;;COOL:Night
CurrentHeatingCoolingState=heatingState,values=OFF:0;;HEAT:1;;COOL:2;;AUTO:0
[2018-9-8 18:31:49] [FHEM] Schlafzimmerthermostat is thermostat
[2018-9-8 18:31:49] [FHEM] Schlafzimmerthermostat has
[2018-9-8 18:31:49] [FHEM]   TargetTemperature [4.SET_TEMPERATURE]
[2018-9-8 18:31:49] [FHEM]   CurrentTemperature [4.ACTUAL_TEMPERATURE]
[2018-9-8 18:31:49] [FHEM]   StatusLowBattery [Schlafzimmer.battery]
[2018-9-8 18:31:49] [FHEM]   TargetHeatingCoolingState [heatingState]
[2018-9-8 18:31:49] [FHEM]   CurrentHeatingCoolingState [heatingState]
[2018-9-8 18:31:49] [FHEM] { reading: '4.SET_TEMPERATURE',
  cmd: 'control',
  minValue: 4.5,
  maxValue: 30,
  minStep: 0.5,
  nocache: '1',
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-4.SET_TEMPERATURE',
  characteristic_type: 'TargetTemperature',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
[2018-9-8 18:31:49] [FHEM] { reading: '4.ACTUAL_TEMPERATURE',
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-4.ACTUAL_TEMPERATURE',
  characteristic_type: 'CurrentTemperature',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' } }
  2018-09-08 18:31:49 caching: Schlafzimmerthermostat-4.ACTUAL_TEMPERATURE: 21.8
[2018-9-8 18:31:49] [FHEM] query: StatusLowBattery for Schlafzimmer-battery
[2018-9-8 18:31:49] [FHEM]   not cached
[2018-9-8 18:31:49] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=%7BReadingsVal(%22Schlafzimmer%22,%22battery%22,%22%22)%7D&fwcsrf=csrf_707603835829303&XHR=1
[2018-9-8 18:31:49] [FHEM] { reading: 'battery',
  device: 'Schlafzimmer',
  values: [ 'ok:BATTERY_LEVEL_NORMAL', '', '/^.*/:BATTERY_LEVEL_LOW' ],
  informId: 'Schlafzimmer-battery',
  characteristic_type: 'StatusLowBattery',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { ok: 'BATTERY_LEVEL_NORMAL', '': '' },
  value2homekit_re: [ { re: '^.*', to: 'BATTERY_LEVEL_LOW' } ] }
[2018-9-8 18:31:49] [FHEM] { reading: 'heatingState',
  values: [ 'OFF:0', '', 'HEAT:1', '', 'COOL:2', '', 'AUTO:3' ],
  cmds: [ 'OFF:off', '', 'HEAT:Boost', '', 'AUTO:Auto', '', 'COOL:Night' ],
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-heatingState',
  characteristic_type: 'TargetHeatingCoolingState',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { OFF: '0', '': '', HEAT: '1', COOL: '2', AUTO: '3' },
  value2homekit_re: [],
  homekit2cmd: { OFF: 'off', '': '', HEAT: 'Boost', AUTO: 'Auto', COOL: 'Night' },
  homekit2cmd_re: [] }
  2018-09-08 18:31:49 caching: Schlafzimmerthermostat-heatingState: AUTO
[2018-9-8 18:31:49] [FHEM] { reading: 'heatingState',
  values: [ 'OFF:0', '', 'HEAT:1', '', 'COOL:2', '', 'AUTO:0' ],
  device: 'Schlafzimmerthermostat',
  informId: 'Schlafzimmerthermostat-heatingState',
  characteristic_type: 'CurrentHeatingCoolingState',
  log:
   { [Function: bound ]
     debug: [Function],
     info: [Function],
     warn: [Function],
     error: [Function],
     log: [Function],
     prefix: 'FHEM' },
  value2homekit: { OFF: '0', '': '', HEAT: '1', COOL: '2', AUTO: '0' },
  value2homekit_re: [] }
[2018-9-8 18:31:49] [FHEM]   value:
  2018-09-08 18:31:49 caching: Schlafzimmer-battery:
  2018-09-08 18:31:53 caching: Schlafzimmerthermostat-4.SET_TEMPERATURE: 21.0
[2018-9-8 18:32:07] accepted new token
**** Received Directive: {"directive":{"header":{"namespace":"Alexa.PowerController","name":"TurnOff","payloadVersion":"3","messageId":"54853552-79fe-49d4-8109-7c5f39d65e1d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAACWSu6LzqFl0B9jp3tWGn9yLn7a+Lgl3fryekurvsZJdrm31gW8fKs0ziSTs9OVX+c0yUnKvW2yE4weRmr1pacThDK1kawRnk/t0Rro56NHe8Tl3MZaC72bcb2OEG6JL6HOHS8CFPwxgelwkvL5j9o2aDb+HR0fwEkjoH0jgb7NhdwtCQLpc0JFFVxiBqK871jIEMohFF7Gk7qI10mcJhuEXSxN64hEId76lYR2lsJ7AOkeDX1/WVw+IDQtS4MJZOV+cFuKPRouhCcpSp0iykNCV0+nVQMydCtGozDTr2r9w0jBsKLsmuniUk0ut6xhzNBvaYior95Lrql40GEkGAwufhmoIKTZQSG8zanoMdM+/n3SmswXf6VTwXustOVWRqk1TfA69Utf9f/H+6CjW38Ni4iTGGr3kHsN8J1JxbOfQ3lTeUZ1JdxJR/ocAfIoJhHAAIUNuf0mMahNb9Al4QiufCTSfGRwOwuDEixhsTI6ug2a+SF+p3DkjcSKlfBiUgS+/GfRgxAxWP7qnXcLM1SrNtf5C8OK3Pjp5gyeJy+v9MXjt7BLGZaKG+mtN/J3q+QEbnWCwLByNH/4PKEc+yQk337JeNIROZuJXWu9ahLB2AhhFSMFq9BGtCDqWM8jPfK87UW5kph6w1mNe4eExsl0mZdYbgMfO+TBpm483lqt+Nr+izhEEsCo/7BjEg=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer","cookie":{"device":"HM_Licht_Wohnzimmer"}},"payload":{}}}
[2018-9-8 18:32:07] [FHEM] HM_Licht_Wohnzimmer: executing set cmd for On with value 0
[2018-9-8 18:32:07] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=set%20HM_Licht_Wohnzimmer%20off&fwcsrf=csrf_707603835829303&XHR=1
response :{"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"OFF","timeOfSample":"2018-09-08T18:32:07.186Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"name":"Response","payloadVersion":3,"namespace":"Alexa","messageId":"e117b572-42ae-4bd8-9c67-9ca84b955d62","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAACWSu6LzqFl0B9jp3tWGn9yLn7a+Lgl3fryekurvsZJdrm31gW8fKs0ziSTs9OVX+c0yUnKvW2yE4weRmr1pacThDK1kawRnk/t0Rro56NHe8Tl3MZaC72bcb2OEG6JL6HOHS8CFPwxgelwkvL5j9o2aDb+HR0fwEkjoH0jgb7NhdwtCQLpc0JFFVxiBqK871jIEMohFF7Gk7qI10mcJhuEXSxN64hEId76lYR2lsJ7AOkeDX1/WVw+IDQtS4MJZOV+cFuKPRouhCcpSp0iykNCV0+nVQMydCtGozDTr2r9w0jBsKLsmuniUk0ut6xhzNBvaYior95Lrql40GEkGAwufhmoIKTZQSG8zanoMdM+/n3SmswXf6VTwXustOVWRqk1TfA69Utf9f/H+6CjW38Ni4iTGGr3kHsN8J1JxbOfQ3lTeUZ1JdxJR/ocAfIoJhHAAIUNuf0mMahNb9Al4QiufCTSfGRwOwuDEixhsTI6ug2a+SF+p3DkjcSKlfBiUgS+/GfRgxAxWP7qnXcLM1SrNtf5C8OK3Pjp5gyeJy+v9MXjt7BLGZaKG+mtN/J3q+QEbnWCwLByNH/4PKEc+yQk337JeNIROZuJXWu9ahLB2AhhFSMFq9BGtCDqWM8jPfK87UW5kph6w1mNe4eExsl0mZdYbgMfO+TBpm483lqt+Nr+izhEEsCo/7BjEg=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer"},"payload":{}}}
  2018-09-08 18:32:07 caching: HM_Licht_Wohnzimmer-state: off
[2018-9-8 18:32:16] accepted new token
**** Received Directive: {"directive":{"header":{"namespace":"Alexa.PowerController","name":"TurnOn","payloadVersion":"3","messageId":"ef5ff23d-05e0-4a30-8ab3-3803a2596c3d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAADcde1kns/0VrQxmPZMQK3tHkEZkwp3NkOR2sn4wNPWRnw64ToTw7bTzVMtVY51LYF0WSxhaCR7VzNwpvdoYp4gtiMq983erDSHdZ99EuwoKAEw5aahot0qgyVZ0QGJleoOxMRIDmjxQFycif3roCJbEE2N34N8QzZ72ZieowcfmLU1XXr7AGasfqxFobRaJJ5WcBfS14j1OcY9vYP/rEmidXmp8TCo+Fx1nBgy5+ZxxVS7dlaLy1gbwgPoXXiPC/9Z7006Yr5G+cU42+2+rx40Qnb0t0DIyasyTAxotUKLIr168E9cyUn+Vr+sfZ8NB71XJ5QmCLnvIpy/y0VwrGH96mjiI9RvQgreQ3X417aGYn5EBCUlK+vlf+fRQfRvqQcU5RTiF3fD36URvgwfHdh9Q3Z852JIaQB762kkbk1+vFj5iBP9An+LB/SDng3K2wD0MXaA2Ix0thEwFejp2uNgoz0aMPirrBTxaC7mxJv9fqMlZYy082uV9dYSZznfq3H7TXo7LWdlDrQq9LCaxiRbWfwZ1gkPDfQSsFbNmLW6vO85Bru+UYM0CaiY6uhCyqgmlrWTNAhhDXIIrA3dzRk/bYuvEs3U2Q/JidW0Vis/QWTGb+SpamJlT7hZxeXYjkp/2y3PjvsUcEF8DWvnQCHn9i7I7aOI/Rd8+yUAQRE0FUp1pyF1s8uHtcJ0eA=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer","cookie":{"device":"HM_Licht_Wohnzimmer"}},"payload":{}}}
[2018-9-8 18:32:16] [FHEM] HM_Licht_Wohnzimmer: executing set cmd for On with value 1
[2018-9-8 18:32:16] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=set%20HM_Licht_Wohnzimmer%20on&fwcsrf=csrf_707603835829303&XHR=1
response :{"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2018-09-08T18:32:16.288Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"name":"Response","payloadVersion":3,"namespace":"Alexa","messageId":"8255978d-85b2-4f67-bb21-5a69383f4e5d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAADcde1kns/0VrQxmPZMQK3tHkEZkwp3NkOR2sn4wNPWRnw64ToTw7bTzVMtVY51LYF0WSxhaCR7VzNwpvdoYp4gtiMq983erDSHdZ99EuwoKAEw5aahot0qgyVZ0QGJleoOxMRIDmjxQFycif3roCJbEE2N34N8QzZ72ZieowcfmLU1XXr7AGasfqxFobRaJJ5WcBfS14j1OcY9vYP/rEmidXmp8TCo+Fx1nBgy5+ZxxVS7dlaLy1gbwgPoXXiPC/9Z7006Yr5G+cU42+2+rx40Qnb0t0DIyasyTAxotUKLIr168E9cyUn+Vr+sfZ8NB71XJ5QmCLnvIpy/y0VwrGH96mjiI9RvQgreQ3X417aGYn5EBCUlK+vlf+fRQfRvqQcU5RTiF3fD36URvgwfHdh9Q3Z852JIaQB762kkbk1+vFj5iBP9An+LB/SDng3K2wD0MXaA2Ix0thEwFejp2uNgoz0aMPirrBTxaC7mxJv9fqMlZYy082uV9dYSZznfq3H7TXo7LWdlDrQq9LCaxiRbWfwZ1gkPDfQSsFbNmLW6vO85Bru+UYM0CaiY6uhCyqgmlrWTNAhhDXIIrA3dzRk/bYuvEs3U2Q/JidW0Vis/QWTGb+SpamJlT7hZxeXYjkp/2y3PjvsUcEF8DWvnQCHn9i7I7aOI/Rd8+yUAQRE0FUp1pyF1s8uHtcJ0eA=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer"},"payload":{}}}
  2018-09-08 18:32:16 caching: HM_Licht_Wohnzimmer-state: on
 

Wie gesagt wenn ich den Raum weglasse geht es und wenn ich den Raum dazu sage geht es nicht, siehe log im anderen post.

VG
Michael
« Letzte Änderung: 08 September 2018, 20:40:12 von Sirmike »

Offline MadMax-FHEM

  • Hero Member
  • *****
  • Beiträge: 3834
  • NIVEAu ist keine Creme...
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #349 am: 08 September 2018, 21:53:25 »
Hi, sorry habe falsch geschaut...
Also wegen dem Namen vom Device... ;)

Muss ich aber später/morgen mal genauer schauen, ist auf dem Handy etwas schwer...

Gruß, Joachim
FHEM 5.8 PI3: HM-CFG-USB, 40x HM, ZWave-USB, 6x ZWave, EnOcean-PI, 3x EnOcean, DashButtons, CO2, ESP-Multisensor, FireTV, NanoLeaf, ...
FHEM 5.8 PI2: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, KODI, ha-bridge, ...
FHEM 5.8 PI3 (Test): HM-MOD-PCB, Alexa (alexa-fhem), Google Home

Offline MadMax-FHEM

  • Hero Member
  • *****
  • Beiträge: 3834
  • NIVEAu ist keine Creme...
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #350 am: 13 September 2018, 22:41:28 »
Hi Michael,

sorry hat etwas gedauert.

Ich hab mir die beiden Logs noch mal angeschaut aber ich kann in dem ersten Log (https://forum.fhem.de/index.php/topic,81324.msg834438.html#msg834438) keinen Schaltvorgang finden.

Hier fehlt etwas wie:
**** Received Directive:...

In dem anderen Log wo es gut geht sehe ich die Schaltvorgänge...

[2018-9-8 18:32:07] accepted new token
**** Received Directive: {"directive":{"header":{"namespace":"Alexa.PowerController","name":"TurnOff","payloadVersion":"3","messageId":"54853552-79fe-49d4-8109-7c5f39d65e1d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAACWSu6LzqFl0B9jp3tWGn9yLn7a+Lgl3fryekurvsZJdrm31gW8fKs0ziSTs9OVX+c0yUnKvW2yE4weRmr1pacThDK1kawRnk/t0Rro56NHe8Tl3MZaC72bcb2OEG6JL6HOHS8CFPwxgelwkvL5j9o2aDb+HR0fwEkjoH0jgb7NhdwtCQLpc0JFFVxiBqK871jIEMohFF7Gk7qI10mcJhuEXSxN64hEId76lYR2lsJ7AOkeDX1/WVw+IDQtS4MJZOV+cFuKPRouhCcpSp0iykNCV0+nVQMydCtGozDTr2r9w0jBsKLsmuniUk0ut6xhzNBvaYior95Lrql40GEkGAwufhmoIKTZQSG8zanoMdM+/n3SmswXf6VTwXustOVWRqk1TfA69Utf9f/H+6CjW38Ni4iTGGr3kHsN8J1JxbOfQ3lTeUZ1JdxJR/ocAfIoJhHAAIUNuf0mMahNb9Al4QiufCTSfGRwOwuDEixhsTI6ug2a+SF+p3DkjcSKlfBiUgS+/GfRgxAxWP7qnXcLM1SrNtf5C8OK3Pjp5gyeJy+v9MXjt7BLGZaKG+mtN/J3q+QEbnWCwLByNH/4PKEc+yQk337JeNIROZuJXWu9ahLB2AhhFSMFq9BGtCDqWM8jPfK87UW5kph6w1mNe4eExsl0mZdYbgMfO+TBpm483lqt+Nr+izhEEsCo/7BjEg=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer","cookie":{"device":"HM_Licht_Wohnzimmer"}},"payload":{}}}
[2018-9-8 18:32:07] [FHEM] HM_Licht_Wohnzimmer: executing set cmd for On with value 0
[2018-9-8 18:32:07] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=set%20HM_Licht_Wohnzimmer%20off&fwcsrf=csrf_707603835829303&XHR=1
response :{"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"OFF","timeOfSample":"2018-09-08T18:32:07.186Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"name":"Response","payloadVersion":3,"namespace":"Alexa","messageId":"e117b572-42ae-4bd8-9c67-9ca84b955d62","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAACWSu6LzqFl0B9jp3tWGn9yLn7a+Lgl3fryekurvsZJdrm31gW8fKs0ziSTs9OVX+c0yUnKvW2yE4weRmr1pacThDK1kawRnk/t0Rro56NHe8Tl3MZaC72bcb2OEG6JL6HOHS8CFPwxgelwkvL5j9o2aDb+HR0fwEkjoH0jgb7NhdwtCQLpc0JFFVxiBqK871jIEMohFF7Gk7qI10mcJhuEXSxN64hEId76lYR2lsJ7AOkeDX1/WVw+IDQtS4MJZOV+cFuKPRouhCcpSp0iykNCV0+nVQMydCtGozDTr2r9w0jBsKLsmuniUk0ut6xhzNBvaYior95Lrql40GEkGAwufhmoIKTZQSG8zanoMdM+/n3SmswXf6VTwXustOVWRqk1TfA69Utf9f/H+6CjW38Ni4iTGGr3kHsN8J1JxbOfQ3lTeUZ1JdxJR/ocAfIoJhHAAIUNuf0mMahNb9Al4QiufCTSfGRwOwuDEixhsTI6ug2a+SF+p3DkjcSKlfBiUgS+/GfRgxAxWP7qnXcLM1SrNtf5C8OK3Pjp5gyeJy+v9MXjt7BLGZaKG+mtN/J3q+QEbnWCwLByNH/4PKEc+yQk337JeNIROZuJXWu9ahLB2AhhFSMFq9BGtCDqWM8jPfK87UW5kph6w1mNe4eExsl0mZdYbgMfO+TBpm483lqt+Nr+izhEEsCo/7BjEg=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer"},"payload":{}}}
  2018-09-08 18:32:07 caching: HM_Licht_Wohnzimmer-state: off
[2018-9-8 18:32:16] accepted new token
**** Received Directive: {"directive":{"header":{"namespace":"Alexa.PowerController","name":"TurnOn","payloadVersion":"3","messageId":"ef5ff23d-05e0-4a30-8ab3-3803a2596c3d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAADcde1kns/0VrQxmPZMQK3tHkEZkwp3NkOR2sn4wNPWRnw64ToTw7bTzVMtVY51LYF0WSxhaCR7VzNwpvdoYp4gtiMq983erDSHdZ99EuwoKAEw5aahot0qgyVZ0QGJleoOxMRIDmjxQFycif3roCJbEE2N34N8QzZ72ZieowcfmLU1XXr7AGasfqxFobRaJJ5WcBfS14j1OcY9vYP/rEmidXmp8TCo+Fx1nBgy5+ZxxVS7dlaLy1gbwgPoXXiPC/9Z7006Yr5G+cU42+2+rx40Qnb0t0DIyasyTAxotUKLIr168E9cyUn+Vr+sfZ8NB71XJ5QmCLnvIpy/y0VwrGH96mjiI9RvQgreQ3X417aGYn5EBCUlK+vlf+fRQfRvqQcU5RTiF3fD36URvgwfHdh9Q3Z852JIaQB762kkbk1+vFj5iBP9An+LB/SDng3K2wD0MXaA2Ix0thEwFejp2uNgoz0aMPirrBTxaC7mxJv9fqMlZYy082uV9dYSZznfq3H7TXo7LWdlDrQq9LCaxiRbWfwZ1gkPDfQSsFbNmLW6vO85Bru+UYM0CaiY6uhCyqgmlrWTNAhhDXIIrA3dzRk/bYuvEs3U2Q/JidW0Vis/QWTGb+SpamJlT7hZxeXYjkp/2y3PjvsUcEF8DWvnQCHn9i7I7aOI/Rd8+yUAQRE0FUp1pyF1s8uHtcJ0eA=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer","cookie":{"device":"HM_Licht_Wohnzimmer"}},"payload":{}}}
[2018-9-8 18:32:16] [FHEM] HM_Licht_Wohnzimmer: executing set cmd for On with value 1
[2018-9-8 18:32:16] [FHEM]   executing: http://192.168.1.224:8083/fhem?cmd=set%20HM_Licht_Wohnzimmer%20on&fwcsrf=csrf_707603835829303&XHR=1
response :{"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2018-09-08T18:32:16.288Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"name":"Response","payloadVersion":3,"namespace":"Alexa","messageId":"8255978d-85b2-4f67-bb21-5a69383f4e5d","correlationToken":"AAAAAAAAAQA4WcKm5j/CpRIh5PZF9rPEDAIAAAAAAADcde1kns/0VrQxmPZMQK3tHkEZkwp3NkOR2sn4wNPWRnw64ToTw7bTzVMtVY51LYF0WSxhaCR7VzNwpvdoYp4gtiMq983erDSHdZ99EuwoKAEw5aahot0qgyVZ0QGJleoOxMRIDmjxQFycif3roCJbEE2N34N8QzZ72ZieowcfmLU1XXr7AGasfqxFobRaJJ5WcBfS14j1OcY9vYP/rEmidXmp8TCo+Fx1nBgy5+ZxxVS7dlaLy1gbwgPoXXiPC/9Z7006Yr5G+cU42+2+rx40Qnb0t0DIyasyTAxotUKLIr168E9cyUn+Vr+sfZ8NB71XJ5QmCLnvIpy/y0VwrGH96mjiI9RvQgreQ3X417aGYn5EBCUlK+vlf+fRQfRvqQcU5RTiF3fD36URvgwfHdh9Q3Z852JIaQB762kkbk1+vFj5iBP9An+LB/SDng3K2wD0MXaA2Ix0thEwFejp2uNgoz0aMPirrBTxaC7mxJv9fqMlZYy082uV9dYSZznfq3H7TXo7LWdlDrQq9LCaxiRbWfwZ1gkPDfQSsFbNmLW6vO85Bru+UYM0CaiY6uhCyqgmlrWTNAhhDXIIrA3dzRk/bYuvEs3U2Q/JidW0Vis/QWTGb+SpamJlT7hZxeXYjkp/2y3PjvsUcEF8DWvnQCHn9i7I7aOI/Rd8+yUAQRE0FUp1pyF1s8uHtcJ0eA=="},"endpoint":{"scope":{"type":"BearerToken","token":"Atza|IwEBINMTUKEXHX3LhIRW-aXSc4c9g7IZ648mTxg5W_1GCxz2Bso4Di-eX8E37gm3xurwz4SaZG0X2YvW4Csvkq73uRtlyjv5kfc4NdJ_XvGVhgD80H_SCjVQqP1SIr8dgp9NuWawFAFqb2NeRMgZGadHQUQsCNjAxvfWeDIVMFl8p6txd6VuiBV-gQV5v-Cke0AHt7Qzq7Kh42RG-Pz1SchL8gJZyKFeR7tmI80Upxq3-QUxWA7CZCLu0E5De5XuymdTD73y0Dgd5KY_BPkf44ujNDtC-B2FB60IBmwM6hBaV0fdCUz_rHmPl0yJXtElv5P9PQ36ulydJTs6hBYmm-Ic2IW-sdXj1_hWnBfOjBjZ8TkQgb8bgsggotGu1ARmv_lNLZbmlxulthqXZSVpSDRgsy5dimQUxLOD5vFVGiRx2TbuQsL-7XFDCFCTJuP1LO_M__fLuROwfRD4ebF2BZGCQUMYISVDXIPWXSVE7tIYOiRAEXOQ9s6UcZX_NotNeNJzOrk"},"endpointId":"HM_Licht_Wohnzimmer"},"payload":{}}}
  2018-09-08 18:32:16 caching: HM_Licht_Wohnzimmer-state: on

Aber die gehen ja gut.

Ich bräuchte also noch Logs wo es nicht gut geht weil der Raum genannt wird...

Was mir auffällt: es ist nichts von Schrank im alexa-fhem Log zu finden. Hätte erwartet auch die Räume bei der Ausgabe des Alexa-Devices zu finden. Arbeite selbst nicht mit alexaRoom... Stecke daher da nicht so tief drin...
Wurden denn die Räume die du bei Amazon Lambda eingetragen hast vom Alexa-Device mittels 'get' abgefragt? Oder hast du die "einfach so" dort eingetragen?

Gruß, Joachim
FHEM 5.8 PI3: HM-CFG-USB, 40x HM, ZWave-USB, 6x ZWave, EnOcean-PI, 3x EnOcean, DashButtons, CO2, ESP-Multisensor, FireTV, NanoLeaf, ...
FHEM 5.8 PI2: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, KODI, ha-bridge, ...
FHEM 5.8 PI3 (Test): HM-MOD-PCB, Alexa (alexa-fhem), Google Home

Offline Tommy82

  • Hero Member
  • *****
  • Beiträge: 2203
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #351 am: 14 September 2018, 20:40:19 »
Hi Leute,
heute habe ich auch ma versucht Alexa-fhem zu installieren und den Smart Home Skill zu aktivieren. Im Anhang habe ich mein Vorgehen mit Bildern (Stand 04.08.18) dokumentiert ;). Am Ende erhalte ich allerdings einen Fehler (Auch in der doku enthalten)

Kann mir hier einer weiterhelfen??? Ich sehe den Wald vor lauter bäumen nicht mehr.

Hi, erstmal Danke für deine sehr übersichtliche Anleitung, hab eine Frage dazu, du hast auf Seite 8 3 Links eingetragen, das sind allerdings 3 andere wie hier https://wiki.fhem.de/wiki/Alexa-Fhem
bzw. zumindest einer ist anders, wieso ist das so?

Danke
Fhem Linux cubietruck 4.14.0-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2012,FB6590
Hanspreed 13,3 Zoll Wandtablett mit FTUI

Offline TomLee

  • Sr. Member
  • ****
  • Beiträge: 879
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #352 am: 14 September 2018, 21:12:29 »
Die Redirect URLs unter Skills bearbeiten sind doch laut Wiki vorbelegt! ?
Stimmen die URLs bei dir nicht überein ?
Sonst doch eigentlich nur die xxx ersetzen ?

Offline Tommy82

  • Hero Member
  • *****
  • Beiträge: 2203
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #353 am: 15 September 2018, 17:36:05 »
Die Redirect URLs unter Skills bearbeiten sind doch laut Wiki vorbelegt! ?
Stimmen die URLs bei dir nicht überein ?
Sonst doch eigentlich nur die xxx ersetzen ?

Hi,
es geht ja um  die Allowed Return URLs, da ist nichts vorbelegt
Fhem Linux cubietruck 4.14.0-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2012,FB6590
Hanspreed 13,3 Zoll Wandtablett mit FTUI

Offline TomLee

  • Sr. Member
  • ****
  • Beiträge: 879
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #354 am: 15 September 2018, 18:15:07 »
Entweder wir reden aneinander vorbei oder ich steh einfach nur auf dem Schlauch und versteh dich einfach nicht.
Auszug aus dem Wiki unter Login with  Amazon Punkt 7:

Anschließend bei Allowed Return URLs die folgenden drei Adressen eingeben. xxx muss hierbei durch den Wert ersetzt werden, der in den beiden Abschnitten SmartHome Skill anlegen bzw. Custom Skill anlegen jeweils unter Punkt 4 (Seite Configuration) bei Redirect Urls am Ende der URLs angezeigt wird

Für mich heißt das das unter Allowed Return URLs die gleichen URLs eingetragen werden wie bei Redirect URLs.
Es gibt doch nur 3 URLs bei Redirect URLs.
Wahrscheinlich hat sich an einer URL halt die Adresse geändert. Nimm doch einfach die 3 URLs aus Redirected URLs und trag sie bei den Allowed Return URLs ein.

Ich hab bei mir jetzt auch mal nachgeschaut ( ist ja jetzt auch schon länger her der Wechsel auf V3 bei mir) die URL
Zitat
https://alexa.amazon.co.jp/api/skill/link/xxx

ist bei mir jetzt bei den 3 Redirect URLs auch vorhanden in, bei den Allowed URLs stehen aber immer noch die alten URLs die ich seit anfang an (2016) eingetragen hatte. Scheint dann wohl auch nicht ganz so wichtig zu sein, bei mir funzt alles wie gehabt.




Offline Tommy82

  • Hero Member
  • *****
  • Beiträge: 2203
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #355 am: 16 September 2018, 07:57:07 »
Hi,
ja glaube reden von zwei Stellen im Wiki/pdf.

Die 3 Links aus dem pdf funktionieren aber definitiv, hab es jetzt damit wieder am laufen.  Danke für das gute pdf
Fhem Linux cubietruck 4.14.0-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2012,FB6590
Hanspreed 13,3 Zoll Wandtablett mit FTUI

Offline TomLee

  • Sr. Member
  • ****
  • Beiträge: 879
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #356 am: 16 September 2018, 14:32:36 »
Mag ja sein das die 3 Links aus dem PDF aktuell sind. Nächste Woche vielleicht aber nicht mehr !

Fakt ist, zumindest meiner Meinung nach, es sind die 3 Links zu verwenden die in der Alexa Developer Console im angelegten Smart-Home-Skill unter Account Linking=>Redirect URLs angezeigt werden.

Offline errazzor

  • Full Member
  • ***
  • Beiträge: 243
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #357 am: 21 September 2018, 09:38:01 »
Alles etwas suspekt. Kann ich nichts davon bestätigen und ist nichts nachvollziehbar.


Was ich herausgefunden/getestet habe:

himbeere, erdbeere, banane etc...  kann man nur auf Prozentwerte stellen.
Echo, stelle Banane auf <Prozentwert>

fenster, rollo, rollladen, jalousie ... kann man auch weiterhin mit hoch/runter (nicht auf/zu) und Prozentwerten nutzen.
Echo, mach fenster hoch/runter
Echo, fenster auf <prozentwert>

Ich muss nochmal bezüglich der Rollläden fragen, da ich es immer noch nicht hinbekommen habe.

Also:

Ich verwende den SmartHome-Skill.
Der Rolladen-Aktor vom Schlafzimmer ist wie folgt konfiguriert:

Internals:
   CFGFN      ./FHEM/Rollaeden.cfg
   CUL_SER_MSGCNT 9
   CUL_SER_RAWMSG A0DF3A4103B93F9xxxxxx0601AA00::-72.5:CUL_SER
   CUL_SER_RSSI -72.5
   CUL_SER_TIME 2018-09-21 09:27:33
   DEF        3B93F9
   HMLAN1_MSGCNT 9
   HMLAN1_RAWMSG E3B93F9,0000,59F58E49,FF,FF9F,F3A4103B93F9xxxxxx0601AA00
   HMLAN1_RSSI -97
   HMLAN1_TIME 2018-09-21 09:27:33
   IODev      myHmUART
   LASTInputDev HMLAN1
   MSGCNT     26
   NAME       OG_SZ_Rolladen
   NOTIFYDEV  global
   NR         248
   NTFY_ORDER 50-OG_SZ_Rolladen
   STATE      85
   TYPE       CUL_HM
   lastMsg    No:F3 - t:10 s:3B93F9 d:xxxxxx 0601AA00
   myHmUART_MSGCNT 8
   myHmUART_RAWMSG 05010048F3A4103B93F9xxxxxx0601AA00
   myHmUART_RSSI -72
   myHmUART_TIME 2018-09-21 09:27:33
   protLastRcv 2018-09-21 09:27:30
   protRcv    8 last_at:2018-09-21 09:27:30
   protSnd    9 last_at:2018-09-21 09:27:33
   protState  CMDs_done
   rssi_at_CUL_SER cnt:9 min:-72.5 max:-68.5 avg:-70.11 lst:-72.5
   rssi_at_HMLAN1 cnt:9 min:-98 max:-94 avg:-95.55 lst:-97
   rssi_at_myHmUART cnt:8 min:-72 max:-55 avg:-62.99 lst:-72
   rssi_myHmUART cnt:4 min:-77 max:-71 avg:-74 lst:-74
   READINGS:
     2018-09-21 09:27:23   CommandAccepted yes
     2016-08-16 23:51:20   D-firmware      2.8
     2016-08-16 23:51:20   D-serialNr      MEQ0335238
     2018-09-05 07:52:20   PairedTo        0xxxxxxx
     2016-08-17 00:00:13   R-driveDown     17.6 s
     2016-08-17 00:00:13   R-driveTurn     1 s
     2016-08-17 00:00:13   R-driveUp       17.8 s
     2016-08-17 00:00:12   R-pairCentral   0xxxxxxx
     2018-08-30 07:47:43   R-powerUpAction off
     2016-08-17 00:00:13   R-sign          off
     2018-09-05 07:52:20   RegL_00.        02:01 0A:82 0B:86 0C:FF 15:FF 18:00 00:00
     2018-09-05 07:52:21   RegL_01.        08:00 09:00 0A:00 0B:00 0C:B0 0D:00 0E:B2 0F:0A 10:00  30:06 57:06 56:00 00:00
     2018-09-21 09:27:30   deviceMsg       85 (to CCU)
     2018-08-20 19:28:56   dim             stop:71.5
     2018-09-21 09:27:30   level           85
     2018-09-21 09:27:30   motor           stop:85
     2018-08-20 19:28:56   overheat        off
     2018-08-20 19:28:56   overload        off
     2018-09-21 09:27:30   pct             85
     2018-01-03 07:48:59   powerOn         2018-01-03 07:48:59
     2018-09-21 09:27:30   recentStateType info
     2018-08-20 19:28:56   reduced         off
     2018-09-21 09:27:30   state           85
     2018-09-21 09:27:30   timedOn         off
   helper:
     HM_CMDNR   243
     cSnd       11xxxxxx3B93F9020178,11xxxxxx3B93F90201AA
     dlvlCmd    ++A011xxxxxx3B93F90201AA
     mId        006A
     regLst     ,0,1,3p
     rxType     1
     supp_Pair_Rep 0
     ack:
     dir:
       cur        stop
       rct        up
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +3B93F9,00,00,00
       nextSend   1537514853.99764
       rxt        0
       vccu       CCU
       p:
         3B93F9
         00
         00
         00
       prefIO:
         myHmUART
     mRssi:
       mNo        F3
       io:
         CUL_SER:
           -72.5
           -72.5
         HMLAN1:
           -97
           -97
         myHmUART:
           -70
           -70
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         CUL_SER
       flg        A
       ts         1537514853.90018
       ack:
         HASH(0x3b2a5c0)
         F38002xxxxxx3B93F900
     rssi:
       at_CUL_SER:
         avg        -70.1111111111111
         cnt        9
         lst        -72.5
         max        -68.5
         min        -72.5
       at_HMLAN1:
         avg        -95.5555555555556
         cnt        9
         lst        -97
         max        -94
         min        -98
       at_myHmUART:
         avg        -63
         cnt        8
         lst        -72
         max        -55
         min        -72
       myHmUART:
         avg        -74
         cnt        4
         lst        -74
         max        -71
         min        -77
     tmpl:
Attributes:
   IOgrp      CCU:myHmUART
   alexaName  rollladen
   alexaRoom  alexa
   alias      OG_SZ_Rolladen
   autoReadReg 4_reqStatus
   devStateIcon up:fts_shutter_1w_10@green down:fts_shutter_100@black 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100
   eventMap   on:up off:down
   expert     2_full
   firmware   2.8
   genericDeviceType blind
   group      Rolladen
   icon       fts_shutter_1w_100
   model      HM-LC-Bl1PBU-FM
   peerIDs    00000000,
   room       Hausstatus,alexa
   serialNr   MEQ0335238
   subType    blindActuator
   webCmd     stop:up:pct:down
   widgetOverride pct:select,0,10,20,25,30,40,50,60,70,80,90,100

Innerhalb der Alexa-App ist dieser Rolladen in der Gruppe "Schlafzimmer" zugeordnet.

Was funktioniert:

"...mach Rollladen hoch/runter"
"...setze Rollladen auf xx Prozent"

Was NICHT funktioniert:

"...mach Rollladen im Schlafzimmer hoch/runter"
"...setze Rollladen im Schlafzimmer auf xx Prozent"

---> hier kommt als Antwort immer "Rolladen Schlafzimmer unterstützt das nicht" (bei ersterem) sowie "Ich kann kein Gerät mit dem Namen Rolladen Schlafzimmer finden" (bei zweitem).

Funktioniert das bei irgendjemandem hier? Habt ihr etwas anders konfiguriert als ich?

Mit jetzigem Status kann ich nur einen Rolladen steuern, da ich ja nicht den Namen für mehrere Geräte nutzen kann (ohne die Raumzuordnung).

Offline TomLee

  • Sr. Member
  • ****
  • Beiträge: 879
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #358 am: 21 September 2018, 10:13:30 »
Gruppen sind keine Räume.

Was funktioniert:

"...mach Schlafzimmer hoch"
"...setze/mach Schlafzimmer auf xx Prozent"

Eigenartigerweise wird

"...mach Schlafzimmer runter"

nicht unterstützt.


Online balli1187

  • Full Member
  • ***
  • Beiträge: 123
Antw:alexa-fhem: amazon alexa smart home skill für fhem, api version 3
« Antwort #359 am: 21 September 2018, 10:14:20 »
Der AlexaRoom greift nur im Chstom Skill.

Warum setzt du als Alexa Name nicht "Rollladen (im) Schlafzimmer". Damit funktioniert es bei mir hervorragend.


Gesendet von iPhone mit Tapatalk
FHEM auf Banana Pi Pro mit HM-CFG-USB2, CUNO , Amazon Echo Dot, 3x Funksteckdose mit Leistungsmessung (HM-ES-PMSw1-Pl), 3x Funkrollladenaktor (HM-LC-Bl1PBU-FM), 6x Sonoff Basic,
geplant: Smart Mirror in Badezimmerschrank auf Raspberry Zero, Heizungs- und Energiezählerüberwachung mit Wemos D1 mini

 

decade-submarginal