(2013-06-28 10:59)Shoop_NL Wrote:(2013-06-26 22:04)finalcut62 Wrote:(2013-06-26 18:59)Shoop_NL Wrote: I have added your suggestions to the wish list
My remarks to your suggestions are;
1) for item 1 xbmc should always be running, else the add-on will not be active
2) Can you explain (or give an example) what you mean by this?
Re 1): yes, XBMC is the main machine that is always running. As this is becoming the central system controlling most of the other devices, keeping it running only makes sense. For instance, I would like XBMC to turn off the beamer (IR) and the amp (also IR) after some idle time, and turn them on after detecting user activity (cursor movement, or even a client becoming active). I was running XBMC on a Raspberry, but performance was just a little too low. Now it's running on a nuc and it's doing just fine.
Re 2): With this I mean being able to activate a total 'light shutdown' after some idle time, saving energy. In my house, the home theatre is indeed a home theatre: it serves no other function as it is built in our cellar. The kids are really amazed by the lights turning off and on, but I like to make sure all electronic components get switched off. For this, I would need to send a separate command line function to either the IR blaster directly or through another device somewhere on the network.
Actually: I just thought that instead of your add-on being just for domotics, it could also very well be used as a universal XBMC extension framework for end users. I found building my own scripts WAY too hard for my capabilities, but would be capable of extending your work. I found little or no other addons that performed the same functions in such a structured and open way as your excellent script!!!
Additionally: Wouldn't it be cool to dim down to zero (instead of turning off) on 'play', simulating the lights turning down in the cinema when starting the movie? ;-)
Thanx for your info (these are very interesting ideas), it is clear to me now, I will see what I can do.
It sounds like you have a similar setup as me,I also have my new home Cinema in a seperate room, also the cellar ;-)
here you can see my old setup: home cinema slideshow
(which was intgrated in the bedroom)
Currently I am extending my home automation throughout my new house, for that I was planning to build a domotica server with Domoticz as control software for my device's.
Another limitation that the Add-on has, is that it is only able to configure 5 device's.
So I am currently trying to find out how I can extend the amount of devices dynamicaly.
(it is not so difficult to extend this amount to fixed value of 10 or 20 devices, but dynamically.....)
For your additional remark, all I can say is that I use the DIM to value 0 on the play event,and it Dims the lights form the value where they are to 0
(maybe this depends on the application you use, because they decide how the device is controled).
so this should already work, but you should not use the OFF command. on the play event.
You can even set a free command on the event, take a look at the manual.
Also for creating an add-on i just used the Reference documents  and  from the manual to create this add-on.
Ok thanx - I will look into it as soon as my vacation starts! Which might be in 2014. This is my setup, btw. Still waiting for some parts, but all in all it's getting pretty much to how I want it to be!