{"id":21166313,"url":"https://github.com/ajyounguk/tpmonitor","last_synced_at":"2026-04-29T09:06:58.402Z","repository":{"id":258036056,"uuid":"183390660","full_name":"ajyounguk/tpmonitor","owner":"ajyounguk","description":"A shell script which will turn a tplink hs100 smart plug on and off, based on the status of a machine on the network","archived":false,"fork":false,"pushed_at":"2021-11-27T12:51:35.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T03:39:13.047Z","etag":null,"topics":["home-automation","hs100","hs110","ip","kasa","linux","monitor","pc-monitor","shell","shell-script","smart-plug","tplink","unix","utility"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ajyounguk.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":"2019-04-25T08:28:37.000Z","updated_at":"2022-12-20T09:34:07.000Z","dependencies_parsed_at":"2024-10-18T04:03:58.205Z","dependency_job_id":null,"html_url":"https://github.com/ajyounguk/tpmonitor","commit_stats":null,"previous_names":["ajyounguk/tpmonitor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajyounguk/tpmonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Ftpmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Ftpmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Ftpmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Ftpmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajyounguk","download_url":"https://codeload.github.com/ajyounguk/tpmonitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Ftpmonitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["home-automation","hs100","hs110","ip","kasa","linux","monitor","pc-monitor","shell","shell-script","smart-plug","tplink","unix","utility"],"created_at":"2024-11-20T14:49:15.360Z","updated_at":"2026-04-29T09:06:58.385Z","avatar_url":"https://github.com/ajyounguk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tpmonitor\n\nWant to switch power on and off based on whether a network PC/device is on/off? \n\nThis is a shell script which will instruct a tplink hs100 smart plug to turn on and off, based on whether a device is available on the network. It will monitor an IP address, and send out a command to tp-link HS100 smart plug accordingly.\n\nThis was adapted from the work George Georgovassilis https://blog.georgovassilis.com/2016/05/07/controlling-the-tp-link-hs100-wi-fi-smart-plug/ and Thomas Baust on understanding the plug commands and decrypting the output.\n \nThere is also a related npm package here https://www.npmjs.com/package/tplink-smarthome-crypto?activeTab=readme\n\nThere are some pointers in the script comments on how to schedule this script to run on a Windows 10 device with the bash developer extensions and the Windows Task Scheduler\n\nAlso see https://docs.microsoft.com/en-us/windows/wsl/install-win10 for details on how to install the Linux subsystem on Windows 10\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajyounguk%2Ftpmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajyounguk%2Ftpmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajyounguk%2Ftpmonitor/lists"}