ndg63276/alexa-sky-hd

Question re 1) Radio channels beginning 0 and 2) Netflix

Closed this issue · 1 comments

  1. I would like to set up something that would let me use the Radio Scotland channel (0116) on my SKY q box - On examining the Scene set up for Netflix I managed to edit the series of keystrokes to do this.
    I guess I just need to copy the relevant parts of the Lambda file to add a new scene with a different name (though I may just use the existing one edited given the problem highlighted in 2) below

  2. I'm finding that apps aren't in a consistent position on the home screen so your Netflix/spotify/youtube scenes don't work consistently so i'm trying scrolling down to Apps (10 'down' ) a 'right' into the apps list and 4 downs to Entertainment but can't seem to get anywhere after the 10 downs. I have tried adding sleeps - is there a limit to adding commands?

I have inserted two additional Scenes (after discovering the names need to be lower case!) to :-

  1. Change channel to 0116; and
  2. Wake the box up and change to channel 501.

Code snips below in case it is useful for someone


{
        "applianceId": "skyq-radioscotland",
        "manufacturerName": "Sky",
        "version": "1",
        "friendlyName": "RadioScotland",
        "description": "RadioScotland scene via Sky Q",
        "isReachable": True,
        "displayCategories":["SCENE_TRIGGER"],
        "actions": [
            "turnOn",
            "turnOff"
            ],
        "cookie": {}
    },
    {
        "applianceId": "skyq-wakeup",
        "manufacturerName": "Sky",
        "version": "1",
        "friendlyName": "WakeUp",
        "description": "WakeUp scene via Sky Q",
        "isReachable": True,
        "displayCategories":["SCENE_TRIGGER"],
        "actions": [
            "turnOn",
            "turnOff"
            ],
        "cookie": {}
    },

        elif endpointId == "skyq-radioscotland":
            if request_name == "Activate":
                commands=['0','1','1','6','select']
                name = "ActivationStarted"
            if request_name == "Deactivate":
                commands.append('sky')
                name = "DeactivationStarted"
        elif endpointId == "skyq-wakeup":
            if request_name == "Activate":
                commands=['home','sleep','backup','sleep','5','0','1','select']
                name = "ActivationStarted"
            if request_name == "Deactivate":
                commands.append('sky')
                name = "DeactivationStarted"