Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Comply with the new Homey App Store
Browse files Browse the repository at this point in the history
  • Loading branch information
j0bro committed Nov 15, 2019
1 parent ae70e76 commit a3f659a
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 64 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
env.json
.vscode/*
60 changes: 0 additions & 60 deletions README.md

This file was deleted.

70 changes: 70 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Supported devices

* UniFi® NVR (Network Video Recorder):
* UVC‑NVR
* UniFi® Video Camera G3 series:
* UVC-G3
* UVC-G3-AF
* UVC-G3-DOME
* UVC-G3-PRO
* UniFi® Video Camera G4 series:
* UVC-G4-PRO


Getting started

1. Create a user in the UniFi Video web interface that belongs to a group that has permissions `view camera` and `edit camera`.
2. Enable API access for this user and note/copy the API key.
3. Install this UniFi Video app on your Homey.
4. Start the 'add device wizard' in Homey, search for your connected UniFi camera(s), optionally name them and add them to your devices. You will be prompted to enter/paste the API key.
5. If the API key has changed in the UniFi Video web interface, it can be updated in the Homey app on the UniFi Video app's Settings page.


Usage

* A flow action card can be used to create a snapshot, which is is saved to an Image tag.
* A flow can be triggered when a snapshot is created using the UniFi Video trigger card. This card supplies the name of the camera that created the snapshot and the snapshot image itself.
* A flow action card is available to set a camera's recording mode, being one of 'Don't record', 'Always record' or 'Record only motion'.


Troubleshooting / FAQ

Q: I can't seem to create a snapshot, what's wrong?
A: Make sure the UniFi Video user is part of a group that has the `view camera` permission.

Q: I can't seem to change the recording mode on a camera, what's wrong?
A: Make sure the UniFi Video user is part of a group that has the `edit camera` permission.

Q: I am running UniFi Protect on a Cloud Key V2, can I use this app with it?
A: Unfortunately, UniFi Protect is not supported.


Feedback

If you found a bug or if you are missing a feature, please create an issue here: https://github.com/j0bro/com.ubnt.unifivideo/issues
Thank you for using this app!


Changelog

Version 1.0.0
* Updated to comply with the new Homey App Store
* Moved out of beta/testing

Version 0.9.3
* Adds support for Homey Camera SDK
* Adds support for UVC G3 Flex
* Adds support for UVC G3 Micro
* Adds support for UVC G3 Pro
* Adds support for UVC G4 Pro

Version 0.9.2
* Fixes: NVR can't be discovered if it's on a different subnet than Homey
* Fixes: UVC G3 Dome camera can't be discovered

Version 0.9.1
* Fixes: Device pairing wizard doesn't ask the user for the API key
* Adds support for controlling recording mode

Version 0.9.0
* Initial beta release.
12 changes: 8 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/tmsns/homey-json-schema/master/schema.json",
"id": "com.ubnt.unifivideo",
"sdk": 2,
"name": {
Expand All @@ -13,6 +12,7 @@
"en": [
"ubiquiti",
"unifi",
"video",
"security",
"camera",
"snapshot",
Expand All @@ -21,8 +21,10 @@
"nl": [
"ubiquiti",
"unifi",
"video",
"beveiligingscamera",
"camera",
"momentopname",
"opname"
]
},
Expand All @@ -35,17 +37,17 @@
"security",
"video"
],
"version": "0.9.3",
"version": "1.0.0",
"compatibility": ">=1.5.0",
"author": {
"name": "Jeroen Brosens",
"email": "j.brosens+athom@gmail.com"
"email": "j.brosens+unifivideo@gmail.com"
},
"contributors": {
"developers": [
{
"name": "Jeroen Brosens",
"email": "j.brosens+athom@gmail.com"
"email": "j.brosens+unifivideo@gmail.com"
},
{
"name": "Stèphan Eizinga",
Expand All @@ -63,6 +65,8 @@
"bugs": {
"url": "https://github.com/j0bro/com.ubnt.unifivideo/issues"
},
"source": "https://github.com/j0bro/com.ubnt.unifivideo",
"support": "mailto:j.brosens+unifivideo@gmail.com",
"capabilities": {
"nvr_version": {
"type": "string",
Expand Down

0 comments on commit a3f659a

Please sign in to comment.