Skip to content

Commit e6d8100

Browse files
Fake Motion Sensor is not reset after Motion Event (#525)
* Fake Motion Sensor is not reset after Motion Event During testing found that the Fake Motion Sensor is not reset after the Motion Trigger switch is reset in 5 seconds. * Update package.json * Update package-lock.json * Update CHANGELOG.md Co-authored-by: Donavan Becker <9875439+donavanbecker@users.noreply.github.com>
1 parent 51886b0 commit e6d8100

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).
44

5+
## v1.2.2 (2020-05-28)
6+
7+
### Changes
8+
* Fixed for Fake Motion Sensor, it was not reseting after Motion Events.
9+
510
## v1.2.1 (2020-05-28)
611

712
### Changes

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ffmpegPlatform.prototype.didFinishLaunching = function() {
9999
motion.setCharacteristic(Characteristic.MotionDetected, (state ? 1 : 0));
100100
if(state){
101101
setTimeout(function(){
102-
button.getCharacteristic(Characteristic.On).updateValue(false);
102+
button.setCharacteristic(Characteristic.On, false);
103103
}, 5000);
104104
}
105105
callback(null, state);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"displayName": "Homebridge Camera FFmpeg",
33
"name": "homebridge-camera-ffmpeg",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"description": "ffmpeg plugin for homebridge: https://github.com/homebridge/homebridge",
66
"license": "ISC",
77
"keywords": [

0 commit comments

Comments
 (0)