Comments (2)
Is your config.json filled out correctly with the hostname of your cloud instance ? see https://github.com/openhab/openhab-alexa/blob/master/config_sample.js ? When running the skill, what does the cloud watch logs say when you discover devices?
from openhab-alexa.
Thanks for replying!
Yes ,I renamed config_sample.js to config.js and pointed to my cloud instance as below.
module.exports = {
userpass: '[email protected]:Welcome@123',
host: 'www.smarthive.fueblabs.com',
port: 443,
path: '/rest/items/',
When I am doing the test of Lambda function as "discover device" with web portal of amazon , I am getting below cloud watch logs.But when I am testing with Alexa App , after account linking , no device are discover and even there is no logs generating.
cloud watch logs when testing with Amazon web portal.
START RequestId: 3e77828e-ab6b-11e8-af84-1f3188c21d5c Version: $LATEST
2018-08-29T09:09:33.684Z 3e77828e-ab6b-11e8-af84-1f3188c21d5c Input:
{
"header": {
"payloadVersion": "2",
"namespace": "Alexa.ConnectedHome.Discovery",
"name": "DiscoverAppliancesRequest",
"messageId": "F8752B11-69BB-4246-B923-3BFB27C06C7D"
},
"payload": {
"accessToken": "1"
}
}
2018-08-29T09:09:36.644Z 3e77828e-ab6b-11e8-af84-1f3188c21d5c discoverDevices getSuccess: [
{
"link": "https://www.smarthive.fueblabs.com/rest/items/livingRoom_123_Dimmer_LD",
"state": "NULL",
"type": "Dimmer",
"name": "livingRoom_123_Dimmer_LD",
"label": "LD",
"category": "string",
"tags": [
"Lighting"
],
"groupNames": [
"String",
"GoodMorning"
]
}
,
{
"members": [],
"link": "https://www.smarthive.fueblabs.com/rest/items/GoodNoon",
"state": "NULL",
"type": "Group",
"name": "GoodNoon",
"label": "GoodNoon",
"category": "Group",
"tags": [],
"groupNames": []
}
,
{
"members": [],
"link": "https://www.smarthive.fueblabs.com/rest/items/Favourites",
"state": "NULL",
"type": "Group",
"name": "Favourites",
"label": "Favourites",
"category": "Group",
"tags": [],
"groupNames": []
}
,
{
"link": "https://www.smarthive.fueblabs.com/rest/items/kitchen_1234_Color_KC",
"state": "NULL",
"type": "Color",
"name": "kitchen_1234_Color_KC",
"label": "KC",
"category": "string",
"tags": [
"Lighting"
],
"groupNames": [
"String"
]
}
,
{
"members": [],
"link": "https://www.smarthive.fueblabs.com/rest/items/Party",
"state": "NULL",
"type": "Group",
"name": "Party",
"label": "Party",
"category": "Group",
"tags": [],
"groupNames": []
}
,
{
"link": "https://www.smarthive.fueblabs.com/rest/items/bedRoom_12_Switch_BL",
"state": "NULL",
"type": "Switch",
"name": "bedRoom_12_Switch_BL",
"label": "BL",
"category": "string",
"tags": [
"Lighting"
],
"groupNames": [
"String",
"GoodMorning"
]
}
,
{
"link": "https://www.smarthive.fueblabs.com/rest/items/bedRoom_12_Color_BC",
"state": "NULL",
"type": "Color",
"name": "bedRoom_12_Color_BC",
"label": "BC",
"category": "string",
"tags": [
"Lighting"
],
"groupNames": [
"String"
]
}
Thanks,
from openhab-alexa.
Related Issues (20)
- feature request: support personal profiles HOT 3
- Thermostat Setpoints Not Allowed Above 100 Degrees HOT 3
- Arabic Language Support HOT 2
- Window Covering Rollershutter Item No Control Page in Alexa App HOT 1
- missing several display categories HOT 2
- Window Covering Rollershutter percentage values are inverted HOT 1
- Cooking Device Capabilities Support
- Dimmer percentage commands broken HOT 2
- Support remote video player interface HOT 2
- Television device not discovered if Channel item type is string HOT 4
- Adding transitional states to Custom Semantic Catalog HOT 2
- Can say "Light On" but not "Fan Medium" in an Alexa group without full thing name "Bedroom Fan Medium" HOT 2
- Keep getting [Error]: CliError: The CloudFormation deploy failed for Alexa region "default": Access Denied HOT 6
- AlexaSkillFunction[AWS::Lambda::Function] CREATE_FAILED HOT 1
- MainUI How To Examples
- "message": "Required parameter(s) missing in the request." HOT 4
- The Command "Stop" does not stop the Rollershutter in German HOT 1
- Television.Channel - Mapping names to number not working HOT 1
- devices discovery is terminated without new devices HOT 3
- Fail to deploy (skill not found) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-alexa.