No Support for Beta Versions of deConz
Required js-controller version >5.x.x, Required node.js >= 18.x.x
Connects to deConz REST-API software developed by dresden-elektronik. This software aims to be a universal ZigBee Gateway solution, using hardware from dresden-elektronik the ConBee(X) USB stick and RaspBee(X) a modul for the Raspberry Pi.
You must first link to deConz.
- a) Enter IP address for deConz
b) Enter standard Bridge Port: 80 and standard Websocket: 443
[e.g. Phoscon App - Help - API information - No filter - search for port/websocketport] - After IP address and port is entered and saved hit "Create API Key" Button. Now you can enter the credentials for deConz or go to Phoscon APP and register ioBroker as third party APP.
To avoid some errors after an update (deConz/adapter), stop the adapter and delete these entries in the object structure. When you start, the object structure is recreated.
For this purpose there is a object called "action".
Examples:
"on": true, "xy": [0.6586,0.3138]
"on": true, "transitiontime": 5, "hue": 360
deCONZ REST-API Plugin
Documentation of deCONZ REST-API Plugin
Gateways (Hardware)
(mattreim) Hide virtual sensors function (mattreim) Hide switch groups function (mattreim) Update dependencies (mattreim) Updated/added some translations (mattreim) Some bug fixes and more
- (mattreim) Add "protectedNative" and "encryptedNative"
- (mattreim) Fix websocket connection
- (Jey Cee) Fix missing port for create api key function
- (Jey Cee) Fix connection problems
- (Jey Cee) Fix no connection on new installation
- (Jey Cee/mattreim) Highlight helper text for authentication
- (Jey Cee/mattreim) Migrate config to JSONConfig
- (Jey Cee) Removed device and group management from config
- (mattreim) Add natives
- (Jey Cee) Update dependencies
- (Jey Cee) Use default test and release action
- Updated/added some translations
- (mattreim) Dependencies have been updated
- (mattreim) Logo compressed
- (mattreim) Remove common.title
- (mattreim) Added new objects for various sensors
- (mattreim) Added new objects for Tuya and Bosch thermostats
- fix crash when new device was added closes #319
- added possibility to change the port for websocket connection
- updated/added translations
- (grizzelbee) Fix: Re-enabled window covers
- (grizzelbee) Upd: Dependencies got updated
- (grizzelbee) New: Added ukrainian translation
- added schedule to object definition
- changed limit for duration to 999999
- (withstu) add retry if gateway is busy
- change min/max range for offset
- updated translations
- fix link for overview page
- fix parameter can not be set since deConz 2.11.5
- fix xy is invalid: #289 #295
- remove Sentry
- fix for js-controller 3.3.x
- fix crash #248
- added datapoints melody and volume (Used by NEO-Alarm-Sirene by Tuya)
- added new effects for MĂĽller Licht Tint: sunset, party, worklight, campfire, romance, nightlight
- added new effects for Lidl Melinera: steady, snow, rainbow, snake, twinkle, fireworks, flag, waves, updown, vintage, fading, collide, strobe, sparkles, carnival, glow
- added 2 new datapoints they were used by Lidl Melinera effects: effectspeed: simple number; effectcolours: array of rgb values = [[255,0,0],[0,255,0],[0,0,255]] dresden-elektronik/deconz-rest-plugin#3716 (comment)
- fix info message: "State value to set for "deconz.0.Sensors.3.pending" has to be stringified but received type "object""
- fix info message: State value to set for "deconz.0.Sensors.3.orientation" has to be stringified but received type "object"
- fixes for js-controller 3.3
- fixes for js-controller 3.3
- fix auto reconnect
- (bortim) added change-event handling, new in deConz v2.05.78
- set default port to 80
- fix colorloopspeed is not working
- fix set xy has no effect
- some small fixes
- stable re-release
- fix object definition dimup and dimdown
- disable node v8 tests
- fix createscene object definition
- prevent websocket to connect if port, api key or ip is missing
- catch errors on ackStateVal
- fix "Cannot read property 'id' of undefined" for controlId
- fix crash on scene actions with js-controller 3
- catch onStateChange stateObj is null
- fix level update when bri was set by other deConz instance
- fix message "State value to set is invalid"
- terminate websocket connection on error to make sure the session is closed
- check response is not undefined
- catch request errors and send to sentry
- prevent sending message with wrong value type
- fix catch response of setLightState is undefined
- fix ws.terminate at unload
- catch ip/port undefined at auto updates
- catch res is undefined at deleteApiKey
- transitiontime now in seconds instead 1/10 seconds
- fix colorspeed
- use new class style
- add sentry for error collection
- fix transition time if set to 0
- objects will be now deleted if the device is removed by adapter
- fix multiple websocket connections
- try to fix #120 reconnect after 60 seconds
- fix set dimspeed
- connect to Websocket in any case
- fix websocket connection if there are no upnp broadcast answer from deconz
- corrected duration role
- added level to lights and groups
- fix crash by executing commands without parameters
- code cleanup
- (Zefau) fixed duplicated subscription
- (Zefau) useless loop within getGroupAttributes()
- refactor logging
- refactor state change
- fix API Key Dialog
- Websocket reconnect after 60 Seconds if no message is received
- dynamicly add boolean states for button events
- added new object definitions
- (mobilutz) remove ip overwrite
- (njeisecke) add transitiontime for bri_inc (dim step)
- fix expire time for alive
- add object for open zigbee network to add new devices without admin config
- removed input for opne network time
- fix device list in admin config
- adapter configuration handling rewritten
- fix lastupdated UTC to locale time
- convert lastupdated time to locale
- object creation refactored
- fix adapter config update
- add auto detect deConz
- include ssdp discovery to repo
- fix adapter crash when deConz is not reachable
- show connection state as adapter state
- add auto reconnect to deconz
- add new objects for thermostat support and others
- Changed default port to 80
- (mplogas) fixed config save
- (mplogas) added config.delay to set up presence sensor cooldown
- fix button objects
- changed buttonpressed from boolean to number
- added objects for "tiltangle", "vibration", "vibrationstrength" and "orientation"
- (asgothian) added object "buttonpressd"
- some fixes
- fix set bri for groups
- small fixes
- (thewhobox) skip helper groups
- (thewhobox) added channels for lights, groups and sensors
- (thewhobox) skip unusable sensors
- (thewhobox/KristianHeider) turn light/groups on when changing brightness
- (jey-cee) added object group for remotes
- (jey-cee) stop overwrite objects on adapter start
- (jey-cee) prepared for compact mode
- (jey-cee) new possible to change offset (if the device accept it)
- (jey-cee) new possible to change duration (if the device accept it)
- (jey-cee) get API key with credentials
- (asgothian) Fix for hue change
- (halloamt) Added support for dimming lights and groups
- (halloamt) Added support for custom actions
- Fixing hue from range 0-65535 to 0-360
- Added scene support
- Drop nodejs 4 support
- Fix/Change handling create objects during running Adapter
- Fix create objects during running adapter
- Create objects during runing adapter
- Changed id naming
- Use websocket messages instead polling afterwards
- (Jey-Cee) Added new elements to config
- (Jey-Cee) Changed som small things
- (Jey-Cee) next Try with Xiaomi Sensors
- (Jey-Cee) Added "pressure" sensor
- (Jey-Cee) Added create group to adapter config
- (Jey-Cee) add possibility to delete devices from deConz
- (Jey-Cee) fix issue on getAll... functions when there are is nothing
- (Jey-Cee) fix Xiaomi Sensors recognition
- (Jey-Cee) Try to fix Sensors
- (Jey-Cee) Added support for Admin v3
- (Jey-Cee) Create API Key without use of WebApp/Phoscon (only with deConz standard password)
- (Jey-Cee) Stop Spam in log
- (Jey-Cee) Added filter for name to id conversation
- (Jey-Cee) Added new datapoints for sensors (experimental)
- (Jey-Cee) Adapter complete rewritten
- (Jey-Cee) first release
Apache-2.0
Copyright (c) 2017-2024 Jey Cee jey-cee@live.com