tinypilot icon indicating copy to clipboard operation
tinypilot copied to clipboard

Add support for power/reset from DIY-IPMI

Open Fmstrat opened this issue 5 years ago • 8 comments

Leverage the reboot/power button functionality from https://github.com/Fmstrat/diy-ipmi

Relay board: https://www.amazon.com/dp/B0057OC5WK GPIO cables: https://www.amazon.com/gp/product/B01BV2A54G Wiring diagram: https://raw.githubusercontent.com/Fmstrat/diy-ipmi/master/Resources/Diagram.png

Fmstrat avatar Jul 24 '20 14:07 Fmstrat

IMO relays for that are way overkill, they're sense lines (I think 5v falling-edge trigger?), so you should be able to use optocouplers to achieve this effect. 🤔

Tsaukpaetra avatar Jan 14 '21 03:01 Tsaukpaetra

----- copying my comments from 803 -----

I think ATX pin is the better option. But that being said, maybe you can sell an add on relay module that connects to the pi.

Because for more permanent locations it's worth it to hook up the ATX pins, but for ad-hoc support locations a simple relay outlet might be easier.

wesleyscaldwell avatar Oct 12 '21 01:10 wesleyscaldwell

A user on the forum is also interested in this functionality.

db39 avatar Jul 31 '23 16:07 db39

Would really appreciate if this was integrated in TinyPilot. While external ON/OFF switches are a good option, I think its best to use ATX pins. LED status will be helpful to know the system state.

DeviousFusion avatar Aug 13 '23 08:08 DeviousFusion

My proposal for this feature is :

  1. TinyPilot send broadcast message via RS232.
    Message format is only 2 char, i.e: address,command
    where : A. 'address' is : A-Z B. 'Command': A=Power Off, B= Power On, C=Reboot, 'Status'

So if tinypylot say 'AC', it means : If You Node A, reboot your self.

  1. At the managed node, user must have some kind of micro controller (arduino?) that interpret this message and do the job (if the address is it's address).

  2. Network: a. TX pin from TinyPilot connected to RX pin of micro controller on all managed node, and b. RX pin from TinyPilot connected to TX pin of micro controller on all managed node.

Note:

  1. Set the baud rate as low as posible ... message is very short no need for extensive speed, and we got stability
  2. With this scenario, user can also extend the range directly or just make a simple additional device to make it talk different protocol (ie: RS485) All we ask is just TinyPilot 'say something' via it's RS232.

binooetomo avatar Dec 05 '23 04:12 binooetomo