{"id":17197678,"url":"https://github.com/dmcg/raspberry-strogonanoff","last_synced_at":"2025-10-10T05:13:48.533Z","repository":{"id":3854052,"uuid":"4938658","full_name":"dmcg/raspberry-strogonanoff","owner":"dmcg","description":"Raspberry Pi Remote Mains Switcher","archived":false,"fork":false,"pushed_at":"2015-08-15T10:00:45.000Z","size":147,"stargazers_count":67,"open_issues_count":4,"forks_count":23,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-06-11T16:26:07.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dmcg.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}},"created_at":"2012-07-07T15:14:00.000Z","updated_at":"2025-04-17T16:24:06.000Z","dependencies_parsed_at":"2022-08-26T23:21:42.340Z","dependency_job_id":null,"html_url":"https://github.com/dmcg/raspberry-strogonanoff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmcg/raspberry-strogonanoff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fraspberry-strogonanoff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fraspberry-strogonanoff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fraspberry-strogonanoff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fraspberry-strogonanoff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmcg","download_url":"https://codeload.github.com/dmcg/raspberry-strogonanoff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fraspberry-strogonanoff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002796,"owners_count":26083468,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-15T01:57:03.853Z","updated_at":"2025-10-10T05:13:48.515Z","avatar_url":"https://github.com/dmcg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Raspberry Strogonanoff\n======================\n\nA Raspberry Pi Remote Mains Switcher, to switch these\n\nhttp://www.maplin.co.uk/remote-controlled-mains-sockets-5-pack-348217\n\nwith one of these\n\nhttp://proto-pic.co.uk/434mhz-rf-link-transmitter/\n\nusing the awesome reverse engineering detailed here\n\nhttp://www.fanjita.org/serendipity/archives/53-Interfacing-with-radio-controlled-mains-sockets-part-2.html\n\nInstallation\n------------\n\nRequires WiringPi-Python\n\n    git clone https://github.com/WiringPi/WiringPi-Python.git\n    cd WiringPi-Python/\n    git submodule update --init\n    sudo apt-get install python2.7-dev python-setuptools\n    sudo python setup.py install\n    \nCircuit\n-------\n\nYou'll need something like this http://proto-pic.co.uk/434mhz-rf-link-transmitter/\n\nAssuming that is the one you buy, the transmitter has 4 pins. Wire\n\u003ctable\u003e\n\u003ctr\u003e\u003cth\u003eTx Pin\u003c/th\u003e\u003cth\u003eRaspberry Pi Header Pin\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ePin 1 GND\u003c/td\u003e\u003ctd\u003ePin 6 0V (Ground)\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 2 Data in\u003c/td\u003e\u003ctd\u003ePin 11 GPIO 0\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 3 Vcc\u003c/td\u003e\u003ctd\u003ePin 2 5.0 VDC Power\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 4 ANT\u003c/td\u003e\u003ctd\u003e173mm antenna wire (not on the Pi!)\u003c/td\u003e\u003c/tr\u003e \n\u003c/table\u003e\nwhere the Raspberry Pi Header Pin numbers are the little ones on the inside of the diagram below.\n\nIf you've had to read this section, please see the disclaimer below.\n\nRunning\n-------\n\nNeeds to be run as root - \n\n    sudo ./strogonanoff_sender.py --channel 1 --button 3 --gpio 0 on \n    \nwhere the GPIO pin number is 0 (the default) if wired as per the table above, or otherwise the big ones on this diagram ![](http://pi4j.com/images/p1header-large.png)\n\nDisclaimer\n----------\n\nIt works for me, but connecting stuff to your Raspberry Pi can destroy either end. If it does, no matter how negligent I've been, I'm sorry, but it's your problem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmcg%2Fraspberry-strogonanoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmcg%2Fraspberry-strogonanoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmcg%2Fraspberry-strogonanoff/lists"}