NodeJS http endpoint for Sky+ / SkyQ control over LAN

Post Reply
User avatar
Marci
Posts: 521
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

NodeJS http endpoint for Sky+ / SkyQ control over LAN

Post by Marci » Thursday 15 February 2018 20:47

See https://github.com/PatchworkBoy/sky-remote-web

Code: Select all

git clone https://github.com/PatchworkBoy/sky-remote-web.git
cd sky-remote-web
npm install
node sky-remote-web.js
...launch at boot or daemonize via forever / pm2 / systemd (however you like to do such things).

Test by visiting http://domoticzip:27592/ in a browser - populate IP box in top left corner with IP address of your SkyQ box, then use the visual remote to control your Sky box.


For use in Domoticz:
Create dummy switches with 'on' action set to

Code: Select all

http://127.0.0.1:27592/control/?ip=sky.ipa.ddr.ess&command=pause
(replacing sky.ipa.ddr.ess with IP Address of the Skybox you wish to control with that button, and pause with any command from the list below)


Available Commands
  • power
  • select
  • backup
  • dismiss
  • channelup
  • channeldown
  • interactive
  • sidebar
  • help
  • services
  • search
  • tvguide
  • home
  • i
  • text
  • up
  • down
  • left
  • right
  • red
  • green
  • yellow
  • blue
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • play
  • pause
  • stop
  • record
  • fastforward
  • rewind
  • boxoffice
  • sky
Mapping to individual switches rather than selector switches will allow voice integration via various methods (eg: for Siri control, using homebridge + homebridge-edomoticz)
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!

simon_rb
Posts: 689
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: NodeJS http endpoint for Sky+ / SkyQ control over LAN

Post by simon_rb » Monday 26 February 2018 22:12

Wicked, I am thinking of joining Sky!

Great to see your still releasing great code

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests