jeshab
(Jeremy)
November 21, 2021, 11:09pm
5
Only a couple device types are supported such as lights, switches or televisions. Last time I tested, window blinds didn’t work yet.
This is handled on the Amazon. I wouldn’t say failing to work but more supported unless it’s a an Alexa configuration issue. Also, make sure you don’t have duplicate named devices.
It depends on how you setup your Alexa groups.
jeshab
(Jeremy)
December 13, 2021, 8:26pm
6
Since the new skill is now live, this beta test is now closed.
Vradatta
(Eric Zenz-Matzl)
December 14, 2021, 5:58am
7
Since the Beta is closed, Alexa isn’t finding any of my devices anymore…
Do i have to change something on Openhab side?
Falk
(Falk S.)
December 14, 2021, 12:40pm
8
I also have trouble finding devices. While this works:
Switch GA_Gehweg_Alexa “Gehweg” (gAlexa) {alexa=“Switch”, homekit=“Switchable”}
this does not and is blocking the discovery process at all:
Dimmer GA_Sonnenschirm_di_Alexa “Sonnenschirm” (gAlexa) {alexa=“Light”}
or
Dimmer GA_Sonnenschirm_di_Alexa “Sonnenschirm” (gAlexa) {alexa=“Lighting”}
I am on OH 3.2.0.M5 with Alexa Skill being updated 22hours ago.
jeshab
(Jeremy)
December 14, 2021, 4:24pm
9
As mentioned in my last reply, the new skill went live yesterday:
Dear all,
We are pleased to announce a complete rework of the openHAB skill for Amazon Alexa , which introduces a new device-centric metadata syntax in line with the other voice assistant integrations, and simplifies the configuration of basic functionalities, while staying backward compatible to ease the transition, is now live.
New Metadata Syntax
The new metadata syntax acts as a new layer on top of the previous API capability-centric syntax, giving us the ability to create new custom pre-c…
As far as the issue you are experiencing, can you please provide some more information about your existing setup and what you are trying to achieve?
jeshab
(Jeremy)
December 14, 2021, 4:28pm
10
First, what do you mean by blocking? Do you have other items not being discovered? Secondly, have you tried to delete the relevant device if not all OH-related from your Alexa account prior to triggering the discovery?
The item definition you provided looks good. So I wouldn’t expect any discovery issue with the one you provided.
Falk
(Falk S.)
December 14, 2021, 8:22pm
11
jeshab:
First, what do you mean by blocking? Do you have other items not being discovered?
Yes, there are many more. E.g. I managed to discover over 90 Switch-Items. As long as there is no Light-Item the Switch-Items are been discovered. With the Light-Item in between or at the end of the list, none of the item gets found.
Yes, i deleted all items from the Alexa account before starting the search.
Hi, I second that. I participated in the beta test. Since the update of the alexa skill, an “alexa, find new devices” does not find any openhab devices anymore. I had over a hundred devices of different kinds which worked flawlessly before the skill has been updated. It stopped working roughly a day ago, when some alexa devices stopped responding.
I am on 3.2M4 on a synology docker container.
What did I try?
deleted non functional devices on alexa and try to rediscover them → did not work
restarted OH several times → did not work
removed my account connection from the alexa OH skill several times (disabled skill and reconnected it) → did not work
removed all devices, in the hope it would then somehow recover → did not work.
Now I am sorta stuck with a hundred alexa controllable devices less …
Falk
(Falk S.)
December 14, 2021, 8:45pm
13
Right now, not even my Switch-items get detected (with all other Alexa items being deleted before). This worked before if no other item like the Light-item has been in the items file as well. On the other hand I saw the Light-item being detected once when defined at line #1 .
I am sorry, but can not identify a pattern that would allow describing the issue in a more structured way.
Is there any other way to analyze further?
Is there a url I can call to see the xml response given by my OH server ? myopenhab shows that its online …
Hi,
Thanks for the hint. But I only have one openhab skill in my alexa app. Under development Skills I only See my self developed Skills, not any openhab skill.
Can I manually call an url to get the XML discovery response for Alexa? For my own skills I can do that in the debug console of my voice skills
Thanks
Lars
Falk
(Falk S.)
December 14, 2021, 9:37pm
17
just for the records: i did not participate in beta testing (probably I should next time). I am also not aware of any other skill instance of this particular skill.
jeshab
(Jeremy)
December 14, 2021, 9:40pm
18
Not sure to understand what you are asking. Are you sure your OH server is accessible through myopenhab.org ? Is this query returning data?
jeshab
(Jeremy)
December 14, 2021, 9:49pm
19
Falk:
Yes, there are many more. E.g. I managed to discover over 90 Switch-Items. As long as there is no Light-Item the Switch-Items are been discovered. With the Light-Item in between or at the end of the list, none of the item gets found.
Any chance you can PM your item file configuration? It sounds like you are using one single item file. Do you see any errors in your OH server logs when saving that file?
Falk
(Falk S.)
December 14, 2021, 10:04pm
20
jeshab:
Any chance you can PM your item file configuration? It sounds like you are using one single item file. Do you see any errors in your OH server logs when saving that file?
Just PMed the items file (my test file). There are no errors/warnings reported when saving the file.
Vradatta
(Eric Zenz-Matzl)
December 15, 2021, 6:36am
21
Ok, now it is working again…
It seems that i just had to restart openhab, now all my items are discovered again.
Just for information: All my items are configured via GUI, and i have only Switch,ToggleController and Lighting configured.
Yes, myopenhab shows my server as online. I was looking for the URL you provided. It returns a long list of items, not only my alexa items.
Ok, will install the M5 today and See if that will help…
Unfortunately no change … I did a fresh M5 container install. No items found. I then deleted my “openhab cloud” account and created a new account with a different eMail address. no change.
disconnected openhab skill and reconnected it, no change
The url: “https://myopenhab.org/rest/items?metadata=alexa ” does return a long list of items and attributes, not only my alexa items. Maybe this is the problem ?
Update:
this is my OH log in karaf at the moment when I start a device search in alexa:
12:22:49.321 [DEBUG] [.io.openhabcloud.internal.CloudClient] - on(): request
12:22:49.321 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Got request 7239123
12:22:49.322 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Path /rest/items
12:22:49.322 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Method GET
12:22:49.322 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Headers: {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","accept":"application/json","user-agent":"openhab-cloud/0.0.1"}
12:22:49.322 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Query {"metadata":"alexa,autoupdate,channel,synonyms","fields":"editable,groupNames,groupType,name,label,metadata,stateDescription,tags,type"}
12:22:49.322 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Request method is GET
12:22:49.323 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
12:22:49.323 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
12:22:49.323 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
12:22:49.323 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header accept = application/json
12:22:49.324 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
12:22:49.367 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onHeaders 7239123
12:22:49.368 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16229
12:22:49.369 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.369 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 155
12:22:49.397 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.398 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.398 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.423 [DEBUG] [.io.openhabcloud.internal.CloudClient] - on(): request
12:22:49.424 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Got request 7239128
12:22:49.424 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Path /rest/uuid
12:22:49.424 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Method GET
12:22:49.424 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Headers: {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","user-agent":"openhab-cloud/0.0.1"}
12:22:49.425 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Query null
12:22:49.425 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Request method is GET
12:22:49.425 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
12:22:49.425 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
12:22:49.426 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
12:22:49.426 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
12:22:49.427 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onHeaders 7239128
12:22:49.428 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239128, content size 36
12:22:49.428 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onComplete: 7239128
12:22:49.429 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Finished responding to request 7239128
12:22:49.435 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.435 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.436 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.475 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.476 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.477 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.507 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.508 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.508 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.524 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.525 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.525 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.526 [DEBUG] [.io.openhabcloud.internal.CloudClient] - on(): request
12:22:49.526 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Got request 7239133
12:22:49.526 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Path /rest/
12:22:49.526 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Method GET
12:22:49.527 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Headers: {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","accept":"application/json","user-agent":"openhab-cloud/0.0.1"}
12:22:49.527 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Query null
12:22:49.527 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Request method is GET
12:22:49.527 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
12:22:49.528 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
12:22:49.528 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
12:22:49.528 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header accept = application/json
12:22:49.528 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
12:22:49.551 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onHeaders 7239133
12:22:49.552 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239133, content size 1908
12:22:49.553 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onComplete: 7239133
12:22:49.553 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Finished responding to request 7239133
12:22:49.567 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.568 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.568 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.599 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.599 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.600 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.630 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.631 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.632 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.671 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.672 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.673 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.714 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.714 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.715 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.751 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.752 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.752 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.784 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.785 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.786 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.820 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.821 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.822 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.860 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.861 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.862 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.900 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.901 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.902 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.939 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.940 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.941 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:49.977 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:49.978 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:49.978 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:50.019 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16376
12:22:50.021 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 16384
12:22:50.021 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 8
12:22:50.022 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onResponseContent: 7239123, content size 1718
12:22:50.022 [DEBUG] [.io.openhabcloud.internal.CloudClient] - onComplete: 7239123
12:22:50.022 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Finished responding to request 7239123
Is there a way to see what has been returned ?
My lights follow this pattern:
Group: “light”, dimmer item in group: “light.brigthness”, color item: “light.color”, switch item: “light.powerstate”
jeshab
(Jeremy)
December 15, 2021, 3:36pm
25
That’s normal. The skill needs to get all items for a given user to determine which ones are configured for Alexa during the discovery process.
The logs are looking good. I can see the 3 queries that are initiated during a discovery process.
That unfortunately is only available on the skill side and we don’t log that information due to resource constraints.
Lars_Deutsch:
My lights follow this pattern:
Group: “light”, dimmer item in group: “light.brigthness”, color item: “light.color”, switch item: “light.powerstate”
The metadata configuration is case sensitive. Make sure to match exactly what is documented.
Also, I should have asked you before but I got sidetrack by the fact you mentioned you were on the beta test. Did you make any chances in term of Alexa configuration since you couldn’t discover your devices anymore? Have you tried to remove all your existing Alexa configuration and start with one simple switch? If it gets discovered then stagger changes from that point.