Skip to content

Add FridgePower support - #76

Open
madsciencetist wants to merge 2 commits into
Patrick762:mainfrom
madsciencetist:add_fridgepower
Open

Add FridgePower support#76
madsciencetist wants to merge 2 commits into
Patrick762:mainfrom
madsciencetist:add_fridgepower

Conversation

@madsciencetist

Copy link
Copy Markdown

Add support for new product "FridgePower", device type FP.

Registers appear to match those of the AC70, with two exception for which I added support:

  1. TIME_REMAINING is in decimal-hours rather than minutes.
  2. AC_INPUT_POWER and AC_INPUT_CURRENT are signed, and are negative when current
    is flowing into the device.

Also grab both the device type and serial number in the same BLE connection to prevent it being read as FP000000000000 (the # Should never happen has happened)

madsciencetist and others added 2 commits July 13, 2026 08:17
Registers appear to match those of the AC70, with two exception for
which I added
support:
 1. TIME_REMAINING is in decimal-hours rather than minutes
2. AC_INPUT_POWER and AC_INPUT_CURRENT are signed, and are negative
when current
    is flowing into the device

The FP uses the V2 encrypted BLE protocol.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQuDJtFFignH5k3k3xgqPj
Previously, device_recognizer made two separate BLE connections: one for
the device type registers and one for the serial number registers. The
second connection was failing for the FP (returning None), causing it to
fall back to the dummy SN "000000000000".

Combine type + SN into a single read() call so both are fetched in one
connection. Also simplifies the fallback logic since there's no longer a
second read to fail independently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQuDJtFFignH5k3k3xgqPj
@reply-nick

Copy link
Copy Markdown

hello! what is needed for this PR? I am willing to help. I have a fork too main...reply-nick:bluetti-bt-lib:rn/addFridgePower

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants