Feel stupid for asking this, but I’ve already gotten 2 separate blinds to work via the RFXCOM device, I can see them in the Control node of the PaperUI and both blinds accept and execute the various commands.
All I’m really after now is to be able to say, “Alexa, Blind 1 down” and the corresponding blind goes down all the way(and vice-versa). I believe I need to add something in my .items file for this to happen.
It’s this part I’m tripping up on. I should point out I’ve already gotten other zwave and Hue lights working fine via openhab and Alexa. Anyone have any ideas?
You need to add a tag to the item. But Alexa doesn’t recognise blinds… Yet
So use a Dimmer item instead of a roller shutter and tread the blind light a dimmer light.
You will need to say: Blind1 OFF or Blind1 to 0…
If i then save this and add it in my Alexa app, it comes in just fine, as a light switch, which i would expect it to do. If i now say “Alexa, turn Blind 1 on” (or off), the command does indeed come through and is logged;
2018-10-19 16:08:25.979 [vent.ItemStateChangedEvent] - Blind1 changed from NULL to 0
2018-10-19 16:08:30.149 [ome.event.ItemCommandEvent] - Item 'Blind1' received command ON
2018-10-19 16:08:30.164 [vent.ItemStateChangedEvent] - Blind1 changed from 0 to 100
2018-10-19 16:08:36.555 [ome.event.ItemCommandEvent] - Item 'Blind1' received command 100
But nothing actually happens, the blind does not respond. Any ideas please?
Finally got this to work. The items are fine. Just had to create a rule as shown below. Now, Openhabian “translates” my spoken command to Alexa to sending an up/down command to the Somfy blinds (only Down rule included for brevity)
rule "Down Stairs Voice Control"
when
Item Down_Stairs_Blind received command
then
logInfo("Down_Stairs_Blind", "Downstairs Blind Voice Control")
if (receivedCommand == ON)
{
sendCommand(rfxcom_rfy_988dddc6_shutter, UP)
logInfo("Down_Stairs_Blind", "Downstairs Blind going up")
}
else
{
sendCommand(rfxcom_rfy_988dddc6_shutter, DOWN)
logInfo("Down_Stairs_Blind", "Downstairs Blind going down")
}
end