{"id":20678258,"url":"https://github.com/oxdabit/oxflasher","last_synced_at":"2026-05-07T01:08:53.181Z","repository":{"id":213527194,"uuid":"457137810","full_name":"OxDAbit/oxflasher","owner":"OxDAbit","description":"Script for flash devices with HAA or Tasmota Firmware (Linux \u0026 mac osx)","archived":false,"fork":false,"pushed_at":"2022-03-02T12:49:15.000Z","size":251,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T19:28:11.815Z","etag":null,"topics":["esp-idf","esp32","esp8266","homekit-support","python3","script","tasmota","tasmota-driver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OxDAbit.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":"2022-02-08T23:24:00.000Z","updated_at":"2022-08-10T08:37:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c649e796-e321-4fa4-b149-92fd1538652a","html_url":"https://github.com/OxDAbit/oxflasher","commit_stats":null,"previous_names":["oxdabit/oxflasher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/OxDAbit/oxflasher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OxDAbit%2Foxflasher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OxDAbit%2Foxflasher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OxDAbit%2Foxflasher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OxDAbit%2Foxflasher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OxDAbit","download_url":"https://codeload.github.com/OxDAbit/oxflasher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OxDAbit%2Foxflasher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229305,"owners_count":24217009,"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-08-01T02:00:08.611Z","response_time":67,"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":["esp-idf","esp32","esp8266","homekit-support","python3","script","tasmota","tasmota-driver"],"created_at":"2024-11-16T21:19:33.731Z","updated_at":"2026-05-07T01:08:48.138Z","avatar_url":"https://github.com/OxDAbit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://img.shields.io/github/v/tag/OxDAbit/oxflasher?color=red\u0026label=release)](https://github.com/OxDAbit/oxflasher/releases/latest)\n[![Twitter](https://img.shields.io/twitter/follow/0xDA_bit.svg?style=social)](https://twitter.com/0xDA_bit)\n\n# oxflasher\n\nManage ESP devices to backup, erase or flash with firmwares like Tasmota, HAA,... using `esptool.py`\n\n# Application\n\n## Installation\n\n1. Download github repository or just a [**oxflasher.py**](https://github.com/OxDAbit/oxflasher/blob/main/src/oxflasher.py) script\n\n\t```\n\tgit clone https://github.com/OxDAbit/oxflasher\n\t```\n\n2. Python packages required for `oxflasher.py`:\n\n\t```\n\tpip install PyInquirer\n\t```\n\n---\n## Script execution\n\nFirst of all you need to locate your backup path and binary location.\n\n```\n├── LICENSE\n├── README.md\n├── backup\n│   └── sonoff_basic.bin\n├── haa\n│   └── fullhaaboot.bin\n├── src\n│   └── oxflasher.py\n└── tasmota\n\t└── tasmota.bin\n```\n\nThis is the structure that I've used where:\n- backup -\u003e Content backups from different devices\n- tasmota -\u003e Content tasmota binaries\n- haa -\u003e Content HAA binaries\n\n---\n\n## Run `oxflasher.py`\n```\n$ python3 oxflasher.py\n```\n\nAt the beginning, the script will display the USB ports detected.\n\n![first_menu](/images/01-first_menu.png)\n\nConnect your device and press `Refresh Ports` option\n\n![refresh_ports](/images/02-refresh_ports.png)\n\nYour device should appears in list **Ports detected**\nPress the option `Connect to Port` and then add the index of the USB port where your device is connected (Ex: Port nº 2 -\u003e /dev/tty.usbserial-14310)\n\n![connect_port](/images/03-connect_port.png)\n\nAt this point you can create a backup of your device, erase your device or flash it with the desired binary.\n\n![create_backup](/images/04-create_backup.png)\n\n### Create backup\n\nScript will ask you for:\n- Path where to save the backup file\n- Name of your backup file\n\nBy default the backup path will be the path where script `oxflasher.py` are executed and the default name will be **backup.bin**\n\nYou can leave fields empty and the default parameters will be selected.\n\nAfter that, the script will show you the backup information before ask you if you want continue.\n\n![backup_menu](/images/05-backup_menu.png)\n\n### Erase device\n\nScript will show you the USB port selected for erase process before ask you if you want continue.\n\n![erase_menu](/images/06-erase_menu.png)\n\n### Flash device\n\nScript will ask you for:\n- Path where to load the binary file\n- Name of binary file\n\nBy default the backup path will be the path where script `oxflasher.py` are executed and the default name will be **fullhaaboot.bin** (HAA binary)\n\nYou can leave fields empty and the default parameters will be selected.\n\nAfter that, the script will show you the backup information before ask you if you want continue.\n\n![flash_menu](/images/07-flash_menu.png)\n\nContact\n=======\n- Twitter. [**@0xDA_bit**](https://twitter.com/0xDA_bit)\n- Github. [**OxDAbit**](https://github.com/OxDAbit)\n- Mail. **oxdabit@protonmail.com**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxdabit%2Foxflasher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxdabit%2Foxflasher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxdabit%2Foxflasher/lists"}