I connected the item to ALEXA and it seems properly configured.
Unfortunately, it doesn’t work: when the command is sent via ALEXA, OH elaborates it but then nothing happens. According to the logs, everyhting is smooth an no issues:
By creating a switch item and using rules (when switch is on send command on or when switch is off send command off) I am able through Alexa to start and stop the vacuum robot.
But it is not efficient at all (also I cannot send SPOT or DOCK or PAUSE commands)…
Have you validated by e.g. manually via script / rule / rest API if the uppercase command is causing that the command will not be executed?
If that’s really a case (as it was just a guess from my side) you could build a workaround via rule to resend an uppercase as a lowercase command (but first I would test if that’s really the issue with the irobot)
Let me say that your guess was right: it is a matter of case sensitive commands.
Now the way I fixed is quite unexpected but I want to share it.
It is problably a bug somewhere.
I created a new ITEM that was not linked to any channel.
Type STRING.
Semantic class CLEANINGROBOT.
I added ALEXA Metadata as VACUUMCLEANER.
It was not linked to any channels; I just checked in the LOGS if the commands through ALEXA were fired as lower or upper case.
Surprise: they were lower case.
I then linked the ITEM to the THING iRobot and the command channel as well.
Surprise, the commands from ALEXA are fired lower case.