Had it learn all my 'klik aan klik uit' remote commands, and put the transmitter is a small box, powering it directly from a parport data pin. ftp://panteltje.com/pub/lremote_transmitter_img_1004.jpg The 3.3 V from my par port seems enough for it to work.
Updated the software, and added an example script, and an example of how to use crontab to switch lights (and other stuff) on and off at specific times. ftp://panteltje.com/pub/lremote-0.2.tgz As it is now PC coupled, and the PC is online, it means I can simply ssh to my PC and control all electric appliances that are on the 'klik aan klik uit' system.
On a sunny day (Sat, 7 Mar 2009 14:57:11 +0100) it happened "Arie" wrote in :
No, it is not a toggle system, it has separate keys on the remote for 'on' and 'off', or 'fade in' and 'fade out', whatever you are controlling. The remote I have has 4 such button sets, you can assign those to 4 groups (makes 16 commands), and there is a rotary switch on the rear to select a main group from 'A' to 'P', so x 30, makes 480 possible commands....
4 button sets (8 buttons) is enough for me, but I guess you can use a different group in each room, and a different main group in each building or flat, etc.
Recording commands in a task switching system like Linux gets interrupted by the task switch, but if you record long enough, then you get a good non-interrupted recording (some seconds). The same for playback. I could make it work 10 out of 10 by running it 'nice -n 19 lremote ' (highest priority, and the latest version uses RTS on the serial port to transmit, that delivers more power to the transmitter module. ftp://panteltje.com/pub/lremote-0.3.tgz Scripts and examples etc included in the distribution. Works 100 % here :-) You can use the same soft to record and replay IR commands from remotes too, if you have a IR diode and IR LED. That is actually where it comes from, I used that soft to control and make recording with VHS in the long ago past.
On a sunny day (Sat, 7 Mar 2009 09:20:25 -0800 (PST)) it happened linnix wrote in :
(highest priority, and the latest
the transmitter module.
Na, just log in as user 'ftp', with your email address. Else it is now also on my website:
That is not what it does, it will simply sample the demodulated digital signal, and put the samples in a file. You can then play the file into the transmitter, and that should have the same effect as pressing the remote. That is why it is called a 'replay attack'. There is no decoding done, as I do not know the codes, and I do not need to know the codes to to repeat those. It is a very powerful way to ahum.. crack things too.
Nice project, that AVR thing looks cool. I'v also read that article on hot water corrosion. Did not know that.
I will try to just record and compare the signal with the uC. I am thinking about IR receivers tapped into the unused 2nd and 3nd phone wires.
Thanks, I am just borrowing the housing from the customer. We supply them the electronics anyway. The master bathroom is directly above the kitchen. My wife will kill me if I open another hole for it. For now, we might just hit the button before going upstair.
My project has analog sensors, digital sensor, relays, motors and uC. It is green (energy efficient) and nice (finally, a project my wife appreciate). Highly recommended for science project. Your homework is to figure out how to wire and select the sensors. Your parents will appreciate it.