Lately I've grown some interest in electronics, more specifically the Arduino platform. I've been soldering, and now I have created a device that can turn off my lights and other power related devices via this platform.
The next step is to be able to control the lights and stuff via a website.
The plan is to have a webserver (Raspberry Pi?) and run Apache with a PHP website. When I click a button (load a page with specific parameters, or some Ajax stuff...) I want to trigger an intermediate program (most likely a Java program) which actually talks to a controller Arduino board, which in turn will send the RF commands.
How can I make a website talk to an intermediate program?
Take a look at exec and shell_exec or any other process control function available to PHP.