Skip to content

Commit

Permalink
v1.1.0 (#15)
Browse files Browse the repository at this point in the history
* Update package.json

* Update package-lock.json

* Add support for Arlo Q. (#9)

Co-authored-by: Jeremy Higgs <[email protected]>

* Update nodejs-beta.yml

* corrected parameter name: from active to activeMode (#7)

Co-authored-by: Jeremy Higgs <[email protected]>
Co-authored-by: Jeremy Higgs <[email protected]>
Co-authored-by: Roy Lines <[email protected]>
  • Loading branch information
4 people authored Jun 12, 2020
1 parent 4dd6af7 commit ec295eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-beta.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node-CI Beta
name: NodeJS-Beta

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions lib/Arlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Arlo extends EventEmitter {
this.devices[device.deviceId] = new ArloCamera(device, this);
this.emit(Constants.EVENT_FOUND, this.devices[device.deviceId]);
}
else if (device.deviceType === Constants.TYPE_ARLOQS) {
else if (device.deviceType === Constants.TYPE_ARLOQS || device.deviceType === Constants.TYPE_ARLOQ) {
this.devices[device.deviceId] = new ArloQ(device, this);
this.devices[device.deviceId].subscribe();
this.emit(Constants.EVENT_FOUND, this.devices[device.deviceId]);
Expand Down Expand Up @@ -132,7 +132,7 @@ class Arlo extends EventEmitter {
let baseStation = this.devices[msg.data.from];

if (baseStation) {
baseStation.emit(msg.data.properties.active);
baseStation.emit(msg.data.properties.activeMode);
}

break;
Expand Down
1 change: 1 addition & 0 deletions lib/ArloConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
TRANS_ID : 'transId',

TYPE_ARLOQS : 'arloqs',
TYPE_ARLOQ : 'arloq',
TYPE_BASESTATION : 'basestation',
TYPE_CAMERA : 'camera',
TYPE_SIREN : 'siren',
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-arlo",
"version": "1.0.0",
"version": "1.1.0",
"author": "homebridge-plugins",
"description": "JS library for Arlo Cameras",
"main": "./index.js",
Expand Down

0 comments on commit ec295eb

Please sign in to comment.