

block134
Executive Producers-
Content Count
14 -
Joined
-
Last visited
-
Days Won
1
block134 last won the day on September 16 2018
block134 had the most liked content!
Community Reputation
8 NeutralAbout block134

-
Rank
Newbie
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Any word on updates for Leia or is this project dead now?
-
Try this. Replace "hue":10000 in what I have in my post above with something like "hue":46920. This should give you a blue color. I dont have colored bulbs so I can't check. For more ideas on colors options you can try here. https://www.developers.meethue.com/documentation/core-concepts about half way down is the info about colors Supposedly HTML color names work as well so you could try these as well. https://en.wikipedia.org/wiki/Web_colors so something like "hue":green should work. Go ahead and test this and let us know how it works for you. If you need anything else feel free to ask
-
-
I will try to help you the best that I can. For the action files that you downloaded, you will need to edit them so they will work with Hue. Save the files somewhere where Kodi can have access to them. I have mine in a folder called "actions" which is in a folder with the rest of CV folders and files. The first thing you will need to do is find the ip address of the Hue Hub. You can use this to find the ip address of the hub. https://www.meethue.com/api/nupnp Once you get your ip address you will need to go here http://<bridge ip address>/debug/clip.html Change <bridge ip address> to the address of your hub. For example http://192.168.1.124/debug/clip.html This will open the Hue API page for your hub. On the Hue Hubs API page, you will see a line labeled "URL", make sure it says /api On the line labeled "Message Body" put in {"devicetype":"newuser"} Then push the link button on the Hue Hub. Within 30 seconds of pushing that, click on the button labeled "Post" on the Hubs API webpage. In the "Command Response" box you should get something that looks like this [ { "success": { "username": "IvLrovGs3so2zSIortEfEPYcH8dr8uJWR1k2trDL" } } ] Save the generated username in a text document, you will need it again. In this example my generated username is IvLrovGs3so2zSIortEfEPYcH8dr8uJWR1k2trDL. Now go back to the line labeled "URL" and change it to say /api/Genrated User Name Goes Here/groups Put your generated username where it says "Generated User name goes Here" Should look like this /api/IvLrovGs3so2zSIortEfEPYcH8dr8uJWR1k2trDL/groups Now click on the Get button, this will give you a response that will list your groups. If you don't have any groups you can create one in the Hue app on your phone. Groups will make it easier to control multiple hue bulbs at one time. Now open one of the cv action files so you can edit it. I am going to use Hue Trivia Lights for my example. You should a line in there that looks like this. http://<hue-bridge-ip>/api/<hue-bridge-user>/groups/<hue-light-group>/action PUT:{"on":true,"sat":255,"bri":160,"hue":10000,"transitiontime":30} Change the <hue-bridge-ip> to the ip address of the hue hub. Change the <hue-bridge-user> to the generated username we made. Change the <hue-light-group> to the name of the group you want to use. You should now have something that looks like this http://192.168.1.124/api/IvLrovGs3so2zSIortEfEPYcH8dr8uJWR1k2trDL/groups/Theater/action PUT:{"on":true,"sat":255,"bri":160,"hue":10000,"transitiontime":30} Save the file. Now go to Kodi and open the CV addon and open it. It should go to the screen you can set up the sequence. On mine, the first one is "Trivia action". Select edit and change the file path so it points to the file we just saved. Click on "Test" after you tell it where the file is at. If everything works correctly you should see your lights dim and get a new window that opens up and has a green "OK" which means the test worked. You can select no to "run abort action". It won't work until you set that up. Repeat the editing of the files for the rest of the actions you want to set up. After you save the files be sure to update the path locations for them in the CV addon. By using the actions files with CV you will not need any other addons to control your Hue lights when you use CV addon to watch movies. If you have problems or questions please ask and I will do my best to answer them,
-
Nice!!! Thank you.
-
That sounds about right!!
-
I would like to see an option to have CV play bumpers randomly by set. For example if you had the nineties tech pack and the molten stone pack and each pack was in its own folder then CV could randomly pick a bumper folder and play the bumpers in it.
-
I was board this morning and was looking at the thread for the Movie Poster program for streaming movie poster and thought that it might be neat if you have a way to run the CinemaVision add on at a specific time. Lets say wanted to watch a movie at 8 pm, with this you could tell Kodi to play the movie at 8 that and then the sequence you pre-setup would start at 8. The other half of what I was thinking was to see if to would be possible to have CinemaVision work with the programs that meyer64 has made (MoviePoster and TicketMaker). What I was thinking was that when you make a ticket the time you put on the ticket would be sent to CinemaVision to play the movie at that time and it would be sent to MoviePoster via Kodi to advertise the movie(s) at the times you want. Here is the link to meyer64's thread on AVSFourms http://www.avsforum.com/forum/32-theater-room-items-accessories/1439406-movieposter-virtual-movie-poster-display-software.html
-
Help us create some guides, with incentives!
block134 replied to Ragnarok's topic in General Discussion
Let me know what you need and when, happy to help!! -
Help us create some guides, with incentives!
block134 replied to Ragnarok's topic in General Discussion
I don't really have much time to help write a guide but I can help with reviewing, editing, and formatting if needed. -
fail script = abort action file
-
Trailer download option
block134 replied to filmscorererecordings's topic in CinemaVision Add-on Feature Requests
I would like to see the option to get trailers from http://www.hd-trailers.net/. They seem to have a good selection of trailers that go with my older movies and are better quality then the YouTube ones. I would also like to see the option that when the trailers are downloaded they can be added to the movie folder they belong to if that movie exists on the hard drive, if not then download to a fallback trailers folder. You might be able to use this addon http://forum.kodi.tv/showthread.php?tid=148400&page=6 or this one http://forum.kodi.tv/showthread.php?tid=185558 but it looks like they haven't been worked on in a few years. -
Here is another follow up I have. Everything is still working for me and I still don't know why it wasn't working the first day. I have also gotten the plugin to work, but I had to use a different one then I started with. The first one I was using was specifically for just dimming the lights and not changing the colors, I was never able to get it to connect the hub after had it auto discover the ip address and api key. The one that works for me is the one does the ambilight and the dimming in the same addon. I was also able to get the cvaction files to work for me in order to disable and re-enabling the hue light addon. One thing I noticed was that if I stopped the movie early that hue addon never started again. My fix for this was to add the re-enable script to my fail script so CV will run both when I stop a movie before it ends.
-
Not sure what happened but after turning the kodi computer and the Hue hub on this morning everything started working.
-
I just got a Philips Hue Lux and and I am having problems getting it to work with CinemaVision. When ever I try to test the action file I get an error in the log it doesn't do anything with my lights. I have used the same command that is in the action file in the CLIP API debug tool and the command works with that so I know the address, API key, and command is correct. This the error in the log, if you need the entire log I can post that as well. 14:25:29 T:6612 NOTICE: Thread LanguageInvoker start, auto delete: false 14:25:29 T:6612 NOTICE: -->Python Interpreter Initialized<-- 14:25:29 T:6612 NOTICE: [- CinemaVision -]: Passed args: ['addon.py', 'test.actions', 'PAUSE'] 14:25:29 T:6612 NOTICE: [- CinemaVision -] (API): Rating Systems: 14:25:29 T:6612 NOTICE: [- CinemaVision -] (API): MPAA: [NR, G, PG, PG-13, R, NC-17] 14:25:29 T:6612 NOTICE: [- CinemaVision -] (API): FSK: [18, 16, 12, 6, 0] 14:25:29 T:6612 NOTICE: [- CinemaVision -] (API): DEJUS: [18 Anos, 16 Anos, 14 Anos, 12 Anos, 10 Anos, Livre] 14:25:29 T:6612 NOTICE: [- CinemaVision -] (API): BBFC: [R18, 18, 15, 12, 12A, PG, U, Uc] 14:25:29 T:6612 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'NoneType' object has no attribute 'decode' Traceback (most recent call last): File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.cinemavision\addon.py", line 52, in <module> settings.testEventActions(args[0]) File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.cinemavision\lib\settings.py", line 233, in testEventActions cvutil.evalActionFile(path) File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.cinemavision\lib\cvutil.py", line 233, in evalActionFile abortPath = kodiutil.getSetting('action.onAbort.file').decode('utf-8') AttributeError: 'NoneType' object has no attribute 'decode' -->End of Python script error report<-- I also cant get the XBMC Philips Hue addon to work so I am not sure what I am doing wrong. Might be something with the firmware on the hub or my network. For the Hue addon it will detect the address and API key when I press the link button but fails and wont connect.