Get data from Alpicool and Brass Monkey Fridges via Bluetooth LE.
C:\Users\Hazelmeow\Desktop\Python\Alpicool>python Alpicool.py
Scanning BLE devices... finished.
There is 1 device:
- FF:FF:11:2D:DA:B0: A1-FFFF112DDAB0
Fridge BLE device found.
<Fridge FF:FF:11:2D:DA:B0>: Connecting... connected.
{
"timestamp": 1745242462,
"power": true,
"mode": "Eco",
"ctrl_locked": false,
"temp_unit": "Fahrenheit",
"temp_max": 50,
"temp_min": 0,
"battery_voltage": 12.4,
"battery_voltage_save_level": "Mid",
"battery_charge_percent": 100,
"start_delay_minute": 0,
"unit1": {
"temp_current": 15,
"temp_target": 12,
"temp_hysteresis": 3,
"temp_corr_halt": -3,
"temp_corr_hot": -2,
"temp_corr_warm": -4,
"temp_corr_cold": -5
},
"unit2": {
"temp_current": -128,
"temp_target": 0,
"temp_hysteresis": 0,
"temp_corr_halt": 0,
"temp_corr_hot": 0,
"temp_corr_warm": 0,
"temp_corr_cold": 0
}
}
Traceback (most recent call last):
File "C:\Users\Hazelmeow\Desktop\Python\Alpicool\Alpicool.py", line 18, in await_with_exc_print
result = await awaitable
^^^^^^^^^^^^^^^
File "C:\Users\Hazelmeow\Desktop\Python\Alpicool\Alpicool.py", line 309, in main_async
result = (await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
))[0]
^
File "C:\Program Files\Python313\Lib\asyncio\tasks.py", line 718, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
<Fridge FF:FF:11:2D:DA:B0>: Disconnecting... disconnected.
^C