Skip to content

Commit

Permalink
Added illuminance measurement for SML002 (Koenkk#307)
Browse files Browse the repository at this point in the history
* Added illuminance measurement

Added illuminance measurement for Philips outdoor sensor SML002.

* Update devices.js
  • Loading branch information
papanirual authored and qosmio committed Dec 25, 2019
1 parent 3595d06 commit b1be407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -6288,6 +6288,7 @@ const devices = [
(cb) => device.report('genPowerCfg', 'batteryPercentageRemaining', 0, 1000, 0, cb),
(cb) => device.report('msOccupancySensing', 'occupancy', 0, 600, null, cb),
(cb) => device.report('msTemperatureMeasurement', 'measuredValue', 30, 600, 1, cb),
(cb) => device.report('msIlluminanceMeasurement', 'measuredValue', 0, 600, null, cb),
];

execute(device, actions, callback);
Expand Down

0 comments on commit b1be407

Please sign in to comment.