Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pi_plates relayplate support
#2
It looks like it would be very easy to modify the cli_control plugin for this.
You would just need to install the pi_plates Python modules with pip and add a line to the cli_control.py file:
Code:
import piplates.RELAYplate as RELAY
Then you could add the relay control commands on the plugin's set up page.

However, the Pi_plates RELAYplate seems a bit pricey. You can get an 8 or 16 channel relay board from Amazon for about 6 to 15 dollars and use the relay_16 plugin with just some jumper wires.

Also astrogerard is working on a I2C plugin that will allow a very large number of relays to be connected to the pi with just a couple of wires. Take a look at his early docs:
[url=https://nosack.com/sipforum/member.php?action=profile&uid=310][/url]https://gitlab.com/seventer/pcf857x_plug...57x-doc.md

Those i2c IO extender boards only cost about $2.00.

Dan
<p><br></p>
Reply


Messages In This Thread
Pi_plates relayplate support - by hugie - 2021 Sep 24, 03:42 AM
RE: Pi_plates relayplate support - by dan - 2021 Sep 24, 02:47 PM
RE: Pi_plates relayplate support - by hugie - 2021 Sep 24, 07:04 PM
RE: Pi_plates relayplate support - by hugie - 2021 Oct 01, 03:00 AM
RE: Pi_plates relayplate support - by dan - 2021 Oct 01, 01:57 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)