Final update for today… a step in the right direction but even more confusing!
Please excuse me for the amount of posts but i am trying to be a precise as possible with the info and troubleshooting.
I created a DiscoverDeviceTest on the Lambda function and realized that it was failing and marking it as unauthenticated! Following this, i then enabled basic authentication that seemed to have connected and is now seeing rest. The confusing bit is that the test is successful as per below:
{
"header": {
"messageId": "F8752B11-69BB-4246-B923-3BFB27C06C7D",
"name": "DiscoverAppliancesResponse",
"namespace": "Alexa.ConnectedHome.Discovery",
"payloadVersion": "2"
},
"payload": {
"discoveredAppliances": [
{
"actions": [
"turnOn",
"turnOff"
],
"applianceTypes": [
"SWITCH"
],
"applianceId": "Study_Balcony_Lights",
"manufacturerName": "openHAB",
"modelName": "Switchable",
"version": "2",
"friendlyName": "Balcony",
"friendlyDescription": "Switch Study_Balcony_Lights Switchable via openHAB",
"isReachable": true,
"additionalApplianceDetails": {
"itemType": "Switch",
"itemTag": "Switchable",
"openhabVersion": "2"
}
},
{
"actions": [
"turnOn",
"turnOff"
],
"applianceTypes": [
"LIGHT"
],
"applianceId": "Study_Bathroom_Lights",
"manufacturerName": "openHAB",
"modelName": "Lighting",
"version": "2",
"friendlyName": "Bathroom",
"friendlyDescription": "Switch Study_Bathroom_Lights Lighting via openHAB",
"isReachable": true,
"additionalApplianceDetails": {
"itemType": "Switch",
"itemTag": "Lighting",
"openhabVersion": "2"
}
}
]
}
}
and below LOG:
START RequestId: 8d0e542d-d9a0-4c45-b932-cf10b1cef36c Version: $LATEST
2020-04-16T00:15:54.383Z 8d0e542d-d9a0-4c45-b932-cf10b1cef36c INFO INFO: Input: {"header":{"messageId":"F8752B11-69BB-4246-B923-3BFB27C06C7D","name":"DiscoverAppliancesRequest","namespace":"Alexa.ConnectedHome.Discovery","payloadVersion":"2"},"payload":{"accessToken":"1"}}
2020-04-16T00:15:55.030Z 8d0e542d-d9a0-4c45-b932-cf10b1cef36c INFO DEBUG: Data: {"items":[{"editable":false,"type":"Switch","name":"Study_Balcony_Lights","label":"Balcony","tags":["Switchable"],"groupNames":["gStudy"]},{"editable":false,"type":"Switch","name":"Study_Main_Lights","label":"Study","tags":["LightSwitch"],"groupNames":["gStudy"]},{"editable":false,"type":"Switch","name":"Study_Bathroom_Lights","label":"Bathroom","tags":["Lighting"],"groupNames":["gStudy"]}]}
2020-04-16T00:15:55.030Z 8d0e542d-d9a0-4c45-b932-cf10b1cef36c INFO DEBUG: Discovery adding Study_Balcony_Lights with tag: Switchable
2020-04-16T00:15:55.030Z 8d0e542d-d9a0-4c45-b932-cf10b1cef36c INFO DEBUG: Discovery adding Study_Bathroom_Lights with tag: Lighting
2020-04-16T00:15:55.030Z 8d0e542d-d9a0-4c45-b932-cf10b1cef36c INFO INFO: Response: {"header":{"messageId":"F8752B11-69BB-4246-B923-3BFB27C06C7D","name":"DiscoverAppliancesResponse","namespace":"Alexa.ConnectedHome.Discovery","payloadVersion":"2"},"payload":{"discoveredAppliances":[{"actions":["turnOn","turnOff"],"applianceTypes":["SWITCH"],"applianceId":"Study_Balcony_Lights","manufacturerName":"openHAB","modelName":"Switchable","version":"2","friendlyName":"Balcony","friendlyDescription":"Switch Study_Balcony_Lights Switchable via openHAB","isReachable":true,"additionalApplianceDetails":{"itemType":"Switch","itemTag":"Switchable","openhabVersion":"2"}},{"actions":["turnOn","turnOff"],"applianceTypes":["LIGHT"],"applianceId":"Study_Bathroom_Lights","manufacturerName":"openHAB","modelName":"Lighting","version":"2","friendlyName":"Bathroom","friendlyDescription":"Switch Study_Bathroom_Lights Lighting via openHAB","isReachable":true,"additionalApplianceDetails":{"itemType":"Switch","itemTag":"Lighting","openhabVersion":"2"}}]}}
END RequestId: 8d0e542d-d9a0-4c45-b932-cf10b1cef36c
REPORT RequestId: 8d0e542d-d9a0-4c45-b932-cf10b1cef36c Duration: 648.61 ms Billed Duration: 700 ms Memory Size: 128 MB Max Memory Used: 95 MB
i have removed all my items, just in case any one of them is stopping the alexa scan to pick them up and only left the 3 below (with experimental tags)
Switch Study_Main_Lights "Study" <light> (gStudy) [ "LightSwitch" ] {channel="openwebnet:bus_on_off_switch:71e7c0bd:Study_Main_Lights:switch"}
Switch Study_Balcony_Lights "Balcony" <light> (gStudy) [ "Switchable" ] {channel="openwebnet:bus_on_off_switch:71e7c0bd:Study_Balcony_Lights:switch"}
Switch Study_Bathroom_Lights "Bathroom" <switch> (gStudy) [ "Lighting" ] {channel="openwebnet:bus_on_off_switch:71e7c0bd:Study_Bathroom_Lights:switch"}
Having said that, i never had an issue finding devices with the official alexa app and myopenhab.org
Any pointers as there to where i should look?