I am getting the message “Cannot receive LCD test from python script”, the script is not starting and I am not able to upload a hex file.
My Brewpi which is run on a Raspberry Pi and Arduino Uno was working absolutely fine until I replaced the 2 temperature probes with longer ones (same type, just longer). Ever since then I have been getting the issue as above. I formatted and did a full reinstall of everything and it hasn’t fixed the issue. I’ve put the old shorter temperature probes back on, tried a different usb cable and a more powerful power supply for the Raspberry Pi with no change to the problem. I’ve also checked the wiring etc and that all seems fine.
I have very limited ability with Linux so laymans terms suggestions are best!
Does anyone have any ideas on what may be up? Is it likely hardware or software and what should I try next? I’m just baffled as to how it was working fine and then developed this issue when changing the temperature probes. My friend changed his probes to identical ones to mine with no issues.
I sometimes have the same issues but I am using the BrewPi Spark. For me it works fine to disconnect the Brewpi form the Raspberry Pi, restart die Raspberry Pi, wait until the log in webinterface says, that no machine could be found on the serial ports and then to connect the powered off BrewPi Spark. I think it might work with the arduino on the same way.
In addition to the above post, here is some more information.
When I try to install a hex it says:
Could not read boards.txt from Arduino, probably because Arduino has not been installed
Please install it with: sudo apt-get install arduino-core
So i tried sudo apt-get install arduino-core and get a whole heap of rubbish regarding ‘something wicked happened’ and errors about the mirrors. I can’t post it here as I’m a new user and it won’t allow me to post all the links.
As always, thanks for the response and for being so quick about it too.
Sorry, I was sloppy in my use of terms.
The code in the Arduino seems to be running correctly.
The script on the RPI only seems to run when I ask it to manually and stops when I close the terminal or do a ctrl-c after manually running the script. If I don’t do a ctrl-c then I don’t get back to the RPI prompt.
I can access the web, but since the Python script is not running none of the data from the maintenance area is available.
I ran the fix permissions but that didn’t help. Looking at the output of the script I saw that it fixed the permissions for /var/www.
I wanted to have password control access remotely and in my fiddling to get that to work I believe that my web UI interface is in /var/www/html instead of the default.
I modified the script to use the new path. Ran the script again but still no joy.
Here are some images.
Apologies as I’m having to do this with my phone as my computer is currently not available.