[Release] Magic Home Wifi (Drivers) + MagicHome Manager (App)

I bought this one:
https://www.aliexpress.com/item/5050-RGB-Wifi-Controller-LED-Strip-light-5M-10M-15M-60led-m-Waterproof-ip-65-neon/32842243975.html?spm=a2g0s.9042311.0.0.27424c4d6JtrXe

In the magichome app it says Firmware version 33.v4

Perfect. I have an idea of what’s going on. Once I get mine next week, I’ll be able to take a look :slight_smile:

Edit: don’t tell my fiancé but I actually bought all of the device types that I’m not certain function as I expected (including the one you have, Keith). When you ping a device, it responds with a byte that says what type of protocol to use, so the long-term plan is to make an auto-discover & create app, like the Hue Advance SmartApp did in Smartthings

3 Likes

I'm seeing an error in my log about every 3 minutes... The driver is working but hate seeing any error in my logs! :grinning:

I'm using the RGB version.

2018-11-17 04:24:24.507 pm errorjava.lang.NullPointerException: Cannot invoke method toDouble() on null object on line 542 (parse)

Also, could you add an option to turn on/off the Debug logging?

Thanks!

1 Like

I will add that for you. It'll be a 0.9 release, though :slight_smile:

Not sure what's going on there in the RGBW driver. I'll check it out! Thanks for the info.

1 Like

If you wouldn't mind ... I think I remember what I did wrong for the RGB driver.

Would you test this driver?

And if that one doesn't work, give this version a whirl?

Thanks! Let me know if one works—I think the first one might... but I'm not entirely sure.

Both turn on when changing the level but still no difference with setting the level, hue or saturation.

I try to set the level to 10 but it sets it to 100 itself, probably the response of the module.
image

and when setting color map
image

And polling:
image

The map issue is a new one. I noticed it on a different driver last week, and I've got a few ideas on how to fix it, but I'm going to have to ask Mike a few questions on how it's been implemented, first :wink: Essentially, my driver checks if the value passed through is within range, and this is where the error comes in.

I think that, in this case, it may be stopping transmission for setColor and that may be where you're seeing the error.

Once I get a chance to take a look later this week (my device should arrive before Wednesday), I should be able to fix it.

Happy holidays!
I've been getting those map error messages too.
Also when I try to set the color temperature I get this error:

groovy.lang.MissingMethodException: No signature of method: dev1544942353301851633612.roundUpBetweenZeroAndOne() is applicable for argument types: (java.lang.Integer) values: [100] on line 312 (setColorTemperature)

I know you're busy, especially this time of year, was just hoping to see this project updated at some point, I'll gladly provide any info required.

I got another RGB LED from some connections and I was hoping it would be another MagicHome controlled light, but alas it is Smart Life... It's a terrible light so far, glad I didn't pay for it...

Keith! I was going to send you a message the other day --- got too busy. I think I know what's going on with the issue you posted.

My reliability with the lights has been good at home ... not so good at our office. I'll be heading out of state this weekend to be with the family, and I'll be able to work on it over the holidays :slight_smile:

I had one of those Tuya SmartLife bulbs ... very pretty bulb, terrible colors and the CCT was very red :frowning:

The devices I ordered are still in their boxes---I'll bring those with me and test them out over the holidays.

Haha don't loose time with the fam.
I keep thinking I'll do things over the holidays too.
I'll probably just be lazy though.

Thanks for any work put in on it.

1 Like

Hello,

Thanks for the driver, I will be testing it tomorrow, I already installed and added the virtual rgbw controller to HE, I want to request a switch to turn on/off the debug logs.

Thanks

2 Likes

Absolutely, I wil add that. :slight_smile: Thanks for testing it out; let me know what else you’d like to see different in it.

Hello again,

I tested your driver, it works some of the options, just the on/off, set level and set white level, all other options related to color did not work. I'm not sure if I'm supposed to reflash the controller, any help will be appreciated. Thanks.

No flashing required --- it will work out of the box.

I have to fix some issues with that driver. :slight_smile: I have a box full of devices to go through and pull some information from.

Next week, I'm planning to do that. Until then, I apologize that color (and other options) aren't working.

2 Likes

No problem, thanks so much!

Just checking in to say thanks to @adamkempenich. I had a four years-old set of Hitlights RGB (2×5m string) with a dumb controller that I just used a Z-Wave outlet to switch on/off. Bought a MH controller for $14.99, swapped, installed the app, installed this DH and its working great with Hubitat. Next up is to play with Rule Machine to experiment with all the color controls. And to get creative with ideas on where to deploy more.

1 Like

Thanks for the kind words :slight_smile:

I’m glad it’s working! Let me know your thoughts on it... I have some updates I’ll be pushing through in the next few days that should fix a lot of bugs and usability issues

1 Like

Hi everyone.

For the time being, I’m going to pull the 0.7 device drivers.

I’ve learned that in some cases, it can make a hub incredibly slow. I’ll do my best to get this fixed, and I’m sincerely sorry that this may have caused your hub to slow down, and I’ll do my best to fix it for you all.

2 Likes

Hello Adam, sorry to hear that, yes, actually I had to remove the driver to get back the speed per HE support recommendation.

I'm waiting impatiently your update and thank you for your support. Please don't drop the driver, I'm available to use my developer hub to test it, not sure why I didn't test it in that hub first but everything is fine now, please let me know to test your new code.

Thanks

1 Like

Is there an earlier version that we can revert that doesn't manifest the problem?

Actually, I'm not clear what version I have (doesn't seem to be identified in the driver code). The first post indicates the latest, which I installed, is v 0.80. [RGB]

In any case, don't let it ruin your Christmas. We can live until you get around to it.