[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) |
RE: [RELEASE] X10 - lights (Domotica Commander) - brazen1 - 2014-06-20 Wishlist - make it that my lights wouldn't turn when watching something during daytime Enable/Disable determined by system clock would be great. Can't tell you how many times I manually turn off lights in the daytime. Sadly, I've found the only function reliable is On/Off which is perfect. Dim/Bright (With or without Free Definable) often yields incorrect value for event. Imo, the reason why is because of the time it takes to execute the command(s). On/Off is 1 quick command allowing more commands to execute in succession. Dim/Bright is a succession of commands in increments which does not allow other commands to execute within the time period. Without getting too complicated: I use a Harmony remote turning my devices on including my TV for an XBMC activity. My devices consist of X10 Appliance Modules, IR543, CM19a using X10 Commander. XMBC start event = Device 1 (Lights) Off Device 2 (PC Monitor) Off Device 3 (Bass Shakers) On This works perfectly. XBMC start event = Device 1 (Lights) Dim 100% = Yes Device 2 Fails to execute Device 3 Fails to execute If I enter any Dim/Bright value for an event, the add-on is so busy executing the % increments, it bypasses the other commands. X10 Commander log shows Status, Queries, Send plc's correct although they did not execute since the CM19a was busy executing the % values instead and over road the other 2 device commands. It's like they get lost in the shuffle. I can watch my IR light on the CM19a. 1 flash for on or off. Multiple flashes and a lot of time executing a % value. I think if a 'Pause' value between executing devices and their events could be implemented, interaction would be improved. Maybe I'm the only user facing this limitation.....perhaps not? This is still a great add-on even if On/Off is all that works for me. Thank you for creating it. RE: [RELEASE] X10 - lights (Domotica Commander) - Znubbis - 2014-07-05 I had problems with logging on to my domoticz server with this addon, I dont know why but did a fix in the code. The Author is free to use it if he wants i have myself snagged it from here: http://www.voidspace.org.uk/python/articles/authentication.shtml Search for Code: X10CommanderRequest = urllib2.urlopen(URL + ActionData) Add the following before it, make sure its on the same tab space since python use that: Code: passman = urllib2.HTTPPasswordMgrWithDefaultRealm() After that go and disable login in the addon settings, you can rewrite the code more if you know python and remove the user:password@ further down but its easiest just to disable it for now. (Make sure you have the right user and password there first since this fix will still use whats written there) Hope this helps someone that has the same problem as I, I'm not sure if this is a better way o handle logins to http pages or not but the other way only gave me 401 errors. Peace! /Magnus RE: [RELEASE] X10 - lights (Domotica Commander) - ben9519 - 2014-07-16 Hi, I have some issues with the X10 - lights Domotica Commander First of all my setup: Raspberry Pi with Domoticz RFXcomm 433MHz transreceiver Intel NUC with Openelec 4.0.7 (XBMC) I installed the add-on manually because the zip file showed some strange error with "Afhankelijkheden komen niet overeen. neem contact op" So the add-on was working. Then I configured the add-on and added a device to the configuration. Started a movie and nothing happened with the lights so I reviewed the log files, and the XBMC log shows me this: 20:59:45 T:140133214963456 NOTICE: X10-Lights: *************** Handeling an Event ************** 20:59:45 T:140133214963456 NOTICE: X10-Lights: Event Type = P_Resume 20:59:45 T:140133214963456 NOTICE: X10-Lights: Domoticz, Dim lights with 20% converted to: 3 20:59:45 T:140133214963456 NOTICE: X10-Lights: Domoticz, URL: http://username:[email protected]:8080/json.htm?type=command¶m=switchlight&idx=12&switchcmd=Set%20Level&level=3 20:59:45 T:140133214963456 NOTICE: X10-Lights: Domoticz, The DIM Event Failed 20:59:45 T:140133214963456 NOTICE: X10-Lights: Event Device ID = 12 20:59:45 T:140133214963456 NOTICE: X10-Lights: Event Action = DIM 20:59:45 T:140133214963456 NOTICE: X10-Lights: Event Value = 20 20:59:45 T:140133214963456 NOTICE: X10-Lights: Event Free CMD = False 20:59:45 T:140133214963456 NOTICE: X10-Lights: ************************************************* 20:59:45 T:140133214963456 NOTICE: X10-Lights: PLAYBACK RESUMED 20:59:45 T:140131679852288 WARNING: CActiveAEStream::AddData - timeout waiting for buffer, paused: 0, cache time: 0.512000, free buffers: 0 20:59:51 T:140133214963456 NOTICE: X10-Lights: *************** Handeling an Event ************** 20:59:51 T:140133214963456 NOTICE: X10-Lights: Event Type = P_Pause 20:59:51 T:140133214963456 NOTICE: X10-Lights: Domoticz, Brighten lights with 80% converted to: 12 20:59:51 T:140133214963456 NOTICE: X10-Lights: Domoticz, URL: http://username:[email protected]:8080/json.htm?type=command¶m=switchlight&idx=12&switchcmd=Set%20Level&level=12 20:59:51 T:140133214963456 NOTICE: X10-Lights: Domoticz, The BRIGHT Event Failed 20:59:51 T:140133214963456 NOTICE: X10-Lights: Event Device ID = 12 20:59:51 T:140133214963456 NOTICE: X10-Lights: Event Action = BRIGHT 20:59:51 T:140133214963456 NOTICE: X10-Lights: Event Value = 80 20:59:51 T:140133214963456 NOTICE: X10-Lights: Event Free CMD = False 20:59:51 T:140133214963456 NOTICE: X10-Lights: ************************************************* 20:59:51 T:140133214963456 NOTICE: X10-Lights: PLAYBACK PAUSED Then I tried to copy the urls and paste it in Google Chrome. That worked well! Why is XBMC not able to execute this commands? Any ideas? RE: [RELEASE] X10 - lights (Domotica Commander) - ben9519 - 2014-07-17 Never mind got it working already. The changes in the add-on where applied after a reboot of the system. That was the trick. RE: [RELEASE] X10 - lights (Domotica Commander) - Shoop_NL - 2014-07-26 (2014-07-05, 22:14)Znubbis Wrote: I had problems with logging on to my domoticz server with this addon, I dont know why but did a fix in the code. The Author is free to use it if he wants i have myself snagged it from here: http://www.voidspace.org.uk/python/articles/authentication.shtml I will try to check this and if I find a similar problem I will add it to the new release, thanx for your info. (2014-07-17, 09:05)ben9519 Wrote: Never mind got it working already. That is good RE: [RELEASE] X10 - lights (Domotica Commander) - bifi36 - 2014-09-09 (2014-07-16, 11:17)ben9519 Wrote: Hi, I have a similar issue With similar log entries Also try the URL in chrome and switch turned off and on I hope it will be fixed in a future release RE: [RELEASE] X10 - lights (Domotica Commander) - sebastiaanwezen - 2014-09-10 (2014-06-20, 10:54)Drtran84 Wrote:(2014-05-05, 05:35)Shoop_NL Wrote:(2014-05-04, 22:09)brazen1 Wrote: Dependencies Not Met when installing 1.03 from a zip. for XBMC Gotham 13.2 still got Dependencies are not met when installing 1.03 from a zip, also changed the xbmc version in the addon.xml file to version 2.1.0 and 2.14.0 (see http://wiki.xbmc.org/index.php?title=addon.xml). we are now getting "Add-on does not have the correct structure". RE: [RELEASE] X10 - lights (Domotica Commander) - bifi36 - 2014-09-12 i found a workaround if Authenticate won't work (working with domoticz) in domoticz go to application settings en define your local network (for example 192.168.1.*) save your settings after that, disable authentication in the plugin and you got it working. (this only works if you got XBMC and domoticz working in the same subnet. RE: [RELEASE] X10 - lights (Domotica Commander) - Shoop_NL - 2014-10-09 I have just released V1.0.4 Add-On Manual Release notes 1.0.4 - 09OKT14 Kodi Ready - Added: LightWaveRF. - Added: fanart.jpg - Added: The directories lib, data and media to the resources directory. - Changed: [CORE] X10-Commander handling API calls via UDP Broadcasts. - Changed: default.py file name to addon.py - Fixed: Dependencies not met error in XBMC V13.x (Gotham). - Fixed: Addon does not have the correct structure error in XBMC V13.x (Gotham). - Updated: The addon.xml - Updated: The Manual RE: [RELEASE] X10 - lights (Domotica Commander) - Shoop_NL - 2014-10-12 (2014-09-12, 17:29)bifi36 Wrote: i found a workaround if Authenticate won't work (working with domoticz) Thanx, I have added your workaround to the Manual of the V1.0.4. Release. See page 15. RE: [RELEASE] X10 - lights (Domotica Commander) - Morcegolas - 2014-10-27 Hello, I'm using Domoticz in Rpi and Kodi in a desktop linux. I installed this addon, configure it but nothing happens. One question, I'm using Virtual X10 switchs in Domoticz to turn ON/OFF lamps, with scripts. In configuration of XBMC - X-10 Lights Addon, Where it asks for Device ID 01 I should set the IDX from domoticz or the ID and UNIT? Here is an example: Already tried with 64 and A9 but not working. Also need to know, to access my Domoticz webpage i'm using http://domoticz-ip:8080, in X10 Add-on what port should I use? 8080 or 8086? Thanks Hope you can help me. RE: [RELEASE] X10 - lights (Domotica Commander) - Shoop_NL - 2014-10-27 (2014-10-27, 02:28)Morcegolas Wrote: Hello, I'm using Domoticz in Rpi and Kodi in a desktop linux. I installed this addon, configure it but nothing happens. One question, I'm using Virtual X10 switchs in Domoticz to turn ON/OFF lamps, with scripts. In configuration of XBMC - X-10 Lights Addon, Where it asks for Device ID 01 I should set the IDX from domoticz or the ID and UNIT? Hi Morcegolas, If you have selected Domoticz as Device Application under the Host settings Then for your Device ID you should use the idx number from Domiticz, in your case 64. Furthermore you need to be sure that you have the correct domoticz ip and portnumber (8080is domoticz default, but you should be able to see it at your domoticz installation) configured (and it should work) See in the manual for details RE: [RELEASE] X10 - lights (Domotica Commander) - Monstar316 - 2014-11-21 Is this compatible with Limitless LED smart lights? I'm looking for a cheaper alternative to Philips HUE bulbs and wondered if the starter kit from LimitlessLED would work or if anyone could recommend any other alternatives to Philips HUE that are compatible with this plug-in, it would be greatly appreciated. http://www.limitlessled.com/ RE: [RELEASE] X10 - lights (Domotica Commander) - sebastiaanwezen - 2014-11-21 (2014-10-09, 18:50)Shoop_NL Wrote: I have just released V1.0.4 1.04 is working great with XBMC V13.2 in combination with Homewizard! is it possible to add support for homwizard scenes? Code: http://<ip-homewizard>/<password>/gp/<scene-number>/<on|off> or edit the FreeCmd command to allow Code: if FreeCmd: istead of: Code: if FreeCmd: to allow / as root element in order to allow gp/ as Action. RE: [RELEASE] X10 - lights (Domotica Commander) - jihem - 2014-11-25 hello, I installed this add-on that works great with video player. However, it appears not to be operating with the music player (I'd like to turn my stereo with) is this normal? Thank you in advance |