gutweiler / homebridge-platform-deconz Goto Github PK
View Code? Open in Web Editor NEWDeCONZ REST API Platform plugin for Homebridge
DeCONZ REST API Platform plugin for Homebridge
Just a little wish.
It’s possible to have an option the Phoscon-GW (icon) of deconz-plugin is NOT visible in the Home App start / favorites screen. An extra Button “Shown in favorites” on/off?
I patched your index.js to add the ColorTemperature (ct) parameter for the Hue Color temperature light model. I have one of those and the RaspBee running on RPi3b with deCONZ and homebridge, homebridge-platform-deconz, and homebridge-hue on the same box. As your code stands, it works as an ON/OFF-only light. I added conditional logic for "Color temperature light" to pick up Brightness and a separate block to add ColorTemperature plus get and set codes for that. When I added brightness, that worked in HomeKit (on iPhone and Appletv4) and after ColorTemperature was added it brought up the golden-to-blue-white wheel on the Home app (cool.) That wheel returns values 140 to 499, so just passed them through and let them clip at 153-454 (ctmin-ctmax.) Wonderful.
Thanks for your efforts.
Hi there,
First of all I want to tank you for this plugin it is very useful :)
I do have an issue with it: I have 2 lights one while ikea tradfri and a tunablewhite from OSRAM, and in home kit I see only a on/off switch, no other controls like dimming or white tune.
Any idea why ?
Hi, firstly thanks for this great plugin.
I figured out that the manufacturer of the accessory isn't setted in the homebridge api. First of all this doesn't prevent the plugin to work. But e.g. I wanted to use the homebridge-alexa plugin and the issue prevented Alexa to find the accessories of your plugin.
I forked the repo and discovered that a additionally previous call of this
Characteristic.Manufacturer, light.manufacturername
e.g. with a console.log()
started to make it setted correctly. I'm not sure if it's just a problem with node environment but I tried it on several devices and node version and was faced by the same issue.
Hi, thanks for your plugin.
everything worked fine for me until I installed pi-hole. now the homebridge service ist in a restart loop with following journalctl:
Feb 11 12:20:01 kueche homebridge[1680]: [2019-2-11 12:20:01] Homebridge is running on port 51826.
Feb 11 12:20:01 kueche homebridge[1680]: undefined:2
Feb 11 12:20:01 kueche homebridge[1680]:
Feb 11 12:20:01 kueche homebridge[1680]: ^
Feb 11 12:20:01 kueche homebridge[1680]: SyntaxError: Unexpected token < in JSON at position 5
Feb 11 12:20:01 kueche homebridge[1680]: at JSON.parse ()
Feb 11 12:20:01 kueche homebridge[1680]: at deconzPlatform. (/usr/lib/node_modules/homebridge-platform-deconz/index.js:62:35)
Feb 11 12:20:01 kueche homebridge[1680]: at Request.self.callback (/usr/lib/node_modules/homebridge-platform-deconz/node_modules/request/request.js:185:22)
Feb 11 12:20:01 kueche homebridge[1680]: at Request.emit (events.js:189:13)
Feb 11 12:20:01 kueche homebridge[1680]: at Request. (/usr/lib/node_modules/homebridge-platform-deconz/node_modules/request/request.js:1161:10)
Feb 11 12:20:01 kueche homebridge[1680]: at Request.emit (events.js:189:13)
Feb 11 12:20:01 kueche homebridge[1680]: at IncomingMessage. (/usr/lib/node_modules/homebridge-platform-deconz/node_modules/request/request.js:1083:12)
Feb 11 12:20:01 kueche homebridge[1680]: at Object.onceWrapper (events.js:277:13)
Feb 11 12:20:01 kueche homebridge[1680]: at IncomingMessage.emit (events.js:194:15)
Feb 11 12:20:01 kueche homebridge[1680]: at endReadableNT (_stream_readable.js:1103:12)
Feb 11 12:20:01 kueche systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Feb 11 12:20:01 kueche systemd[1]: homebridge.service: Unit entered failed state.
Feb 11 12:20:01 kueche systemd[1]: homebridge.service: Failed with result 'exit-code'.
Feb 11 12:20:11 kueche systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Feb 11 12:20:11 kueche systemd[1]: Stopped Node.js HomeKit Server.
any idea on how to fix it?
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.