当前位置: 首页 > 知识库问答 >
问题:

如何调试Alexa技能授权

方恺
2023-03-14

我正在使用Node red实现智能家居Alexa技能。我按照一组教程学习了t(教程)。然而,当我去链接账户时,我得到了可怕的“我们此时无法链接”

为了追查这个问题,我在很多方面来回奔波。以下是我到目前为止确认的情况:

  1. Alexa应用程序可以打开我的身份验证URL

以下是我使用的重定向URL:

https://pitangui.amazon.com/api/skill/link/M186UMMFQ858RV?state=A2SAAEAEBw-F8TfUcH6ibqpm0e4UaoB8HKegd9HwuI1WKiS6r6p7i2YcPhi_zUUxShCH6Gf5EcSDpJU9gjNcb2KAyL5ed6HWlgU5owQberP1Pk_gPeQmZon6wD_r9PHxWWb-RDpER66U1LUA7UgmRXdLBsiDnFaODdXmUgonCVIn9tIXdrMUkEAJhwtCrGo_Ku11kfHMEPBSSNoAjntq2prtsQ_43Y7kJ-8J1fDEOG7-41LdC_r_A67Y0EDWllDQ2EQLxVM_mqWUGV2hE1baymi1N2JaxrGqKQo3nzkE65KtGORa6uRVQ0vcbCsv6IeBpYIQnzgpjqu6yfA5CTNSxaCzRlKy_pkWmnr69kZjQHYVr8grlrRdCC4T9EPUCYFNrpi07-geDGefvOZDm2yMGjWmDlaB_KIjSBBIIAtJDFDesTm0UFP1vu2QsbakQorrqh5DqPm1VLkNwEmYFBajpWzmbvwHLb15nznkeqGe8fWPeV1hGOhlUrhMtKTSbXfse6dl_t_U3BqwWdNqpAjCEzCaYleyEjRzIMNQLlXK_3n079Jhqiox90qwYb3JkdUjuM3t3EnFOg3xIq1Fcrz0TTPMrLPdLPvql0kP5dPFQnw0tzbjuZn5ftAyihnYWTwvzl64RG8X0H2mjYoGGAdFJ_MpPtSYXkxG1eQg6Q_8d3YKR8M434AOLQ&code=DmhRCJ1Uw7pjpd8U3xyV36F6ZU9zjnf1itcmw7qywbfF

我遵循以下教程来帮助调试问题:

Alexa调试教程

设置云形成

对于cloud formation one,我能够验证我是否能够正确生成令牌。

还有,我和这个人有一个非常相似的问题: Alexa,无法将你的技能联系起来

有人能在这个问题上帮助我吗?有没有什么方法可以让我设置一个云监视来记录Alexa skill身份验证,以确认该技能获得了正确的访问令牌?

注意:下面是我的应用程序中调试日志的完整列表:

1:04:45 PM - [debug] [alexa-adapter:Alexa] oauth_get
1:04:45 PM - [debug] [alexa-adapter:Alexa] oauth_get CCHI {"client_id":"https://pitangui.amazon.com/","response_type":"code","state":"A2SAAEAEBw-F8TfUcH6ibqpm0e4UaoB8HKegd9HwuI1WKiS6r6p7i2YcPhi_zUUxShCH6Gf5EcSDpJU9gjNcb2KAyL5ed6HWlgU5owQberP1Pk_gPeQmZon6wD_r9PHxWWb-RDpER66U1LUA7UgmRXdLBsiDnFaODdXmUgonCVIn9tIXdrMUkEAJhwtCrGo_Ku11kfHMEPBSSNoAjntq2prtsQ_43Y7kJ-8J1fDEOG7-41LdC_r_A67Y0EDWllDQ2EQLxVM_mqWUGV2hE1baymi1N2JaxrGqKQo3nzkE65KtGORa6uRVQ0vcbCsv6IeBpYIQnzgpjqu6yfA5CTNSxaCzRlKy_pkWmnr69kZjQHYVr8grlrRdCC4T9EPUCYFNrpi07-geDGefvOZDm2yMGjWmDlaB_KIjSBBIIAtJDFDesTm0UFP1vu2QsbakQorrqh5DqPm1VLkNwEmYFBajpWzmbvwHLb15nznkeqGe8fWPeV1hGOhlUrhMtKTSbXfse6dl_t_U3BqwWdNqpAjCEzCaYleyEjRzIMNQLlXK_3n079Jhqiox90qwYb3JkdUjuM3t3EnFOg3xIq1Fcrz0TTPMrLPdLPvql0kP5dPFQnw0tzbjuZn5ftAyihnYWTwvzl64RG8X0H2mjYoGGAdFJ_MpPtSYXkxG1eQg6Q_8d3YKR8M434AOLQ","scope":"smart_home","redirect_uri":"https://pitangui.amazon.com/api/skill/link/M186UMMFQ858RV"}
16 Dec 13:04:45 - [error] [alexa-adapter:Alexa] oauth_get login
1:05:18 PM - [debug] [alexa-adapter:Alexa] oauth_get
1:05:18 PM - [debug] [alexa-adapter:Alexa] oauth_get CCHI {"code":"ANpoNSSqiwPvRhEzrZDe","scope":"profile"}
16 Dec 13:05:18 - [error] [alexa-adapter:Alexa] oauth_get profile
1:05:18 PM - [debug] [alexa-adapter:Alexa] manage_login_with_amazon_access_token
1:05:18 PM - [debug] [alexa-adapter:Alexa] manage_login_with_amazon_access_token CCHI config {"id":"b6996b92647b12f3","type":"alexa-adapter","name":"Alexa","http_path":"alexa","login_with_amazon":true,"event_endpoint":"https://api.amazonalexa.com/v3/events","scope":"smart_home","emails":["***@gmail.com"],"msg_check":false,"verbose":true,"port":"","_users":["47c54cce05a7162a","9d730dee04a484b7"]}
1:05:18 PM - [debug] [alexa-adapter:Alexa] manage_login_with_amazon_access_token CCHI credentials {"your_client_id":"https://pitangui.amazon.com/","your_secret":"supersercetpassword","oa2_client_id":"amzn1.application-oa2-client.9283145f821e458097564e6bbbd8aabb","oa2_secret":"44ef5c74c58333e58a9f7a6cdc2246df413236ecbcd100170c4935d04d12001e","skill_client_id":"amzn1.application-oa2-client.56b9c72428544026a6e419b0c9d23a39","skill_secret":"a7a0b690c8b1a43e890bd2c6f26463551ba430919ec298de08ed1a58623c3fb2"}
1:05:18 PM - [debug] [alexa-adapter:Alexa] get_access_token lwa
1:05:18 PM - [debug] [alexa-adapter:Alexa] get_access_token request with code
1:05:18 PM - [debug] [alexa-adapter:Alexa] get_access_token request {"grant_type":"authorization_code","code":"ANpoNSSqiwPvRhEzrZDe","redirect_uri":"https://alexatest2.ddns.net/alexa/oauth"}
1:05:19 PM - [debug] [alexa-adapter:Alexa] CCHI get_access_token res {"req":{"method":"POST","url":"https://api.amazon.com/auth/o2/token","data":{"grant_type":"authorization_code","code":"ANpoNSSqiwPvRhEzrZDe","redirect_uri":"https://alexatest2.ddns.net/alexa/oauth"},"headers":{"user-agent":"node-superagent/3.8.3","content-type":"application/x-www-form-urlencoded","authorization":"Basic YW16bjEuYXBwbGljYXRpb24tb2EyLWNsaWVudC45MjgzMTQ1ZjgyMWU0NTgwOTc1NjRlNmJiYmQ4YWFiYjo0NGVmNWM3NGM1ODMzM2U1OGE5ZjdhNmNkYzIyNDZkZjQxMzIzNmVjYmNkMTAwMTcwYzQ5MzVkMDRkMTIwMDFl"}},"header":{"server":"Server","date":"Thu, 16 Dec 2021 18:05:18 GMT","content-type":"application/json;charset=UTF-8","content-length":"934","connection":"close","x-amz-rid":"KSRNMHVJFR2WDD82ZZXK","x-amzn-requestid":"72fdeb72-9f1a-4d41-a5a6-463b09523c73","x-amz-date":"Thu, 16 Dec 2021 18:05:18 GMT","cache-control":"no-cache, no-store, must-revalidate","pragma":"no-cache","vary":"Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent","permissions-policy":"interest-cohort=()"},"status":200,"text":"{\"access_token\":\"Atza|IwEBIDC8t8KapoVU4h_1UfNJesOXwKQc9t8TpzdMAVzOrHlwBgEEWWQ0oq_hMdYf9saAW-1Kb5uP9A22rwiHt_qPWy3jPr7oeD-A-3JeDj5YhlFp_ROdnPREkwsYMdsyj0i7EqbhKM_pIbqJUjgi1F9lfs7--CqtgXd8ZW7xDXAFniF83w2enPmkNnyxgmTOSQSuYSKhX_k0uXhFZ0eIj79le2xFC7XbfGs6eBqokwHmiyIibYhMmcZ6NrQftSV1bKEGhR2n3HMUfWFsln__h2mF9ZaL19I2d4igDfvozelOjO0bb_tfH5WN1dQTiLDADXSbVHHRufc-e1WCSSOvWOEpizPtMWGQLvmLjU9Ta0bWlJGCMojqVciKGyQEDhq-xtIvrmnI2QYFW1bLDUpdDxvplqm-E02hf_f3dX0UUq4oL0b4zA\",\"refresh_token\":\"Atzr|IwEBIFXkwDQ6A3fNorMBzdRpINRei2WS4ZZ12XQG5n5LX6lj0AxdY2_LBT9TTFJ6vAX1hZw1PB9otGpk6jlH5XshSMJMQAUn4Q5YDtAtDoz3Z-0Hx77H5H91eoTq0hx4d_lHr7i45O7tQdOcaWao-JewfgZjurdxPKa6Q8933cg9MX-HEoylognvpvsitpvG_hbFTnv5hBl6Jeg1nSyaU6S-9kKkmn5BjmtgoP1HIneRymWxX-GZFoPKFGnhS40iOUaA8nuppvglpNsqxKcLhhKrDcTXERXekPxfg_0tLnL8Lzaz_zXdD9JFzHZgsjqj-9sPootCShyGORc-FCgqWo7eFmzxakhw-PZlRqrKmqSPElMqY7i-ptm_f2Wwq4BRWN6XsAQC3Oph4iKhhhzkf0ElxTxm\",\"token_type\":\"bearer\",\"expires_in\":3600}"}
1:05:19 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens
1:05:19 PM - [debug] [alexa-adapter:Alexa] writeJson: filename /home/pi/.node-red/alexa-tokens_b6996b92647b12f3.json
1:05:19 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens saved
1:05:19 PM - [debug] [alexa-adapter:Alexa] get_access_token tokens lwa saved
1:05:19 PM - [debug] [alexa-adapter:Alexa] mlwaat get_access_token CCHI res Atza|IwEBIDC8t8KapoVU4h_1UfNJesOXwKQc9t8TpzdMAVzOrHlwBgEEWWQ0oq_hMdYf9saAW-1Kb5uP9A22rwiHt_qPWy3jPr7oeD-A-3JeDj5YhlFp_ROdnPREkwsYMdsyj0i7EqbhKM_pIbqJUjgi1F9lfs7--CqtgXd8ZW7xDXAFniF83w2enPmkNnyxgmTOSQSuYSKhX_k0uXhFZ0eIj79le2xFC7XbfGs6eBqokwHmiyIibYhMmcZ6NrQftSV1bKEGhR2n3HMUfWFsln__h2mF9ZaL19I2d4igDfvozelOjO0bb_tfH5WN1dQTiLDADXSbVHHRufc-e1WCSSOvWOEpizPtMWGQLvmLjU9Ta0bWlJGCMojqVciKGyQEDhq-xtIvrmnI2QYFW1bLDUpdDxvplqm-E02hf_f3dX0UUq4oL0b4zA
1:05:19 PM - [debug] [alexa-adapter:Alexa] get_user_profile CCHI access_token res {"access_token":"Atza|IwEBIDC8t8KapoVU4h_1UfNJesOXwKQc9t8TpzdMAVzOrHlwBgEEWWQ0oq_hMdYf9saAW-1Kb5uP9A22rwiHt_qPWy3jPr7oeD-A-3JeDj5YhlFp_ROdnPREkwsYMdsyj0i7EqbhKM_pIbqJUjgi1F9lfs7--CqtgXd8ZW7xDXAFniF83w2enPmkNnyxgmTOSQSuYSKhX_k0uXhFZ0eIj79le2xFC7XbfGs6eBqokwHmiyIibYhMmcZ6NrQftSV1bKEGhR2n3HMUfWFsln__h2mF9ZaL19I2d4igDfvozelOjO0bb_tfH5WN1dQTiLDADXSbVHHRufc-e1WCSSOvWOEpizPtMWGQLvmLjU9Ta0bWlJGCMojqVciKGyQEDhq-xtIvrmnI2QYFW1bLDUpdDxvplqm-E02hf_f3dX0UUq4oL0b4zA"}
1:05:19 PM - [debug] [alexa-adapter:Alexa] get_user_profile CCHI profile res {"req":{"method":"GET","url":"https://api.amazon.com/user/profile","headers":{"user-agent":"node-superagent/3.8.3","authorization":"Bearer Atza|IwEBIDC8t8KapoVU4h_1UfNJesOXwKQc9t8TpzdMAVzOrHlwBgEEWWQ0oq_hMdYf9saAW-1Kb5uP9A22rwiHt_qPWy3jPr7oeD-A-3JeDj5YhlFp_ROdnPREkwsYMdsyj0i7EqbhKM_pIbqJUjgi1F9lfs7--CqtgXd8ZW7xDXAFniF83w2enPmkNnyxgmTOSQSuYSKhX_k0uXhFZ0eIj79le2xFC7XbfGs6eBqokwHmiyIibYhMmcZ6NrQftSV1bKEGhR2n3HMUfWFsln__h2mF9ZaL19I2d4igDfvozelOjO0bb_tfH5WN1dQTiLDADXSbVHHRufc-e1WCSSOvWOEpizPtMWGQLvmLjU9Ta0bWlJGCMojqVciKGyQEDhq-xtIvrmnI2QYFW1bLDUpdDxvplqm-E02hf_f3dX0UUq4oL0b4zA","content-type":"application/x-www-form-urlencoded;charset=UTF-8","accept":"application/json"}},"header":{"server":"Server","date":"Thu, 16 Dec 2021 18:05:19 GMT","content-type":"application/json;charset=UTF-8","content-length":"115","connection":"close","x-amz-rid":"G7V58QBWQ1EXQP2FQ7JT","x-amzn-requestid":"dec61b8d-4116-41a1-acc2-44f17cb86412","x-amz-date":"Thu, 16 Dec 2021 18:05:19 GMT","content-language":"en-US","vary":"Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent","permissions-policy":"interest-cohort=()"},"status":200,"text":"{\"user_id\":\"amzn1.account.AGBCE2ITIGEQNHWMFIRL6QFU3DVQ\",\"name\":\"***\",\"email\":\"***@gmail.com\"}"}
1:05:19 PM - [debug] [alexa-adapter:Alexa] get_user_profile CCHI res {"user_id":"amzn1.account.AGBCE2ITIGEQNHWMFIRL6QFU3DVQ","name":"***","email":"***@gmail.com"}
1:05:19 PM - [debug] [alexa-adapter:Alexa] ***@gmail.com OK
16 Dec 13:05:19 - [error] [alexa-adapter:Alexa] Username ***@gmail.com authorized
1:05:19 PM - [debug] [alexa-adapter:Alexa] manage_login_with_amazon_access_token CCHI auth_code {"code":"DmhRCJ1Uw7pjpd8U3xyV36F6ZU9zjnf1itcmw7qywbfF","expire_at":1639678039557}
1:05:19 PM - [debug] [alexa-adapter:Alexa] redirect_to_amazon to https://pitangui.amazon.com/api/skill/link/M186UMMFQ858RV?state=A2SAAEAEBw-F8TfUcH6ibqpm0e4UaoB8HKegd9HwuI1WKiS6r6p7i2YcPhi_zUUxShCH6Gf5EcSDpJU9gjNcb2KAyL5ed6HWlgU5owQberP1Pk_gPeQmZon6wD_r9PHxWWb-RDpER66U1LUA7UgmRXdLBsiDnFaODdXmUgonCVIn9tIXdrMUkEAJhwtCrGo_Ku11kfHMEPBSSNoAjntq2prtsQ_43Y7kJ-8J1fDEOG7-41LdC_r_A67Y0EDWllDQ2EQLxVM_mqWUGV2hE1baymi1N2JaxrGqKQo3nzkE65KtGORa6uRVQ0vcbCsv6IeBpYIQnzgpjqu6yfA5CTNSxaCzRlKy_pkWmnr69kZjQHYVr8grlrRdCC4T9EPUCYFNrpi07-geDGefvOZDm2yMGjWmDlaB_KIjSBBIIAtJDFDesTm0UFP1vu2QsbakQorrqh5DqPm1VLkNwEmYFBajpWzmbvwHLb15nznkeqGe8fWPeV1hGOhlUrhMtKTSbXfse6dl_t_U3BqwWdNqpAjCEzCaYleyEjRzIMNQLlXK_3n079Jhqiox90qwYb3JkdUjuM3t3EnFOg3xIq1Fcrz0TTPMrLPdLPvql0kP5dPFQnw0tzbjuZn5ftAyihnYWTwvzl64RG8X0H2mjYoGGAdFJ_MpPtSYXkxG1eQg6Q_8d3YKR8M434AOLQ&code=DmhRCJ1Uw7pjpd8U3xyV36F6ZU9zjnf1itcmw7qywbfF
1:05:20 PM - [debug] [alexa-adapter:Alexa] token_post
1:05:20 PM - [debug] [alexa-adapter:Alexa] token_post CCHI {"grant_type":"authorization_code","code":"DmhRCJ1Uw7pjpd8U3xyV36F6ZU9zjnf1itcmw7qywbfF","client_id":"https://pitangui.amazon.com/","redirect_uri":"https://pitangui.amazon.com/api/skill/link/M186UMMFQ858RV","client_secret":"supersercetpassword"}
16 Dec 13:05:20 - [error] [alexa-adapter:Alexa] token_post authorization_code
1:05:20 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens
1:05:20 PM - [debug] [alexa-adapter:Alexa] writeJson: filename /home/pi/.node-red/alexa-tokens_b6996b92647b12f3.json
1:05:20 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens saved
1:05:20 PM - [debug] [alexa-adapter:Alexa] token_post save_tokens ok
1:05:20 PM - [debug] [alexa-adapter:Alexa] Returns tokens
1:05:20 PM - [debug] [alexa-adapter:Alexa] Returns tokens {"access_token":"Atza|2JQkP9TKfKD6nCLjHaB8MH8RuWCnJSrifYWfMdkd1zob","token_type":"bearer","expires_in":3600,"refresh_token":"Atzr|DAkB4wn4RttcSEFv8yA3XNyqbTfSHMy9p152EKqgjGiv"}
1:05:20 PM - [debug] [alexa-adapter:Alexa] smarthome_post
1:05:20 PM - [debug] [alexa-adapter:Alexa] smarthome_post CCHI {"directive":{"header":{"namespace":"Alexa.Authorization","name":"AcceptGrant","messageId":"ef50735b-c3ab-4de1-a773-eb509497dc1d","payloadVersion":"3"},"payload":{"grant":{"type":"OAuth2.AuthorizationCode","code":"ANHiAPOFhqosejPesiXS"},"grantee":{"type":"BearerToken","token":"Atza|2JQkP9TKfKD6nCLjHaB8MH8RuWCnJSrifYWfMdkd1zob"}}}}
1:05:20 PM - [debug] [alexa-adapter:Alexa] CCHI received directive "Alexa.Authorization" "AcceptGrant" undefined
16 Dec 13:05:20 - [error] [alexa-adapter:Alexa] smarthome_post: oauth_get AcceptGrant
1:05:20 PM - [debug] [alexa-adapter:Alexa] accept_grant
1:05:20 PM - [debug] [alexa-adapter:Alexa] get_access_token evn
1:05:20 PM - [debug] [alexa-adapter:Alexa] get_access_token request with code
1:05:20 PM - [debug] [alexa-adapter:Alexa] get_access_token request {"grant_type":"authorization_code","code":"ANHiAPOFhqosejPesiXS","redirect_uri":"https://alexatest2.ddns.net/alexa/oauth"}
1:05:21 PM - [debug] [alexa-adapter:Alexa] CCHI get_access_token res {"req":{"method":"POST","url":"https://api.amazon.com/auth/o2/token","data":{"grant_type":"authorization_code","code":"ANHiAPOFhqosejPesiXS","redirect_uri":"https://alexatest2.ddns.net/alexa/oauth"},"headers":{"user-agent":"node-superagent/3.8.3","content-type":"application/x-www-form-urlencoded","authorization":"Basic YW16bjEuYXBwbGljYXRpb24tb2EyLWNsaWVudC41NmI5YzcyNDI4NTQ0MDI2YTZlNDE5YjBjOWQyM2EzOTphN2EwYjY5MGM4YjFhNDNlODkwYmQyYzZmMjY0NjM1NTFiYTQzMDkxOWVjMjk4ZGUwOGVkMWE1ODYyM2MzZmIy"}},"header":{"server":"Server","date":"Thu, 16 Dec 2021 18:05:21 GMT","content-type":"application/json;charset=UTF-8","content-length":"656","connection":"close","x-amz-rid":"4FVHGBW1GRA8YJG7A1BS","x-amzn-requestid":"df3f2684-48ac-41eb-9bc7-3fba070565c4","x-amz-date":"Thu, 16 Dec 2021 18:05:21 GMT","cache-control":"no-cache, no-store, must-revalidate","pragma":"no-cache","vary":"Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent","permissions-policy":"interest-cohort=()"},"status":200,"text":"{\"access_token\":\"Atza|IwEBIGjTdoxblOzOBFZ0CkwR7q2PSirJXBr74oQnCUXfpaWcqT8dy81Be4V2bbbraVApl7FTDAzO-wd-jIjDmNX-bjYuYcwQcjr1VwY3VJIj2W6RAt40KqWUQPexs0cZZEl1rH9E62tW4Otw_2oWuN8gmcnQDtiBjk8MXFpWfzI6JCESvX5oPYE8kwGG1CFue9eDoUDZ10xDFJ61LQiZbeMA_E5VMxH6rdbedF2oCr1ADo7HvUQALvkCr4EN3JP_m0pNp9Hzvu8SNZLFOnqu8SJ7o8da\",\"refresh_token\":\"Atzr|IwEBIHxNtAXphsdL0K2xRqpEoGcMcT_S5i5QJTJN5RTyVX5T_J8rT7ZEnOBwWdaTE_IZm49ZdIcv68ejgzUsnsWsXBK2RwP0TqS9PX15pncd3VTVorudXNavi3W4A2p8QIueLrAi8QY8zlSmf-6FzV0ypMQr9UKdNGqy4Y2HgYc5xkipZExjff0Cd64tmoo0-Chaw1n8Oin6XGm3vgOvfKvVJUOl9TReihe2P94Hx_mBYQAPk-JEg8MmAMvFh17bt6bhDQ4wrqea1adfVILKvOPwvqVG\",\"token_type\":\"bearer\",\"expires_in\":3600}"}
1:05:21 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens
1:05:21 PM - [debug] [alexa-adapter:Alexa] writeJson: filename /home/pi/.node-red/alexa-tokens_b6996b92647b12f3.json
1:05:21 PM - [debug] [alexa-adapter:Alexa] writeJson: tokens saved
1:05:21 PM - [debug] [alexa-adapter:Alexa] get_access_token tokens evn saved
1:05:21 PM - [debug] [alexa-adapter:Alexa] accept_grant tokens evn OK

共有1个答案

陈允晨
2023-03-14

好吧,所以我撒谎了。它不完全是t。我为自定义命令启用了一个设置。有了这个,我需要建立技能,以便它能够注册帐户。请参见以下帖子:

培养技能

 类似资料:
  • 我即将为Alexa开发我的第一项定制技能。我没有回声设备。 我所做的是用amazon开发者控制台(Alexa skill Lambda)创建和测试一项基本技能。 现在我有一些一般性的问题: 1) 这真的是你开发和测试定制技能的方式吗?我的意思是,这不是真正的用户体验,可以测试。您必须输入文本并分析JSON请求/响应。所以,不可能进行实际的端到端测试? 2) 在Amazon开发者控制台中完成开发阶段

  • 1.1. 符合 RFC6749 的 OAuth2.0 1.2. 基本接口 1.3. AuthorizationCode 颁发 1.4. Authorization Response 1.5. AccessToken 接口 1.6. AccessToken Response 1.7. 预注册参数 1.8. 其他授权方式 1.1. 符合 RFC6749 的 OAuth2.0 若琪智能家居技能授权支持符

  • 1. 智能家居技能 1.1. 概述 1.2. 包含技能 1.3. 使用方法 1.1. 概述 对于合作的音箱产品, 要使用 Rokid 智能家居语音,除了配置好智能设备, 还需要拥有智能家居技能的使用授权。 1.2. 包含技能 技能名称 技能描述 说法举例 Rokid 智能家居云端 用于设备控制 开灯、打开客厅灯、打开全部灯、你能控制什么设备... Rokid 家庭电视云端 用于电视频道控制 我要看

  • 我们正在研究使用GoogleOAuthAPI进行帐户链接的Alexa技巧。Alexa技能的一切都很好。 现在,当我们使用帐户链接使用谷歌帐户。在OAuth同意屏幕上,当Google API应用程序类型选择为internal时,会显示正确的详细信息,即选择一个帐户继续{Application Name}。但是当应用程序类型被选择为Public时,它会显示错误的详细信息,即选择一个帐户继续{amazo

  • 我正在尝试为alexa设置视频技能,但是我不知道如何使用视频api播放视频。 我试着搜索“alexa技能蟒蛇视频api”,但我只是得到了alexa技能工具包的链接。我也尝试阅读python sdk留档,但没有帮助。看来你得发个指令什么的。 目前我有 注意:当我检查留档时,它说你必须有视频网址,所以假设视频网址在一个叫做video_url的变量中。更多细节:自定义技能(没有视频应用模板或视频技能的交

  • 我技能的一个目的是为用户显示或读取大量记录;我想把这个意图的反应写出来 例子: 用户:系统中有多少公告 亚历克斯:有6个。前4个是(公告1、公告2、公告3、公告4) 你想听更多吗? 用户:是 接下来的两个公告是(公告5,公告6)