PDA

View Full Version : 510 unchecking x10 save device condition has no effect


mhwlng
January 19th, 2007, 01:28 PM
510 unchecking x10 'save device condition' has no effect

or maybe I misunderstand how it works :-)

if I restart G5 and go to settings\device manager

the control status is whatever it was when G5 was stopped.

Marcel

Ron
January 19th, 2007, 01:39 PM
Again for Mike.

Promixis
January 19th, 2007, 03:42 PM
place this in the luascript dir. NOTE: Delete this file on next updated!!

mhwlng
January 19th, 2007, 03:50 PM
I don't see any difference

Marcel

Promixis
January 19th, 2007, 04:35 PM
ok, maybe explain what behavior you are expecting?

mhwlng
January 20th, 2007, 02:49 AM
When I start girder, and I go to settings\device manager

I would like my motion detectors to say

Controls\Condition 'unknown'

and my switches

Controls\Switch 'unknown'

So that any change to 'on' ,'off','Ready','Not Ready' will result in a DM event.

Currently, I only get a DM event if I send/receive a control value different from whatever it was when girder was stopped, which is undesirable, especially for motion detectors...

I'm not sure how you would mark the dimmer level as unknown.
I currently don't use any dimming functionality and have defined all my dimmers as switches anyway...

Marcel

mhwlng
February 2nd, 2007, 06:32 AM
I see no change in 511 ? (I removed x10-work)

what does unchecking the 'save device condition' do ???

I always see in the console

LOG: Device Manager : 5 - Device: A7 Device SERVER\X10\A7 using saved device info.
false table: 01F69838
LOG: Device Manager : 5 - Device: B9 Device SERVER\X10\B9 using saved device info.
....

Marcel

mhwlng
February 3rd, 2007, 02:26 AM
no change in 512

Marcel

mhwlng
February 15th, 2007, 04:15 AM
no change in 513

Mike, feel free to jump in at any time....

Marcel

Promixis
February 21st, 2007, 11:59 AM
ok, i am sure this is fixed for the next release

mhwlng
March 13th, 2007, 06:04 AM
I just looked at this in 515 and :

motion detectors (Type security\Sensor) now correctly return
Condition : Unknown at startup

but my lamps (Type Light\Switch) still return
Switch : Off , instead of Unknown at startup

'save device condition' is unchecked for all my X10 devices...

Marcel

mhwlng
March 13th, 2007, 06:21 AM
something is not right with the motion detectors either (in 515).

when the state of a motion detector is unknown at startup

and I move around for the first time after G5 startup, then the X10 event is triggered correctly (i.e. I see 'ON').

but the device manager event is the wrong way round (should be 'Condition=Not Ready'

Time Date Source Details Payloads
12:14:16:590 3/13/2007 X10 office motion 1:ON
12:14:16:590 3/13/2007 Device Manager office\motion 1:Condition=Ready

when I force the state to OFF at startup by calling once

X10:ReceiveEvent ("B","1","OFF") -- office

(which changes 'unknown' to 'off')

and then move around, I see the correct behaviour :

Time Date Source Details Payloads
12:19:32:127 3/13/2007 X10 office motion 1:ON
12:19:32:115 3/13/2007 Device Manager office\motion 1:Condition=Not Ready


Marcel