Read Ambient Sensor temperature via gcode
Does anyone know if it is possible to read the Ambient Sensor temperature via gcode?
Even better, does anyone know if it's possible to monitor the Ambient Sensor via Octoprint? I'd like to be able to keep an eye on it on long prints.
Many thanks,
Andrew
Re: Read Ambient Sensor temperature via gcode
To answer my own question, today while browsing the OctoPrint Terminal during a print, I noticed the commands and responses for reading temperatures do indeed seem to include the ambient sensor:
Send: N17512 M105*39
Recv: ok T:229.6 /230.0 B:60.2 /60.0 T0:229.6 /230.0 @:40 B@:0 P:42.3 A:37.9
Sure enough - checking the machine on the device, the Ambient reading is 37.9 C.
So it is possible to read the ambient temperature sensor via gcode, but I still need to figure out how to get it to display on the Temperature chart.
Re: Read Ambient Sensor temperature via gcode
Do you ever figure out how to get the ambient temperature to display in PrusaPrint?
Re: Read Ambient Sensor temperature via gcode
I did not. I just keep an eye on the gcode log from time to time, as per my answer above. If anyone finds a solution for putting the temperature on the graph in OctoPrint, I'm all ears!
RE: Read Ambient Sensor temperature via gcode
I know this is an old post, but I discovered it while searching for the same information and I found the Top Temp Octoprint plugin that lets you view this.
If you go to the plugin settings and add a custom temp that is "From Printer" and then pick the "ambient temp" item in the PredefinedSelect box for the regexp pattern it works great!