I have written a script like the sample in the help that ramps up a light over a period of time. The switch is a Leviton that responds to the Leviton Dim Level commands and the interface is the Powerlinc. I have noticed that it appears to take about five seconds to transmit each command.
This seems like a *really* long time and makes it tough to do things like ramping up a light over two or three minutes since a five second interval will take over eight minutes to go from 0 to 100. Does anyone have an idea of how fast a Powerlinc transmission typically takes? Does this behavior seem normal?
EDIT: in troubleshooting this a bit more, here is what *appears* to be happening although this makes no sense. The rest of the switches in my house are PCS and they have an LED that blinks whenever X-10 activity occurs. When I used a button that does +=1 or -=1 to set the Preset Dim Level on a PCS switch and pushed it repeatedly it appeared to take less than one second per command.
When I did the same thing on a button mapped to the Leviton Dim Level on this Leviton switch the activity LED showed *three* tranmisssions (each about one second apart) followed by a one second pause. I only pushed it *once* and this sequence of events occurred. I had this property mapped to a gauge so then I held it for a bit so the repeat would kick in. The same events occurred like clockwork and during each sequence of events the value on the gauge only increased by one.
-- Dave
Transmission time for Powerlinc commands
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
I think a Hardware Interface of the Powerlinc would be a good place to start. To generate a trace file:dlmorgan999 wrote:If there are any logs or traces I can generate to help just let me know...
- Select the Powerlinc Hardware Interface from the Tree View.
- Click on the 'Hardware Module Type' button at the top of the Interface Property list.
- Click on the 'Enabled' checkbox to turn on tracing.
- Try and use the interface again. This should generate data in the log file.
- Turn the tracing off by clearing the 'Enabled' checkbox set previously.
- Send the trace file (InterfaceTrace.*.csv) to me at '[email protected]'. The file can be found in the HouseBot\Logs directory.
Scott