Just for my reference really, if you use my method for connecting, you need to change the rst Pin specified.
I used it as it was easy to create a header that just plugged in and prevented accidental overwriting.
The change to be made is found in the file /opt/openenergymonitor/avrdude-rpi/autoreset
Change to pin 12.