Code Monkey home page Code Monkey logo

oxflasher's Introduction

Release Twitter

oxflasher

Manage ESP devices to backup, erase or flash with firmwares like Tasmota, HAA,... using esptool.py

Application

Installation

  1. Download github repository or just a oxflasher.py script

    git clone https://github.com/OxDAbit/oxflasher
    
  2. Python packages required for oxflasher.py:

    pip install PyInquirer
    

Script execution

First of all you need to locate your backup path and binary location.

├── LICENSE
├── README.md
├── backup
│   └── sonoff_basic.bin
├── haa
│   └── fullhaaboot.bin
├── src
│   └── oxflasher.py
└── tasmota
	└── tasmota.bin

This is the structure that I've used where:

  • backup -> Content backups from different devices
  • tasmota -> Content tasmota binaries
  • haa -> Content HAA binaries

Run oxflasher.py

$ python3 oxflasher.py

At the beginning, the script will display the USB ports detected.

first_menu

Connect your device and press Refresh Ports option

refresh_ports

Your device should appears in list Ports detected Press the option Connect to Port and then add the index of the USB port where your device is connected (Ex: Port nº 2 -> /dev/tty.usbserial-14310)

connect_port

At this point you can create a backup of your device, erase your device or flash it with the desired binary.

create_backup

Create backup

Script will ask you for:

  • Path where to save the backup file
  • Name of your backup file

By default the backup path will be the path where script oxflasher.py are executed and the default name will be backup.bin

You can leave fields empty and the default parameters will be selected.

After that, the script will show you the backup information before ask you if you want continue.

backup_menu

Erase device

Script will show you the USB port selected for erase process before ask you if you want continue.

erase_menu

Flash device

Script will ask you for:

  • Path where to load the binary file
  • Name of binary file

By default the backup path will be the path where script oxflasher.py are executed and the default name will be fullhaaboot.bin (HAA binary)

You can leave fields empty and the default parameters will be selected.

After that, the script will show you the backup information before ask you if you want continue.

flash_menu

Contact

oxflasher's People

Contributors

oxdabit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.