This is interesting and depressing.
All I am trying to do is turn of lights after a 10 minute period (whenever they get turned on even with the switch)
Something tells me that I am making this tooooo complicated as I can't imagine that I am the only father that gets tired of asking "who left the lights on"?
I hope this summary helps you:
The problem you run into is that a standard X-10 wall switch doesn't send it's status or any other commands when you turn it on manually. Here is a summary of the options posted in this thread, as well as some of my own:
1) Replace the switch with a two-way or Smarthome switch that DOES send a command when you turn it on manually.
2) Use a stick-a-switch to send the signal to turn on the light, and also trigger the macro to turn it off.
3) Use a motion detector to trigger the "off in 10 minutes" macro. The day/night sensor will sense that the light is on (room is bright), and can activate the macro to turn the light off 10 minutes later.
4) Use a motion detector to turn the light on and off. If you set it to turn the light on when it senses motion in the room, and turn it off after 10 minutes of inactivity, then you should never need to turn the light on with the switch.