The problem is that there is stil no colorpicker in pimatic itself.
-
[pimatic-hap] Beta test of Philips Hue devices from pimatic-hue-zll in pimatic homekit bridge
-
@sweebee Are you talking about the mobile frontend? pimatic-hap doesn’t support color changing, yet. It’s still on my roadmap. But even if it was supporting this, there would be no color picker in pimatic itself. This has to be implemented by @markbergsma I guess
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 yes i mean in the mobile frontend there is no color picker device, and no device class to use in the plugin.
-
@sweebee Just file an issue on github. Once i finished my implementation there will be a color picker, but for iOS users only
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in [pimatic-hap] Beta test of Philips Hue devices from pimatic-hue-zll in pimatic homekit bridge:
@sweebee Just file an issue on github. Once i finished my implementation there will be a color picker, but for iOS users only
well, maybe a general implementation can be “derivated” then
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 No, unfortunately not, because i’m referring to the native HomeKit apps from the app store, which have their own color pickers implemented. I won’t implement anything myself for the color pickers. i just “register” the colored lightbulbs to HomeKit and the apps do the rest.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
ah ok i see.
well then the initial request for a pimatic native color picker still remainspimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
I’ve created a new branch (https://github.com/michbeck100/pimatic-hap/tree/hue-zll) for the extended hue-zll support in pimatic-hap. Currently it supports hue and saturation change. But since i don’t own a philips hue system i can’t tell if it works. Could someone please check this branch out and test if it works?
BTW: changing the color temperature is currently not supported by HomeKit, so it won’t be available in pimatic-hap either.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Will try it later tonight
-
@thex I’ve update the branch (https://github.com/michbeck100/pimatic-hap/tree/hue-zll). I did a bug fix for the hue value calculation. I think it should work now.
Could you test?
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Anyone here who could test the branch?
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
I hope I find some time on the weekend to test it.
-
< 11:29:27.970 [pimatic-hue-zll] _this.service.updateCharacteristic is not a function < 11:29:27.974 [pimatic-hue-zll, HueZLLExtendedColorLight] Error getting attribute value schlafzimmer.state: _this.service.updateCharacteristic is not a function < 11:29:27.981 [pimatic-hue-zll, HueZLLExtendedColorLight] Error getting attribute value schlafzimmer.dimlevel: _this.service.updateCharacteristic is not a function < 11:29:28.011 [pimatic-hue-zll, HueZLLExtendedColorLight] Error getting attribute value schlafzimmer.hue: _this.service.updateCharacteristic is not a function < 11:29:28.047 [pimatic-hue-zll, HueZLLExtendedColorLight] Error getting attribute value schlafzimmer.sat: _this.service.updateCharacteristic is not a function < 11:29:37.286 [pimatic-hue-zll] _this.service.updateCharacteristic is not a function < 11:29:42.525 [pimatic-hue-zll] _this.service.updateCharacteristic is not a function < 11:29:48.032 [pimatic-hue-zll] _this.service.updateCharacteristic is not a function
I also get the same message from the orvibo plugin and I don’t know about others as I don’t have many plugins currently in my test setup
-
and after switching the light via web-gui…
< 11:33:49.881 [pimatic] _this.service.updateCharacteristic is not a function < 11:33:49.889 [pimatic] TypeError: _this.service.updateCharacteristic is not a function < 11:33:49.889 [pimatic]> at HueZLLExtendedColorLight.<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/accessories/switch.coffee:51:18) < 11:33:49.889 [pimatic]> at emitOne (events.js:82:20) < 11:33:49.889 [pimatic]> at HueZLLExtendedColorLight.emit (events.js:169:7) < 11:33:49.889 [pimatic]> at HueZLLExtendedColorLight.module.exports.SwitchActuator._setState (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/lib/devices.coffee:295:8) < 11:33:49.889 [pimatic]> at /Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hue-zll/hue-zll.coffee:331:62 < 11:33:49.889 [pimatic]> at tryCatcher (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) < 11:33:49.889 [pimatic]> at Promise.module.exports.Promise._settlePromiseFromHandler (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:502:31) < 11:33:49.889 [pimatic]> at Promise.module.exports.Promise._settlePromise (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:559:18) < 11:33:49.889 [pimatic]> at Promise.module.exports.Promise._settlePromise0 (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:604:10) < 11:33:49.889 [pimatic]> at Promise.module.exports.Promise._settlePromises (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:683:18) < 11:33:49.889 [pimatic]> at Async._drainQueue (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/async.js:138:16) < 11:33:49.889 [pimatic]> at Async._drainQueues (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/async.js:148:10) < 11:33:49.889 [pimatic]> at Immediate.__dirname.drainQueues [as _onImmediate] (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) < 11:33:49.889 [pimatic]> at processImmediate [as _immediateCallback] (timers.js:383:17) < 11:34:34.617 [pimatic] A uncaught exception occured: TypeError: _this.service.updateCharacteristic is not a function < 11:34:34.617 [pimatic]> at OrviboOutlet.<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/accessories/switch.coffee:51:18) < 11:34:34.617 [pimatic]> at emitOne (events.js:82:20) < 11:34:34.617 [pimatic]> at OrviboOutlet.emit (events.js:169:7) < 11:34:34.617 [pimatic]> at OrviboOutlet.module.exports.SwitchActuator._setState (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/lib/devices.coffee:295:8) < 11:34:34.617 [pimatic]> at [object Object].<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-orvibo/orvibo.coffee:143:14) < 11:34:34.617 [pimatic]> at emitThree (events.js:97:13) < 11:34:34.617 [pimatic]> at [object Object].emit (events.js:175:7) < 11:34:34.617 [pimatic]> at parseMessage (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-orvibo/orvibo-node.js:90:18) < 11:34:34.617 [pimatic]> at Socket.<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-orvibo/orvibo-node.js:284:7) < 11:34:34.617 [pimatic]> at emitTwo (events.js:87:13) < 11:34:34.617 [pimatic]> at Socket.emit (events.js:172:7) < 11:34:34.617 [pimatic]> at UDP.onMessage (dgram.js:480:8) < 11:34:34.617 [pimatic]> This is most probably a bug in pimatic or in a module, please report it! < 11:34:34.618 [pimatic] shutting pimatic down...
-
But it looks like I also get this for the current master branch
-
@thex you need to do a npm install on the plugin directory, because the dependencies were updated. The new version contains the function.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
great, works like a charm
the presets look a bit more red on the hues than presented on the iPhone display but i guess that is a problem with the color reproduction of the hues.
-
@thex ok, then I’ll merge the changes into master and release a new version as soon as I can
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@thex What if you change the color using the hue app (i guess there is one)? The calculation between the homekit hue values for and the hue values that the hue-zll plugin uses, might be a little wrong.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
I have to check again but I think the original app works a bit more accurate for color temperature, also the color temperature in the hue-zll plugin seems to be ok. With homekit the light is a bit more red, less orange but I have to check it again.