NodeJS http endpoint for Sky+ / SkyQ control over LAN

Moderator: leecollings

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

NodeJS http endpoint for Sky+ / SkyQ control over LAN

Post by Marci »

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: 612
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 »

Wicked, I am thinking of joining Sky!

Great to see your still releasing great code
rumcooler
Posts: 2
Joined: Saturday 09 April 2016 0:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by rumcooler »

Hello to everybody
Sorry 4 my English ...
your code is fantastic!!! I can switch off/on the decoder. this Is great.
But I have a problem with change channel ...
Can you help me???
For example I want set channel 200 on my SkyQ
I try with this url: http://127.0.0.1:27592/control/?ip=192. ... ommand=200
but doesn't work ...
What's the correct url?

Another question: it's possible check if the SkyQ is already on?
Thank you
Fabio
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest