View single post by lms
 Posted: Wednesday Feb 27th, 2008 06:35 am
 PM  Quote  Reply  Full Topic 
lms

 

Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 45
Status: 
Offline

  back to top

Strange - I've found HS and the CM12U more reliable than Comfort & the XM10U (and believe me, I've spent countless hours on this, trying different locations, X10 boosters, and so on) - but I suppose that's what you get for using an unreliable protocol such as X10!

If you're sending commands to Comfort which then in turn sends the X10 commands, I expect you'll have to use Counters to trigger responses in Comfort - so the actual "script" has to be done in Comfort. When I want Comfort to execute something triggered within HS, I set a counter to a specific value in HS, such as:

Sub Main
    hs.PlugIn("pjcComfort2").Transmit_SetCounters "CounterName,Value"
End Sub

I then have a Comfort response which is triggered by that Counter which can then send the X10 command. The Counter value can dictate to the response to what dim level you want to set the light, but this will have to be coded in a Comfort response. This should not be difficult, but if you have many devices to control, you may run out of memory in Comfort - this is one of the reasons that I'm doing things in the opposite way.

Similarly, you can have a Comfort response to make the alarm pad chime which is triggered by a specific counter/value which is set in HS. Same with the outputs. I have no experience at all with CBus but would expect something similar.

You can also get HS to respond to Counter changes originating from Comfort (or other Comfort triggers) so this effectively becomes a two-way communication mechanism. I've got some reasonably complex HS scripts which essentially communicate with Comfort responses using this method. For example, an HS script sets Counter to 1 ... Comfort sees the Counter setting, triggering a response which does what it has to do, then sets the Counter to 2 ... HS sees the setting and triggers a further response, and so on. With the large resources on the HS PC, this makes large and complex actions easily possible - the only negative is that the PC has to be continuously running, but this is, in my opinion, a small price to pay and I've installed a dedicated PC.

Do you lnow about the HS message boards at http://board.homeseer.com/ ? Have found this quite useful.

Phil Colley has also been quick at responding on the few occasions when I've had difficulties with the Plug-In - don't have his email address handy but you'll probably find it on the HS board.

Leon

 Close Window