ha-pitboss icon indicating copy to clipboard operation
ha-pitboss copied to clipboard

Possible to add target probe temperature?

Open DRuggeri opened this issue 6 months ago • 3 comments

Checklist

  • [X] I have filled out the template to the best of my ability.
  • [X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • [X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The PitBoss app and physical controller allows setting and viewing the target temperature for the probe(s) attached to the grill. I am wondering if this data is broadcast in the BLE packets and if it could be set as a sensor value.

Describe the solution you'd like

It would be optimal to capture and report the target temperature(s) for the probes. I see that most of the information comes from a coordinator.data object, but I'm not savvy enough to understand how that object is populated via Bluetooth to detect what other keys are available in the data packet. A quick look shows that there are fields like data[f"p{self._probe_number}Temp"] and data["grillTemp"]

Describe alternatives you've considered

I examined the code to see if perhaps a debug log containing the data is logged at a lower level but it does not appear to be logged to know if this capability is possible. I'm happy to help debug/dump data/etc if recipes for doing so can be shared. I am using a ESPHome BLE Proxy for this integration, and can also stand up another proxy to get lower level information if that may be helpful?

For reference, I am using the pbv4ps2 smoker.

Additional context

Happy to help however I can! While I'm an experienced developer, my expertise with HASS integrations and Python magic is pretty weak - pointers to how to triage/debug would be appreciated!

DRuggeri avatar Aug 18 '24 17:08 DRuggeri