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!
If you are running OpenHAB you can easily integrate with a one line HTTP GET in an action file. This is a very basic method but could get you up and running within a few mins. Example:
Create a file named lights_before_trivia.txt
Place this line in the document and replace with the following information:
INSERT_LAN_IP = The IP of your OpenHAB server
INSERT_PORT = The Port in which your OpenHAB server is on
NAME_OF_DIM/SW = Put the name of the Switch or Dimmer you want to send the command to Example: Light_HomeTheater_Back_Sw
VALUE = If your sending to a SWITCH use either ON or OFF, if you are sending to a DIMMER use any value between 0 - 100.
Example:
Save the file and place in your actions command folder on your Kodi system where you have the CinemaVision folders. Then within the Sequence editor add the action. In the example above I placed this right before the trivia slides start. Once you place the action in, point it to your newly created .txt file. Save your sequence and run it, your lights should now react within the sequence.
** NOTE: If you have security enabled within OpenHAB you will need to add an additional line to your action file. The 2nd line in the action file will need to be the following:
HEADERS: {"Authorization": "Basic=XXXXX"} - You can generate the Basic=XXXX by using the Postman plugin for Chrome. Using Postman you can place in your user credentials and the header line will generate for you. You can than place this within the header line and you will than be able to send your JSON request lines with authorization turned on. Here is an example of how the action file can look
** NOTE:Currently when sending a new brightness the dimmer will be a quick change and not a gradual.** Currently working on a smoother dim which might be done using a rule, but if you want to be up and running with OpenHAB quick heres one way to do it. I'll post my working example of a smoother dim once I have it.
Edited by DexDeadlyuse the code button to avoid formatting
Share this post
Link to post
Share on other sites