rfcontroljs
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -6,3 +6,3 @@ var doesProtocolMatch, helper, protocols, sortIndices, | ||
protocols = ['weather1', 'weather2', 'weather3', 'weather4', 'weather5', 'weather6', 'switch1', 'switch2', 'switch3', 'switch4', 'switch5', 'switch6', 'switch7', 'switch8', 'rolling1', 'dimmer1', 'pir1', 'pir2', 'contact1', 'contact2', 'generic']; | ||
protocols = ['weather1', 'weather2', 'weather3', 'weather4', 'weather5', 'weather6', 'switch1', 'switch2', 'switch3', 'switch4', 'switch5', 'switch6', 'switch7', 'switch8', 'switch9', 'rolling1', 'dimmer1', 'pir1', 'pir2', 'contact1', 'contact2', 'generic']; | ||
@@ -9,0 +9,0 @@ protocols = protocols.map((function(_this) { |
@@ -16,3 +16,3 @@ module.exports = function(helper) { | ||
}, | ||
brands: ["Auriol"], | ||
brands: ["Auriol", "Pollin (EWS-151)"], | ||
pulseLengths: [492, 969, 1948, 4004], | ||
@@ -24,3 +24,3 @@ pulseCount: 74, | ||
return result = { | ||
temperature: helper.binaryToNumber(binary, 15, 23) / 10 | ||
temperature: helper.binaryToSignedNumber(binary, 12, 23) / 10 | ||
}; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "rfcontroljs", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Protocol support for different 433mhz switches and weather stations for the RFControl Arduino library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
123889
32
2023