Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
64 stars 11 forks source link

Add a 1 byte temperature value #111

Open acamilo opened 4 months ago

acamilo commented 4 months ago

Is your feature request related to a problem? Please describe. There are two 16 bit temperature object IDs with scaling factors of 0.1 and 0.01. It feels like there should be two 8 bit object IDs

Describe the solution you'd like there should be two object IDs 0xYY and 0xZZ at two scaling factors 1 and 0.35 0xYY would be a signed uint8_t allowing for a temperature of −128c to +127c 0xZZ would be a signed uint8_t allowing for a temperature of −44.8c to +44.45c

Additional context Add any other context or screenshots about the feature request here.