Skip to content

Updated TEMPERATURE_REGEX#1025

Open
R0peE wants to merge 2 commits intoprusa3d:masterfrom
R0peE:patch-1
Open

Updated TEMPERATURE_REGEX#1025
R0peE wants to merge 2 commits intoprusa3d:masterfrom
R0peE:patch-1

Conversation

@R0peE
Copy link

@R0peE R0peE commented Apr 29, 2025

Modified TEMPERATURE_REGEX, to have the pinda temp as an optional field when matching.

In my case in my pins.h file i have disabled PINDA_THERMISTOR, as my probe does not have any thermistor (old pinda). Due to this in PrusaLink webgui and also in PrusaConnect temperature values under telemetry were not visible, as the regex was not matching due to the pinda field was mandatory.

Fixes my issue: #1024

Modified TEMPERATURE_REGEX, to have the pinda temp as an optional field when matching.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR revises the TEMPERATURE_REGEX to allow the pinda temperature field (and an additional temperature field) to be optional, addressing an issue where temperature telemetry values were not visible when using an older pinda probe configuration.

  • Modified the regex pattern to include optional groups for the pinda temperature fields.
  • Adjusted whitespace matching to be more flexible.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant