Update project

This commit is contained in:
Andrej Friesen 2022-03-20 17:06:24 +01:00
parent e31e2fe913
commit 8ea9a64196
4 changed files with 10 additions and 29 deletions

View File

@ -2,48 +2,29 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/ajfriesen)
ESPHome powered switch to turn on/off your PC.
ESPHome powered switch to turn on/off your PC and server.
![Prototype](images/pc-switch-home-assistant-gui.png)
![Home Assisant Panel](images/pc-switch-home-assistant-gui.png)
Just connect your power, reset and power led front panel connector to appropieate pin pairs, power the ESP8266 and you can turn on and off your PC via Home Assistant.
## Use cases
- Hide your PC in a closet or on a shelf without the need to press the actual button. You can just connect any other button via home assistant
- Setup automation based on time, motion or the moon phase to power on your PC
- No funky magic packets anymore with wake on LAN (never worked for me)
- Setup automation based on time, motion or the moon phase, or whatever you like to power on your PC
- No funky magic packets anymore with flaky wake on LAN (never worked for me)
- No addons with admin access (password) to your Windows PC
- Add voice commands via Home Assistant to Google Assistant
## Powersource
### Internal USB port
Most motherboard can deliver power over USB when the PC is off.
Needs to be configure in the BIOS.
### TPM header
Check your motherboard manual for a TPM header.
Also check how much voltage the TPM header can supply.
Then you can connect power and groud from the TPM header to the ESP8266
![Version 1.0 assembled](images/v1.0-assembled.jpg)
![PCB Version 1.0](images/v1.0.jpg)
![Prototype](images/prototype.jpg)
## Parts
# Project Documentation
- Optocoupler: EL817
- Resistor:
- ESP8266-12F from AZDelivery
You can find all product documentation, related blog post on my dedicated [pc-switch website](https://www.ajfriesen.com/pc-switch/).
## Todo
If you have questions you can open a topic on my [forum](https://forum.ajfriesen.com/).
- [x] powering the ESP8266
- [x] Power, reset and hard power off switch for PC in Home Assistant
- [x] Protoype on breadboard
- [x] Create first soldered protoype
- [x] Check for PC status
- [ ] Design PCB
- [ ] upload PCB
- [ ] Create 3D printed case
- [ ] Maybe enable MQTT to control this device (without home assistant)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 211 KiB

BIN
images/v1.0-assembled.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
images/v1.0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB