XTension Discussion
Re: help with simple time delta
On Jul 1, 2009, at 12:50 PM, steven passmore wrote:
>
> All:
>
> I need some help a simple time delta script.
>
> i have a unit (power phase 1) that uses the rfxe interface and the
> device is a rfxmeter
>
> in the on script i try to use
>
> set timedeltapowerphase1 to time delta of "power phase 1"
>
> i get an error in the log
>
> no object was found named "power phase 1"
> power phase 1 OnScript OSAError -1708 : "power phase 1" doesn't
> understand the the time delta message
>
> i am using v6 build 702
Hi Steve,
You've got the verb right, two words and not one, I was then going to
see if it made a difference to use the "of" instead of not as it's not
required by the verb, but it works both ways here...
what is failing is the lookup of the name for some reason. My mind
screams a warning about text encoding. Can you tell me what OS version
you're using? Build 702 contains the fixes for 10.4 or 5 or whenever
it was they started to force applescript to use UTF16 characters
everywhere which broke EVERYTHING for a few moments there...
Can you access this specific unit via any other verb? just do a "write
log (value of "power phase 1")" from the command line and see if you
get the same error, or if that works OK.
Thanks,
James
James Sentman sentman.com MacHomeAutomation.com
_______________________________________________
XTensionlist mailing list
XTensionlist-AT-shed.com
lists.shed.com/mailman/listinfo/xtensionlist
>
> All:
>
> I need some help a simple time delta script.
>
> i have a unit (power phase 1) that uses the rfxe interface and the
> device is a rfxmeter
>
> in the on script i try to use
>
> set timedeltapowerphase1 to time delta of "power phase 1"
>
> i get an error in the log
>
> no object was found named "power phase 1"
> power phase 1 OnScript OSAError -1708 : "power phase 1" doesn't
> understand the the time delta message
>
> i am using v6 build 702
Hi Steve,
You've got the verb right, two words and not one, I was then going to
see if it made a difference to use the "of" instead of not as it's not
required by the verb, but it works both ways here...
what is failing is the lookup of the name for some reason. My mind
screams a warning about text encoding. Can you tell me what OS version
you're using? Build 702 contains the fixes for 10.4 or 5 or whenever
it was they started to force applescript to use UTF16 characters
everywhere which broke EVERYTHING for a few moments there...
Can you access this specific unit via any other verb? just do a "write
log (value of "power phase 1")" from the command line and see if you
get the same error, or if that works OK.
Thanks,
James
James Sentman sentman.com MacHomeAutomation.com
_______________________________________________
XTensionlist mailing list
XTensionlist-AT-shed.com
lists.shed.com/mailman/listinfo/xtensionlist
Previous message in thread | Next message in thread
Thread
Sending UPB Communication Packet / Mark Johannessen / 29 Jun 2009
Re: Sending UPB Communication Packet / James Sentman <james-AT-sentman.com> / 29 Jun 2009
help with simple time delta / steven passmore <spassmore156-AT-earthlink.net> / 01 Jul 2009
Re: help with simple time delta / Hendrik van Eeden <hvaneeden-AT-comcast.net> / 01 Jul 2009
Re: help with simple time delta / Thomas D Arman <tdarman-AT-us.ibm.com> / 01 Jul 2009
• Re: help with simple time delta / James Sentman <james-AT-sentman.com> / 01 Jul 2009
Re: help with simple time delta / steven passmore <steve-AT-passmore.us> / 01 Jul 2009
Antenna Hack of Motion Sensor / Jack Stewart <jacks-AT-amug.org> / 01 Jul 2009
Re: Antenna Hack of Motion Sensor / Doug Kiekow <dougy-AT-iphouse.com> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Jeffrey Lomicka <JeffreyLomicka-AT-comcast.net> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Doug Kiekow <dougy-AT-iphouse.com> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Jeffrey Lomicka <JeffreyLomicka-AT-comcast.net> / 03 Jul 2009
Control of Powerhorns / Jack Stewart <jacks-AT-amug.org> / 03 Jul 2009
Re: Control of Powerhorns / James Sentman <james-AT-sentman.com> / 03 Jul 2009
Re: Control of Powerhorns / Jack Stewart <jacks-AT-amug.org> / 03 Jul 2009
Re: Control of Powerhorns / Rekow Warren <warren_rekow-AT-speedyquick.net> / 03 Jul 2009
Re: Antenna Hack of Motion Sensor / Jack Stewart <jacks-AT-amug.org> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Steve Hume <stevelist-AT-hume.ca> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Steve Hume <stevelist-AT-hume.ca> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / James Sentman <james-AT-sentman.com> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Bob Ober <rmober123-AT-comcast.net> / 02 Jul 2009
Re: Antenna Hack of Motion Sensor / Jack Stewart <jacks-AT-amug.org> / 02 Jul 2009
