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

Add support for PB850DX / PBL2

Open AndMetal opened this issue 8 months ago • 1 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.

I recently purchased a new PB850DX from Lowe's and am trying to integrate it with Home Assistant over WiFi using version 2025.1.0b4. When I enter the Grill ID (starts with PBL2-) I receive the error "Unknown grill type: PBL2".

Describe the solution you'd like

I'd like to see the PB850DX/PBL2 added as a supported device.

Describe alternatives you've considered

Browsing through the code, it appears during the Home Assistant configuration flow the control board is extracted from the first part of the Grill ID (in this case PBL2). That is then compared against dknowles2/pytboss/pytboss/grills.json looking for PBL2 in control_board.name. Since there are no entries with PBL2, it is correctly giving the unsupported device error and not proceeding to the next step where it looks like there would be an option to choose the grill model (ones that use the same control board) and enter the grill password if set.

I believe the closest match to the PB850DX is PB850PS2 (PBL). Here are the both of them on PitBoss's site:

850 DX Wood Pellet Grill Pro Series II 850 Wood Pellet Grill

I haven't looked closely enough to see how standard certain settings are so I'm not sure if it would be as simple as using PB850PS2 as a template and changing a few fields.

Additional context

N/a

AndMetal avatar Apr 05 '25 22:04 AndMetal

I would like the same feature. I just got the 850 DX from Lowe's too

truongty avatar Apr 16 '25 13:04 truongty

Looks like there is a commit waiting to potentially fix this. Hopefully it gets merged soon, just picked up a 850dx myself.

littleferris avatar May 27 '25 14:05 littleferris

I am still getting errors with this. I was able to add it but I am getting this

`This error originated from a custom integration.

Logger: custom_components.pitboss Source: helpers/update_coordinator.py:380 integration: PitBoss (documentation, issues) First occurred: 6:34:32 PM (3 occurrences) Last logged: 6:34:49 PM

Unexpected error fetching pitboss data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/pitboss/coordinator.py", line 67, in _async_update_data return await self.api.get_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pytboss/api.py", line 206, in get_state resp = await self._conn.send_command( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "PB.GetState", await self._authenticate({}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/pytboss/transport.py", line 80, in send_command await self._send_prepared_command(cmd) File "/usr/local/lib/python3.13/site-packages/pytboss/wss.py", line 151, in _send_prepared_command await self._sock.send_json(cmd) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/aiohttp/client_ws.py", line 261, in send_json await self.send_str(dumps(data), compress=compress) ~~~~~^^^^^^ File "/usr/local/lib/python3.13/json/init.py", line 231, in dumps return _default_encoder.encode(obj) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/local/lib/python3.13/json/encoder.py", line 200, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/local/lib/python3.13/json/encoder.py", line 261, in iterencode return _iterencode(o, 0) File "/usr/local/lib/python3.13/json/encoder.py", line 180, in default raise TypeError(f'Object of type {o.class.name} ' f'is not JSON serializable') TypeError: Object of type bytes is not JSON serializable `

littleferris avatar Jun 10 '25 00:06 littleferris

I have a Pitboss Pro Series PBL-4022D83B2DC8. Under grill editor, it's 2DC8. Getting the same exception as the above.

Though I've had the smoker for 2 years, this is my first summer with HA so I hadn't tried to integrate it previously.

jgrant216 avatar Jun 14 '25 01:06 jgrant216