Manual - XBMC service.x10-lights (uk) R.dcx 1/18 Manual Majesticsft XBMC service.x10-lights Cpyright 2014 Majesticsft APPROVALS Majesticsft Name Signature Date Majesticsft N/A 26JAN14 manager Majesticsft N/A 26JAN14 Custmer name Name Signature Date Functin N/A N/A N/A Revisin Issue Date Revisin Descriptin 0a 16SEP11 Initial release 0b 18SEP11 Added additinal cnfiguratin settings 0c 20SEP11 Added HmeSeer Applicatin 0d 25SEP11 Updated HmeSeer Applicatin (remved usage f tenhsserver) 0e 25FEB12 Added On/Off Actins t Events (added tenhsserver) 1 25NOV12 Majr release (1 st versin) 1.0.1 21JUN13 Updated install (via zip file) 1.0.2 26JAN14 Added HmeGenie Updated Dmticz
Manual - XBMC service.x10-lights (uk) R.dcx 2/18 1. Table f Cntents 1. Table f Cntents... 2 2. Dcument cntrl... 3 2.1 Revisin Histry... 3 2.2 Dcument Distributin... 3 2.3 Dcuments... 4 2.4 Sftware... 4 3. Intrductin... 5 3.1 Purpse f this dcument... 5 3.2 The public cncerned... 5 3.3 Prerequisites... 5 3.4 Scpe... 5 4. Install... 6 5. Cnfigure and usage... 8 6. Knwn Issues... 13 7. Uninstall/Disable... 15 8. Advanced features... 17 8.1 Applicatin security... 17 8.2 Debugging... 17 8.3 Free Definable Actin... 18
Manual - XBMC service.x10-lights (uk) R.dcx 3/18 2. Dcument cntrl 2.1 Revisin Histry Date Details 16SEP11 Initial Release Majesticsft 0a 18SEP11 Updated chapters 5 and 6 Majesticsft 0b 20SEP11 Updated chapters 5 and 6 Majesticsft 0c 25SEP11 Updated chapter 5 Majesticsft 0d 25FEB12 Updated chapters 3, 5 and 6 Majesticsft 0e 25NOV12 Updated chapters 1, 2, 3, 4, 5 Added chapter 8 Majesticsft 1 21JUN13 Updated chapters 2, 3, 4, 5 and 7 Majesticsft 1.0.1 26JAN14 Updated chapters 2, 3 and 4 Majesticsft 1.0.2 Updated chapter 2 Majesticsft 2.2 Dcument Distributin Date Details 16SEP11 Internet 0a 18SEP11 Internet 0b 20SEP11 Internet 0c 25SEP11 Internet 0d 25FEB12 Internet 0e 25NOV12 Internet 1 21JUN13 Internet 1.0.1 26JAN14 Internet 1.0.2 Internet
Manual - XBMC service.x10-lights (uk) R.dcx 4/18 2.3 Dcuments Title Dcument reference [1] X10 ActiveHme http//www.x10.cm/activehmepr/activehme-pr.html [2] X10 Cmmander http//mellware.cm/prducts/x10cmmander/ [3] X10 Cmmands http//frums.x10.cm/index.php?tpic=21436.msg120624#msg1206 24 [4] X10 http get http//frum.mellware.cm/viewtpic.php?f=13&t=7718&start=0& hilit=http+get [5] XBMC http//xbmc.rg/ [6] XBMC services http//wiki.xbmc.rg/index.php?title=how- TO_Autmatically_start_addns_using_services [7] XBMC Add-n Develpers guide http//cde.ggle.cm/p/xbmc-gpdderintegratin/dwnlads/detail?name=xbmc%20addn%20develpers%2 0Guide%20-R7.pdf&can=2&q= [8] Send cmmands thrugh http via pythn http//frum.xbmc.rg/shwthread.php?t=101300&highlight=eventg (thanx t aptalca) [9] Player interactin (thanx t klabbe) hst+lights http//frum.xbmc.rg/shwthread.php?t=67546 2.4 Sftware Title Link [10] X10 ActiveHme SDK drivers (x10.cm) http//www.x10.cm/activehmepr/sdk/index.html [11] X10 Cmmander - server (Mellware) http//mellware.biz/dwnlad/warez/x10-server.zip [12] X10 Lights (XBMC service addn) http//dmtica.majesticsft.nl/x10-lights/service.x10-lights.1.0.2.zip [13] XBMC (release 12.3) http//xbmc.rg/dwnlad/ [14] tenhsserver (fr HmeSeer users) http//www.tenhlder.net/tenware2/tenhsserver/default.aspx [15] Switch King http//www.switchking.se [16] Thinking Hme http//www.alwaysthinking.cm [17] HmeWizard http//www.hmewizard.nl [18] Dmticz http//www.dmticz.cm [19] HmeGenie http//www.hmegenie.it
Manual - XBMC service.x10-lights (uk) R.dcx 5/18 3. Intrductin 3.1 Purpse f this dcument The purpse f this dcument is t explain hw t install and cnfigure the XBMC X10 lights () service ADDON. 3.2 The public cncerned Peple wh have the need fr simple dmtica cntrl when using XBMC and watching a vide. 3.3 Prerequisites One f the fllwing dmtica packages is installed n a PC (IP address is knwn) X10 cmmander (see reference s [10] and [11]) HmeSeer (with r withut tenhsserver installed (see reference s [14])) Switch King (see reference s [15]) Thinking Hme (see reference s [16]) Hme Wizzard (see reference s [17]) Dmticz (see reference s [18]) XBMC installed (we tested with XBMC 12.3) (see reference [13]) Dmtica device cmputer interface (we tested X10 with CM15pr, but any type supprted by X10 Cmmander, HmeSeer r what any f the ther sftware package s supprt, shuld wrk) 3.4 Scpe All tests were executed n a Windws 7 ultimate and Windws 8 Prfesinal platfrm (X10 cmmander, XBMC) The X10 cmmander was installed n a different system then XBMC, but this is nt mandatry. Usage is at wn risks X10 Lights () sends (simple) HTTP requests t Dmtica sftware Like Hmeseer and X10-cmmander, this makes it pssible fr the Add-On t cmmunicate t yur device s via this sftware.
Manual - XBMC service.x10-lights (uk) R.dcx 6/18 4. Install Make sure yu have dwnladed the service add-n, service.x10-lights.1.0.2.zip (see reference [12]) Fr this dcument we assume that the prerequisites (chapter 3.3) are met and the service.x10-lights.1.0.1.zip file is dwnladed n C\dwnlads. Remark If yu want t update with the zip file make sure the current Add-n (which shuld be te previus versin) is disabled, then fllw the actins belw. T install execute the fllwing actins Start Xbmc and g t System and Click Settings Click Add-ns Click Install frm zip file
Manual - XBMC service.x10-lights (uk) R.dcx 7/18 Brwse t the Add-n installatin file. Which in this example can be fund in C\dwnlads and Select service.x10-light.1.0.1.zip and Click Ok The add-n will be installed and started
Manual - XBMC service.x10-lights (uk) R.dcx 8/18 5. Cnfigure and usage Make sure XBMC is restarted, after the add-n was installed. Fr a gd explanatin f the cnfiguratin, we assume the fllwing X10 cmmander r HmeSeer is installed n a PC with IP address 192.168.1.100 The X10 Device ID f the Lamp mdule which shuld be cntrlled is M9 The HmeSeer Device we want t cntrl lks like T cnfigure execute the fllwing actins Navigate t System -> Settings Select, Add-ns.
Manual - XBMC service.x10-lights (uk) R.dcx 9/18 Select, Enabled Add-ns. Select, Services. The active Service add-ns will be shwn. Select, X10 Lights () Select, Cnfigure
Manual - XBMC service.x10-lights (uk) R.dcx 10/18 Type in, Under hst settings, IP and prt number f the PC where yur dmtica sftware is running n (e.g X10 cmmander) Chse the desired sftware yu have fr dmtica (e.g X10 cmmander) Remark If yu have X10 cmmander installed n the same PC as XBMC is installed, then the default IP address (127.0.0.1) shuld be already crrect. The prt number X10-Cmander 8086 (even if X10 screens says therwise) HmeSeer 80 (if HmeSeer is installed with a different prtnumber, then use that ne) Type in, Under Device 01 If yu want t make the Device active The address f the device yu want t cntrl, this adres depands n the sftware yu use fr dmtica, in ur example it is shwn fr X10 cmmander and the same if it was fr Hmeseer Settings per event, this shuld be dne t yur wn needs. Yu can set actins per device fr evry XBMC/PLAYER event (explained later) If yu have mre device s yu can d the same fr the ther devices (up t 5 devices are suprted) X10 Cmmander Remark When HmeSeer is used the X10 device id shuld be a cmbinatin f the Rm and Name as cnfigured in HmeSeer. (See beginning f this chapter with the HmeSeer cnfiguratin) HmeSeer
Manual - XBMC service.x10-lights (uk) R.dcx 11/18 Adjust device settings, Per event. Event active (n/ff) Free definable actin (n/ff) if Free definable actin ff then Actin can be selected(n/ff/dim/bright) if actin is dimm ir bright then Cmmand (t be filled ut) Value (t be filled ut) With free definable actin ff Remark When ON r OFF actins are used n an event, the accmpanying Percentage field will nt be visible.. With free definable actin n The add-n is nw cnfigured and ready fr use. Restart XBMC and play a vide, the next page explains what will happen t yur device s
Manual - XBMC service.x10-lights (uk) R.dcx 12/18 The fllwing will happen with the X10 Device when the Add-n is used XBMC EVENTS When XBMC starts Cntrl Device s 1 t 5 (if enabled) t the desired XBMC Start settings (default Dim 50%) When XBMC stps Cntrl Device 1 t 5 (if enabled) t desired XBMC Stp settings (default Dim 100%) PLAYER EVENTS When a vide starts Cntrl Device s 1 t 5 (if enabled) t desired Player Start settings (default Dim 50%) When a vide stps Cntrl Device s 1 t 5 (if enabled) t desired Player Stp settings (default Bright 50%) When a vide ends Cntrl Device s 1 t 5 (if enabled) t desired Player End settings (default Bright 50%) When a vide pauses Cntrl Device s 1 t 5 (if enabled) t desired Player Pause settings (default Bright 50%) When a vide resumes Cntrl Device s 1 t 5 (if enabled) t desired Player Start settings (default Dim 50%)
Manual - XBMC service.x10-lights (uk) R.dcx 13/18 6. Knwn Issues The fllwing issues are knwn 1. DESCRIPTION When started fr the first time and X10 cmmander is installed n a different PC the Add-n generates an errr. SOLVED This issue is slved since release V0.0.5 SOLUTION After cnfiguratin is dne, this shuld nt happen anymre.
Manual - XBMC service.x10-lights (uk) R.dcx 14/18 2. DESCRIPTION When stpping the XBMC stp event des nt wrk, this seems t be XBMC issue with the xbmc.abrtrequested event (which is advised when using service Add-Ons) and is nt slved yet. SOLVED This issue is slved since release V0.0.5 SOLUTION Install EventGhst and create a Stp XBMC event Script (when using X10 Cmmander) Script (when using HmeSeer)
Manual - XBMC service.x10-lights (uk) R.dcx 15/18 7. Uninstall/Disable T Unistall r Disable the Add-n execute the fllwing actins Navigate t System -> Settings Select, Add-ns. Select, Enabled Add-ns.
Manual - XBMC service.x10-lights (uk) R.dcx 16/18 Select, Services. The active Service add-ns will be shwn. Select, X10 Lights () Select, Uninstall t remve the Add-n r Disable t stp the Add-n but leave it installed n yur system. An alternative way t uninstall the Add-n, Remve the directry service.x10-lights Frm C\Prgram Files (x86)\xbmc\add-ns If cnfiguratins are changed then als delete the directry service.x10-lights Frm C\Users\[USERNAME]\AppData\Raming\XBMC\userdata\addn_data Where [USERNAME] = the user(s) under which yu have cnfigured the Add-n
Manual - XBMC service.x10-lights (uk) R.dcx 17/18 8. Advanced features Sme advanced features are available, here fllws a shrt explanatin f them 8.1 Applicatin security If yur Dmtica system require s lgin, yu can enable the security ptin Select applicatin Security, under Hst Settings. Fill ut username and passwrd. When the HTML request is made t yur dmtica system, this user name and passwrd will be used t validate n that system. 8.2 Debugging If yu need sme debugging, yu can enable the Applicatin Debugging ptin Enable Applicatin Debugging, under Hst Settings. The add n will nw generate lg lines in the XBMC lg files, which can be fund C\Users\[USERNAME]\AppData\Raming\XBMC\. Remark The XBMC lg files, will nly shw if yu have added a file called advancedsettings.xml in the fllwing directry C\Users\[USERNAME]\AppData\Raming\XBMC\ userdata\. The cntent f the file shuld be <advancedsettings> <lglevel hide="false">0</lglevel> </advancedsettings> Mre details n the advancedsettings.xml file can be fund n http//wiki.xbmc.rg/index.php?title=advancedsettings.xml
Manual - XBMC service.x10-lights (uk) R.dcx 18/18 8.3 Free Definable Actin If yu need additinal cmmands fr yur specific sftware package, ther then ON/OFF/DIM/BRIGHT then yu can use the Free definable actin Enable Free definable actin, under Device (this can be dne per event). Depending n yur sftware, yu can nw fill ut yur wn cmmand and a value, if needed If yu d nt need a value, just leave the field blank Mre pssibilities n Free definable actin shuld be fund in yur dmtica sftware dcumentatin.