MainUI makes a best guess based on available information as to what sort of control/widget to show for each Item type. But it can’t always get it right. That’s why there is the “Default Standalone Widget” and “Default List Item Widget” metadata. There you can define exactly how you want the widget to appear.
In general, because an Equipment in the semantic model is made up of Point Items and it’s the Point Items that have the controls and the state, MainUI doesn’t show any controls for an Equipment Group no matter the Group type.
I can now control my rollershutters via the group item in MainUI,
but Alexa doesn’t know how to handle this item.
When I ask Alexa to open or close the item, it keeps telling me that it does not know how to do this to the item.
It does work with the single rollershutter items, but not with the group item.
Is there a special trick for this?
I’m confused by the documentation:
where it says
Only functional groups (no group type) can be configured as group endpoint. State derived groups will be considered as single endpoints based on their defined group type.
Is this related to my problem?
edit:
I see in the logs, that my items did not receive the command “UP” or “DOWN”, but 0 or 100.
Seems to be caused by the action mapping in the Alexa metadata.
For the single rollershutter items, it looks like this:
Close=DOWN
Open=UP
Lower=DOWN
Raise=UP
Stop=STOP
For the rollershutter group item, it looks like this:
Close=0
Open=100
Lower=0
Raise=100
Unfortunately, you cannot edit the action mappings for the groupt item
edit 2: My mistake: You can edit the action mappings for the group item. The box showed the default values in a way that looked “disabled” to me. But the box is actually empty and can be overriden.
I can’t say because you don’t show your Alexa metadata.
What that part of the docs means is you have to treat the config of the Group Item as if it were a stand alone Rollershutter Item, not a Group endpoint. Group endpoints are used to collect related Items, such as all the sensors and setpoints for a HVAC thermostat.
I don’t use Alexa so I can’t comment on more than what’s in the docs. How are you seeing those mappings? Why can you not edit it?
The action mappings looked disabled to me, but it is not. It’s actually only showing the defaults. If you start editing, the box is empty.
I will change the action mappings and see if that fixes the problem.
Unfortunately, it still does not work.
I removed the item from Alexa and readded it, but this also did not fix the problem.
I also created a group item for a second room and did the action mapping correct, but Alexa also cannot handle this item.
It keeps telling me that it does not know how to do this
edit: OK, this is really strange. Only some of the commands work. OPEN and CLOSE do work, but UP and DOWN, Alexa tells me that it does not know how to do this ???
Do I need to add UP and DOWN explicitly to the action mappings? The normal rollershutter items do not require this.
The documentation says that it only supports the action mappings, that I already specified:
The Alexa API currently provides Close, Open, Lower and Raise interactions, removing the need for the Alexa routine workaround to control certain devices such as blinds or doors.
You shouldn’t have to configure the action mappings. What you are seeing in MainUI is just a placeholder example. The skill has defined default settings based on the item (group)type per the documentation.
It would be helpful if you could provide the exact utterances you are using for the voice requests. You may want to refer to this post for more information on that topic.
There is a difference between defaults, as you highlighted in your first screenshot, which you can edit when you select the field and a placeholder example which is just an indication on how to configure a given parameter and isn’t representative of its actual default value. Anyway, this is only a display issue since the skill will use the documented defaults.
Now, as you may have noticed, there is indeed a bug in MainUI with the Alexa metadata not displaying the defaults for group type based items. I have already submitted a fix for this one.
Have you tried the utterance examples that are listed in the referenced post?