Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use external relay controller?
#1
I would like to use a separate relay box that can be controlled by HTTP commands e.g. http://relaybox?relay1=on or http://relaybox?relay1=off
What would be the best way to implement this instead of using the "GPIO boards".
Reply
#2
I am not sure how you plan to control the relays from the Pi without using the GPIO pins but there is a PDF file which lists the HTTP GET commands for SIP on the SIP wiki:
https://github.com/Dan-in-CA/SIP/wiki

Click this link: "SIP HTTP GET Command Reference (download PDF)"
[url=https://github.com/Dan-in-CA/SIP/wiki/SIP_GET_commands.pdf][/url]
Dan
Reply
#3
My plan is to use a virtual Ubuntu server to host SIP and send simple HTTP GET commands to a stand-alone relay controller box. I have modified your rf_control plugin to send HTTP GETConfused and it works pretty good at the moment.

Thank you for the link with the SIP GET commands. It will be useful to let my home automation system fiddle with the irrigation also.
Reply
#4
Great!
I was going to mention the rf_control plugin but I see you found it. It still needs a lot of work but it is usable and will work with anything that can use the command line for control not just RF devices.

Dan
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)