Last active
August 29, 2015 14:21
-
-
Save easierbycode/b4b5b6988c1ea7f20fbf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
formatted = { | |
prefix: 'HC2', | |
sequenceNumber: '0100', | |
networkHubMAC: '533F15800700', | |
action: '01', | |
sensorHubMAC: '103E15800700', | |
nbrOfBytes: '10', | |
temperatureMax: '2000', | |
temperatureMin: '0000', | |
lightMax: 'ffff', | |
lightMin: 'ffff', | |
humidityMax: 'ffff', | |
humidityMin: 'ffff', | |
movementSensitivity: 'ffff', | |
wakeupInterval: 'FF', | |
reportingInterval: 'FF', | |
resetFlag: '00' | |
} | |
unformatted = { | |
action: 1, | |
humidityMax: 65535, | |
humidityMin: 65535, | |
lightMax: 65535, | |
lightMin: 65535, | |
motionMax: 65535, | |
motionMin: 65535, | |
movementSensitivity: 65535, | |
networkHubMAC: "000780153F53", | |
sensorHubMAC: "000780153E10", | |
temperatureMax: 91, | |
temperatureMin: 33, | |
waterMax: 65535, | |
waterMin: 65535 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment