Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diegogtz03/esp-pc
ESP-PC is the arduino code for a remote PC power monitor and switch.
https://github.com/diegogtz03/esp-pc
esp32 esp8266 pc websockets
Last synced: 2 days ago
JSON representation
ESP-PC is the arduino code for a remote PC power monitor and switch.
- Host: GitHub
- URL: https://github.com/diegogtz03/esp-pc
- Owner: Diegogtz03
- Created: 2024-06-18T01:31:39.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-22T07:01:26.000Z (5 months ago)
- Last Synced: 2024-10-17T17:23:41.176Z (20 days ago)
- Topics: esp32, esp8266, pc, websockets
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP-PC
ESP-PC is the arduino part of the project [PCPower](https://github.com/Diegogtz03/PCPower) which uses WebSockets to communicate to this ESP32/ESP8266 and execute actions remotely on a PC.The idea for this project originated out of me having to move out for a few months without the chance of taking my PC. I still wanted to use it, so I decided to make this in order to remotely
power on my PC and be able to remotely access it via **Parsec** or **MRD**.## Parts Used
- 1 ESP8266
- 1 USB to MicroUSB to power the ESP
- 1 330Ω Resistance
- 1 5KΩ Resistance
- 1 10KΩ Resistance
- 1 4N25 Octocoupler
- Some cables## Schematics
## Code Notes
- A **secrets.h** file needs to be created within **/include** which should contain the following:
- #define WIFI_SSID "YOUR_VALUE_HERE"
- #define WIFI_PASSWORD "YOUR_VALUE_HERE"
- #define WS_HOST "YOUR_VALUE_HERE"
- #define WS_PORT YOUR_PORT_HERE
- #define WS_URL "YOUR_VALUE_HERE"- The code currently accepts the values "GET STATUS", "ON", or "OFF" which is what I needed for this project ([PCPower](https://github.com/Diegogtz03/PCPower)).
- In the case of "ON", the octocoupler gets activated for 400ms to simulate a quick but realistic button press
- In the case of "OFF", the octocoupler gets activated for 4.5s to simulate a long press needed to force shut down the PC. (This may vary depending on your motherboard).