XTension Discussion
Re: Sending UPB Communication Packet
On Jun 29, 2009, at 4:45 PM, Mark Johannessen wrote:
> Is it possible to send a UPB communication packet to a UPB device via
> X4X, and if so, how so? I would like to query a UPB switch for its
> status, such as its dim rate when the switch is locally turned on.
> There are a number of other commands per the UPB manual that might be
> interesting to play with.
HI Mark,
To discover the current level of a UPB switch use the query command,
same as for a smart X10 switch except X4X will send the proper UPB
command and return you the value. Thats all working.
I have a version here internally that will let you alter the transmit
flag for modules that support it so that the switches will report
local changes automatically. I dont think I've released that as a beta
yet though. Email me off the list if you want me to upload that for you.
If you actually mean it's dim rate, like it's ramp rate? I have code
that can retrieve that and display it, or at least display it in a
window and allow you to change it and send it back to the device. But
I do not have any verbs to get access to that in a script.
I am currently in the middle of linking support. The add and remove
link verbs work, but the units that are linked dont automatically
follow the changes yet. In the internal build here you can also load
the link table from the devices and display it and save it into the
Xtension unit, but nothing is done with it yet. Have to sort out some
indexing and routing issues still.
What else did you want supported? I think I'm covering most of the big
stuff. I do not plan to support the direct editing of the transmit
tables that control what command is sent when you hit which switch.
There are just too many switches with too many options and no way to
do it other than to first read out the model number and look up all
the offsets into the registers. I may provide a "you assume
responsibility" mode that lets you write or read anything you from
from the devices memory so that in the absence of a pocket programmer
device or a windows machine running their setup software you might
still be able to workout the proper settings. But you might also
completely shoot yourself in the foot with that. For most of us the
default settings of sending a link when you hit the switch will be
enough to update a unit in XTension and build any behavior you want.
If you're reprogramming a bunch that you got off ebay or something
(like I am ;) then more capability may be necessary.
Thanks,
James
James Sentman sentman.com MacHomeAutomation.com
_______________________________________________
XTensionlist mailing list
XTensionlist-AT-shed.com
lists.shed.com/mailman/listinfo/xtensionlist
> Is it possible to send a UPB communication packet to a UPB device via
> X4X, and if so, how so? I would like to query a UPB switch for its
> status, such as its dim rate when the switch is locally turned on.
> There are a number of other commands per the UPB manual that might be
> interesting to play with.
HI Mark,
To discover the current level of a UPB switch use the query command,
same as for a smart X10 switch except X4X will send the proper UPB
command and return you the value. Thats all working.
I have a version here internally that will let you alter the transmit
flag for modules that support it so that the switches will report
local changes automatically. I dont think I've released that as a beta
yet though. Email me off the list if you want me to upload that for you.
If you actually mean it's dim rate, like it's ramp rate? I have code
that can retrieve that and display it, or at least display it in a
window and allow you to change it and send it back to the device. But
I do not have any verbs to get access to that in a script.
I am currently in the middle of linking support. The add and remove
link verbs work, but the units that are linked dont automatically
follow the changes yet. In the internal build here you can also load
the link table from the devices and display it and save it into the
Xtension unit, but nothing is done with it yet. Have to sort out some
indexing and routing issues still.
What else did you want supported? I think I'm covering most of the big
stuff. I do not plan to support the direct editing of the transmit
tables that control what command is sent when you hit which switch.
There are just too many switches with too many options and no way to
do it other than to first read out the model number and look up all
the offsets into the registers. I may provide a "you assume
responsibility" mode that lets you write or read anything you from
from the devices memory so that in the absence of a pocket programmer
device or a windows machine running their setup software you might
still be able to workout the proper settings. But you might also
completely shoot yourself in the foot with that. For most of us the
default settings of sending a link when you hit the switch will be
enough to update a unit in XTension and build any behavior you want.
If you're reprogramming a bunch that you got off ebay or something
(like I am ;) then more capability may be necessary.
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
