Closed pauleec closed 6 years ago
Paul,
This is doable, I just don’t have any method of testing this. Once I have it wired up, I will need you to test this.
Stay tuned.
On Apr 7, 2018, at 4:41 AM, pauleec notifications@github.com wrote:
I finally got round to updating the old version of the homebridge-alexa plugin today. The update went without too many problems and I've now got the ability to switch on and off, set the brightness and color of all the Mi-Light lights I am using. The latest Mi-Light bulbs are setup in the Mi-light plugin as "fullColor" and have RGB-CCT (Configurable Color Temperature white) and have a color saturation capability which allows for the color and white LEDs to change the color saturation/intensity of the lighting.
Would it be possible to do this in the homebridge-alexa plugin light support? Is there a way to support color saturation and white temperature?
If I wanted to set a custom color setting (with a saturation value) and have it display in the Alexa app as a new color how is this done?
Thanks again for such a great piece of work. I'd been delaying the update to give me enough time to get it working right. In the end it only took 10 mins!
Thanks
Paul
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Ok if you like I can send you a bridge and rgb-c ct ligbt to help. Keen to assist in any way I can. This is a great piece of work!
I’m working on colour temperature
https://github.com/NorthernMan54/homebridge-alexa/tree/ColorTemperature https://github.com/NorthernMan54/homebridge-alexa/tree/ColorTemperature
Aka
https://developer.amazon.com/docs/device-apis/alexa-colortemperaturecontroller.html https://developer.amazon.com/docs/device-apis/alexa-colortemperaturecontroller.html
Is this what your thinking of ?
On Apr 13, 2018, at 3:30 PM, pauleec notifications@github.com wrote:
Ok if you like I can send you a bridge and rgb-c ct ligbt to help. Keen to assist in any way I can. This is a great piece of work!
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-alexa/issues/87#issuecomment-381239197, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmAqX_FAmWnPGkupQyARN4OftSsBNks5toPzVgaJpZM4TK_sW.
The RGB-CCT bulbs/remotes/app provide White configurable color - which is what you have the details on. There is also the ability to add color to the white light (ie colorsaturation). The remotes have a sliding adjustment for both.
So you can vary the white temperature. Or you can make the colours whiter by providing a way to vary the white light added to the colored.
The limitlessled.com/dev site has more detail on the new functions. It looks like there is a color, saturation, brightness and kelvin variable. Here are the commands:
On 14 April 2018 at 08:53, Northern Man notifications@github.com wrote:
I’m working on colour temperature
https://github.com/NorthernMan54/homebridge-alexa/tree/ColorTemperature < https://github.com/NorthernMan54/homebridge-alexa/tree/ColorTemperature>
Aka
https://developer.amazon.com/docs/device-apis/alexa- colortemperaturecontroller.html https://developer.amazon.com/ docs/device-apis/alexa-colortemperaturecontroller.html
Is this what your thinking of ?
On Apr 13, 2018, at 3:30 PM, pauleec notifications@github.com wrote:
Ok if you like I can send you a bridge and rgb-c ct ligbt to help. Keen to assist in any way I can. This is a great piece of work!
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ NorthernMan54/homebridge-alexa/issues/87#issuecomment-381239197, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmAqX_ FAmWnPGkupQyARN4OftSsBNks5toPzVgaJpZM4TK_sW.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-alexa/issues/87#issuecomment-381279198, or mute the thread https://github.com/notifications/unsubscribe-auth/AElw0ch0ChsvT9FU6GQZ2yPg9BVtaCqrks5toSx5gaJpZM4TK_sW .
@pauleec
I think I have color temperature working for white light bulbs that support color temperature. I don't have an actual bulb, but I simulated the bulb using the homebridge-magichome plugin and it appears to work correctly.
You would need to install this version of homebridge-alexa, and discover devices again
sudo npm install -g northernman54/homebridge-alexa#ColorTemperature
Afterwards you should be able to say
Alexa, make the hall lamp warm white
And the light should change to warm white. The supported words are
warm, warm white
incandescent, soft white
white
daylight, daylight white
cool, cool white
And she should also support making the lights cooler or warmer with
Alexa, make the hall lamp warmer
Alexa, make the hall lamp cooler
@NorthernMan54
Hi,
I am happy to confirm that I now have a range of rgb colours and a range of warm to cold white settings that can be applied with Alexa via the updated homebridge-Alexa app.
Huge improvement on before!
I’ve included some screenshots of the Mi-Light app and how they handle both white temperature and Color saturation. If the lights are not in a white mode (ie where the W is not pressed/set to on), the RGB Color saturation value can be set which allows for more pastel colours to be possible.
It’s really good work though.Alexa controls everything round my house now :-)
One thing I noticed. The Color is set and is displayed in the Alexa app light as the correct Color for about 10 seconds and then goes back to a white.... is that normal?
I’ve included some screenshots of how the Alexa app shows the light zones that are defined in the Mi-Light bridge I have setup here.
I am running the RM Tasker plugin as a way to expose my Broadlink-RM Pro defined devices to Alexa and am starting to test the homebridge-broadlink-rm plugin as an alternative and to remove the extra android component (which runs the RM Tasker plugin). I’ll keep you posted because initial tests of the way the new homebridge-alexa plugin open and close the window coverings based on time per signal sent doesn’t seem to work with the curtains I have here. (Rm Tasker sends a single open or close signal rather than many signals) I’ll keep investigating.
Thanks again for this! Would you like me to send you a Mi-Light bridge and a rgb-cut 8 zone cabable light for your own testing? If so send me your mail address and I’ll post it to you.
All the best
@pauleec
Thanks for sharing the echo and mi-light app screens, they are really useful. For the issue you are reporting
One thing I noticed. The Color is set and is displayed in the Alexa app light as the correct Color for about 10 seconds and then goes back to a white.... is that normal?
I think I'm missing implementing the switch between color mode and color temperature mode and that's causing the odd behaviour.
Can you run this command against your homebridge instance with that light installed, I want to see how homebridge reports the config. I presume that homebridge exposes a button or switch to change modes, and need to implement that.
curl -X PUT http://192.168.1.127:51826/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
Please change the IP address, port and PIN as needed, and post the results. It will be a large text dump of the config.
Also, can you share a screenshot of how it looks in the Home App? And how does the Home app handle switch modes?
@NorthernMan54
Sure here you go
{"accessories":[{"aid":1,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nick Farina","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Homebridge","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"DanksStreet","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"CC:22:3D:E3:CE:31","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"0.4.38","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":2000000008,"type":"49FB9D4D-0FEA-4BF1-8FA6-E7B18AB86DCE","characteristics":[{"iid":9,"type":"77474A2F-FA98-485E-97BE-4762458774D8","perms":["pr","ev"],"format":"uint8","value":0,"description":"State","maxValue":1,"minValue":0,"minStep":1},{"iid":10,"type":"FD9FE4CC-D06F-4FFE-96C6-595D464E1026","perms":["pr","ev"],"format":"string","value":"1.0","description":"Version"},{"iid":11,"type":"5819A4C2-E1B0-4C9D-B761-3EB1AFF43073","perms":["pr","pw","ev"],"format":"data","value":null,"description":"Control Point"}],"primary":false,"hidden":false}]},{"aid":2,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Downlighters","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Downlighters","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":3,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Bulbs","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Bulbs","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":4,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bathroom","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bathroom","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":5,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bedside Downlighters","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bedside Downlighters","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":6,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bedside Lamps","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bedside Lamps","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":true,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":7,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Guest Bathroom","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Guest Bathroom","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":true,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":8,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"fullColor8Zone","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Workshop","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Workshop","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":true,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1},{"iid":14,"type":"000000CE-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint32","value":153,"description":"Color Temperature","maxValue":370,"minValue":153,"minStep":1}],"primary":false,"hidden":false}]},{"aid":9,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"MiLight","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"rgbw","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen LED Strips","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"12345","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen LED Strips","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"},{"iid":11,"type":"00000008-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":0,"description":"Brightness","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"0000002F-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Saturation","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":13,"type":"00000013-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":0,"description":"Hue","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}],"primary":false,"hidden":false}]},{"aid":10,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Broadlink","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"RM Mini or Pro","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Learn","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"619ae4e6-288d-4e1b-9703-04e6110642bd","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Learn","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"}],"primary":false,"hidden":false}]},{"aid":11,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Broadlink","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"RM Mini or Pro","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Scan Frequency","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"a7c4991c-f585-4ca7-9628-530c8daf2aa8","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Scan Frequency","description":"Name"},{"iid":10,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"}],"primary":false,"hidden":false}]},{"aid":12,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Broadlink","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"RM Mini or Pro","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Curtains","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"5a5d3c79-9bce-479b-acd6-aab799cba45f","description":"Serial Number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"1.0","description":"Firmware Revision"}],"primary":false,"hidden":false},{"iid":8,"type":"0000008C-0000-1000-8000-0026BB765291","characteristics":[{"iid":9,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Curtains","description":"Name"},{"iid":10,"type":"0000006D-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Position","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"0000007C-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":0,"description":"Target Position","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"00000072-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":2,"description":"Position State","valid-values":[0,1,2],"maxValue":2,"minValue":0}],"primary":false,"hidden":false}]}]}
I’ve also taken a load of screenshots from the Apple Home iPhone app and also some shots from other HomeKit supporting apps. I found the Elvato Eve one to be the best.
Here are the screenshots:
I found that the Egatp Eve app was the best for Color/saturation implementation.
Paul
On 18 April 2018 at 09:21, Northern Man notifications@github.com wrote: @pauleec
Thanks for sharing the echo and mi-light app screens, they are really useful. For the issue you are reporting
One thing I noticed. The Color is set and is displayed in the Alexa app light as the correct Color for about 10 seconds and then goes back to a white.... is that normal?
I think I'm missing implementing the switch between color mode and color temperature mode and that's causing the odd behaviour.
Can you run this command against your homebridge instance with that light installed, I want to see how homebridge reports the config. I presume that homebridge exposes a button or switch to change modes, and need to implement that.
curl -X PUT http://192.168.1.127:51826/accessories --header "Content-Type:Application/json" --header "authorization: 031-45-154"
Please change the IP address, port and PIN as needed, and post the results. It will be a large text dump of the config.
Also, can you share a screenshot of how it looks in the Home App? And how does the Home app handle switch modes?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@pauleec Tks Paul for that
Looking at the details, I see that the bulbs have five controls in homebridge
On/Off Hue - Controls color Saturation - Controls color Brightness ColorTemperature
I was thinking there might have been a control to switch between colour and colortemperature mode, but I didn't see anything, are you aware of anything? It could be a case where setting hue and saturation to 0, switch the bulbs into colortemperature mode.
Hi NorthernMan54, perhaps msg @mwittig who is the main contact for the node-milight-promise or @dotsam who has created the homebridge-milight and they may shed some insight.
Is it okay to use Home kit iOS apps to manage the lights when the homebridge-alex's plugin is installed. I noticed that there seems to be a big when creating and operating groups of the homeboy lights they Siri. Thx
Okay, I will discuss with them.
From my experience it is okay to use homebridge-alexa and Siri or the Home app. Homebridge-Alexa is simulating a local guest iOS device just like a guest you have invited thru the Home app.
Can you describe the bug you are seeing more?
Sent from my iPad
On Apr 27, 2018, at 3:21 PM, pauleec notifications@github.com wrote:
Hi NorthernMan54, perhaps msg @mwittig who is the main contact for the node-milight-promise or @dotsam who has created the homebridge-milight and they may shed some insight.
Is it okay to use Home kit iOS apps to manage the lights when the homebridge-alex's plugin is installed. I noticed that there seems to be a big when creating and operating groups of the homeboy lights they Siri. Thx
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@NorthernMan54 the groups and scenes that I create in homekit or one of the supporting apps are not showing in the Alexa Groups or Scenes. Is this normal? I think the problem I was seeing may have been user error! Each Group I was creating was always being created with an "All Lights" member. I tested it out some more last night and deleted the groups I had previously setup and setup new groups and scenes and the setup is running well - in homekit. It would be great if the groups and scenes in homekit were able to show up as Alexa Groups and Scenes. I wasn't able to get that to happen! Would that be a feature request or can it be raised as an issue/defect?
Groups and scenes you create in the Home app are not visible to the hap interface and homebridge, so I can’t see them to expose to Alexa. This is a limitation from Apple/HomeKit.
Alexa does have a scene controller api that I was looking at, but it would need to have the group config setup in config.json.
Sent from my iPad
On Apr 30, 2018, at 11:10 PM, pauleec notifications@github.com wrote:
@NorthernMan54 the groups and scenes that I create in homekit or one of the supporting apps are not showing in the Alexa Groups or Scenes. Is this normal? I think the problem I was seeing may have been user error! Each Group I was creating was always being created with an "All Lights" member. I tested it out some more last night and deleted the groups I had previously setup and setup new groups and scenes and the setup is running well - in homekit. It would be great if the groups and scenes in homekit were able to show up as Alexa Groups and Scenes. I wasn't able to get that to happen! Would that be a feature request or can it be raised as an issue/defect?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I finally got round to updating the old version of the homebridge-alexa plugin today. The update went without too many problems and I've now got the ability to switch on and off, set the brightness and color of all the Mi-Light lights I am using. The latest Mi-Light bulbs are setup in the Mi-light plugin as "fullColor" and have RGB-CCT (Configurable Color Temperature white) and have a color saturation capability which allows for the color and white LEDs to change the color saturation/intensity of the lighting.
Would it be possible to do this in the homebridge-alexa plugin light support? Is there a way to support color saturation and white temperature?
If I wanted to set a custom color setting (with a saturation value) and have it display in the Alexa app as a new color how is this done?
Thanks again for such a great piece of work. I'd been delaying the update to give me enough time to get it working right. In the end it only took 10 mins!
Thanks
Paul