Tips zur Alexa Sprachsteuerung ?

Begonnen von dt2510, 21 Januar 2021, 14:03:33

Vorheriges Thema - Nächstes Thema

TomLee

Und wenn du die Steckdose jetzt aus der App löschst, vorsichtshalber nochmal alexa-fhem neu startest und die Gerätesuche startest, ist es dann ein switch ?

dt2510

Zitat von: TomLee am 22 Januar 2021, 10:03:15
Und wenn du die Steckdose jetzt aus der App löschst, vorsichtshalber nochmal alexa-fhem neu startest und die Gerätesuche startest, ist es dann ein switch ?

- Steckdose aus der App gelöscht
- alexa-fhem neu gestartet
- Gerätesuche gestartet

Ergebnis: Lampe

dt2510

Ich habe mal noch ins Alexa Protokoll gesehen und einige merkwürdige Einträge gefunden:

[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '2' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '0' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '1' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '2' of undefined


Es scheint so als ob das Alexa device die Steckdose schon falsch erkennt...

Hier noch ein list des alexa devices

Internals:
   FD         37
   FUUID      xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx
   FVERSION   39_alexa.pm:0.216510/2020-04-12
   LAST_START 2021-01-22 10:10:05
   LAST_STOP  2021-01-22 10:10:05
   NAME       Alexa
   NOTIFYDEV  global,global:npmjs.*alexa-fhem.*
   NR         403
   NTFY_ORDER 50-Alexa
   PARTIAL   
   PID        8253
   STARTS     4
   STATE      running /usr/local/bin/alexa-fhem
   TYPE       alexa
   active     0
   alexa-fhem version 0.5.57
   currentlogfile ./log/alexa-2021-01-22.log
   logfile    ./log/alexa-%Y-%m-%d.log
   CoProcess:
     cmdFn      alexa_getCMD
     name       alexaFHEM
     state      running /usr/local/bin/alexa-fhem
   Helper:
     DBLOG:
       alexaFHEM:
         logdb:
           TIME       1611306605.31837
           VALUE      running /usr/local/bin/alexa-fhem
       alexaFHEM.ProxyConnection:
         logdb:
           TIME       1611306607.20927
           VALUE      running; SSH connected
   READINGS:
     2021-01-22 10:10:05   alexaFHEM       running /usr/local/bin/alexa-fhem
     2021-01-22 10:10:07   alexaFHEM.ProxyConnection running; SSH connected
     2021-01-21 11:01:44   alexaFHEM.bearerToken crypt:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     2021-01-21 11:01:44   alexaFHEM.skillRegKey crypt:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   helper:
Attributes:
   alexaFHEM-config ./alexa-fhem.cfg
   alexaFHEM-log ./log/alexa-%Y-%m-%d.log
   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
outlet=steckdose,steckdosen
   devStateIcon stopped:control_home@red:start stopping:control_on_off@orange running.*:control_on_off@green:stop
   echoRooms  #<deviceId>=<room>

   fhemIntents #IntentName=<sample utterance>
gutenMorgen=guten morgen
guteNacht=gute nacht
   persons    #<personId>=<name>

   room       Amazon
   stateFormat alexaFHEM

MadMax-FHEM

Zitat von: dt2510 am 22 Januar 2021, 10:21:35
Ich habe mal noch ins Alexa Protokoll gesehen und einige merkwürdige Einträge gefunden:

[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '2' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '0' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '1' of undefined
[22.1.2021, 10:11:28] [FHEM] Aeotec_Smart_Switch_6_ID27-rgb reading2homekit: TypeError: Cannot read property '2' of undefined


Es scheint so als ob das Alexa device die Steckdose schon falsch erkennt...

Naja, wenn du schon den Verdacht hast: schau ins alexa-fhem Log bzgl. Erkennung der Steckdose ;)

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)

dt2510

Zitat von: MadMax-FHEM am 22 Januar 2021, 10:33:39
Naja, wenn du schon den Verdacht hast: schau ins alexa-fhem Log bzgl. Erkennung der Steckdose ;)

Gruß, Joachim

hier ein Auszug mit der letzten Erkennung

[22.1.2021, 10:10:06] [FHEM] Aeotec_Smart_Switch_6_ID27 is light
[22.1.2021, 10:10:06] [FHEM] Aeotec_Smart_Switch_6_ID27 has
[22.1.2021, 10:10:06] [FHEM]   On [state;on,off]
[22.1.2021, 10:10:06] [FHEM]   Brightness [rgb]
[22.1.2021, 10:10:06] [FHEM]   Custom Color Temperature [color]
[22.1.2021, 10:10:06] [FHEM]   Hue [rgb;rgb;0-359]
[22.1.2021, 10:10:06] [FHEM]   Saturation [rgb;rgb;0-100]
[22.1.2021, 10:10:06] [FHEM]   Custom Energy [energy]
[22.1.2021, 10:10:06] [FHEM]   CurrentTemperature [temperature]


Warum erkennt er das Gerät als "light" obwohl es als genericDeviceType "switch" definiert ist ?

TomLee

Zitatclasses    ZWAVEPLUS_INFO SWITCH_BINARY SWITCH_MULTILEVEL COLOR_CONTROL CONFIGURATION SWITCH_ALL METER CLOCK ASSOCIATION ASSOCIATION_GRP_INFO MANUFACTURER_SPECIFIC VERSION FIRMWARE_UPDATE_MD POWERLEVEL MARK DEVICE_RESET_LOCALLY HAIL

Hab kein Zwave, muss diese Angabe bei einer Steckdose sein, gibts deswegen irgendwelche setter zu Farbsteuerung zu Auswahl ?

Kannst du mal noch ein jsonlist2 Aeotec_Smart_Switch_6_ID27 zeigen.

dt2510

Die classes wurden automatisch angelegt COLOR_CONTROL kann ich aber mal entfernen.

Hier noch der jsonlist

{
  "Arg":"Aeotec_Smart_Switch_6_ID27",
  "Results": [
  {
    "Name":"Aeotec_Smart_Switch_6_ID27",
    "PossibleSets":"associationAdd associationDel clock:noArg color configByte configDefault configLong configWord dim:slider,0,1,99 dimUpDown dimUpDownWithDuration dimWithDuration fwUpdate meterReset:noArg neighborUpdate:noArg off:noArg on:noArg powerlevel powerlevelTest returnRouteAdd returnRouteDel:noArg rgb:colorpicker,RGB stop:noArg swaIncludeNone:noArg swaIncludeOff:noArg swaIncludeOn:noArg swaIncludeOnOff:noArg swaOff:noArg swaOn:noArg wcrgb off-till-overnight blink off-for-timer toggle intervals on-for-timer on-till-overnight off-till on-till attrTemplate:?,General_Info_ZWave,zwave_delete_error_readings,zwave_get_myutils_from_svn,zwave_showcase_show_main_and_channel_devices_2,----Fibaro-devices-section--------,FGRM222_Roller_Mode,FGRM222_Ventian_Blind_Mode,FGR223_Roller_Mode,FGR223_Venetian_Mode,FGRM222_Choice_demo,----AEOTEC-devices-section--------,ZW095_Home_Energy_Meter,ZW100_Multisensor_Battery,ZW100_Multisensor_USB,ZWA005_TriSensor,----Eurotronic-devices-section--------,Eurotronic_Spirit,speech_recognition_general_naming_master_template,speechcontrol_general_naming_master_template",
    "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev WNMI_delay classes disable:0,1 disabledForIntervals do_not_notify:1,0 dummy:1,0 eventForRaw extendedAlarmReadings:0,1,2 ignore:1,0 ignoreDupMsg:1,0 neighborListPos noExplorerFrames:1,0 noWakeupForApplicationUpdate:1,0 secure_classes setExtensionsEvent:1,0 setList showtime:1,0 vclasses useMultiCmd:1,0 useCRC16:1,0 zwaveRoute event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading DbLogExclude DbLogInclude DbLogValueFn:textField-long alexaName alexaProactiveEvents:1,0 alexaRoom automateOnDaylightChange automateOnHomestatusChange automationDevice cmdIcon devStateIcon devStateIcon:textField-long devStateStyle deviceName deviceType genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock,scene homebridgeMapping:textField-long humidityDevice icon readingsWatcher roomName sortby temperatureDevice1 temperatureDevice2 temperatureDevice3 temperatureDevice4 thermostatDevice webCmd webCmdLabel:textField-long widgetOverride windowDevice1 windowDevice2 windowDevice3 windowDevice4 Plugs Plugs_map group_map structexclude userattr",
    "Internals": {
      "AeonGen5_MSGCNT": "11",
      "AeonGen5_RAWMSG": "0004001b032003ff",
      "AeonGen5_TIME": "2021-01-22 10:02:19",
      "DEF": "xxxxxxxx 27",
      "FUUID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx",
      "IODev": "AeonGen5",
      "LASTInputDev": "AeonGen5",
      "MSGCNT": "11",
      "NAME": "Aeotec_Smart_Switch_6_ID27",
      "NR": "148",
      "STATE": "on",
      "TYPE": "ZWave",
      "ZWaveSubDevice": "no",
      "cmdsPending": "0",
      "homeId": "xxxxxxxx",
      "isWakeUp": "",
      "lastMsgSent": "1611306138.78284",
      "nodeIdHex": "1b"
    },
    "Readings": {
      "CMD": { "Value":"ZW_APPLICATION_UPDATE", "Time":"2021-01-21 16:53:57" },
      "UNPARSED": { "Value":"SENSOR_MULTILEVEL 063101012200d6", "Time":"2019-09-25 10:20:59" },
      "basicReport": { "Value":"255", "Time":"2021-01-22 10:02:19" },
      "config_85": { "Value":"5", "Time":"2020-02-09 22:33:10" },
      "deviceName": { "Value":"Kaffeemaschine", "Time":"2019-11-08 14:27:38" },
      "devices": { "Value":"", "Time":"2019-10-30 19:35:49" },
      "energy": { "Value":"2.92 kWh", "Time":"2020-03-26 12:32:02" },
      "plugsOn": { "Value":"0", "Time":"2019-10-30 19:35:49" },
      "setOnHomeDay": { "Value":"on", "Time":"2019-01-04 14:40:56" },
      "setOnHomeNight": { "Value":"on", "Time":"2019-01-04 14:41:02" },
      "setOnHomeTwilight": { "Value":"on", "Time":"2019-01-04 14:41:10" },
      "state": { "Value":"on", "Time":"2021-01-22 10:02:18" },
      "temperature": { "Value":"21.6 C", "Time":"2019-09-24 12:59:21" },
      "timeToAck": { "Value":"0.132", "Time":"2021-01-22 10:02:18" },
      "transmit": { "Value":"OK", "Time":"2021-01-22 10:02:18" }
    },
    "Attributes": {
      "DbLogExclude": ".*",
      "DbLogInclude": "state:3600",
      "IODev": "AeonGen5",
      "Plugs": "Plugs",
      "alexaName": "Kaffeemaschine",
      "alias": "Kaffeemaschine",
      "automateOnHomestatusChange": "1",
      "automationDevice": "Plug",
      "classes": "ZWAVEPLUS_INFO SWITCH_BINARY SWITCH_MULTILEVEL COLOR_CONTROL CONFIGURATION SWITCH_ALL METER CLOCK ASSOCIATION ASSOCIATION_GRP_INFO MANUFACTURER_SPECIFIC VERSION FIRMWARE_UPDATE_MD POWERLEVEL MARK DEVICE_RESET_LOCALLY HAIL",
      "deviceName": "Kaffeemaschine",
      "genericDeviceType": "switch",
      "group": "Steckdosen",
      "icon": "hue_filled_outlet",
      "room": "Raum_EG_Küche",
      "roomName": "Küche",
      "stateFormat": "{ReadingsVal(\"Aeotec_Smart_Switch_6_ID27\",\"basicReport\",\"\") eq \"255\"  ? \"on\" : \"off\" }",
      "userattr": "Plugs Plugs_map group_map structexclude",
      "vclasses": "ASSOCIATION:2 ASSOCIATION_GRP_INFO:1 CLOCK:1 COLOR_CONTROL:1 CONFIGURATION:1 DEVICE_RESET_LOCALLY:1 FIRMWARE_UPDATE_MD:2 HAIL:1 MANUFACTURER_SPECIFIC:2 METER:3 POWERLEVEL:1 SWITCH_ALL:1 SWITCH_BINARY:1 SWITCH_MULTILEVEL:2 VERSION:2 ZWAVEPLUS_INFO:2"
    }
  }  ],
  "totalResultsReturned":1
}

MadMax-FHEM

#22
Zitat von: TomLee am 22 Januar 2021, 11:35:05
Hab kein Zwave, muss diese Angabe bei einer Steckdose sein, gibts deswegen irgendwelche setter zu Farbsteuerung zu Auswahl ?

Kannst du mal noch ein jsonlist2 Aeotec_Smart_Switch_6_ID27 zeigen.

:)

Und ja immer zum Log passende lists oder jsonist2

Weil im letzten list zum Aktor/Steckdose konnte ich das genericDeviceType nicht entdecken... ;)
EDIT: also in dem vor dem jetzt "nachgereichten" ;)

Im Wiki steht ja wie alexa-fhem Geräte/Eigenschaften erkennt.
EDIT: und zum Vorteil vieler wird halt schon recht viel automatisch erkannt (u.a. anhand vorhandener Readings, setter, ...), ohne groß was angeben zu müssen (oft zumindest kein homebridgeMapping, worüber ja viele froh sind ;)  )...
Wenn etwas nicht passt, dann kann genericDeviceType "unterstützen" und man auch mit einem homebridgeMapping (weiter) "korrigieren"...

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)

dt2510

Zitat von: dt2510 am 22 Januar 2021, 11:38:05
Die classes wurden automatisch angelegt COLOR_CONTROL kann ich aber mal entfernen.

Alexa erkennt ihn dann als switch

[22.1.2021, 11:39:12] [FHEM] Aeotec_Smart_Switch_6_ID27 is switch

TomLee

Na dann ...

gehts weiter mit den Rollläden, schau auch da mal ins Log und zeig ein jsonlist2.

dt2510

Ich bekomme die Steckdosen jetzt auch als Schalter in der Raumübersicht der Alexa App angezeigt - die Rollläden noch nicht ... ich vermute da ist es ähnlich.

dt2510

Im Alexa Log werden sie als "blind" erkannt. Ich tippe darauf, dass nicht richtig gemappt wird. Hier der jsonlist

{
  "Arg":"FGR222_ID33",
  "Results": [
  {
    "Name":"FGR222_ID33",
    "PossibleSets":"associationAdd associationDel configByte configDefault configEnergyReports configForcedRollerShutterCalibration:StartCalibrationProcess,Default configInRollerBlindModeOrVenetianBlind17 configInVenetianBlindModeTheParameter12 configLocalProtection:NoProtection0,NotSupported,LocalProtectionActive2 configLong configManagingLamellasInResponseTo35:SetLamellasToTheirExtreme1,DoNotChangeLamellasPosition0 configMotorOperationDetection configMotorOperationTime configPeriodicPowerOrEnergyReports configPowerReports configRFProtectionRadioProtection:RFProtectionActive1,NoProtection0,NotSupported configReportsType:BlindPositionReportsSentToThe0,BlindPositionReportsSentToThe1 configResponseToFloodingAlarm:CloseBlind,NoReaction,OpenBlind configResponseToGeneralAlarm:CloseBlind,OpenBlind,NoReaction configResponseToSmokeCOOrCO2Alarm:NoReaction,OpenBlind,CloseBlind configResponseToTemperatureAlarm:CloseBlind,NoReaction,OpenBlind configRollerShutterOperatingModes:1RollerBlindModeWithPositioning,4GateModeWithPositioning,2VenetianBlindModeWith2,0RollerBlindModeWithout0,3GateModeWithoutPositioning configScenesAssociationsActivation:AssociationsActivation,ScenesActivation configSelfMeasurement:SelfMeasurementInactive,SelfMeasurementActive configSetLamellasBackToPrevious13:2LamellasReturnToPreviouslySet2,1LamellasReturnToPreviouslySet1,0LamellasReturnToPreviouslySet0 configSwitchType:ToggleSwitches,SingleMomentarySwitch,MomentarySwitches configWord dim:slider,0,1,99 dimUpDown dimUpDownIncDecWithDuration dimUpDownWithDuration dimWithDuration mcaAdd mcaDel meterReset:noArg neighborUpdate:noArg off:noArg on:noArg positionBlinds positionSlat powerlevel powerlevelTest protectionBytes protectionOff:noArg protectionOn:noArg protectionSeq:noArg returnRouteAdd returnRouteDel:noArg sceneActivate stop:noArg blink off-for-timer off-till-overnight toggle intervals on-for-timer on-till-overnight off-till on-till attrTemplate:?,General_Info_ZWave,zwave_delete_error_readings,zwave_get_myutils_from_svn,zwave_showcase_show_main_and_channel_devices_2,----Fibaro-devices-section--------,FGRM222_Roller_Mode,FGRM222_Ventian_Blind_Mode,FGR223_Roller_Mode,FGR223_Venetian_Mode,FGRM222_Choice_demo,----AEOTEC-devices-section--------,ZW095_Home_Energy_Meter,ZW100_Multisensor_Battery,ZW100_Multisensor_USB,ZWA005_TriSensor,----Eurotronic-devices-section--------,Eurotronic_Spirit,speech_recognition_general_naming_master_template,speechcontrol_general_naming_master_template",
    "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev WNMI_delay classes disable:0,1 disabledForIntervals do_not_notify:1,0 dummy:1,0 eventForRaw extendedAlarmReadings:0,1,2 ignore:1,0 ignoreDupMsg:1,0 neighborListPos noExplorerFrames:1,0 noWakeupForApplicationUpdate:1,0 secure_classes setExtensionsEvent:1,0 setList showtime:1,0 vclasses useMultiCmd:1,0 useCRC16:1,0 zwaveRoute event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading DbLogExclude DbLogInclude DbLogValueFn:textField-long alexaName alexaProactiveEvents:1,0 alexaRoom automateOnDaylightChange automateOnHomestatusChange automationDevice cmdIcon devStateIcon devStateIcon:textField-long devStateStyle deviceName deviceType genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock,scene homebridgeMapping:textField-long humidityDevice icon readingsWatcher roomName sortby temperatureDevice1 temperatureDevice2 temperatureDevice3 temperatureDevice4 thermostatDevice webCmd webCmdLabel:textField-long widgetOverride windowDevice1 windowDevice2 windowDevice3 windowDevice4 Shutters Shutters_map group_map structexclude userattr",
    "Internals": {
      "AeonGen5_MSGCNT": "9",
      "AeonGen5_RAWMSG": "0004002106310504220000",
      "AeonGen5_TIME": "2021-01-22 11:40:27",
      "DEF": "xxxxxxxx 33",
      "FUUID": "xx",
      "IODev": "AeonGen5",
      "LASTInputDev": "AeonGen5",
      "MSGCNT": "9",
      "NAME": "FGR222_ID33",
      "NR": "127",
      "STATE": "dim 98",
      "TYPE": "ZWave",
      "ZWaveSubDevice": "no",
      "homeId": "xxxxxxxx",
      "isWakeUp": "",
      "nodeIdHex": "21"
    },
    "Readings": {
      "SEND_DATA": { "Value":"failed:00", "Time":"2019-09-30 19:46:17" },
      "UNKNOWN": { "Value":"multilevel type  00 fl: 22 arg: 0509", "Time":"2018-10-01 06:58:40" },
      "UNPARSED": { "Value":"SENSOR_MULTILEVEL 06310704220000", "Time":"2020-12-02 12:31:30" },
      "battery": { "Value":"100 %", "Time":"2018-09-27 19:46:28" },
      "batteryPercent": { "Value":"100", "Time":"2018-09-27 19:46:28" },
      "batteryState": { "Value":"ok", "Time":"2018-09-27 19:46:28" },
      "configEnergyReports": { "Value":"10", "Time":"2018-08-02 10:36:05" },
      "configInRollerBlindModeOrVenetianBlind17": { "Value":"10", "Time":"2018-08-02 10:36:05" },
      "configInVenetianBlindModeTheParameter12": { "Value":"150", "Time":"2018-08-02 10:36:06" },
      "configManagingLamellasInResponseTo35": { "Value":"SetLamellasToTheirExtreme1", "Time":"2018-08-02 10:36:11" },
      "configMotorOperationDetection": { "Value":"10", "Time":"2018-08-02 10:36:11" },
      "configMotorOperationTime": { "Value":"240", "Time":"2018-08-02 10:36:12" },
      "configPeriodicPowerOrEnergyReports": { "Value":"3600", "Time":"2018-08-02 10:36:12" },
      "configPowerReports": { "Value":"10", "Time":"2018-08-02 10:36:12" },
      "configReportsType": { "Value":"BlindPositionReportsSentToThe0", "Time":"2018-08-02 10:36:17" },
      "configResponseToFloodingAlarm": { "Value":"NoReaction", "Time":"2018-08-02 10:36:17" },
      "configResponseToGeneralAlarm": { "Value":"CloseBlind", "Time":"2018-08-02 10:36:18" },
      "configResponseToSmokeCOOrCO2Alarm": { "Value":"OpenBlind", "Time":"2018-08-02 10:36:18" },
      "configResponseToTemperatureAlarm": { "Value":"OpenBlind", "Time":"2018-08-02 10:36:18" },
      "configRollerShutterOperatingModes": { "Value":"1RollerBlindModeWithPositioning", "Time":"2018-08-02 10:36:18" },
      "configScenesAssociationsActivation": { "Value":"AssociationsActivation", "Time":"2018-08-02 10:36:18" },
      "configSelfMeasurement": { "Value":"SelfMeasurementInactive", "Time":"2018-08-02 10:36:18" },
      "configSetLamellasBackToPrevious13": { "Value":"1LamellasReturnToPreviouslySet1", "Time":"2018-08-02 10:36:19" },
      "configSwitchType": { "Value":"MomentarySwitches", "Time":"2018-08-02 10:36:19" },
      "deviceName": { "Value":"Rollladen", "Time":"2019-11-08 14:27:39" },
      "devices": { "Value":"", "Time":"2019-10-31 09:47:30" },
      "energy": { "Value":"0.88 kWh", "Time":"2021-01-22 11:23:04" },
      "model": { "Value":"FIBARO System FGRM222 Roller Shutter Controller 2", "Time":"2018-08-02 10:34:32" },
      "modelConfig": { "Value":"fibaro/fgrm222.xml", "Time":"2018-08-02 10:34:32" },
      "modelId": { "Value":"010f-0302-1000", "Time":"2018-08-02 10:34:32" },
      "position": { "Value":"96", "Time":"2021-01-22 07:40:28" },
      "power": { "Value":"0.0 W", "Time":"2021-01-22 11:40:27" },
      "reportedState": { "Value":"dim 98", "Time":"2018-08-02 10:38:33" },
      "shuttersOpen": { "Value":"0", "Time":"2019-10-31 09:47:30" },
      "state": { "Value":"dim 98", "Time":"2021-01-22 07:40:26" },
      "timeToAck": { "Value":"0.307", "Time":"2021-01-22 07:40:26" },
      "transmit": { "Value":"OK", "Time":"2021-01-22 07:40:26" },
      "undef": { "Value":"0.66 undef", "Time":"2020-06-05 22:30:07" }
    },
    "Attributes": {
      "IODev": "AeonGen5",
      "Shutters": "Shutters",
      "alexaName": "Rolladen Küche",
      "alias": "Rollladen",
      "automateOnDaylightChange": "1",
      "automateOnHomestatusChange": "1",
      "automationDevice": "Shutter",
      "classes": "MULTI_CHANNEL_ASSOCIATION MANUFACTURER_SPECIFIC VERSION CONFIGURATION ASSOCIATION POWERLEVEL METER SWITCH_MULTILEVEL SENSOR_MULTILEVEL SWITCH_BINARY MANUFACTURER_PROPRIETARY PROTECTION MARK METER SENSOR_MULTILEVEL MANUFACTURER_PROPRIETARY SCENE_ACTIVATION SWITCH_MULTILEVEL SWITCH_BINARY",
      "deviceName": "Rollladen",
      "genericDeviceType": "blind",
      "group": "Rollladen",
      "icon": "fts_shutter",
      "room": "Raum_EG_Küche",
      "roomName": "Küche",
      "userattr": "Shutters Shutters_map group_map structexclude",
      "vclasses": "ASSOCIATION:2 CONFIGURATION:1 MANUFACTURER_PROPRIETARY:1 MANUFACTURER_SPECIFIC:1 METER:2 MULTI_CHANNEL_ASSOCIATION:2 POWERLEVEL:1 PROTECTION:2 SCENE_ACTIVATION:1 SENSOR_MULTILEVEL:2 SWITCH_BINARY:1 SWITCH_MULTILEVEL:3 VERSION:1"
    }
  }  ],
  "totalResultsReturned":1
}


Ich öffne die Rolläden normalerweise mit "set FGR222_ID33 dim 98" und schließe sie entsprechend mit "set FGR222_ID33 dim 98"

dt2510

Hier noch der Auszug aus dem Logfile

Ansage war: "Alexa, schließe Rolladen Küche komplett"

[22.1.2021, 12:03:48] [FHEM] FGR222_ID33: executing set cmd for TargetPosition with value NaN
[22.1.2021, 12:03:48] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=set%20FGR222_ID33%20pct%20NaN&XHR=1


Das device wurde erkannt, allerdings ein pct Wert (NaN ?) gesendet

TomLee

ZitatIch öffne die Rolläden normalerweise mit "set FGR222_ID33 dim 98" und schließe sie entsprechend mit "set FGR222_ID33 dim 98"

Da stimmt doch was nicht, welcher dim_Befehl öffnet und welcher genau schließt ?

Bestimmt nicht für auf und zu beides mal dim 98.

MadMax-FHEM

Und was steh knapp zuvor im Log?

Also was kommt von Amazon?

Evtl. würde man so sehen, warum daraus naN (not a number) wird...

Du bist schon sehr "spärlich"... ;)

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)