{"id":15164267,"url":"https://github.com/diegogtz03/esp-pc","last_synced_at":"2026-01-22T10:34:38.637Z","repository":{"id":245177207,"uuid":"816553766","full_name":"Diegogtz03/ESP-PC","owner":"Diegogtz03","description":"ESP-PC is the arduino code for a remote PC power monitor and switch.","archived":false,"fork":false,"pushed_at":"2024-06-22T07:01:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T08:31:23.934Z","etag":null,"topics":["esp32","esp8266","pc","websockets"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Diegogtz03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T01:31:39.000Z","updated_at":"2024-06-22T07:01:29.000Z","dependencies_parsed_at":"2024-06-21T19:56:08.938Z","dependency_job_id":"b4c96abd-5737-4c7e-b986-d31fe1248a07","html_url":"https://github.com/Diegogtz03/ESP-PC","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"06ca9d4cc6c4d1d7c7b9d2c169e792fc67e9629c"},"previous_names":["diegogtz03/esp-pc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diegogtz03%2FESP-PC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diegogtz03%2FESP-PC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diegogtz03%2FESP-PC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diegogtz03%2FESP-PC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Diegogtz03","download_url":"https://codeload.github.com/Diegogtz03/ESP-PC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247840464,"owners_count":21004919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp8266","pc","websockets"],"created_at":"2024-09-27T03:02:50.518Z","updated_at":"2026-01-22T10:34:38.586Z","avatar_url":"https://github.com/Diegogtz03.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP-PC\nESP-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.\n\nThe 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 \npower on my PC and be able to remotely access it via **Parsec** or **MRD**.\n\n## Parts Used\n- 1 ESP8266\n- 1 USB to MicroUSB to power the ESP\n- 1 330Ω Resistance\n- 1 5KΩ Resistance\n- 1 10KΩ Resistance\n- 1 4N25 Octocoupler\n- Some cables\n\n## Schematics\n\u003cimg width=\"1085\" alt=\"Screenshot 2024-06-20 at 11 20 17 p m\" src=\"https://github.com/Diegogtz03/ESP-PC/assets/65473367/4783a24b-e51c-45a6-aca4-1258c1375205\"\u003e\n\n## Code Notes\n- A **secrets.h** file needs to be created within **/include** which should contain the following:\n  - #define WIFI_SSID \"YOUR_VALUE_HERE\"\n  - #define WIFI_PASSWORD \"YOUR_VALUE_HERE\"\n  - #define WS_HOST \"YOUR_VALUE_HERE\"\n  - #define WS_PORT YOUR_PORT_HERE\n  - #define WS_URL \"YOUR_VALUE_HERE\"\n\n- 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)).\n- In the case of \"ON\", the octocoupler gets activated for 400ms to simulate a quick but realistic button press\n- 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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegogtz03%2Fesp-pc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegogtz03%2Fesp-pc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegogtz03%2Fesp-pc/lists"}