You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Platform status

PlatformBuild supportPush-to-talkHands Free

Wake-Word-Engine

(Supported)

Alert SoundsLEDGeneral SkillRDK Specific Skill
RaspberryPiCompleteT4H BLE RCUUSB MICKitt.AiAvailable

Traffic Light LED

IntegratedIntegrated

Video accelerator

(VIP5202w)

CompleteT4H BLE RCUN/ANot requiredAvailableOnboardIntegratedIntegrated

Feature List

FeatureHandlerHow to?
General skillsAlexaAudio will be played for generic skills such as time, news and weather
YoutubeAlexa → CobaltVoice command will be routed to thunder
App LaunchAlexa → UXVoice command will be routed to thunder
Google searchAlexa → UXInteractive command handled by Alexa and routed to thunder
Player controlsAlexa → AppPlay/pause/back commands routed to app

Build instructions

Alexa related recipes are bundled inside meta-rdk-voice/recipes-avs and contains below build targets

RecipeFunctionalityCurrent status
openblasRecipe required in case of Wake-word-engine mode is selected.CMF Hosted
wpe-alexa.bbMain recipe for downloading the AVS SDK and its compilation, linking it with RDK skill mapping module.CMF hosted


1. Initialize and download the code base
 - Example for RaspberryPi:
 $ repo init -u https://code.rdkcentral.com/r/manifests -m rdkv-nosrc.xml -b thunder-next
 $ repo sync

2. Download the meta-rdk-voice layer in project root
 $ git clone https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-voice

3. Add to BBLAYERS
 $ vi meta-rdk/conf/bblayers.conf.sample
 BBLAYERS += "${@'${RDKROOT}/meta-rdk-voice' if os.path.isfile('${RDKROOT}/meta-rdk-voice/conf/layer.conf') else ''}"

4. Optionally if wanted to use MIC based implementation (Ignore if using BLE voice remote)
 $ vi meta-rdk-voice/conf/layer.conf
 - enable the below commented line
 #DISTRO_FEATURES_append = " alexa_ffv"

5.Build the image target
 - Example for RaspberryPi
 $ source meta-cmf-raspberrypi/setup-environment
 ### select meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-thunder.conf ###
 $ bitbake rdk-generic-hybrid-thunder-image

Customization

Mapping to amazon developer account

Please refer the wiki link AVS Developer Account and Skill Creation Guidelines for RDK for creating a developer account.

Modify below section to map with relevant developer account.

1. Login to the device
 $ ssh root@<RDKV-Client-IP>

2. Edit the Configuration file
 $ cd /home/root
 $ vi Alexa_SDK/Integration/AlexaClientSDKConfig.json
     "deviceInfo":{
        // Unique device serial number. e.g. 123456
        "deviceSerialNumber":"<SERIAL_NO>",
        // The Client ID of the Product from developer.amazon.com
        "clientId":"<CLIENT_ID>",
        // Product ID from developer.amazon.com
        "productId":"<PRODUCT_ID>",
        // The name of the device manufacturer.
        "manufacturerName": "<MANUFACTURER_NAME>",
        // The description of the device which should contain the manufacturer name or how the device is connected.
        "description": "<DESCRIPTION"
    },

LED Support

Prerequisite : Alexa Client uses IOConnector plugin to set different LED notifications, so IOConnector need to be enabled for the platform

https://github.com/rdkcentral/ThunderNanoServices/tree/master/IOConnector

$ cd /home/root
$ vi Alexa_SDK/Integration/AlexaCurl.json
Set below GPIO to appropriate value
   "PinOne":"115",
   "PinTwo":"122",
   "PinThree":"115"

Architecture & Flow diagram

Advantages

  • Configurable to support different device profiles (FFV, Push-to-talk).
  • Most of the new skills can be dynamically added without modifying the client code.

Scope of improvement

FeatureStatus
Context specific functionalitiesIn progress
Multi room MusicOpen
Integration with other Alexa productsOpen
Smart Screen integrationOpen

Alexa user guide

Introduction

This Feature consists two mode "general mode" and "skill mode" in the general mode you ask general quires (ex: time , weather ,news)in the skill mode you can launch applications ,navigate and other functionality. you can to switch from the general mode to skill mode by using steps in the section "skill invocation enable"
and you can switch back to general mode using following the steps in the section "skill invocation disable". by default when device is booted it will be in the general mode


Note :click on the mic button on the RDK tech4home remote and give voice command and release the button

a) General Usage
ex:  1) User: what is the the time?
          Alexa: respond with current time
      2) User : what is the weather outside ?
          Alexa: it will ask for you location
          User: if give the Location
          Alexa: respond with the climate in the current location.


b) Skill Invocation Enable

       User: My Device
       Alexa: repond with "how can i help you"
       User : innocation enable
       Alexa : respond with "invocation enabled"


c) Skill Invocation Disable

       (note :it is done when skill mode is already enabled to switch back general mode )

       User: innocation disable
       Alexa: respond with "invocation disabled"

d) Launching Metro Applications

ex :  1) launching radioline application

          User: radioline
          Alexa : respond with "radioline" by launching the application

          User : metro or main UI
          Alexa: respond with "main ui" by switch UI to main


       2) launching WallStreetJournal application

          User: WallStreetJournal
          Alexa : respond with "WallStreetJournal" by launching the application

         User : metro or main UI
         Alexa: respond with "main ui" by switch UI to main

  • No labels