Fmstrat / diy-ipmi

A DIY IPMI / IP KVM system utilizing the Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Suggestion] Monitor current power state

seffyroff opened this issue · comments

Related to #29 - monitor the current power state of the managed systems, This could be done by adding a loop to the power LED of the systems and hooking up to the Pi0 GPIO, for example.

I just posted up pics (#8 (comment)) of the custom y-splitter cables I ended up making for the power switch relay, which included an additional set of wires for the power led. The voltage measures 2.742v at power on for my Dell T1700's.

You're right according to this thread (https://www.raspberrypi.org/forums/viewtopic.php?t=27426), the Pi GPIO will read 2.5v as high, essentially getting you the needed 1 bit ADC.

If more voltage or channel flexibility is needed there appears to be several ADC HATs for the pi:

I'm looking at adding in some frontend state indicators, and also some support for my HDMI splitter box (I didn't want to use multiple capture cards, and this can be IR controlled by a NodeMCU/Lirc USB from Pi).