volski / smartthing-nuki Goto Github PK
View Code? Open in Web Editor NEWnuki smart lock controller from Smartthings
nuki smart lock controller from Smartthings
Hi,
i did everything step by step from the instruction, but I am struggle with the following:
Next to "Preferences" click on "edit" in the "API token" paste the token.
When I click on my new Device "Nuki", I see an overview, but no "Preferences" or "API token". When I click on "Edit" it opens the Page from the "New Device" with all Nuki informations. And there I can't find any "API" as well.
hallo Volski,
Thank you for your great work here, I followed your scrubs and I have a problem, the current status is permanently waiting, I have already run a simulation and receive the following message, please help me:
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:15:11: debug Error groovyx.net.http.HttpResponseException: Unauthorized
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:15:11: trace refreshing !!
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:14:11: debug Error groovyx.net.http.HttpResponseException: Unauthorized
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:14:11: trace refreshing !!
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:13:11: debug Error groovyx.net.http.HttpResponseException: Unauthorized
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:13:11: trace refreshing !!
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:12:29: info called shade updated ()
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:12:29: error groovy.lang.MissingMethodException: No signature of method: script_dth_152fc2428fe51cc1fb3ff16b32eaa455c2ad8f4a3c49a0fceadb9fy: for
Possible solutions: setBatteryLevelLock (java.lang.Number) @line 57 (initialize)
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:12:29: trace initialize ()
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:12:29: trace installed ()
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:12:29: trace installed ()
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:11:35: debug Error groovyx.net.http.HttpResponseException: Unauthorized
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:11:35: trace refreshing !!
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:11:34: error groovyx.net.http.HttpResponseException: Unauthorized @line 131 (lock)
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:11:34: trace --- LOCK COMMAND ---
dd7182b3-3c5a-4137-b33d-ba4a81521c41 14:10:55: info called shade updated ()
many thanks
Michael
Hi volski,
I bought the new SmartLock V3Pro and tried to integrate the lock into smartthings according to your way.
But I can not see any information in the smartthings app except the symbol of the lock, but in a strange way.
Due to the fact that I'm a new kid on the block I don't know what to do. Maybe you can help! Thanks in advance!!
Hey, because of the actuator capability being mentioned twice the code will not compile in the ide.
@volski
Thank you Volski for producing a device handler for the Nuki lock. (Nuki still have not done anything themselves.)
However the way your GitHub repo is setup prevents integrating with the Smartthings IDE interface. This is because I believe you have not followed the standard folder structure needed to enable this.
Currently your code has a URL like the following.
https://github.com/volski/Smartthing-nuki/blob/master/nukiWebApiHandler.groovy
In order to integrate with the Smartthings IDE so this it could spot updates and allow installing them via the GitHub integration you need a structure and URL like this
This translates to a folder structure like this
"volski" - "Smartthing-nuki" - "devicetypes/volski" - "nukiWebApiHandler.src" - "nukiWebApiHandler.groovy"
As you will see this means adding two extra folders, the first is called "devicetypes/volski" yes with a forward slash in its name, and then the folder within that is called "nukiWebApiHandler.src" and then within that you place your groovy file.
It would be much appreciated if you could adjust your repo to this structure so as to allow the Smartthings GitHub integration to work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.