X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: BitsNBytes on August 05, 2009, 12:08:25 PM

Title: CM15A - Active Home Pro PC Interface
Post by: BitsNBytes on August 05, 2009, 12:08:25 PM
Does anyone know how to set the internal time on the CM15a? The recvrf messages send a bogus time value in the packet... M/D/Y are correct but TOD is way off - (its not a time zone setting as the time is really skewed...)
Title: Re: CM15A - Active Home Pro PC Interface
Post by: Dan Lawrence on August 05, 2009, 06:41:21 PM
What time and time zone is AHP set to?  It's in Hardware Settings.  If AHP is set to the wrong time and time zone, then the CM15a is set wrong.  The CM15A has no internal clock to set.
Title: Re: CM15A - Active Home Pro PC Interface
Post by: -Bill- (of wgjohns.com) on August 06, 2009, 02:08:26 AM
What time and time zone is AHP set to?  It's in Hardware Settings.  If AHP is set to the wrong time and time zone, then the CM15a is set wrong.  The CM15A has no internal clock to set.

If that's the case, I'd really love to hear your explanation of how the CM15A runs timers in stand-alone mode.   :'
Title: Re: CM15A - Active Home Pro PC Interface
Post by: -Bill- (of wgjohns.com) on August 06, 2009, 02:10:14 AM
Does anyone know how to set the internal time on the CM15a? The recvrf messages send a bogus time value in the packet... M/D/Y are correct but TOD is way off - (its not a time zone setting as the time is really skewed...)

As far as I know, there is no way to set the CM15A's internal time using the SDK.

Generally the CM15A's internal time is set by the X10.nets service whenever the CM15A is connected and the computer is running.

 >!
Title: Re: CM15A - Active Home Pro PC Interface
Post by: BitsNBytes on August 06, 2009, 03:01:53 AM
Does anyone know how to set the internal time on the CM15a? The recvrf messages send a bogus time value in the packet... M/D/Y are correct but TOD is way off - (its not a time zone setting as the time is really skewed...)

As far as I know, there is no way to set the CM15A's internal time using the SDK.

Generally the CM15A's internal time is set by the X10.nets service whenever the CM15A is connected and the computer is running.

 >!

That would seem to be the case since I do not have the X10.nets service installed... Not a big deal as I can simply replace the time when the event fires...
Title: Re: CM15A - Active Home Pro PC Interface
Post by: joako on November 26, 2009, 06:40:57 PM
I posted this useful link in another thread: http://www.linuxha.com/USB/cm15a.html

Under section 10 the commands to talk with the hardware and work with the time are documented.
Title: Re: CM15A - Active Home Pro PC Interface
Post by: Dan Lawrence on November 26, 2009, 09:09:52 PM
However, if you are not using Linux, under Windows if you don't load the X10.nets service, then AHP will never show module's status properly.  That's what the X10.nets service is for.