Post By solace
Artisan - Arduino UNO - MAX6675 - Linux: Errno 8
I know there are some fellow code bashers amongst these pages so here goes...
I am trying to move my software monitoring setup to Artisan. I have a Type K thermocouple connected to an Arduino UNO via MAX6675 breakout board. In Artisan I am simply reading temp data from std out coming from a python script using the serial interface.
Currently I am getting something similar to the following error when engaging ‘On’ in Artisan:
”Exception in callProgram() [Errno 8]”
I know the sketch is fine as I get temp output via the Serial Monitor in the Arduino IDE. My python script also works and prints temp readings when run manually.
I have had a glance over the Artisan source but struggling to debug this error message.
Before opening an issue request on GitHub I thought I would canvas if anyone else has had such issues?
OS is Ubuntu 18.04 and Artisan version is 1.5
Nothing of much use in syslog, it looks as though ModemManager was trying to take control of the device however have disabled that service and still the same result. Also added a udev rule thinking it was something funky going on with the device name but again the same result.
UPDATE: I managed to get this working but not with my original sketch. I ended up using a TC4 sketch for RoastLogger that someone had modified to allow Artisan support. Effectively you fool Artisan into thinking the MAX 6675 is a TC4.