Notifications
Clear all

Read Ambient Sensor temperature via gcode  

  RSS
andyeb
(@andyeb)
Active Member
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

Opublikowany : 19/04/2018 10:07 am
andyeb
(@andyeb)
Active Member
Topic starter answered:
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.

Opublikowany : 20/04/2018 7:31 pm
brice.h
(@brice-h)
Active Member
Re: Read Ambient Sensor temperature via gcode

Do you ever figure out how to get the ambient temperature to display in PrusaPrint?

Opublikowany : 06/12/2018 9:28 pm
andyeb
(@andyeb)
Active Member
Topic starter answered:
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!

Opublikowany : 09/01/2019 9:41 am
tadi
 tadi
(@tadi)
New Member
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. 

Top Temp (octoprint.org)

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!

 

Opublikowany : 25/02/2021 6:25 pm
Share: