rfcontroljs
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -23,3 +23,3 @@ module.exports = function(helper) { | ||
}, | ||
state: { | ||
contact: { | ||
type: "boolean" | ||
@@ -40,3 +40,3 @@ }, | ||
all: helper.binaryToBoolean(binary, 26), | ||
state: helper.binaryToBoolean(binary, 27), | ||
contact: !helper.binaryToBoolean(binary, 27), | ||
unit: helper.binaryToNumber(binary, 28, 31) | ||
@@ -43,0 +43,0 @@ }; |
@@ -19,3 +19,3 @@ module.exports = function(helper) { | ||
}, | ||
presence: { | ||
contact: { | ||
type: "boolean" | ||
@@ -32,3 +32,3 @@ } | ||
id: helper.binaryToNumber(binary, 0, 19), | ||
presence: true | ||
contact: false | ||
}; | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "rfcontroljs", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "Protocol support for different 433mhz switches and weather stations for the RFControl Arduino library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
121991