Alexa Smart Home Skill V3 is now live!

Thanks @jeshab for these tips. I’ll take a close look.

Hi,
First of all big big thank to OPENHAB team for providing such a fantastic solutions for home automation.
Coming to my confusion :- I have used Google home & Alexa both to interact with my OPENHAB serve.
I used [“Switchable”] for all switches & both Alexa & Google working fine.

I have added new items & this time i used tagging Syntex as per Alexa Version 3 API syntax (v3). Newly added items are discovered by Alexa but not by Google.

So do i have to follow old tagging Syntex for Google integration???
Do i have to use both tagging Syntex like :-
Light Switch" {alexa=“PowerController.powerState”}" [Switchable"]

Kindly suggest???

Correct although the v3 skill still supports v2 tagging. So, you could still use tags for simple devices, such as lights or switches, and use v3 metadata for more complex ones.

Hi,
Thanks for replying. I did as you suggested,
Used V2 tagging & googly home & Alexa both discovered those.

A Nice little workaround to remove routines and activate a scene without having to say ‘turn on’ etc…
Been looking for a way to do this as even if you make a scenecontroller you have to say turn on.
If you use the lastvoice channel you still need the routine in Alexa otherwise she replies with I don’t have a clue what your chatting about…

Group		GeorgeAlexa			"George"				         {alexa="Endpoint.Other"}
String		GeorgeAlexaMode		"Mode [%s]"	(GeorgeAlexa)		 {alexa="ModeController.mode" [supportedModes="Bedtime=Bedtime,Dinner=Dinner,Awake=Awake,TV=TV,Boasty=Boasty"]}
Group		AdultAlexa			"We Are"				         {alexa="Endpoint.Other"}
String		AdultAlexaMode		"Mode [%s]"	(AdultAlexa)		 {alexa="ModeController.mode" [supportedModes="going to bed=going to bed,going out=going out,Awake=Awake,watching tv=watching tv,having a party=having a party"]}

By adding this endpoint you can map the commands to a switch case rule and in my case here I can say ‘Alexa George Bedtime’ or ‘Alexa George TV’
You don’t have to say ‘mode’

Haven’t seen this method posted anywhere so hopefully it helps a few people

2 Likes

Nice one :+1: Any reason you are modeling a group endpoint with one component? If only using one ModeController interface per endpoint, you can model the item as a single endpoint.

String		GeorgeAlexa		"George [%s]"	{alexa="ModeController.mode" [supportedModes="Bedtime=Bedtime,Dinner=Dinner,Awake=Awake,TV=TV,Boasty=Boasty"]}
String		AdultAlexa		"We Are [%s]"	{alexa="ModeController.mode" [supportedModes="going to bed=going to bed,going out=going out,Awake=Awake,watching tv=watching tv,having a party=having a party"]}
1 Like

Lol, yeah, cut and paste from one of my other endpoints, didn’t even think of that, I’ll blame it on sleep deprivation

@jeshab, I’m stuck and would ery much appreciate some help troubleshooting. I’ve been using thr skill for a while now and everything was working. I typically use snapshot builds of OH and update frequently. After 2.5 was released, I updated to 2.5.1-2, since the OH 3.0 snapshots are not yet usable. I usually use a custom backup/update/restore script, but this time I did a fresh install where I copied in just the bare minimum of configuration. After this, no devices were responding. I’ve done everything I can think of to get things working again but nothing seems to help. I’ve essentially started from scratch, deleting all of the devices in the Alexa app, removing/readding the skill, myopenhab.org is online and set to “Notification and Remote Access”, but no devices are discovered. The skill shows as linked.

Setting the logging for org.openhab.io.openhabcloud to DEBUG and restarting the service shows everything coming up OK. When starting discovery, there is a lot of communication in the log, but no devices are discovered.

Log
2020-01-20 12:39:18.031 [INFO ] [org.apache.sshd.server.session.ServerUserAuthService] - Session openhab@/127.0.0.1:42016 authenticated
2020-01-20 12:47:53.362 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - on(): request
2020-01-20 12:47:53.363 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Got request 9789075
2020-01-20 12:47:53.365 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","accept":"application/json","user-agent":"openhab-cloud/0.0.1"}
2020-01-20 12:47:53.366 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Request method is GET
2020-01-20 12:47:53.367 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
2020-01-20 12:47:53.367 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
2020-01-20 12:47:53.367 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
2020-01-20 12:47:53.368 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept = application/json
2020-01-20 12:47:53.368 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2020-01-20 12:47:53.398 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty finished receiving response header
2020-01-20 12:47:53.399 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent headers to request 9789075
2020-01-20 12:47:53.399 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"headers":{"Server":"Jetty(9.4.20.v20190813)","Content-Length":"114","Content-Type":"application/json"},"responseStatusCode":200,"responseStatusText":"OK","id":9789075}
2020-01-20 12:47:53.400 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 114
2020-01-20 12:47:53.401 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789075
2020-01-20 12:47:53.405 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Finished responding to request 9789075
2020-01-20 12:47:53.448 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - on(): request
2020-01-20 12:47:53.448 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Got request 9789079
2020-01-20 12:47:53.448 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","accept":"application/json","user-agent":"openhab-cloud/0.0.1"}
2020-01-20 12:47:53.449 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Request method is GET
2020-01-20 12:47:53.449 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
2020-01-20 12:47:53.449 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
2020-01-20 12:47:53.450 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
2020-01-20 12:47:53.450 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept = application/json
2020-01-20 12:47:53.450 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2020-01-20 12:47:53.464 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty finished receiving response header
2020-01-20 12:47:53.465 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent headers to request 9789079
2020-01-20 12:47:53.465 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"headers":{"Server":"Jetty(9.4.20.v20190813)","Content-Length":"2","Content-Type":"application/json"},"responseStatusCode":200,"responseStatusText":"OK","id":9789079}
2020-01-20 12:47:53.467 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 2
2020-01-20 12:47:53.468 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789079
2020-01-20 12:47:53.470 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Finished responding to request 9789079
2020-01-20 12:47:53.552 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - on(): request
2020-01-20 12:47:53.553 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Got request 9789085
2020-01-20 12:47:53.553 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"host":"myopenhab.org","cache-control":"no-cache","accept-encoding":"gzip, deflate","accept":"application/json","user-agent":"openhab-cloud/0.0.1"}
2020-01-20 12:47:53.554 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Request method is GET
2020-01-20 12:47:53.555 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header host = myopenhab.org
2020-01-20 12:47:53.555 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
2020-01-20 12:47:53.556 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate
2020-01-20 12:47:53.556 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header accept = application/json
2020-01-20 12:47:53.557 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2020-01-20 12:47:53.652 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - on(): cancel
2020-01-20 12:47:53.653 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Received cancel for request 9789075
2020-01-20 12:47:55.573 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty finished receiving response header
2020-01-20 12:47:55.574 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent headers to request 9789085
2020-01-20 12:47:55.575 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - {"headers":{"Transfer-Encoding":"chunked","Server":"Jetty(9.4.20.v20190813)","Content-Type":"application/json"},"responseStatusCode":200,"responseStatusText":"OK","id":9789085}
2020-01-20 12:47:55.577 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16266
2020-01-20 12:47:55.577 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.578 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.585 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.585 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 118
2020-01-20 12:47:55.587 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.616 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.617 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.617 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.617 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.617 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.618 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.658 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.659 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.659 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.659 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.660 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.662 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.693 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.693 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.694 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.696 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.696 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.698 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.737 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.738 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.738 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.740 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.741 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.743 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.767 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.767 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.768 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.770 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.770 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.772 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.801 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.802 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.802 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.802 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.803 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.803 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.839 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.839 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.840 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.840 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.842 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.844 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.880 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.881 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.881 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.883 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.884 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.892 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.920 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.921 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.922 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.922 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.923 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.923 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.959 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:55.959 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.959 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:55.960 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.960 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:55.960 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:55.999 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:56.000 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.000 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:56.001 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.001 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:56.001 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.032 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:56.033 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.033 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:56.034 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.034 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:56.034 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.053 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:56.054 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.055 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:56.056 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.056 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:56.056 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.083 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16376
2020-01-20 12:47:56.083 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.084 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 16384
2020-01-20 12:47:56.084 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.084 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 8
2020-01-20 12:47:56.084 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.088 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Jetty received response content of size 5720
2020-01-20 12:47:56.089 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Sent content to request 9789085
2020-01-20 12:47:56.090 [DEBUG] [org.openhab.io.openhabcloud.internal.CloudClient] - Finished responding to request 9789085

Do you have any suggestions for what to try next?

Have you tried to directly access the rest api calls, from a browser, the skill is using during the discovery process? I will assume you didn’t make any configuration changes since the last time it worked. If not, remove these changes and work from that point. The discovery process can sometimes silently fail on the Alexa side when there are some configuration issues.

I have now (second link) and there are 1702 Items found.

I’ve made several changes in attempts to get it working again :slightly_smiling_face:. I have a backup from before the upgrade and it was from that backup that I manually copied the configurations from. I think the next thing I’ll try is to fire up the backup and see if it still works. I expect this is a configuration issue, but there is so little to configure that I’m baffled as to what I could be missing. Thank you for your help!

There is still a known issue for setup with a lot of items that could still happen. It might be related but, if it worked before, not sure if it would be the case. One way to confirm would be to see if the second link returns a truncated data structure or not.

It does not look truncated, based on looking at the JSON and since the Item count is correct (actually 1703). Instead of rolling back, I’ll try ripping out all of my Items except for a handful. Is there a way to get to the logs for the cloud service or AWS? I think you mentioned a while back that those are no longer available.

Yes, we had to decrease the log level to limit AWS resource usage. I could take a look if there are some errors generated from your request. I just need your location and the exact time including timezone you issued a discovery request.

Have you tried to disable your current Alexa configuration and just model a single switch to see if it can be discovered?

1 Like

I got it! 121 items in Alexa now and they can be repeatably deleted and rediscovered. It was just one OH Item that was messing things up, which is really weird because it has been around a long time and I used it very recently through Alexa. Meaning, it was discovered, I used it, something changed, I deleted everything from Alexa, rediscovered, and nothing could be found because of this Item.

String    Mode    "Mode [%s]"    <house>    (gPresenceAndMode)    {alexa="ModeController.mode" [supportedModes="Morning,Day,Evening,Night,Late,Party,Sleep",ordered=false,category="OTHER"]}

With this Item in the .items file, nothing is discovered. Commenting out the metadata and saving the .items file allows all Items to be discovered. This Item had previously been discovered without issue.

In case it is helpful, the log a couple posts up has the times of a failure to discovery (EST).

1 Like

I had already taken a look based on these timestamps but didn’t see any errors generated around that time. So I wasn’t 100% sure of the timezone.

So the issue here is that you are using a mode (“day”) with a friendly name not allowed. Some code was recently added to prevent these names from being included in the discovery result but unfortunately introduced a bug where it still allows a mode with no defined friendly names to be sent out causing the silent failure. Previously, the skill would send the unsupported names which would explain why it worked before although I guess the relevant mode wouldn’t be available on the Alexa side I assume.

Update: Actually running a quick test rolling back that piece of code, a mode with friendly name set to “day” actually works. I am planning to do some more testing and most likely roll it back. Thanks for helping identify this one :+1:

1 Like

Very cool! I removed “Day” and my Mode Item was discovered by Alexa again! It would be great if you could get it added back in. Thank you!

That’s the plan.

1 Like

@5iver I just pushed a change to the live skill that only restrict the not allowed friendly names to capability resources only. Any mode or preset resource names will not be subject to that restriction. Your use-case should be discoverable again.

1 Like

Confirmed! Removed it from Alexa, added Day mode into the .items file, rediscovered and it was now found. Thank you!

1 Like

Sorry to jump into this discussion with an off topic question, but I started a new thread and haven’t received any help. I see that you have Insteon fanlincs working in your environment and wondered if you might be able to help. I have 2 fanlincs and when I enter them as items in OH2 with the #fan feature, I get errors stating that my item references an unknown feature. Is there anything special that needs to be done to get the fan control working? Here is my item entry and the log errors. Any help would really be appreciated. Thank you.

Number GuestfanLincFan “Guest fanlinc fan” {insteonplm=“XX.XX.XX:F00.00.1C#fan”}

[ERROR] [g.insteonplm.InsteonPLMActiveBinding] - item MasterfanLincFan references unknown feature: fan, item disabled! Known features for F00.00.1C are: dimmer, fastonoff, lastheardfrom, ledbrightness, manualchange, onlevel, ramprate.