Had time to work on this again, today. Hoping I can get some help. I think I may be erring on the file copy instructions.
I cloned the supercow files as I now understand @supercow code supports the Arduino UNO that I am using.
1) I copied the folder brewpi-web to /var/www --- so now I have a folder:
/var/www/brewpi-web with the files:
beer-panel.php, indes.php, previous_beers.php, and to folders css & js
2) I copied the folder brewpi-script to /home/brewpi --- so now I have a folder:
/home/brewpi/brewpi-script with the files:
blescan.py, brewometer.py, brewpiJson.py and Brewpi.py;
and a folder brewometer
I think I did something wrong above - ???
If not, I ran the following:
sudo apt-get install bluez python-bluez python-scipy python-numpy libcap2-bin
sudo setcap cap_net_raw+eip $(eval readlink -f
python BrewometerTest.py (which I ran from the BrewometerTest folder)
And I am receiving the data from by Brewometer!!!
I then continued to the next instructions to fix the ownership
sudo chown -R www-data:www-data /var/www
sudo chown -R brewpi:brewpi /home/brewpi
This is where I know something is wrong. I went to my brewpi via my web browser and the brewpi loads but I can't start the script. And when I try to connect to the Arduino in the maintenance panel, I get the following error:
error while receiving device configuration: Syntax Error: JSON Parse error: Unexpected identifier "Couldn"
@sbowler, @andylytical, @nanotapp, @NottingHill - I see there is a lot of great info on this thread and the related, but I'm hoping you all can help.
I'll keep trying, I'm not giving up and I'm encouraged that I did see my brewometer when I ran the test!
Thanks for any help.