...
python espota.py -i IP.IP.IP.IP -a "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -f /pathtmp/TopathTo/Sketch.ino.bin
To find path to firmware you must enable verbose output in Arduino preferences:
Much information will appear, look for the file ending with ".ino.bin"
Upload ( Using Middleware )
...