If I have a relay board controlled from a web interface thru the ethernet port, how can I create a keyboard shortcut to activate the relay without the browser being open?
closed as off-topic by goldilocks♦ Aug 2 '15 at 13:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – goldilocks
I assume you are talking about the Web Relay device made by control by web. If so, these have capabilities to be controlled by simple GET requests, so you could potentially map a wget command to a shortcut. Alternatively, you should look into the UniPi relay board. They cost about the same as one control by web device, but have 8 relays, one wire temperature sensors, and a slew of other features.
I am currently using these devices to automate a generator/solar system, and they are working great. Of course, of this isn't what you're talking about, then this is all rather worthless, isn't it!