Sergey Udaltsov
2005-04-28 23:46:48 UTC
Hi all
I got motion sensor and light switcher. Motion sensor generates H14,
light switcher expects H15.
Latest x10dev detects signals from the sensor ok. If I do:
$ x10watch /x10/kitchen/sensor -1 "echo on" -0 "echo off " -d
I see on and off coming properly. But when I do
$ x10watch /x10/kitchen/sensor -1 "echo on > /x10/kitchen/upperlight"
-0 "echo off > /x10/kitchen/upperlight" -d
(upperlight and sensor are symlinks to /dev/x10/h15 and h14
correspondingly) - I never get "off signal. Looking at /var/log/x10, I
see:
Apr 28 23:52:04 sputnik R H14
Apr 28 23:52:05 sputnik R H ON
Apr 28 23:52:06 sputnik T H15
Apr 28 23:52:06 sputnik T H ON
Apr 28 23:53:05 sputnik R H OFF
So, at 23:52 the signal H14 ON came - and PC generated H15 ON. But at
23:23 signal OFF came - and it seems x10watch (or whoever it is -
kernel driver?) could not identify it as coming from H14. How could I
workaround this?
TIA,
Sergey
I got motion sensor and light switcher. Motion sensor generates H14,
light switcher expects H15.
Latest x10dev detects signals from the sensor ok. If I do:
$ x10watch /x10/kitchen/sensor -1 "echo on" -0 "echo off " -d
I see on and off coming properly. But when I do
$ x10watch /x10/kitchen/sensor -1 "echo on > /x10/kitchen/upperlight"
-0 "echo off > /x10/kitchen/upperlight" -d
(upperlight and sensor are symlinks to /dev/x10/h15 and h14
correspondingly) - I never get "off signal. Looking at /var/log/x10, I
see:
Apr 28 23:52:04 sputnik R H14
Apr 28 23:52:05 sputnik R H ON
Apr 28 23:52:06 sputnik T H15
Apr 28 23:52:06 sputnik T H ON
Apr 28 23:53:05 sputnik R H OFF
So, at 23:52 the signal H14 ON came - and PC generated H15 ON. But at
23:23 signal OFF came - and it seems x10watch (or whoever it is -
kernel driver?) could not identify it as coming from H14. How could I
workaround this?
TIA,
Sergey