From: Scott R. <sc...@th...> - 2006-04-26 13:18:27
|
Brent (and anyone else following along) - With some help from David Mark, I got this working... It looks like the switches won't 'hear' a status command, but they hear their actual assigned code just fine, so: $kitchen_switch_led = new Serial_Item('XD1DJ','notify1ON','Lynx10PLC'); $kitchen_switch_led ->add ('XD1DK','notify1OFF','Lynx10PLC'); then you can: set $kitchen_switch_led 'notify1ON'; you can also tie the state of the led item to that of whatever serial input you use... then make sure that the state names (notify1ON,OFF) match up with the states of that item. Thanks, David! s:r Brent DeShazer wrote: > I don't have an answer for you right now Scott but this is something I'm > working on right now myself. I have one of these keypads in each of my > daughters rooms and use one of the buttons to send an X10 command that > Misterhouse receives and turns the PA speaker on in that room. Of course, > when MH turns the speaker on for other reasons (by the web interface, etc.) > the button light is not set appropriately. I tried using tie_items and got > MH in a loop of sending/receiving the same command over and over. > > Seems like I remember something like this being discussed on the list > sometime in the past few years but can't recall what the exact context > was... > > If you figure something out let me (and the list) know, otherwise I'll try > and tackle this sometime in the next week and see if I can't come up with > something. > > Maybe someone else has some ideas? > > Brent > > -----Original Message----- > From: mis...@li... > [mailto:mis...@li...]On Behalf Of Scott > Reston > Sent: Sunday, April 23, 2006 10:57 AM > To: mis...@li... > Subject: [mh] sending x10 status from MH > > > I recently got one of the 6-button smartlink switches > (http://www.smarthome.com/12073ww.html). The buttons will turn their LED > on/off when they see a status change on the house wiring. The thing is, > I use the buttons to change things that don't always generate an X10 > command on the powerline... turning a tv on/off for instance. I might do > this from an IR remote control... and MH is aware of the change, but no > X10 signal occurs. > > I'm looking for a way to keep the LEDs on the switch in sync. Is the > 'manual' state the same as an on/off? like XA1AJ / XA1AK or is there an > alternate command that I can send that announces an X10 devices status > without the actual on/off (is that what the status commands do)? > > Alternately, is there a way to send the command (say an XA1AJ) from MH > without having MH execute commands for that code (don't try to turn on > the TV - it's already on...) > > Thoughts anyone? > > > -- > > s:r { > scott reston > http://scott.therestons.com > sc...@th... > 919-876-2170 > } > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > -- s:r { scott reston http://scott.therestons.com sc...@th... 919-876-2170 } |