Step 5Home Automation-ing
In your web browser, type in the IP address you set in the previous step. You'll get this web interface;

Code Capture
Here's how it works; Type a code name (maybe 'Power', or 'Vol+', or whatever makes sense) in the box, then click on the 'Start Recording' button. put your IR remote up to the IR receiver and push the button. The command will be stored and the command list will dynamically be updated. To play that code via the web interface just click on the 'Play Code' link next to the command name. To clear the commands, click on the 'Clear Commands' link.
Scripting
Once the command has been recorded, you can easily script it. In Linux / Mac, you just need to make a page request to the web clicker to send the IR;
wget 192.168.1.252/exec.cgi?0- >> /dev/null 2>&1Will execute the first command on the list (Power on my Web Clicker)
wget 192.168.1.252/exec.cgi?1- >> /dev/null 2>&1Will execute the second command, and so on. Change the number after the ? in the url to execute a different command. The >> /dev/null 2>&1 redirects the program output (and any error codes) to the trash - this is for non-interactive scripting.
If you're using curl, the command is almost the same;
curl --url 192.168.1.252/exec.cgi?1- >> /dev/null 2>&1
You could associate this command with a LIRC input, a chron job, or whatever else. I don't know how to script in windows, but you can download wget for Windows & that's probably the first step.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|











































