[RELEASE] X10 - lights (Domotica Commander)
#73
Livin Wrote:On a post a while ago (http://forum.xbmc.org/showpost.php?p=924...stcount=43) I made a suggestion for an architecture that would easily support multiple system types and back-end apps. I know it would take some doing to re-architect the script but in the long run, it will make supporting & adding new systems 10x easier.

X10-Commander has very little intelligence, it is a UI for one specific back-end. If you want to enable multiple back-ends, and ease of use, I highly suggest you architect this to do so.

With the way you are proposing to do it...


... This command has no way to know what system is on the back-end, thus you can only use 1 back-end system, and it requires the user to remember exactly what A4 is.... this is far from ideal. Often, more than one back-end is used... I will be doing this since different apps/hardware bring different features I need.

If you create the proper architecture to handle multiple systems, the script would use commands that look something like this...



... this translates to 'Turn Kitchen Lights Off, 100%'.
... In the script each device would need to have a unique name (which is a best practice anyway) and thus system would parse the command line and translate/send to the proper back-end system, based on the definition files the user created.

Actually, what you are proposing is already available in X10-Commander.
If you read the manual, there the HomeSeer option is explained in more detail,
It does not use the Device ID, but the descriptive room and name to control the device.
Only thing is that HomeSeer needs some encoding before it is send form the addon to HomeSeer, the addon does that encoding now.

By the way I have read your proposal.
Currently I made some change's to the Core code.
It is now easier to add a specific backend system to the core code
without any major change's
but I was not able to generate this mapping system with file's since I first have to find out how to make this working in my application.
Currently I am searching for some good example's.

However adding a (let's say) HTML Command line application should be quite easy to do with the new code setup.
Reply


Messages In This Thread
[No subject] - by m0v1em4n - 2011-09-19, 22:19
[No subject] - by m0v1em4n - 2011-09-20, 10:10
[No subject] - by m0v1em4n - 2011-09-20, 13:33
[No subject] - by Shoop_NL - 2011-09-20, 17:17
[No subject] - by Livin - 2011-09-20, 17:55
[No subject] - by m0v1em4n - 2011-09-20, 19:28
[No subject] - by Shoop_NL - 2011-09-20, 19:31
[No subject] - by Shoop_NL - 2011-09-20, 19:32
[No subject] - by m0v1em4n - 2011-09-20, 20:33
[No subject] - by m0v1em4n - 2011-09-20, 21:18
[No subject] - by Shoop_NL - 2011-09-20, 21:52
[No subject] - by Livin - 2011-09-20, 23:16
[No subject] - by Shoop_NL - 2011-09-20, 23:39
[No subject] - by m0v1em4n - 2011-09-21, 07:45
[No subject] - by Shoop_NL - 2011-09-21, 15:02
[No subject] - by m0v1em4n - 2011-09-21, 15:57
[No subject] - by m0v1em4n - 2011-09-21, 19:41
[No subject] - by Shoop_NL - 2011-09-21, 20:50
[No subject] - by m0v1em4n - 2011-09-22, 08:52
V0.0.4 Released - by Shoop_NL - 2011-09-25, 14:07
[No subject] - by Shoop_NL - 2011-09-25, 15:57
[No subject] - by m0v1em4n - 2011-09-26, 01:09
[No subject] - by RockerC - 2011-09-26, 12:13
[No subject] - by Shoop_NL - 2011-09-26, 18:55
[No subject] - by m0v1em4n - 2011-09-26, 19:01
[No subject] - by Shoop_NL - 2011-10-01, 15:04
[No subject] - by Shoop_NL - 2011-10-01, 15:14
[No subject] - by m0v1em4n - 2011-10-01, 16:44
[No subject] - by RockerC - 2011-10-03, 12:05
[No subject] - by User 103576 - 2011-10-05, 14:23
[No subject] - by Shoop_NL - 2011-10-06, 19:38
[No subject] - by User 103576 - 2011-10-06, 20:25
[No subject] - by Shoop_NL - 2011-10-06, 21:13
[No subject] - by User 103576 - 2011-10-07, 02:02
[No subject] - by User 103576 - 2011-10-07, 03:07
[No subject] - by Shoop_NL - 2011-10-07, 17:57
[No subject] - by User 103576 - 2011-10-07, 23:17
[No subject] - by Deejens - 2011-10-26, 17:23
[No subject] - by Shoop_NL - 2011-10-30, 10:48
[No subject] - by Invincer - 2011-10-30, 16:13
[No subject] - by Shoop_NL - 2011-10-30, 17:53
[No subject] - by Livin - 2011-10-30, 19:01
[No subject] - by Invincer - 2011-10-31, 05:32
[No subject] - by giftie - 2011-11-01, 17:37
[No subject] - by Livin - 2011-11-01, 18:03
[No subject] - by kalross - 2011-11-02, 04:02
[No subject] - by kalross - 2011-11-02, 07:12
[No subject] - by the-pred - 2011-11-02, 14:14
[No subject] - by kalross - 2011-11-02, 17:35
[No subject] - by Livin - 2011-11-02, 17:49
[No subject] - by baguzzo86 - 2011-11-07, 20:38
[No subject] - by Shoop_NL - 2011-11-12, 10:42
[No subject] - by Shoop_NL - 2011-11-12, 10:46
[No subject] - by Martin75a - 2011-12-14, 22:44
[No subject] - by Shoop_NL - 2011-12-24, 18:25
[No subject] - by Martin75a - 2011-12-30, 14:55
Next Release - by Tophicles - 2012-01-25, 23:14
New version? - by Tophicles - 2012-02-02, 17:22
+1 - by nelsonamen - 2012-02-03, 11:36
[No subject] - by Martin75a - 2012-02-10, 18:17
[No subject] - by Vidman - 2012-02-17, 01:18
V0.0.5 Released - by Shoop_NL - 2012-02-25, 20:37
[No subject] - by Shoop_NL - 2012-02-25, 20:38
[No subject] - by Shoop_NL - 2012-02-25, 20:39
[No subject] - by Shoop_NL - 2012-02-25, 20:45
[No subject] - by Martin75a - 2012-02-26, 11:50
[No subject] - by Shoop_NL - 2012-02-26, 12:22
[No subject] - by Martin75a - 2012-02-26, 12:56
[No subject] - by Shoop_NL - 2012-02-26, 16:57
[No subject] - by Livin - 2012-02-26, 17:44
[No subject] - by Shoop_NL - 2012-02-26, 18:54
[No subject] - by Martin75a - 2012-02-26, 20:42
[No subject] - by Shoop_NL - 2012-02-28, 19:50
[No subject] - by nelsonamen - 2012-02-28, 22:16
V0.0.6 alpha - by Shoop_NL - 2012-03-04, 10:48
V0.0.6 alpha - by Shoop_NL - 2012-03-05, 19:57
[No subject] - by Martin75a - 2012-03-06, 08:20
[No subject] - by Martin75a - 2012-03-06, 19:31
[No subject] - by Shoop_NL - 2012-03-07, 20:22
V0.0.6 alpha updated - by Shoop_NL - 2012-03-07, 21:01
[No subject] - by Martin75a - 2012-03-08, 17:50
[No subject] - by Shoop_NL - 2012-03-08, 21:47
[No subject] - by Martin75a - 2012-03-08, 22:10
V0.0.6 alpha updated - by Shoop_NL - 2012-03-08, 23:17
[No subject] - by Martin75a - 2012-03-09, 09:00
[No subject] - by Shoop_NL - 2012-03-10, 21:36
[No subject] - by Martin75a - 2012-03-11, 11:55
RE: - by Shoop_NL - 2012-08-20, 19:55
RE: - by Martin75a - 2012-08-26, 12:03
Logout Mark Read Team Forum Stats Members Help
[RELEASE] X10 - lights (Domotica Commander)4