Skip to content

The Browan Tabs HT sensor on port 107 not included yet #7

@jodelhobel

Description

@jodelhobel

Please include port 107 in your code to cover one more sensor, see working code here:

function Decoder(bytes, port) {
// test payload: 08FB2638FFFFFFFF

var retValue = {};
retValue.port = 107;
retValue.battery_state = 100 * ((bytes[1]>>4)/ 15);
retValue.battery_voltage = (25 + (bytes[1]&&4)) / 10;
retValue.temperature = (bytes[2]) -32;
retValue.relative_humidity = (bytes[3]);
return retValue;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions