Code Monkey home page Code Monkey logo

domoticz-nuki's People

Contributors

fcoquelet avatar heggink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

domoticz-nuki's Issues

Door open function

Hi, is it possible to build a function for opening the door?
For example, I take a Xiaomi button and when pressed the lap is pulled in shortly and door is open?

Retrieve status door open or closed

Hi,

problably not the right place for this question, but maybe someone knows how to contact Heggink.

I am using your Nuki Domoticz interface succesfully. The question is if it is possible to get the status of the door, so not the lock. The Nuki app shows whether the door is open or closed. But no ideavhow to get this info in Domoticz. Actually did not see an nuki api call to provide this information.

Bug in domoticz

Hello, I've been getting errors in domoticz lately and the door sensor is not being transmitted.

2021-02-08 19:19:12.406 Error: Python Plugin System: (Nuki) 'onMessage' failed 'JSONDecodeError'.
2021-02-08 19:19:12.406 Error: Python Plugin System: (Nuki) ----> Line 419 in '/home/pi/domoticz/plugins/domoticz-nuki/plugin.py', function onMessage
2021-02-08 19:19:12.406 Error: Python Plugin System: (Nuki) ----> Line 250 in '/home/pi/domoticz/plugins/domoticz-nuki/plugin.py', function onMessage
2021-02-08 19:19:12.406 Error: Python Plugin System: (Nuki) ----> Line 348 in '/usr/lib/python3.7/json/init.py', function loads
2021-02-08 19:19:12.406 Error: Python Plugin System: (Nuki) ----> Line 340 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-02-08 19:19:33.824 Error: Python Plugin System: (Nuki) 'onMessage' failed 'JSONDecodeError'.
2021-02-08 19:19:33.824 Error: Python Plugin System: (Nuki) ----> Line 419 in '/home/pi/domoticz/plugins/domoticz-nuki/plugin.py', function onMessage
2021-02-08 19:19:33.824 Error: Python Plugin System: (Nuki) ----> Line 250 in '/home/pi/domoticz/plugins/domoticz-nuki/plugin.py', function onMessage
2021-02-08 19:19:33.824 Error: Python Plugin System: (Nuki) ----> Line 348 in '/usr/lib/python3.7/json/init.py', function loads
2021-02-08 19:19:33.824 Error: Python Plugin System: (Nuki) ----> Line 340 in '/usr/lib/python3.7/json/decoder.py', function decode

Tür Sensor

Hi, is it possible to integrate status of the magnet door sensor from the Nuki into the domoticz?

NUKI HTTPError code: 404

Hello heggink, I bought Nuki 3.0 and immediately installed your plugin. When I open or close the lock, it is displayed in Domoticz. But I can't open or close it from Domoticz with On-Button. The following error occurs: NUKI HTTPError code: 404
What I have done wrong?
Thank you for your help

NUKI HTTPError code: 403

2019-10-13 10:41:24.448 Status: (Nuki) Stop directive received.
2019-10-13 10:41:24.449 Status: (Nuki) Exiting work loop.
2019-10-13 10:41:24.649 Status: (Nuki) Stopping threads.
2019-10-13 10:41:24.649 Status: (Nuki) Stopped.
2019-10-13 10:41:24.649 Status: (Nuki) Started.
2019-10-13 10:41:25.065 (Nuki) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-10-13 10:41:25.065 (Nuki) 'DomoticzVersion':'4.11361'
2019-10-13 10:41:25.065 (Nuki) 'Name':'Nuki'
2019-10-13 10:41:25.065 (Nuki) 'Mode4':'8080'
2019-10-13 10:41:25.065 (Nuki) 'HardwareID':'24'
2019-10-13 10:41:25.065 (Nuki) 'Mode2':'MY TOKEN'
2019-10-13 10:41:25.065 (Nuki) 'HomeFolder':'/home/pi/domoticz/plugins/domoticz-nuki/'
2019-10-13 10:41:25.065 (Nuki) 'Port':'8008'
2019-10-13 10:41:25.065 (Nuki) 'DomoticzBuildTime':'2019-10-11 16:42:44'
2019-10-13 10:41:25.065 (Nuki) 'DomoticzHash':'1872f7e5d'
2019-10-13 10:41:25.065 (Nuki) 'Mode3':'10'
2019-10-13 10:41:25.065 (Nuki) 'Mode1':'192.168.178.126'
2019-10-13 10:41:25.066 (Nuki) 'Language':'de'
2019-10-13 10:41:25.066 (Nuki) 'Key':'NukiLock'
2019-10-13 10:41:25.066 (Nuki) 'Author':'heggink'
2019-10-13 10:41:25.066 (Nuki) 'Database':'/home/pi/domoticz/domoticz.db'
2019-10-13 10:41:25.066 (Nuki) 'Mode6':'File'
2019-10-13 10:41:25.066 (Nuki) 'StartupFolder':'/home/pi/domoticz/'
2019-10-13 10:41:25.066 (Nuki) 'Version':'1.0.5'
2019-10-13 10:41:25.066 (Nuki) 'UserDataFolder':'/home/pi/domoticz/'
2019-10-13 10:41:25.066 (Nuki) Device count: 0
2019-10-13 10:41:25.066 (Nuki) My IP is 192.168.178.37
2019-10-13 10:41:25.066 (Nuki) Nuki plugin started on IP 192.168.178.37 and port 8008
2019-10-13 10:41:25.066 (Nuki) REQUESTING http://192.168.178.126:8080/list?token=MY TOKEN
2019-10-13 10:41:25.063 Status: (Nuki) Initialized version 1.0.5, author 'heggink'
2019-10-13 10:41:25.062 Status: (Nuki) Entering work loop.
2019-10-13 10:41:25.221 Error: (Nuki) NUKI HTTPError code: 403
2019-10-13 10:41:29.296 (Mi Alarmanlage) Light/Switch (Flur Motion Sensor)
2019-10-13 10:41:35.066 (Nuki) Pushing 'onHeartbeatCallback' on to queue
2019-10-13 10:41:35.110 (Nuki) Processing 'onHeartbeatCallback' message
2019-10-13 10:41:35.110 (Nuki) Calling message handler 'onHeartbeat'.
2019-10-13 10:41:35.111 (Nuki) onHeartbeat called 1

A lot of errors in logs

I have got these errors in log:

2022-08-09 02:54:34.568 Error: Nuki Bridge: Call to function 'onMessage' failed, exception details:
2022-08-09 02:54:34.568 Error: Nuki Bridge: Traceback (most recent call last):
2022-08-09 02:54:34.568 Error: Nuki Bridge: File "/home/pi/domoticz/plugins/domoticz-nuki/plugin.py", line 416, in onMessage
2022-08-09 02:54:34.568 Error: Nuki Bridge: _plugin.onMessage(Connection, Data)
2022-08-09 02:54:34.568 Error: Nuki Bridge: File "/home/pi/domoticz/plugins/domoticz-nuki/plugin.py", line 262, in onMessage
2022-08-09 02:54:34.568 Error: Nuki Bridge: Response = strData[strData.index('{') :]

what can be the issue?

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.