Python updater.py won't detect arduino

Hey guys, I’ve been working on setting up a brewpi for the last week or so and after overcoming a number of hurdles I seem to be stuck at the final one!
(Following these instructions)

I have a Chinese arduino, running on debian wheezy inside VirtualBox

I have updated autoSerial.py with: {‘vid’: 0x1a86, ‘pid’: 0x7523, ‘name’: “Uno Clone”}

I can see my arduino -
ls /dev/ttyUSB0 returns /dev/ttyUSB0

root@debian:/home/pi/brewpi-tools# sudo python /home/brewpi/autoSerial.py
All ports:
/dev/ttyS0 - ttyS0, VID:None, PID:None
/dev/ttyUSB0 - USB2.0-Serial, VID:1a86, PID:7523
Compatible ports: 
('/dev/ttyUSB0', 'Uno Clone')
Selected port: ('/dev/ttyUSB0', 'Uno Clone')

When I run python updater.py I get the following:
(Looks like it cannot open the port/cannot detect the arduino.
Any ideas?)

root@debian:/home/pi/brewpi-tools# sudo python updater.py
######################################################
####                                              ####
####        Welcome to the BrewPi Updater!        ####
####                                              ####
######################################################

Checking whether the update script is up to date
/home/pi/brewpi-tools is up-to-date.

It is not recommended to update during a brew!
If you are actively logging a brew we recommend canceling the the update with ctrl-c.


*** Updating BrewPi script repository ***

Stopping running instances of BrewPi
[Errno 111] Connection refused
Could not connect to socket of BrewPi process, maybe it just started and is not listening yet.
Could not send quit message to BrewPi instance with pid 3619!
Killing it instead!
SIGKILL sent to BrewPi instance with pid 3619!
You are on branch legacy
The latest commit in /home/brewpi  is 8b782f0fd5a1d58cfb4f6f08d37ef8f8ef51f28e on Thu, 28 Apr 2016 06:25:47
The latest commit on origin/legacy is 8b782f0fd5a1d58cfb4f6f08d37ef8f8ef51f28e on Thu, 28 Apr 2016 06:25:47
Your local version of /home/brewpi is up to date!


*** Updating BrewPi web interface repository ***
You are on branch legacy
The latest commit in /var/www      is 398f1b50c71904f69e836b26299dd178d9d4515a on Tue, 12 Jan 2016 02:16:11
The latest commit on origin/legacy is 398f1b50c71904f69e836b26299dd178d9d4515a on Tue, 12 Jan 2016 02:16:11
Your local version of /var/www is up to date!

No changes were made, skipping runAfterUpdate.sh.
If you encounter problems, you can start it manually with:
sudo /home/brewpi/utils/runAfterUpdate.sh

The update script can automatically check your controller firmware version and program it with the latest release on GitHub, would you like to do this now? [Y/n]:y
 Stopping any running instances of BrewPi to check/update controller...
 
Checking current firmware version...
 Oct 03 2017 18:11:35   Opening serial port
 Unable to receive version from controller.
Is your controller unresponsive and do you wish to try restoring your firmware? [y/N]: 
n   
 Please make sure your controller is connected properly and try again.
Firmware update done


*** Done updating BrewPi! ***

Add the PID/VID in autoSerial.py.

Thanks for your quick response @Elco !!

I had updated it, it hasn’t made a difference.

When I run autoSerial.py it gives the result -
Selected port: ('/dev/ttyUSB0', 'Uno Clone')

The name 'Uno Clone" is consistent between the two, so looks like I’ve done it correctly.

Any other ideas?
I’ve probably missed something simple but I can’t work it out!

Thanks again,

Sorry, didn’t read your post correctly.
Is your Uno already running BrewPi? It looks like it can open the serial port just fine, but the Uno doesn’t send the BrewPi version string.

No problem !

No, it’s a fresh Uno.

How do I go about getting brewpi on there?
(Sorry, this is all new to me…)

You flash the 0.2.10 hex file to it. You are saying no the firmware update, but maybe that even still works.
You have to make sure to use the legacy branch for both the web interface and the script. We don’t support Arduino anymore, so you have to make sure you are using the old code and not the latest version.

Otherwise, there are several options to upload a hex file to Arduino. Google will help you. Download here:

Thanks! Will give it a shot