Okay, I created the devices and configured them and set the info. for the milight tcp v5. But the devices always show on and 0% in the ST app.
Will this work on both versions of the ST hub? or just v2?
I am getting this error
6:51:55 PM: error error: groovyx.net.http.ResponseParseException: OK
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:54 PM: debug My path: rgbw/off/1
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:54 PM: debug Device setOff
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:47 PM: error error: groovyx.net.http.ResponseParseException: OK
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:47 PM: debug My path: rgbw/on/1
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:47 PM: debug Device setOn
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:43 PM: error error: groovyx.net.http.ResponseParseException: OK
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:42 PM: debug My path: rgbw/off/1
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:42 PM: debug Device setOff
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:42 PM: error error: groovyx.net.http.ResponseParseException: OK
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:41 PM: debug My path: rgbw/brightness/99/1
44cdadf2-1ec1-4428-8c22-abb5d0c4d4fd 6:51:41 PM: debug setLevel 99
Now that I made changes with the v5, the milight iphone app is not working now to turn on and off any lights nor the Home Remote app for the iphone. The device objects for the milight do not seem to be working.
Okay, I just changed it back to UDP and deleted the lights from ST and it is working with the other iphone apps until the error I encounter gets fixed so it works with ST.
Yeah dude did you see the devoce code I posted? You control with that
Hi all, Got my smart hub today and running this app was number 1 on the job list (Iāve come from Domoticz and had already invested in 40 MiLight bulbs + 6 hubs for the whole house, so this app was a determining factor in moving to ST).
I got the same issue with the app - once I set the bridge to TCP via v5 of the bridge tool then the milight Android app didnāt seem to want to work. Not a major issue for me as I donāt intend to use it once ST is configured, but it does make pairing bulbs to the controllers very difficult. If only there was a way to marry bulbs without using the app. I did enable the AP on the bridge as well, to try and extend my wifi network, so maybe that contributed or caused my issue. I hope not as itās a great feature. Tomorrow I will reset the bridge, re-pair bulbs and try again.
How difficult would it be to add the āMā button to this module? I use disco mode for parties occasionally and this is the only scenario where I think I may need the remote if I can get this working.
PS: Thanks to the author for this contribution, really appreciate it!
@1bigwink guess you need to decide if you want to use the milight app or my code
What would be helpful though, instead of requesting features, is telling me if you had success using smartthings and if not what the error was.
Hi Jared, Still not working for me. I reset the bridge, paired the bulbs, then placed into TCP mode. I can see in the events that the commands are being sent (nothing else) but the light doesnāt change (using the smartlight app or directly in things). I have tried with group zero and group 2, which my 2 test bulbs are paired to. Changing the bridge back into UDP mode and controlling via the milight app works ok, as does accessing the bridge web interface. Any ideas what I should be checking next? Thanks in advance.
@1bigwink did you set the cloud server in the management interface ? what did you set it to? what returns when you click āget cloud serverā ?
@jared Hi yes I set it to TCP,38899,lights.cloudsy.com and the same gets returned when you get cloud server settings. How is your mac address formatted please? Is it with or without hyphens? (e.g. AA-01-AA-01-AA or AA01AA01AA).
Thanks,
dk
@1bigwink good question, Iāll add it to my write up.
Itās colon deliminated
Just a follow up; spent a while (+2 hrs) on PM with @jared tonight sorting out some issues my end. All sorted now and everythings working great - response times are under 1 second and is working great on multiple MiLight/Limitless/EasyBulb bridges, across multiple zones. Really appreciate your help (and patience!) Jared cheers - ace app.
Hi @jared
Apologies for adding another call to your personal helpdesk queue - but I have just innvested in a Mi Light box with 20 bulbs and need a bit of help getting it up and running. I have created a MiLight Controller device from the code you provided at the top of the screen - but donāt now if I created it properly and am not sure what to do from hereā¦
Can you help? See attached screenshot of device I created.
cheers mate
Will
Hi @jared
I have read through the instructions at the top of the page and am have done all steps. When I try and turn on / off the light from the ST app I get the following:-
957dac48-9ebd-4af8-859c-98c613430685 22:24:45: error error: groovyx.net.http.ResponseParseException: Internal Server Error
957dac48-9ebd-4af8-859c-98c613430685 22:24:45: debug My path: rgbw/off
957dac48-9ebd-4af8-859c-98c613430685 22:24:45: debug Device setOff
I am sure I am making a noddy mistake but not sure - any help would be most appreciated.
My last config of the device is as per screenshot.
Hi @1bigwink - I am at pretty much the same stage as you were where the MiLight app stops until you change it back to UDP and am stuck now. I have checked the MAC address format - and it is all correct. Any chance you could give me a nudge in the right direction?
cheers,
Will
@Will_Hogg I see the 500 server error, what did you try and do? What do the live logging logs say?
Thanks for helping @jared! That was the output from the live logs. I have pretty much followed the steps as you listed them:-
- Create device from your code - unchanged
- Add new device - chose the MiLight device type that I had just added
- Edited MAC address of hub as requested
- using LimitlessLED - connected and change hub to TCP along with all other settings requested.
- Confirmed I was able to telnet into the port 8899
- When I try and turn light on or off - I just get that output.
@jared below is the screenshot from LimitlessLED