Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jodelhobel opened this issue Apr 26, 2022 · 0 comments
Open

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

jodelhobel opened this issue Apr 26, 2022 · 0 comments

Comments

@jodelhobel
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant