ndg63276 / alexa-sky-hd

A smart home skill for Alexa to control a Sky+HD or SkyQ box
33 stars 15 forks source link

How to set this up in a sky multi room way #18

Closed wadoadi closed 3 years ago

wadoadi commented 3 years ago

Can this be extended to support sky multiple devices on the one network or do I need to do 2 installs?

also re routines how would I add a routine, or change the code, so that always send a "dismiss" after power on?

wadoadi commented 3 years ago

I followed setup a second time and gave it a different name e.g. SkyBedroom this is now working. would be great if it could be done via a single skill!?

if like me you want the sky to turn on and not be in the guide I have this working by adding the following line: if request_namespace == "Alexa.PowerController": response_name = "powerState" if request_name == "TurnOn": commands.append('sky') value = "ON" commands.append("backup") else: commands.append('sky') commands.append('power') value = "OFF" properties = [ { "namespace": "Alexa.PowerController", "name": "powerState", "value": value, "timeOfSample": get_utc_timestamp(), "uncertaintyInMilliseconds": 500 } ]