LazeMSS / OctoPrint-TopTemp

Topbar temperature plugin for OctoPrint
21 stars 2 forks source link

How do you add a custom temp....specifically a Chamber sensor? #62

Closed irwinpks closed 3 years ago

irwinpks commented 3 years ago

How do you add a custom temp....specifically a Chamber sensor? An M105 returns this

Send: M105 Recv: ok B:28.1 /0.0 CT:-82.4 /0.0 T0:28.2 /0.0

The CT is not correctly connected (yet), but I'd like to read that -82.4 into Top Temp.

please advise.


I have this in my klipper printer.cfg

#####################################################################

Chamber Thermistor

##################################################################### [thermistor NTC_10k_3940k_beta] temperature1: 25 resistance1: 10000 beta: 3940

[temperature_sensor chamber] sensor_type:NTC_10k_3940k_beta sensor_pin: PF6 gcode_ID: CT

LazeMSS commented 3 years ago

Setup a custom temp: Type: From printer Regexp: CT:([^ ]+)

Try that

irwinpks commented 3 years ago

Perfect! thank you!!

211017_chamber

Sonicboom247 commented 2 years ago

@LazeMSS will this work the same for a board thermistor? i have added one to T1 and although in terminal I can see temps, nothing is populating in the toolbar Recv: T:20.62 /0.00 B:23.71 /0.00 M:25.99 /0.00 @:0 B@:0 [...] Recv: T:20.66 /0.00 B:23.67 /0.00 M:25.80 /0.00 @:0 B@:0 [...] Recv: T:20.74 /0.00 B:23.59 /0.00 M:25.91 /0.00 @:0 B@:0 Screenshot 2021-12-03 113418

LazeMSS commented 2 years ago

Which value do you want to be displayed?

Sonicboom247 commented 2 years ago

It is set as T1 for board thermistor, it's just not showing in the toolbar

On Fri, Dec 3, 2021, 4:07 PM LazeMSS @.***> wrote:

Which value do you want to be displayed?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LazeMSS/OctoPrint-TopTemp/issues/62#issuecomment-985828415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDNOUIOFUI7LYRUHBFL7FTUPEWRDANCNFSM5GB4TTWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

LazeMSS commented 2 years ago

Yearh i kinda flying blind here :) Which one of these values: Recv: T:20.66 /0.00 B:23.67 /0.00 M:25.80 /0.00 @:0 B@:0 do you want to be displayed? Is it the M:25.80 - then you need: M:([^ ]+)

Sonicboom247 commented 2 years ago

Screenshot 2021-12-03 113418 Yes, that is exactly what i needed!, my apologies for not being more specific Screenshot 2021-12-03 113418 Thank you Kindly!

LazeMSS commented 2 years ago

No problem