node-roku find roku devices (by Garciacom)
Find any roku device connected to your internet network, easy and fast, just scan and save to json file so you don't need to scan everytime, then you can controll anything from POST enjoy and support this proyect.
Web: garciacom.net
Twitter: Garciacom_
Facebook: Garciacom
Functions:
// examplevar Roku = ;Roku
Installation:
$ npm install node-roku --save
After you find you roku ip you can send a POST request to any of this to do magic with you roku.
http://192.168.1.*:8060/keypress/homehttp://192.168.1.*:8060/keypress/Revhttp://192.168.1.*:8060/keypress/Fwdhttp://192.168.1.*:8060/keypress/Playhttp://192.168.1.*:8060/keypress/Selecthttp://192.168.1.*:8060/keypress/Lefthttp://192.168.1.*:8060/keypress/Righthttp://192.168.1.*:8060/keypress/Downhttp://192.168.1.*:8060/keypress/Uphttp://192.168.1.*:8060/keypress/Backhttp://192.168.1.*:8060/keypress/InstantReplayhttp://192.168.1.*:8060/keypress/InfoBackspacehttp://192.168.1.*:8060/keypress/Searchhttp://192.168.1.*:8060/keypress/Enterhttp://192.168.1.*:8060/keypress/Lit_*
Get the list of apps in you roku the following url will return xml data with all apps each app has id this is very important.
http://192.168.1.*:8060/query/apps
Get app icon 12 is the app id
http://192.168.1.*:8060/launch/12
Launch Roku app remember 12 is the id
http://192.168.1.*:8060/launch/12