We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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;
The text was updated successfully, but these errors were encountered: