{"id":13613400,"url":"https://github.com/wuub/micropython-rfsocket","last_synced_at":"2026-01-24T14:28:16.815Z","repository":{"id":57441512,"uuid":"41634922","full_name":"wuub/micropython-rfsocket","owner":"wuub","description":"Micropython implementation of popular 433MHzn based RFSockets (i.e. Anslut/Proove/Nexa)","archived":false,"fork":false,"pushed_at":"2018-12-06T21:19:00.000Z","size":7,"stargazers_count":34,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-27T11:51:58.640Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-30T16:19:22.000Z","updated_at":"2024-03-20T19:40:03.000Z","dependencies_parsed_at":"2022-09-06T02:40:35.883Z","dependency_job_id":null,"html_url":"https://github.com/wuub/micropython-rfsocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wuub/micropython-rfsocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuub%2Fmicropython-rfsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuub%2Fmicropython-rfsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuub%2Fmicropython-rfsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuub%2Fmicropython-rfsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuub","download_url":"https://codeload.github.com/wuub/micropython-rfsocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuub%2Fmicropython-rfsocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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":[],"created_at":"2024-08-01T20:00:45.957Z","updated_at":"2026-01-24T14:28:16.799Z","avatar_url":"https://github.com/wuub.png","language":"Python","readme":"# micropython-rfsocket\nMicropython implementation of popular 433MHz based RF Sockets (i.e. Anslut/Proove/Nexa) using cheapo FS1000A transmitter. \n\n## Installation\n\n  1. Get upip for your python3 installation `pip install micropython-upip`\n  2. Create \"lib\" directory on your micropython SDcard/Filesystem\n  3. Install micropython-rfsocket there like this `python -m upip install -p /media/[your-login]/45DE-XXXX/lib micropython-rfsocket`\n  4. Use in `main.py` like this: `from rfsocket import RFSocket`\n\n## Range\nAs far as I can tell FS100A transmitter connected to 3V3 seems to be at least twice as strong as the remote sold with the sockets. Stock remote is spotty at best. FS1000A was able to reliably toggle the socket trough multiple walls.  \n\n## Basic usage\n\n```python\n#!/usr/bin/env python3\n\nimport pyb\nfrom rfsocket import RFSocket\n\np = pyb.Pin('X1', pyb.Pin.OUT_PP)\nr = RFSocket(p)\n\nsw = pyb.Switch()\non_led = pyb.LED(2)\noff_led = pyb.LED(1)\n\ntoggle = True\nwhile True:\n    if sw():\n        if toggle:\n            r.group_on()\n            on_led.on()\n            off_led.off()\n        else:\n            r.group_off()\n            on_led.off()\n            off_led.on()\n        toggle = not toggle\n        pyb.delay(300)\n  ```\n\n","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Communications","通讯类"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuub%2Fmicropython-rfsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuub%2Fmicropython-rfsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuub%2Fmicropython-rfsocket/lists"}