-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support presets in MiLight app #31
Comments
Right, I don't think that remote is handled right now. Do you need it? |
Yeah, should be straightforward enough. There are some other things I want to get to first, though (namely wrapping up the LT8900 stuff) |
Ok, wait..Thanks! |
Yep, I'll take a look when I finish up the other stuff =) |
Thanks! |
Do you know, how mute sound in app v3 :)? |
lol never noticed there is sound |
I mean sound, when rotate the wheel with brightness, for example.. |
I don't think mine has sound lol :) re: saved modes, this is yet another undocumented feature of the protocol. Just took a crack at implementing it. Can you try the udp_presets branch? |
When i try udp_preset branch i receive: Compiling .pioenvs\esp12\FrameworkArduino\HardwareSerial.o |
I think I wasn't being very clear about what's broken. It's just |
udp_presets branch works correctly! |
Some little bug: when we long press ON button, we see in debug: V6MiLightUdpServer - Unhandled command: 31 00 00 08 84 01 00 00 - i think is command Light ON on 100% Decoded: Decoded: Decoded: |
Nice. Makes sense, I can poke at that later today. |
So I don't think this behavior for FUT092. Holding down on or off doesn't seem to do anything. Can you remind me what bulbs you're using with FUT091? |
I use FUT035 LED strip controllers - http://futlight.com/productdetails.aspx?id=124&typeid=146 |
Oh ok. Those are controlled by the RGB radio right? I think there's an 8 zone controller in the v6 wifi box. I poked at the protocol and it looks pretty similar to the protocol for FUT092. Just different offsets in on/off commands to accommodate more groups. |
I use FUT035 LED strip controllers (CCT2 not RGB) - http://futlight.com/productdetails.aspx?id=124&typeid=146 |
Which mode in esp8266_milight_gateway do you use to control these devices? |
I mean in Milight app v3 i use 1st remote control (RGG+CCT) - it's has separate button - Night mode, but don't have mode Full brighness, wich work (on LED controller), when i holding down ON button on real FUT091... |
Gotcha. It's interesting that these worth with FUT091/FUT092 at all. Neither of them are listed as compatible on FUT035's product page (the one you linked). It says it's compatible with FUT005, FUT006, and FUT007. |
Yes, you are right. But if we see on http://futlight.com/productdetails.aspx?id=233&typeid=100 (FUT091) we see compatible LED controller (FUT035, FUT036 and it's on fact and another different bulbs). I think desription on FUT035 not full.. |
I see, makes sense. Can you give the held_commands branch a try? Basically I tried to make it so that if you hold a button in the app, that's reflected in the RF packets. Haven't had a chance to test it out myself. |
Yes, it's work! Thanks! |
Sweet. I'll merge into 1.2.0 later. |
Thanks as always for finding bugs and providing suggestions, @Lstt2005! Does that cover it for this ticket? Anything else you had in mind? |
Can you plane support FUT091 in Milight App? :) |
Oh, right. Can certainly look into it. Are there things this remote does that FUT092 doesn't? It's pretty easy to add support, just don't wanna add bloat :) |
No, there certainly are no additional functions .. Just when you select multiple WiFiBox, it's more convenient to click on its icon, and then the only CCTv2 mode control tab will open immediately. A trifle, but very convenient, when the number of management points (Wifi) is large .. :) |
So I poked at this again for a bit, and I'm now at least pretty convinced it's possible, but it'll take some fairly significant changes to the way UDP packets are handled. Basically rather than varying the port, I think you could have a UDP server with multiple device IDs respond with several different MAC addresses. Both the discovery packet response and the session start request have a MAC address in them, so you should know which device the client is trying to address. It'll take a bit of time, but should be doable. |
You mean C++ code inside you library on external server? |
Inside the C++ code. The result, if it works like I'm hoping it will, is that you'd see a bunch of devices show up in the device list, each responding to commands with a different device ID. |
It would be just amazing !!!!! |
Sweet. Anything new? |
Write:1.Modified some bugs to be compatible with some smartphone which cannot work before.
It would be possible to manually set the device names in list, like as : kitchen, dinig room, etc? Maybe in code directly? |
Probably not unless the Milight app has support for it. |
Ah, sweet! Where is that screen? |
Oh i see it. You left-swipe on the line item and an edit button shows up. Pretty well hidden haha |
edit - gonna move this to the other ticket you opened. |
ok. i see. |
It's normally, that saved value in Milight app do not apply ?
The text was updated successfully, but these errors were encountered: