Hello,
I have problems to configure KNX rollershutter devices for Alexa V3 skill
My rollershutters work with UpDown / StopMove configuration, see things and items configuration below.
KNX.things
Type rollershutter : Shutter_OG2_Arbeitszimmer_Fenster "Arbeitszimmer Fenster" [ upDown="2/0/102", stopMove="2/0/103" ]
KNX.items
Rollershutter Shutter_OG2_Arbeitszimmer_Fenster "Arbeitszimmer Fenster" (gOG2, gOG2_Elvizimmer, gRolladen) ["Control"] {alexa="RangeController.rangeValue" [category="EXTERIOR_BLIND", friendlyNames="@Setting.Opening", supportedRange="0:1:1", actionMappings="Close=0,Open=1,Lower=1,Raise=1", stateMappings="Closed=0,Open=1"] , channel="knx:device:bridge:generic:Shutter_OG2_Arbeitszimmer_Fenster" }
This configuration works flawlessly when the rollershutter is controlled through Basic UI. These are the OH log entries. As you can see, commands UP / DOWN / STOP are sent to KNX bus.
CLOSE Command
19:54:33.269 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Shutter_OG2_Arbeitszimmer_Fenster' received command DOWN
19:54:33.269 [INFO ] [arthome.event.ItemStatePredictedEvent] - Shutter_OG2_Arbeitszimmer_Fenster predicted to become NULL
OPEN Command
19:55:12.647 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Shutter_OG2_Arbeitszimmer_Fenster' received command UP
19:55:12.647 [INFO ] [arthome.event.ItemStatePredictedEvent] - Shutter_OG2_Arbeitszimmer_Fenster predicted to become NULL
STOP Command
19:54:34.691 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Shutter_OG2_Arbeitszimmer_Fenster' received command STOP
When talking to Alexa, It seems that speech recognition and message flow between Alexa and OH is OK, devices and commands are recognized.
But OH does not send the right command to KNX bus. Therefore the rollershutter does not move.
Alexa recognizes the UP command “Alexa, Arbeitszimmer Fenster öffnen”.
This is the Log entry in OH:
19:30:16.645 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Shutter_OG2_Arbeitszimmer_Fenster' received command 1
19:30:16.645 [INFO ] [arthome.event.ItemStatePredictedEvent] - Shutter_OG2_Arbeitszimmer_Fenster predicted to become NULL
"command 1" is wrong. It should be "command DOWN" - see logs above
Alexa recognizes the DOWN command “Alexa, Arbeitszimmer Fenster schliessen”
This is the Log entry in OH:
19:31:40.070 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Shutter_OG2_Arbeitszimmer_Fenster' received command 0
19:31:40.070 [INFO ] [arthome.event.ItemStatePredictedEvent] - Shutter_OG2_Arbeitszimmer_Fenster predicted to become NULL
"command 0" is wrong. It should be "command DOWN" - see logs above
I assume that the problem is located around the “actionMappings” directive, so that the right values are passed to KNX bus.
Can anybody please have a look at it and provide input for the Alexa-part of the items definition with a UpDown / StopMove rollershutter type?
Kind regards,
Peter