[RELEASE] X10 - lights (Domotica Commander) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] X10 - lights (Domotica Commander) (/showthread.php?tid=110392) |
- Shoop_NL - 2012-02-28 nelsonamen Wrote:can this be implemented or installed on openelec or xbmc live? You can install the x10commander-server on the same computer as where you have installed XBMC. I have a Windows 7 setup with everything on one PC But as far as I can see, OpenELEC = Linux based so... I do not know if X10-commander is available on Linux, check the melloware website for that - nelsonamen - 2012-02-28 I think it supports http://melloware.com/products/x10commander/ Linux/Unix Support: Heyu server software and a X10 Shell Script installed on your Linux box. only windows 7 (easy) the two together windows 7 with openelec (easy) only openelec or xbmc live (seems to be very difficult) anyone can do it? V0.0.6 alpha - Shoop_NL - 2012-03-04 Martin75a Wrote:Yes it looks almost the same as your example above. Martin75a, I was not able to make a HTTP commandline function yet. However based on your information above, I have added Switch King as an application to X10-commander light. If you configure with the pre-definde settings (ON/OFF/DIM/BRIGHT) it will send the correct URL to switch king You can also choose for free commands, and then you can define whatever command you want (this is now available to all application X10-Commander, Homeseer, etc...). So if you want to create something like this Code: http://servernamn:8800/devices/{id}/dim/{level} Go to the event you want to configure (XBMC Events/PLAYER Events), Enable the event you want to configure, Select the Free definable action Then you get 2 fields available: -command, here you fill out: dim -value, here you fill out the level you want to give with the command e.g.: 35 In combination with the settings under Host and Devices a url will be created like: Code: http://servernamn:8800/devices/{id}/dim/{level} IMPORTANT: The Device ID under the device settings, does NOT have to be an X10 address like A1, It can also be something like: Living room, wall So you can fill out the name used in switch king. I have made an alpha version of this, which you can download here: V0.0.6 alpha There is no manual available yet, it is also not tested fully yet. V0.0.6 alpha - Shoop_NL - 2012-03-05 As of now version V0.0.6 alpha is released. Changelog: - Added: Enable/Disable of Events - Added: Free or predefinded commands per Event - Added: Switch King - Updated: [CORE] Selection function to handle Free commands - Updated: [CORE] Application functions to handle Free commands (This release is Untested and Undocumented) - Martin75a - 2012-03-06 Shoop_NL Wrote:As of now version V0.0.6 alpha is released. One quick question. Did you remove the { } signs around ID ? I did not manage it to work. The exact code should look like Quote:http://192.168.1.135:8800/devices/35/dim/50It was rather late yesterday when I tested so maybe I did something wrong, I will try again tonight. Thanks - Martin75a - 2012-03-06 OK I've tested a bit more now and could not get it to work. Either it is the { } character or maybe that SK seems to require a username and password to connect through http This works in a web browser. Code: http://User:[email protected]:8800/devices/35/dim/100 I use wget for HTTP commandline funktionality, Is this possible for you? http://www.gnu.org/software/wget/ - Shoop_NL - 2012-03-07 Martin75a Wrote:OK I've tested a bit more now and could not get it to work. I can build up a URL as you request. The { } sign are NOT in the URL. I will update and send an updated release V0.0.6 alpha updated - Shoop_NL - 2012-03-07 Martin75a Wrote:OK I've tested a bit more now and could not get it to work. I have added a security option with user and password. You can find it under Configure -> Host There you can enable application security. two new fields will become available, Username and Password. Furthermore I have added the URL to the logging. This way you can see what URL will be send to Switch King. You can find the entries it in the XBMC.log file V0.0.6 alpha updated. - Martin75a - 2012-03-08 Thanks, I tested the new version and still have problems. I can't find the URL in the XBMC.log file. Maybe I missed something. Any idea or is there more info you need? This is from the XBMC.log file. Quote:16:39:09 T:6584 NOTICE: X10-Light: ******************* X10-Light ******************* - Shoop_NL - 2012-03-08 Martin75a Wrote:Thanks, I tested the new version and still have problems. I can't find the URL in the XBMC.log file. Maybe I missed something. Yes the URL will be logged. However you have a fail, if the Fail routine is called the URL will not be writtenin the log file. Can you Ping the IP adres: 192.168.1.135 from the machine where XBMC is running on/ it looks like this server cannot be reached. - Martin75a - 2012-03-08 Shoop_NL Wrote:Yes the URL will be logged. Yes I can ping and get answer from 192.168.1.135. I can also send the command from a web browser and wget and it works. Is it possible to log the exactly command line that is sent from X10-Light (XBMC) to switch king? I mean to be sure that it really becomes Quote:http://User:[email protected]:8800/devices/35/dim/10And I have change the User and pass in my file. V0.0.6 alpha updated - Shoop_NL - 2012-03-08 Martin75a Wrote:Yes I can ping and get answer from 192.168.1.135. I can also send the command from a web browser and wget and it works. OK, I have update the V0.0.6 Alpha now it will always log the URL before it is send. V0.0.6 alpha updated. - Martin75a - 2012-03-09 Shoop_NL Wrote:OK, I have update the V0.0.6 Alpha now it will always log the URL Thank you. It is exactly the right command sent from X10-Light when it fails. If i copy it from the log file and paste it in the web browser it works and return. Quote:<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">OK</string>Any idea? - Shoop_NL - 2012-03-10 Martin75a Wrote:Thank you. It is exactly the right command sent from X10-Light when it fails. No, not yet. I will try to setup Switchking with teldus And see if I can find some answer. However for my work, I wil be away for the next 6 weeks. So it can take a while before I find something. - Martin75a - 2012-03-11 Shoop_NL Wrote:No, not yet. Thanks a lot. |