HA PC Switch

Logo

Automate power on your PC using ESPHome or Tasmota, and integrated into Home Assistant.

View the Project on GitHub Tecsmith/homeassistant-pc-switch

HA PC Switch

Automate power on your PC using ESPHome or Tasmota, and integrated into Home Assistant.


STATUS: This project is in ideation stage. Come back soon for progress.

LAST UPDATE: 7 June 2024


Origins

Looking for a way to remotely start-up and shut-down a PC from Home Assistant. Also need operational status (sensors) to drive automations.

June 2024 progress

In a case of Multiple Discovery, it turns out that this idea already has commercial solutions for sale. I’ve found a few variants on AliExpress:

  1. Computer Remote Switch,Wifi Smart PC Start Boot Card,Startup Card Work with Apple Homekit SIRI - This one I really like and have bought myself, as it’s written specifically for the Apple Homekit eco-system that I use.I also like that it uses the new ESPC2-12 module.

  2. TISHRIC Wifi PC Power Switch Computer Remote Boot Startup Card Computer Restart Switch Timing Boot Device Work With Alexa Google - I really like the PCI bracket plate of this one. Depends on Tuya though :( .

  3. eWeLink Computer Remote Boot Card Remote Control Wireless WIFI Switch Relay Module For Computer Work with Google Home and Alexa - I think this one is one of the first modules developed. Also relies on Tuya though :( .

However - none of the above are open source - so we don’t have the ability to modify the firmware … and to add to that, most rely on the Tuya eco-system - so not viable for off-line use, and adds the “cloud” factor to it’s use.

So I’m progressing with building … EE design is done, but I need to change focus to building the firmware.

 

Ideas

Other People’s Projects

&

Specifications (as a wish list)

Inputs

  1. Power Standby (from PSU pin 9 {purple} / +5V SB (Standby)) - as source of operating +5V power
  2. Power Good (from PSU, pin 8 {grey} / PG (Pwr Good))
  3. Power Supply ON (from PSU, pins 21,22 {red} )
  4. PC ON (from Case LED)
  5. Case / MLB POWER Button
  6. Case / MLB Reset Button

[June ‘24 update] - dropping the need for inputs. Only one is needed at this stage .. i.e. is the PC ON or not. Also removing the need for PSU monitoring, and it’s source of power. Turns out that PCIe bus supplies a 3.3V “Aux” line (a.k.a. “Standby” power), so we can just tap of the PCIe slot.

Sensors (exposed to HA)

Outputs

[June ‘24 Update] - Solid state / MOSFET relays are still in. Addon outputs are however dropped. But… I2C is exposed as a single QWICC connector in case one wants to extend.

Terms used above

Ideas


Made with 💙 by .