- 0
Sign in to follow this
Followers
0

How to encode cvaction file for ISY (works in Open Elec)
Asked by
mguebert
About Us
CinemaVision began in 2014 as a collaboration to create content for use with your home theater, offering movie trivia slides and video bumpers. It has since grown to be THE PREMIER WAY to create and customize your preshow experience. Download the CinemaVision add-on for Kodi today from the official Kodi repository, and easily create a sequence of trivia, videos, trailers, home automation triggers and more that will bring the experience of a movie theater straight to your screen!
I struggled for a time trying to get this working, with a lot of help from DexDeadly, Ragnarok, and Winchy I got it working with authorization
First using the postman plugin format a test url command such as http://1.1.1.1/rest/nodes/22222/cmd/DON
Select get in the url header and below that under authorization select basic auth. Input your username and password. Select send to test if the command works. If it does press the </> button and it will generate the authorization hash. copy it into a HEADERS command such as this
http://1.1.1.1/rest/nodes/22222/cmd/DFOF
HEADERS: {"Authorization": "Basic= xxxxxxxxxxxx"}
Note the spaces in the headers portion and the capitalization. These do matter.
The 22222 would be a scene in the isy your controlling
http://1.1.1.1/rest/nodes/22222/cmd/DFOF would turn scene 22222 off
http://1.1.1.1/rest/nodes/22222/cmd/DFON would turn scene 22222 on
http://1.1.1.1/rest/nodes/22222/cmd/DOF/128 would turn scene 22222 to 50% brightness
If you want to control modules directly the command needs %20 for any spaces in the url
http://1.1.1.1/rest/nodes/2 2 2 1/cmd/DFON would be the url in a browser where 2 2 2 1 is module 2 2 2
to get it to work in the cvaction file the spaces must have %20 in them
http://1.1.1.1/rest/nodes/33%2033%2033%201/cmd/DFON would turn on module 33 33 33
I hope this helps
Share this post
Link to post
Share on other sites