browan / tbhv110
Browan TBHV110
The TBHV110 payload format differs by firmware and region profiles. Validate against your device’s vendor documentation.
Note
Datasheet URLs change; search for TBHV110 LoRaWAN payload from the vendor or community decoding guides.
Decoder
Copy into ChirpStack or paste in the playground.
// Browan TBHV110 — Common Helium motion / temp sensor (example; refer to vendor payload spec)
function decodeUplink(input) {
try {
const bytes = input.bytes;
const decoded = {};
if (bytes.length < 2) {
return { errors: ["Payload too short"] };
}
decoded.battery_percentage = bytes[0];
const status = bytes[1];
decoded.motion = (status & 0x01) !== 0;
decoded.tamper = (status & 0x02) !== 0;
if (bytes.length >= 4) {
const t = ((bytes[2] << 8) | bytes[3]) / 100;
decoded.temperature_c = Math.round(t * 100) / 100;
}
if (bytes.length >= 6) {
decoded.humidity_rh = (((bytes[4] << 8) | bytes[5]) / 100).toFixed(2);
}
return { data: decoded };
} catch (err) {
return { errors: [`Decoder error: ${err.message}`] };
}
}