In the printer profile there is a check box for heated chamber. This will turn on the display in the temperature graph. This is support for a firmware based chamber.
Marlin has M141 and M191 commands to set (and wait for) the chamber temperature and M105 will report the chamber temperature in addition to the other temperatures it reports.
If your printer / firmware doesn't support a heated chamber, then you can use the plugin like the one @Ewald_Ikemann pointed out.
If you wanted a do it yourself solution, you need a printer controller board with room for another thermistor (or other temperature sensing probe), another set of heater terminals, and you would have to be able to build your own firmware.
Hello there, I'm also using the Enclosure Plugin and want to link the temp-value i receive from a 1-wire DS18B20 temperature sensor to the Chamber temperature in the temperature menu. In my mind it should be easy to set up, but i'm kind of new to octoprint and don't really know were and how to link it. Have you guys found any solution for our issue?
I already have configured the plugin settings and see the temperature in the enclosure tab and in the navbar.
I also got a pwm-fan running to cool down my chamber when printing pla and everything works fine to this point.
Now i want to plot the Chamber-temperature (from ds18b20) onto the temperature tab in octoprint (see the picture below)
The only way that (I know of) you would be able to add custom temperature graph entries is with the Plotly Temp Graph plugin and this accompanying enclosure plugin fork which adds support for the temperature graph plugin.
Otherwise, the only things that can be shown on the temperature graph are those sent by the printer.
I tried that, but when i activate the checkbox for "show temperature in graph" it unchecks it when i try to save the settings. so basically my checkbox is always unchecked. Do you know how to solve this issue?