As described by @pattyland in home-assistant/core#57926:
After Locumi Labs GmbH, the manufacturer of Nello, went bankrupt in 2019, SCLAK continued to operate the servers until June 2021. According to unofficial sources, SCLAK also went bankrupt at the beginning of 2021 and was sold. For half a year now, the MQTT server with which the door opener connects is not accessible, the homepage (nello.io) is down and also the API (public-api.nello.io/v1) has long delivered only 500 errors. I think it's time to dispose of the integration and the hardware. :(
Nello's servers are unlikely to come back online. This plugin will no longer be updated and should be removed from your Homebridge setup.
This project is a homebridge plugin for the smart intercom nello.io. All your nello.io locks are dynamically added to HomeKit as lock accessories. If you want to learn more about the smart intercom nello one, please visit https://www.nello.io.
- Door Lock
- Motion Sensor
- Video Doorbell
- Configurable Switch to automatically open the door on ring
Look here: Release v1.0.0
It's recommended to create a new dedicated nello.io account in order to prevent duplicated notifications if you open the door over the Home app. It's also possible to use your own account with this plugin.
-
Install the plugin via npm:
npm install homebridge-nello -g
-
Generate clientId & clientSecret
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. If you are using a dedicated user account for this plugin, make sure that you use the credentials of this account to generate a client ID.
Fill in all required fields in the "Create API client" form (mark all "Allowed response type"s and "Allowed grant type"s)
-
Add the basic configuration
{ "platforms": [ { "platform" : "NelloPlatform", "name" : "nello.io", "auth": { "clientSecret": "<paste-client-secret-here>", "clientId": "<paste-client-id-here>" } } ] }
-
This exposes ONLY the door lock. Look at the docs for more options to configure motion sensors, the video doorbell, a custom webhook server, automation helper switches, and configure reachability.
You can install the default package or compile it yourself if you have a special case to fit.
sudo apt-get install ffmpeg
General information about ffmpeg can be found here https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki)
Due to HomeKit limitations it's required to add the camera separately. Just tap on the plus button in the top right corner, choose "Add Accessory" and click on "Don't Have a Code or Can't Scan?". In the next view you should see the camera accessory. Tap it in order to add it to the Home app. The PIN is the same as of your HomeBridge instance.
You need to install ffmpeg if you want to see a picture in the Home app. Just take a look at last paragraph of the Installation part.
This plugin uses the HTTP API of nello.io for the following features:
- Nello Authentication: Retrieves a token using the specified client ID & secret
- Nello Public API: see all methods in APIClient
Others
- Video Doorbell - This plugin uses https://github.com/KhaosT/homebridge-camera-ffmpeg and https://github.com/moritzmhmk/homebridge-camera-rpi for implementation
- All requests to the nello.io are made over HTTPS.
- The client secret used by this plugin has to be specified in the
config.json
on the PC/Mac/Raspberry running homebridge. Please make sure that nobody can access this device within your local network without permission. - In the Apple Home app, a lock can be easily unlocked with a single tap on the icon. Please be careful not to open the door unintentionally.
- The webhook uses a relay service which is hosted by @AlexanderBabel. You can find the source code of the service here: https://github.com/AlexanderBabel/nello-backend. You can override this and configure your own URL if you expose the right ports, look at the docs for more info.
npm run lint
/ npm run format
- To bump the version and publish automatically, go to the
bump-version
workflow and trigger a new event by clickingRun workflow
. You can entermajor
minor
patch
or an actual version likev0.0.1
. This bumps thepackage.json
version, creates a tag, updates the docs, pushes it back to master, and publishes to npm. (Source: bump-version.yml). - Now go to Releases where you will see a release already published for you. You should update the release notes here.
(Requires GitHub Action NPM_TOKEN
secret to be set in the repo with publish rights).