Closed gerby77 closed 2 years ago
Hi @gerby77,
Thanks for posting your solution. I was not aware that the iBox2 support other bulbs as well. It's a long time ago since I made this library. In the meantime, the iBox2 has been replaced with WL-Box1. See https://www.futlight.com. Which WiFi box do you use? I'm wondering if they are compatible with each other.
Thanks, Erriez
Hi Erriez,
At this moment i use the ibox2 and i’ve bought the wl-box1, but this one is for online use only, as i found out until now. And i want to address the Wallwasher (Milight/Miboxer RGB+CCT lights) and normally only switch it on and off and maybe with the DiscoMode, but that’s all. So no remote from out of the internet needed ;-)
Met vriendelijke groet, Mit freundlichem Gruß, With kind regards,
Eric Gerbers
Lamp type added to API: https://github.com/Erriez/milight_ibox2_control_python/pull/8
@gerby77 The lamp_type
variable can be set as function argument, for example: ibox.send_light_on(zone, lamp_type=LampType.WALLWASHER_TYPE)
. Do you have time to test this with your setup?
Lamp type 8 added in updated API. Closing issue.
Hi,
Just wanted to give a comment. I'm currently developing a lightcontrol for a Photobooth and i'm using a C# project which seems to be derived from your's or is simular. It has taken a while to get a Milight/Miboxer Wallwasher (RGB+CCT) to work with the ibox2. I could get connection to the box, but no light would be turned on. Finally i found out that one of the main reasons was that the lamptype wasn't ok. In your example for CCT you would use 0x08, but in my case it is 0x07.
Check my examples: static readonly byte[] ON = { 0x31, 0x00, 0x00, 0x07, 0x03, 0x01, 0x00, 0x00, 0x00 }; static readonly byte[] OFF = { 0x31, 0x00, 0x00, 0x07, 0x03, 0x02, 0x00, 0x00, 0x00 }; static readonly byte[] LINK = { 0x31, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 }; static readonly byte[] UNLINK = { 0X31, 0X00, 0X00, 0X07, 0X00, 0X00, 0X00, 0X00, 0X00 };
Cheers Eric