Giter Site home page Giter Site logo

lukasroegner / homebridge-nello Goto Github PK

View Code? Open in Web Editor NEW
27.0 10.0 6.0 1.18 MB

Homebridge plugin for the smart intercom nello.io.

License: MIT License

JavaScript 32.21% Shell 0.70% TypeScript 67.08%
homebridge nello homekit-api siri homekit javascript

homebridge-nello's People

Contributors

actions-user avatar alexanderbabel avatar dependabot[bot] avatar jannikarndt avatar lukasroegner avatar nihalgonsalves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-nello's Issues

Could not get access token from response

Hi,

currently I have the following problem:

[2018-10-15 17:14:51] [CDT Nello] Error while signing in. Status Code: 401
[2018-10-15 17:14:51] [CDT Nello] Error while signing in. Could not get access token from response: {"error":"unauthorized_client"}
[2018-10-15 17:14:51] [CDT Nello] Connected to webhook backend.

This problem is showing up after upgrading to the last version of this plugin. I didn't change my password in Nello nor in the homebridge config.json. Furthermore, I get the some problem by testing with a different account. For both accounts, I used a proper "clientId" provided by Nello. I double checked my login information to make sure that there is no typo.

My config.json looks like this:

...
  "platforms": [
        {
            "platform": "NelloPlatform",
            "name": "CDT Nello",
            "username": "****@***",
            "password": "******",
            "clientId": "3d*****",
            "lockTimeout": 5000,
            "locationUpdateInterval": 3600000,
            "exposeReachability": true,
            "motionSensor": true,
            "motionTimeout": 5000,
            "alwaysOpenSwitch": false,
            "homekitUser": "Home Kit"
        }
    ]
...

Do any other users experience this problem?

Nello activity logs shows wrong entry "someone rang but nello didn't open"

Hi.
I'm new with nello and thanks for providing this plug-in.
When my door opens with homebridge that gave the allowance I find two messages in the nello log. First says that someone rang but nello didn't open followed by saying that I opened the door.
How can I suppress the first message?

Best regards
Volker

Expose as stateless switch

It would be great if there is an settings to expose the mechanism as a stateless switch instead of a LockMechanism.

I would love this because it would be possible to open the door via Siri (Homepod) easily.
Currently when I tell my Homepod to open the door downstairs it says I need to do it on my phone due security restrictions!

Tell me what you think! :)
And thanks a lot for the library

Homebridge crashing due to activity/location update introduced with 0.1.6.

Hey there. My homebridge keeps crashing after updating to the most recent version of your plugin. I think the culprit is the newly introduced polling features for activity/location. Here is the log:

Mar 26 19:32:52 raspberrypi homebridge[11865]: [2018-3-26 19:32:52] [nello.io] Getting activity for door at location with ID xxx.
Mar 26 19:32:52 raspberrypi homebridge[11865]: /usr/local/lib/node_modules/homebridge-nello/index.js:385
Mar 26 19:32:52 raspberrypi homebridge[11865]: for (var i = 0; i < body.activities.length; i++) {
Mar 26 19:32:52 raspberrypi homebridge[11865]: ^
Mar 26 19:32:52 raspberrypi homebridge[11865]: TypeError: Cannot read property 'length' of undefined
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Request._callback (/usr/local/lib/node_modules/homebridge-nello/index.js:385:41)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Request.self.callback (/usr/local/lib/node_modules/homebridge-nello/node_modules/request/request.js:186:22)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Request.emit (events.js:127:13)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Request. (/usr/local/lib/node_modules/homebridge-nello/node_modules/request/request.js:1163:10)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Request.emit (events.js:127:13)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at IncomingMessage. (/usr/local/lib/node_modules/homebridge-nello/node_modules/request/request.js:1085:12)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at Object.onceWrapper (events.js:219:13)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at IncomingMessage.emit (events.js:132:15)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at endReadableNT (_stream_readable.js:1101:12)
Mar 26 19:32:52 raspberrypi homebridge[11865]: at process._tickCallback (internal/process/next_tick.js:152:19)
Mar 26 19:32:52 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 19:32:52 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Mar 26 19:32:52 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

However, after editing my config to disable the new functions:

"locationUpdateInterval":0,
"activityUpdateInterval":0,
"exposeReachability":false

homebridge and homebridge-nello work as expected. Any clue on why this is happening? Running homebridge with [email protected] and [email protected].

Keine "Es hat geklingelt" Meldung

Sorry das ich in deutsch schreibe. Aber ich brauche eine Erklärung die ich nicht erst übersetzten muss und evtl dadurch etwas falsch verstehe.
Folgendes:
Ich habe das Plugin installiert und die Daten in die Config.json richtig eingetragen. Ich bekomme auch eine Schloss in Homekit angezeigt und die Push wenn ich das Schloss öffne und es wieder geschlossen wird.
Jedoch bekomme ich nicht die Meldung die für mich wichtig ist und zwar das es geklingelt hat.
Habe schon alles probiert. Doorbell auf True, Videodoorbell auf false. Doorbell auf false, Videodoorbell auf true. Beides auf True oder false. Kamera habe ich auch schon eingebunden als neues Gerät usw.
Aber ich bekomme diese Medung einfach nicht.
Was muss ich machen und wie muss die config aussehen damit es geht.
Bitte helft mir!
Danke

Retrieving Client ID

Hi Lukas,

Is it possible to retrieve Client ID and key without the website mentioned below? It seems to be off for several weeks. Any alternative routes?

Thank you in advance

Referring to:

IMPORTANT: Please visit https://auth.nello.io/admin/ and sign in with your username and password that you also use in the nello.io app.

Homebridge registering a wehook

@lukasroegner @AlexanderBabel we have had a few customers having issues with their webhooks not being called. After checking the logs I saw that their webhooks get updated to something like this: https://nello.alexdev.de/callback/..... Furthermore in the connectWebhook.js in line 7 there is a socket connection to https://nello-socket.alexdev.de. It seems like the homebridge plugin is registering a webhook with the user's locations and that all the notifs go through the proxy at alexdev.de.

Can you guys tell me if my guess is wright?

Also, on a privacy note: Do the users know that the homebridge messages go through a proxy?

Feature: Switch added

HomeKit: Switch to enable "auto open" if it switched on and you can use it to make intervals for opening the door

Video Doorbell service

Hey there,

do you have any new information about the upcoming video doorbell service?

Greetings
Alex

Removing Username/Password from config file brakes the plugin

Hi, sorry if I may ask a question that is answered already but I could not found it after some search in the issues.
I tried to use the plugin with clientId and clientSecret only like in the readme (Default configuration (with a motion sensor for ring notifications)).
In the startup logs of homebridge the plugin always requests the username and password and was not working at all (nothing added to Apple Home) so I added username and password in the config file.
After adding above everything works like it should.
Could somebody tell me what is the benefit of having clientId/clientSecret if I still need a plain password and user in an unsecured file?

video doorbell problem

Am I right that when I want to use to open the door with a notification I need to enable the video doorbell?

I don't have a video camera attached to the raspberry pi / door or whatever. I am just using this plugin. But I am not 100% sure I understood this correctly.

My config looks like this

"platform" : "NelloPlatform", "name" : "nello.io", "username": "[email protected] "password": "xxx", "lockTimeout": 5000, "locationUpdateInterval": 3600000, "exposeReachability": true, "videoDoorbell": true, "raspberryPiCamera": true, "homekitUser": "Home Kit",

but when I start homebridge with this config this happens:

[2018-7-13 12:52:56] [nello.io] Got locations from nello.io.
[2018-7-13 12:52:56] xstreet., Köln Camera is running on port 42931.

/usr/local/lib/node_modules/homebridge-nello/CameraSource.js:238
v4l2ctl.stderr.on('data', function (data) { if (this.conf.debug) console.log('v4l2-ctl', String(data)) })
^
TypeError: Cannot read property 'debug' of undefined
at Socket. (/usr/local/lib/node_modules/homebridge-nello/CameraSource.js:238:63)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:607:20)

Any idea? are the settings even correct?
When setting raspberryPiCamera to false I can successfully start it but cannot find the video doorbell in the apple home app

Regards,
Jan

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory

Running into the UUID already existing problem, therefore not able to start plugin. Already tried to uninstall/install hombridge and plugin. Also tried to delete accessories and persist folder. First time I am using the plugin, so cannot report on any changes since an update.

[11/26/2018, 1:25:17 AM] [nello.io] Cached accessories loaded.
[11/26/2018, 1:25:17 AM] [nello.io] Getting locations from nello.io.
[11/26/2018, 1:25:17 AM] [nello.io] Signing in.
[11/26/2018, 1:25:17 AM] Homebridge is running on port 5182.
[11/26/2018, 1:25:18 AM] [nello.io] Signed in.
[11/26/2018, 1:25:18 AM] [nello.io] Getting locations from nello.io.
[11/26/2018, 1:25:18 AM] [nello.io] Adding new accessory with location ID 952951e3-93ce-494c-9900-50a8760eda8a.
[11/26/2018, 1:25:18 AM] [nello.io] Accessory name for location ID 952951e3-93ce-494c-9900-50a8760eda8a is XXX .
[11/26/2018, 1:25:18 AM] [nello.io] Configuring accessory with location ID 952951e3-93ce-494c-9900-50a8760eda8a.
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:264
      throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
      ^

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: b9f33d00-e2cc-4e26-ae25-afa2f865105d
    at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:264:13)
    at Bridge.Accessory.addBridgedAccessories (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:290:10)
    at Server._handleRegisterPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:473:16)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:41:10)
    at API.emit (events.js:182:13)
    at API.registerPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/api.js:159:8)
    at NelloPlatform.module.exports [as addAccessory] (/usr/local/lib/node_modules/homebridge-nello/functions/addAccessory.js:33:18)
    at Request._callback (/usr/local/lib/node_modules/homebridge-nello/functions/updateLocations.js:85:26)
    at Request.self.callback (/usr/local/lib/node_modules/homebridge-nello/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)

Video Doorbell Profile not working

After I couldn't get the newest version of the plugin running I completely started from scratch. E.g. set up a fresh Raspberry Pi with camera module with the newest Raspbian, installed NodeJS, HomeBridge and the nello plugin. My config.json file looks as follows:

`{
"bridge": {
"name": "DebugHB",
"username": "CC:22:3D:E3:CE:12",
"port": 51825,
"pin": "123-34-456"
},

"description": "Secondary HomeBridge for testing",

"accessories": [
 ],

"platforms": [
     {
        "platform" : "NelloPlatform",
        "name" : "NewNello",
        "username": "username",
        "password": "password",
        "lockTimeout": 5000,
        "locationUpdateInterval": 3600000,
        "exposeReachability": true,
        "doorbell": false,
        "videoDoorbell": true,
        "video": {
            "stream": "-re -i rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov",
            "snapshotImage": "http://via.placeholder.com/1280x720",
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 30
        },
        "homekitUser": "FirstName LastName"
    }
 ]

}
`

I'm running homebridge as root; and tried the following:

  1. doorbell: false, videoDorbell: true. Untouched "video" section, e.g. stream: "-re -i ". After pressing Add Accessory in the Home App I can see a camera with the same name as my lock, trying to add it with the correct 123-34-456 PIN keeps going forever and finally fails saying "Couldn't add accessory".
  2. doorbell: false, videoDorbell: true, stream: see above, using the test rtsp stream. Same behaviour: can't add the extra camera accessory
  3. doorbell: true, videoDorbell: false. I don't see the camera accessory anymore when wanting to add a New Accessory. But I dont get push notifications of someone ringing the Bell either. Is that the normal behaviour? I guess not. The other push notifications of a locked / unlocked Nello do work fine.
  4. doorbell: true, videoDorbell: true. Can't see the camera accessory anymore after restarting the Raspberry Pi, restarting HomeBridge, removing the /persist and /accessory directory, removing the Homebridge instance from the Home App, changing the MAC-address-styled username in the config.json file.

The fourth state persists so far, no matter what I am doing. Any idea what could be the error?

Potential security issue with the alwaysOpenSwitch

While working on #42 I realised that the Nello Webhook isn't really authenticated or verified, and nor do they provide any way of doing so.

As webhoook actions are normally just notifications, the most an attacker could do is send fake notifications to Homebridge and update the state wrongly.

However, with the alwaysOpenSwitch enabled, an attacker could theoretically open the door by sending a deny action to the webhoook endpoint.

Perhaps @ermalguni you could provide some insight into whether authentication is planned?


✅ Resolved by #55, #56, AlexanderBabel/nello-backend#6

No VideoDoorBell configurtion needed for Push notification with unlock button

Hi Guys, it is not needed to configure a camera via the homebridge-nello plugin to get a push notification with unlock button. The lock and the camera must be in the same room to see the unlock button, but the camera could be another one like a Netatmo or Nest (via homebridge-nest-cam plugin). In my case I have 3 cams an i get randomly the cam pictures in the push notification and the unlock button works every time!

Realy nice feature, since no VideoDoorBell (with HomeKit Support) have the possibillity to open a door.

Thanks for this plugin!

[enhancement] Release notes would be great

First, thanks a lot for your work and the time you are investing. And of course for sharing it with the community.
Some Release notes would be great and maybe some trusting words in the description because of the delicate fact thats it's about a door look. ;)
Thanks again and I very appreciate your commitment.

Viele Grüße

Nello open by time window, not recognised in Homebridge/HomeKit anymore

@lukasroegner @ermalguni
Hi Guys. Hope you are doing well.
I noticed that when Nello opens the door because of a scheduled time window, the action is not recognised in HomeKit/Homebridge anymore.
What is strange, everything is working when opening the door inside of HomeKit (Eve or Home App), the door opens other iOS devices show a notification that the door was opened and also Nello App is showing a push notification that Homebridge (User) opened the door.
Only the other way around is not working, when Nello opens automatically, no info is send to Homebridge/HomeKit anymore.
Any idea?
Thanks in advance for the time you are investing and for your reply.

Nello lost connection after a while

Hello Lukas, unfortunately my Nello Connection doesn't work properly anymore.
Do you have any idea? In the first few minutes, the connection still goes

2019-10-17 20:00:09] [nello.io] Signing in.
[2019-10-17 20:00:09] [nello.io] Getting locations from nello.io.
[2019-10-17 20:00:09] [nello.io] Cached accessories loaded.

2019-10-17 20:00:09] [nello.io] Signing in.
[2019-10-17 20:00:09] [nello.io] Getting locations from nello.io.
[2019-10-17 20:00:09] [nello.io] Cached accessories loaded.

[2019-10-17 19:00:41] [nello.io] Connected to webhook backend.
[2019-10-17 19:00:40] [nello.io] Connecting to webhook relay service
[2019-10-17 19:00:40] [nello.io] Error while signing in. Status Code: 504
[

Implementation of a Switch Option for Beacon Automation

Dear collaborators,

This Homebridge plugin for nello is really great!
The only thing missing from the nello-producers point of view is the option to use a beacon instead of having to ring and waking up everybody in the flat.
Therefore I thought of using the RoomLocator of LinkDesk and putting it somewhere in my mailbox which is close to the door.
The setup using the Devices App is really easy but due to HomeKit security regulations you always have to confirm the push notification telling you if you are sure to open the lock.

Therefore it would be amazing to have the option of using a switch instead of a lock. This would allow to bypass the security and result in a complete automation without having to get your iPhone out of your pocket, unlocking and confirming the automation action.

Hopefully this issue helps others sharing the same wish of having hands free access to your door.
Thanks again for your great work @AlexanderBabel @lukasroegner !

rtsp stream resolution to high performance problem Pi3B+

I found a nice rtsp stream that works with my configuration. Unfortunately the stream doesn't come well in HomeKit. I assume the quality/size is to high and uses to much performance on the RPi 3 B+.
Is there a way to change this in the config that a lower stream/resolution is used instead? As I understand maxWidth, maxHeight is only for the snapshotImage. Which works perfect of course.

The stream is rtsp://62.113.221.8:554/danubeHotels-rtplive/camera1.stream

Thanks in advance for any help.

"video": {
                "stream": "-re -i rtsp://62.113.221.8:554/danubeHotels-rtplive/camera1.stream",
                "snapshotImage": "https://i.imgur.com/naQ5MuW.png",
                "maxWidth": 1280,
                "maxHeight": 720,
                "maxFPS": 30,
                "vcodec": "h264_omx"
            },

[Haustür] An error occurs while making stream request | An error occurs while making snapshot request

Thanks for updating v.0.3.1. Plugin starts without a problem now.
I already installed homebridge-camera-ffmpeg v0.1.8 and added the lines to the config.json
Unfortunately I got an error in the log. Homebridge still running but not placeholder Picture in the camera.

Thanks again.

Jun 16 11:27:25 raspberrypi-3BPlus homebridge[8200]: [2018-6-16 11:27:25] [Haustür] An error occurs while making stream request
Jun 16 11:27:59 raspberrypi-3BPlus homebridge[8200]: [2018-6-16 11:27:59] [Haustür] An error occurs while making snapshot request
{
            "platform": "NelloPlatform",
            "name": "Haustür",
            "username": "[email protected]",
            "password": "xxxx",
            "lockTimeout": 5000,
            "locationUpdateInterval": 3600000,
            "exposeReachability": true,
            "doorbell": false,
            "videoDoorbell": true,
            "video": {
                "stream": "-re -i <your-url>",
                "snapshotImage": "http://via.placeholder.com/1280x720",
                "maxWidth": 1280,
                "maxHeight": 720,
                "maxFPS": 30
            },
            "homekitUser": "Homebridge User"
        },

Make client_id configurable

Hi,

can you please make the client_id configurable. We want all the users using their own client_id so that the API rate limiter will not kick in. Furthermore, the client_id is associated with a specific user and all other password authentications will not work in the near future.

Thanks,
the nello team

Crashing homebridge after removing config

I have two homebridge instances running, now I wanted to move the nello config from one instance to the other, since then the "old" instance keeps crashing on start up. If I uninstall the plugin it works again, whats weird is that the nello lock after the uninstall doesn't disappear from the Apple home app, instead it gives me a constant spinning wheel.

Mai 23 13:25:37 raspberrypi homebridge[1688]: Load homebridge-nello.NelloPlatform
Mai 23 13:25:37 raspberrypi homebridge[1688]: /usr/local/lib/node_modules/homebridge-nello/index.js:43
Mai 23 13:25:37 raspberrypi homebridge[1688]: platform.config.clientId = "7d9500ef-f5cb-41cf-b684-4e5345f0c48b";
Mai 23 13:25:37 raspberrypi homebridge[1688]: ^
Mai 23 13:25:37 raspberrypi homebridge[1688]: TypeError: Cannot set property 'clientId' of null
Mai 23 13:25:37 raspberrypi homebridge[1688]: at new NelloPlatform (/usr/local/lib/node_modules/homebridge-nello/index.js:43:28)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Server._loadDynamicPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:325:30)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:8)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Module._compile (module.js:652:30)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Object.Module._extensions..js (module.js:663:10)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Module.load (module.js:565:32)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at tryModuleLoad (module.js:505:12)
Mai 23 13:25:37 raspberrypi homebridge[1688]: at Function.Module._load (module.js:497:3)

It doesn't open the Door

Plugin seems to work except it doesn't open the buzzer/door.

[2018-2-22 19:08:18] [nello.io] Configuring accessory with location ID 673d50b7-681a-40b3-b9f3-6216fbeda983.
Setup Payload:
X-HM://0023ISZ053HB4
[2018-2-22 19:08:19] [nello.io] Cached accessories loaded.
[2018-2-22 19:08:19] [nello.io] Signing in.
[2018-2-22 19:08:20] [nello.io] Signed in successfully.
[2018-2-22 19:09:54] [nello.io] Opening door at location with ID 673d50b7-681a-40b3-b9f3-6216fbeda983.

nello working with HomeKit after 18.10.2019 Bankruptcy of LOCUMI LABS GmbH

@ermalguni @lukasroegner
First of all, so sorry to hear about the bankruptcy of LOCUMI LABS GmbH. 😔
All the best to the girls and guys there. Wish them all the best for their new way.

Anyway, you think there is a chance to keep nello working locally and with homebridge-nello?
Last words from nello Team was.. "So that you can still use your nello one, we are currently working on a solution, which we will introduce to you shortly. 🤗"

Maybe there is a glimpse of hope for us customers?

@lukasroegner As an external, are you involved or trying to reach out to them to also keep your Plugin alive? Would be awesome.

Thanks to you.

Error while signing in. Status Code: 500

Hi after several tests, following all the instructions, I still can not activate the plug in.
I have a custom user in App, done auth in https://auth.nello.io/admin/, tested with https://auth.nello.io/client/
and the variable are correct ....I have no idea about the problem, every start this is the error:

[nello.io] Cached accessories loaded.
[nello.io] Getting locations from nello.io.
[nello.io] Signing in.
[nello.io] Error while signing in. Status Code: 500
[2018-11-18 01:16:09] [nello.io] Error while signing in. Could not get access token from response: "\n\n \n <title>AttributeError: 'NoneType' object has no attribute 'user_id'....................

 "platform" : "NelloPlatform",
  "name" : "nello.io",
  "username": "<fgxxxxxxxxxxxxxxxxxxxxxx>",
  "password": "<axxxxxxxxxxxxxxxxxxxxxxx>",
  "clientId": "fbxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "lockTimeout": 5000,
  "locationUpdateInterval": 3600000,
  "exposeReachability": true,
  "motionSensor": true,
  "motionTimeout": 5000,
  "alwaysOpenSwitch": false,
  "homekitUser": "Homebridge"

where username is the same used in https://auth.nello.io/admin/ email field, clientId is the same and homekitUser is the same in nello app user.

thanks for support
f

motion sensor not working

The motion sensor is not working anymore.
Does somebody else have this issue?
I’m pretty sure it worked a few weeks/months ago. Now, as I am testing again, it doesn’t work.
Everything else with Nello works fine.

A lot of calls to nello-socket.alexdev.de

It seems that plugin is doing a lot of calls to nello-socket.alexdev.de. I got around 53000 calls a day. There should be some connection timeout implemented. It should be enough to call once a sec or every 2-3 sec.

Crashing homebridge during initializing platform

Hi there. I have used @AlexanderBabel fork without any issues previously.
However, after updating to 0.3.2. my homebridge crashes:

Jun 17 01:43:00 raspberrypi homebridge[32748]: [6/17/2018, 1:43:00 AM] [nello.io] Initializing NelloPlatform platform...
Jun 17 01:43:00 raspberrypi homebridge[32748]: /usr/local/lib/node_modules/homebridge-nello/index.js:55
Jun 17 01:43:00 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Jun 17 01:43:00 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Jun 17 01:43:00 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

Config is as follows:

      {
         "platform":"NelloPlatform",
         "name":"nello.io",
         "username":"xxx",
         "password":"xxx",
         "lockTimeout":30000,
         "locationUpdateInterval":3600000,
         "exposeReachability":false,
         "videoDoorbell":true,
  "video": {
                "snapshotImage": "http://www.solidbackgrounds.com/images/1280x720/1280x720-black-solid-color-background.jpg"
            },
            "homekitUser": "HomeKit Apple"
      },

Any idea on what might be wrong?
Deleting accessories/persist folders did not help.

Informations about multiple devices

Hello,

I have two Nello devices for two houses. There is a way to exclude one of the two if I want to use my main nello account, that has both of them?

ERROR LOADING PLUGIN homebridge-nello: Error: Cannot find module './functions/connectWebhook'

Hi Guys,

thanks for the update to v0.3.0.
I updated like always with sudo npm install -g homebridge-homebridge-nello but now get the error below.
I didn't change the config.json for now to keep it simple and only use the previous basics.

Am I doing something wrong or missing something?

Thanks in advance.

  {
            "platform": "NelloPlatform",
            "name": "Haustür",
            "username": "[email protected]",
            "password": "xxxxx",
            "locationUpdateInterval": 3600000,
            "activityUpdateInterval": 0,
            "lockTimeout": 5000
        },
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]: [2018-6-16 00:54:01] ERROR LOADING PLUGIN homebridge-nello:
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]: [2018-6-16 00:54:01] Error: Cannot find module './functions/connectWebhook'
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Module.require (internal/modules/cjs/loader.js:650:17)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at require (internal/modules/cjs/helpers.js:20:18)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-nello/index.js:146:42)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Module._compile (internal/modules/cjs/loader.js:702:30)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Module.load (internal/modules/cjs/loader.js:612:32)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
Jun 16 00:54:01 raspberrypi-3BPlus homebridge[5804]:     at Function.Module._load (internal/modules/cjs/loader.js:543:3)

Homebridge Crash after reboot without remote access

Hallo Zusammen,
ich habe das Problem, dass wenn ich meine Homebridge neu starte und mir der Internetzugriff fehlt, Nello keine Daten aus dem Internet holen kann und damit den ganzen Startvorgang der Homebridge beendet, bzw. neu startet. Dieser Vorgang wird so oft wiederholt bis Nello wieder Internetzugriff hat und erst dann kann ich die Homebridge wieder im HomeKit nutzen. Gibt es eine Möglichkeit den Abbruch bei fehlendem Internet zu unterbinden?
Liebe Grüße, Toni

Rate limit

[10/17/2020, 22:02:25] [NelloPlatform] API error path=https://public-api.nello.io/v1/locations/faXXXXXXX/webhook/, status_code=429, response={"result":{"code":429,"success":false,"message":"30 per 1 minute"},"data":{}}

[10/17/2020, 22:02:27] [NelloPlatform] Rate-limited, waiting 58.431 seconds

Stopped working

Is there an Server issue, or change in API?
My installation stopped working.

[4/3/2019, 8:21:39 PM] [nello.io] Connected to webhook backend.
[4/3/2019, 8:21:39 PM] [nello.io] Updating webhook for door with ID xxx to https://nello.alexdev.de/callback/lilu-cowew-imjizul-nimgati-oc-7435.
[4/3/2019, 8:21:39 PM] [nello.io] Updating webhook failed. Status Code: 500
[4/3/2019, 8:21:39 PM] [nello.io] Retry signing in and updating webhook again.

Dynamic nello information as camera stream

Hi guys,

I finally managed to install my Nello again! I now also have the video doorbell configured, I use a static image of the Nello logo (as described in my updates of the README). Thank you @AlexanderBabel for working so hard on this feature, it's fantastic!

I came up with the idea of handling the static image and the video stream dynamically, so that the image/stream in the Home app shows nice pictures in the Nello design with

  • A list of recent activities (if the bell hasn't rang)
  • A large bell icon and the Nello message ("someone rang the bell but Nello didn't open") in your language (if the bell rings)

This should be quite easy for me as I already worked with FFmpeg for years now.
By the way, I also use the static image as a source for the video stream.

Can you give me some feedback? Is this something you would use? I don't have a camera (and can't install one properly), so maybe this feature would provide some additional information.

Best regards
Lukas

How to see unlock in notification

Do you need to have a video stream to get the unlock in notification?

I'm a little confused by you manual around doorbell and video.

My use case I have video Siedle intercom. (I havn't figured out yet how to get the video stream, I hope door bird ip upgrade with video will fix this for me).

So even though I don't have video stream to put in, I want to have an unlock option in my notification.

Feature: Sensor added

When someone ring, its trigger a sensor item in HomeKit, so you can do automation based in this.

Webhooks do not work

Hi @AlexanderBabel,

I noticed some days ago that I don't get push notifications. When I restart homebridge, the connection to the backend is missing in the logs (however, no error message from socket io is shown).

Does the web hook backend work as expected?

Best regards
Lukas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.