This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:internetofthings:iotaiuto_skill [2020/09/28 17:30] – [Creare una skill iotaiuto] scipio | projects:internetofthings:iotaiuto_skill [2020/10/01 11:34] (current) – [AWS] scipio | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| participant " | participant " | ||
| participant "skill AWS iotaiuto" | participant "skill AWS iotaiuto" | ||
| - | participant "db users" as cloud order 40 #00FFFF | + | participant "cloud iotaiuto" as cloud order 40 #00FFFF |
| - | participant " | + | participant "reverse |
| participant " | participant " | ||
| Line 46: | Line 46: | ||
| - | ===== API ===== | + | ===== Flusso dati ===== |
| - | ogni comando che arriva da ' | + | ogni comando che arriva da alexa si traduce in una richiesta verso la skill ' |
| * event | * event | ||
| * context | * context | ||
| Line 58: | Line 58: | ||
| TODO | TODO | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| Line 67: | Line 70: | ||
| </ | </ | ||
| + | ===== Cloud iotaiuto ===== | ||
| - | ===== AWS ===== | + | Questo webservice REST offre i parametri di funzionamento del servizio lambda |
| + | test funzionali (cd / | ||
| + | * make test-token: verifica la validità del token | ||
| + | * make test-user: torna i dati relativi all' | ||
| + | ===== AWS ===== | ||
| * AWS account root user: amazon@csgalileo.org | * AWS account root user: amazon@csgalileo.org | ||
| * IAM user: https:// | * IAM user: https:// | ||
| + | * ID: 049753375854 | ||
| + | * username: stefano.scipioni | ||
| + | * region: Europa (Irlanda) eu-west-1 | ||
| + | * [[https:// | ||
| + | |||
| + | * Alexa developer console: https:// | ||
| + | |||
| + | * lambda service: iotaiuto | ||
| + | |||
| + | I codici sorgenti sono in ~/ | ||
| + | |||
| + | visualizzare i log di lambda AWS | ||
| + | < | ||
| + | su - iotaiuto | ||
| + | make aws-log | ||
| + | </ | ||
| + | |||
| + | deploy del servizio lambda | ||
| + | < | ||
| + | su - iotaiuto | ||
| + | make aws-deploy | ||
| + | </ | ||
| + | |||
| + | test del servizio lambda: chiedere ad alexa " | ||
| ==== Creare una skill iotaiuto ==== | ==== Creare una skill iotaiuto ==== | ||
| Line 152: | Line 184: | ||
| In [DEVELOP.1] compile 3 redirect urls | In [DEVELOP.1] compile 3 redirect urls | ||
| + | |||
| + | In [DEVELOP.1] disable **Send Alexa Events** in Permission tab | ||
| Create access key from [AWS] -> " | Create access key from [AWS] -> " | ||