{"id":25293498,"url":"https://github.com/cnadler86/mp_espnow_wrapper","last_synced_at":"2026-05-02T03:31:35.594Z","repository":{"id":277097134,"uuid":"931325434","full_name":"cnadler86/mp_espnow_wrapper","owner":"cnadler86","description":"Send and receive data between ESPs over espnow without worries","archived":false,"fork":false,"pushed_at":"2025-05-22T14:59:08.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T15:58:32.885Z","etag":null,"topics":["espnow","micropython"],"latest_commit_sha":null,"homepage":"","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/cnadler86.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,"zenodo":null}},"created_at":"2025-02-12T04:49:32.000Z","updated_at":"2025-05-22T14:59:12.000Z","dependencies_parsed_at":"2025-02-12T05:39:12.773Z","dependency_job_id":"43bae5a5-8743-42d8-bfda-b861567bc979","html_url":"https://github.com/cnadler86/mp_espnow_wrapper","commit_stats":null,"previous_names":["cnadler86/mp_espnow_wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cnadler86/mp_espnow_wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnadler86%2Fmp_espnow_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnadler86%2Fmp_espnow_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnadler86%2Fmp_espnow_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnadler86%2Fmp_espnow_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnadler86","download_url":"https://codeload.github.com/cnadler86/mp_espnow_wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnadler86%2Fmp_espnow_wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["espnow","micropython"],"created_at":"2025-02-13T01:37:12.039Z","updated_at":"2026-05-02T03:31:35.575Z","avatar_url":"https://github.com/cnadler86.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"readme":"# Micropython espnow wrapper\nSend and receive data between ESPs over espnow without worries. This library provides asynchronous message sending and receiving with support for chunked data transmission and acknowledgments.\n\n## Features\n- Asynchronous ESP-NOW message handling\n- Automatic chunking of large messages\n- CRC32 verification for data integrity\n- Optional acknowledgment (ACK) support\n- Configurable timeout and cycle time\n- Debugging mode for easier troubleshooting\n\n## install\n\n[\u003cimg src=\"https://raw.githubusercontent.com/vshymanskyy/ViperIDE/refs/heads/main/assets/btn_install.png\" alt=\"Install using ViperIDE\" height=\"48\"/\u003e](https://viper-ide.org/?install=github:cnadler86/mp_espnow_wrapper/package.json)\n\n## Usage\n\n### Initializing the ESPNowManager\n```python\nfrom mp_espnow_wrapper import ESPNowManager\n\nesp_manager = ESPNowManager(peer='AA:BB:CC:DD:EE:FF', debug=True)\nesp_manager.set_callback('on_receive', lambda msg: print(\"Received:\", msg))\nesp_manager.init()\n```\n\n### Sending Messages\n```python\nimport asyncio\n\nasync def send():\n    message = b'Hello ESP-NOW!'\n    await esp_manager.send(message)\n\nasyncio.run(send())\n```\n\n### Receiving Messages\nThe `init` method starts the message receiving process automatically.\nRegister a receive-callback by `set_callback('on_receive',\u003ccalback\u003e)`. The callback needs to accept only one argument, namely the message\n\n## Configuration\n- `peer`: MAC address of the target device (default: broadcast)\n- `rxbuf`: Buffer size for incoming messages\n- `timeout_ms`: Message receive timeout in ms\n- `cycle_time_ms`: Interval between message chunks (ms). In order to run stables needs to be \u003e 2-3 ms\n- `wait_msg_ack`: Whether to wait for message acknowledgment. This includes the respective on_receive callback at the receiver.\n- `send_ack_afetr_cb`: Whether to send ACK after the callback execution.\n- `send_async`: Whether to send messages asynchronously.\n- `debug`: Enables debug output\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnadler86%2Fmp_espnow_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnadler86%2Fmp_espnow_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnadler86%2Fmp_espnow_wrapper/lists"}