I know this controller is old, but I'm still using this (well, trying to at least).
Everything has been working for a long time. I just moved my automation to another router / wifi, and had to set up everything (all devices) again.
The SmartLife RGBW Controller (application) is loaded, along with the driver. However, the app never finds any of the LED controllers on the network. So, I've tried to add them manually. This works (a little). I can navigate to the device that I created, but when I select "CONFIGURE", the logs show the following:
java.lang.IllegalArgumentException: A device with the same device network ID exists, Please use a different DNI on line 961 (method refresh)
I've deleted all previous devices.
Also, I can get to the LED controller via it's webpage, and it works / responds / all is good there. The current states (in the device) show only:
Current States
ip : 192.168.30.155
needUpdate : NO
Any help? Is anyone still using this?
EDIT:
I can change the IP (in the router) and the device reads from the controller ONCE. Then, the next click of anything causes the dreaded device is already a device error.....
Also, I noticed that the DNI is c0a81ef9:0050 (this is the IP address of the controller, plus this strange extension).
Yes I still use it and it's great. Uninstall everything, the app, the device itself, everything. Do a reboot with database rebuild checked off. Reinstall the app and use it to re-discover the controller
What it appears is that my Hubitat is on one VLAN (VLAN 20) and the LED controllers are on another VLAN (VLAN 30). I have no deny rules in play right now (to test this integration).
I've noticed that if I move the controllers to the same VLAN as the Hubitat (have to power cycle the controller and setup a new wireless network), then the application appears to work.
I still have to manually enter the IP address. What I've noticed is that the DNI is the hex values of the IP address until I edit the preferences (enter the controller webpage password), then click "Configure" and "Refresh". That all seems to work.
I've notice that after I update the preferences, then the DNI is modified from the IP (hex) to the MAC ID (still hex). Not sure where or why....but this seems to be the problem.
I haven't done anything in a long time on the app or driver. You can try to comment out line 961 and see how it goes. It would at least prevent that error. Comment with a proceeding "//"