{"id":28954308,"url":"https://github.com/meshtastic/firmware-ota-wifi","last_synced_at":"2025-06-23T19:08:54.999Z","repository":{"id":285243033,"uuid":"951552293","full_name":"meshtastic/firmware-ota-wifi","owner":"meshtastic","description":"WiFi OTA Firmware","archived":false,"fork":false,"pushed_at":"2025-03-30T14:45:09.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-31T20:00:04.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/meshtastic.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-19T21:31:21.000Z","updated_at":"2025-05-07T23:14:05.000Z","dependencies_parsed_at":"2025-03-30T15:23:48.524Z","dependency_job_id":"3faa9280-a2bc-4387-9b8e-9710ac720bb2","html_url":"https://github.com/meshtastic/firmware-ota-wifi","commit_stats":null,"previous_names":["meshtastic/firmware-ota-wifi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Ffirmware-ota-wifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Ffirmware-ota-wifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Ffirmware-ota-wifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Ffirmware-ota-wifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meshtastic","download_url":"https://codeload.github.com/meshtastic/firmware-ota-wifi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Ffirmware-ota-wifi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258425405,"owners_count":22698751,"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":"2025-06-23T19:08:53.374Z","updated_at":"2025-06-23T19:08:54.956Z","avatar_url":"https://github.com/meshtastic.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WiFi OTA Firmware\n\n - Fits into 640KB for all esp32 targets\n - Compatible with `espota.py` from arduino-esp32\n\n### Usage\n\nBuild and write OTA binary to the `ota_1` partition (take its address from `partition-table.csv`):\n```\npio run [-e \u003ctarget\u003e]\nesptool.py --port \u003c...\u003e write_flash 0x260000 .pio/build/\u003ctarget\u003e/firmware.bin\n```\nAfter rebooting the device into OTA firmware (the main firmware has to have some way of doing that), upload a new main firmware binary over network:\n```\nespota.py --ip \u003cdevice-ip-address\u003e --file \u003cnew-main-firmware.bin\u003e\n```\nUploading a filesystem image to a `spiffs` partition:\n```\nespota.py --ip \u003cdevice-ip-address\u003e --file \u003clittlefs.bin\u003e --spiffs\n```\n\n### Details\n\n - To be able to connect to a WiFi access point, OTA firmware expects to find `ssid` and `psk` string fields in the NVRAM storage under `ota-wifi` namespace.\n - After successful flashing, a boolean field `updated` is raised, so that the main firmware can handle the \"first boot after update\" scenario.\n - OTA firmware waits for an upload only for some limited time and then reboots back to main on timeout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshtastic%2Ffirmware-ota-wifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshtastic%2Ffirmware-ota-wifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshtastic%2Ffirmware-ota-wifi/lists"}