{"id":17449162,"url":"https://github.com/ps2/omnipod_rf","last_synced_at":"2025-04-19T14:53:17.143Z","repository":{"id":66981484,"uuid":"60716152","full_name":"ps2/omnipod_rf","owner":"ps2","description":"Experimental python code for decoding omnipod rf packets from SDR","archived":false,"fork":false,"pushed_at":"2016-06-16T01:24:35.000Z","size":1728,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-29T08:51:13.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/ps2.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":"2016-06-08T17:18:47.000Z","updated_at":"2023-12-27T15:30:52.000Z","dependencies_parsed_at":"2023-05-16T10:15:12.283Z","dependency_job_id":null,"html_url":"https://github.com/ps2/omnipod_rf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps2%2Fomnipod_rf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps2%2Fomnipod_rf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps2%2Fomnipod_rf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps2%2Fomnipod_rf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ps2","download_url":"https://codeload.github.com/ps2/omnipod_rf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249718304,"owners_count":21315083,"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":[],"created_at":"2024-10-17T21:05:14.497Z","updated_at":"2025-04-19T14:53:17.113Z","avatar_url":"https://github.com/ps2.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decode Omnipod RF Packets\n\nThis repo contains tools for working with raw iq data from an SDR, and will decode the omnipod signal into packets.  For more information about the omnipod protocol, see the [omnidocs repo](https://github.com/openaps/omnidocs).\n\n## Prerequisites\n\n* [GNURadio](http://gnuradio.org/), or at least the gnuradio python libraries.\n* numpy\n\n\n## Capturing data\n\nI use [SDR# (SDR Sharp)](http://airspy.com/download/) to capture my iq files, and there are many different ways of doing this. But whatever software you use, you'll need to capture at 2024000 samples per second. *NOTE* While the signal is at 433.923MHz, we don't want to use that as our SDR center, as we will run into center DC noise issues. The code needs to know what offset we're using, so I have dictated an offset of 460kHz.  Thus, set your SDR to capture at *433.463MHz*\n\nIt should look like this in the end:\n\n![PDM Signal](example_wav.png)\n\nNotice that the signal appears to be alternating between two different frequencies. This is [FSK](https://en.wikipedia.org/wiki/Frequency-shift_keying) modulation.  If the signal is too weak (the waves are small), move the pod/pdm closer.  If the waves are clipped at the top, the signal is too strong.\n\n## Running the decoder\n\n```\n$ python omni_decode.py find_pdm.wav\nFilename = find_pdm.wav\nUsing Volk machine: avx_64_mmx\n158ms: ffffffffa3ffffffff040607041f01482b037f8d\n457ms: ffffffffa3ffffffff040607041f01482b037f8d\n756ms: ffffffffa3ffffffff040607041f01482b037f8d\n1055ms: ffffffffa3ffffffff040607041f01482b037f8d\n1353ms: ffffffffa3ffffffff040607041f01482b037f8d\n1652ms: ffffffffa3ffffffff040607041f01482b037f8d\n1951ms: ffffffffa3ffffffff040607041f01482b037f8d\n2250ms: ffffffffa3ffffffff040607041f01482b037f8d\n2549ms: ffffffffa3ffffffff040607041f01482b037f8d\n2848ms: ffffffffa3ffffffff040607041f01482b037f8d\n3146ms: ffffffffa3ffffffff040607041f01482b037f8d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps2%2Fomnipod_rf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fps2%2Fomnipod_rf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps2%2Fomnipod_rf/lists"}