diff --git a/FHEM/39_alexa.pm b/FHEM/39_alexa.pm index 3a65ed9dd..1d0a49172 100644 --- a/FHEM/39_alexa.pm +++ b/FHEM/39_alexa.pm @@ -42,6 +42,7 @@ alexa_Initialize($) $hash->{AttrList} = "alexaMapping:textField-long alexaTypes:textField-long fhemIntents:textField-long ". "articles prepositions ". "echoRooms:textField-long ". + "persons:textField-long ". "alexaConfirmationLevel:2,1,0 alexaStatusLevel:2,1 ". "skillId:textField ". "alexaFHEM-cmd ". @@ -102,6 +103,10 @@ alexa_AttrDefaults($) CommandAttr(undef,"$name echoRooms #=\n" ); } + if( !AttrVal( $name, 'persons', undef ) ) { + CommandAttr(undef,"$name persons #=\n" ); + } + if( !AttrVal( $name, 'fhemIntents', undef ) ) { CommandAttr(undef,"$name fhemIntents #IntentName=\n". @@ -1292,6 +1297,9 @@ alexa_Attr($$$)
  • alexaName
    The name to use for a device with alexa.
  • + +
    The following attributes are only relevant for custom skills: +
  • alexaRoom
    The room name to use for a device with alexa.
  • articles
    @@ -1304,6 +1312,8 @@ alexa_Attr($$$) maps spoken device types to ServiceClasses. eg: attr alexa alexaTypes light:licht,lampe,lampen blind:rolladen,jalousie,rollo Outlet:steckdose TemperatureSensor:thermometer LockMechanism:schloss OccupancySensor: anwesenheit
  • echoRooms
    maps echo devices to default rooms.
  • +
  • persons
    + maps personIds to names.
  • fhemIntents
    maps spoken commands directed to fhem as a whole (i.e. not to specific devices) to events from the alexa device.
  • alexaConfirmationLevel