[Release] Magic Home Wifi Devices - 0.86


#201

This will be the log file covering turning it off and on by activating two och my scenes, and I forgot to confirm before that the manual control inside the device is working as it should.

dev:4532019-03-22 23:02:28.182 infoMagicHome (192.168.1.190): Received general-status packet of 810423610107330F00000500F048

dev:4532019-03-22 23:02:28.132 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 23:01:28.205 infoMagicHome (192.168.1.190): Received general-status packet of 810423610107330F00000500F048

dev:4532019-03-22 23:01:28.098 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 23:01:01.580 infoMagicHome (192.168.1.190): Received power-status packet of F0712485

dev:4532019-03-22 23:01:01.387 infoMagicHome (192.168.1.190): [113, 35, 15, -93] was converted. Transmitting: 71230FA3

dev:4532019-03-22 23:01:01.385 infoMagicHome (192.168.1.190): Switch set to on

dev:4532019-03-22 23:00:28.124 infoMagicHome (192.168.1.190): Received general-status packet of 810424610107330F00000500F049

dev:4532019-03-22 23:00:28.030 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 22:59:28.091 infoMagicHome (192.168.1.190): Received general-status packet of 810424610107330F00000500F049

dev:4532019-03-22 22:59:27.978 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 22:58:28.121 infoMagicHome (192.168.1.190): Received general-status packet of 810424610107330F00000500F049

dev:4532019-03-22 22:58:27.944 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 22:57:28.023 infoMagicHome (192.168.1.190): Received general-status packet of 810424610107330F00000500F049

dev:4532019-03-22 22:57:27.911 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 22:56:51.684 infoMagicHome (192.168.1.190): [49, 51, 15, 0, 0, 0, 15, -126] was converted. Transmitting: 31330F0000000F82

dev:4532019-03-22 22:56:27.995 infoMagicHome (192.168.1.190): Received general-status packet of 810424610107330F00000500F049

dev:4532019-03-22 22:56:27.858 infoMagicHome (192.168.1.190): [-127, -118, -117, -106] was converted. Transmitting: 818A8B96

dev:4532019-03-22 22:56:12.878 infoMagicHome (192.168.1.190): Received power-status packet of F0712485

dev:4532019-03-22 22:56:12.468 infoMagicHome (192.168.1.190): [113, 36, 15, -92] was converted. Transmitting: 71240FA4

dev:4532019-03-22 22:56:12.467 infoMagicHome (192.168.1.190): Switch set to off


#202

Interesting. I’m using it with RM on my hubs without issue, so I’d love to get this figured out for you :cowboy_hat_face:

Any errors thrown in your rule logs? You’ll have to turn those on, as well.


#203

I'm having a small automation running during the night for my LED-strips, the one using a Fibaro-driver will be activated but not the one using Magic Home. Despite of this, I cannot see any errors in the logs for this as shown below.

2019-03-23 01:14:24.092 info23. Rörelse - Nattbelysning Triggered

app:4232019-03-23 01:14:23.901 info23. Rörelse - Nattbelysning: Rörelse - Gästrum motion active

app:4232019-03-23 01:13:45.056 info23. Rörelse - Nattbelysning Triggered

app:4232019-03-23 01:13:44.867 info23. Rörelse - Nattbelysning: Rörelse - Vardagsrum motion active


#204

Thanks, Carl!

Let me see if I can replicate this at all. Do any other apps work? Simple lighting, etc?


#205

Showed this to my wife - she says hi to your fiancee and says
she understands - feel free to reach out as needed!


#206

Mine was kicking off the exact same log. But I had created a virtual device (incorrectly) somewhere along the way, and had two instances of the lights showing up in my Google Home app. They both worked manually, but neither worked with any automation.

I uninstalled the driver, unlinked the Magic Home app from Google Home, and removed all the devices. Rebooted, clean install on the HE, and was back in business. I never re-installed the native app on my Android phone.

Not sure if thats helpful at all or not, but thought I'd share in case it might provide any insight into what might be cookin'.


#207

@ckronengold I did follow your recommendation in removing the device and driver completely, even from Google Home and then rebooted the hub before putting everything back again. But unfortunately it didn't make any difference at all.

@adamkempenich I've tried Simple Lightning and also Motion Lighting with the same result as RM, but what I've found is that if I treat the device as a switch it will turn on. So this will probably mean that I can do a workaround by first switching it on and then alter the hue, saturation and level. Not very convenient, but I'm guessing that this will work!?

One other thing that puzzles me is that none of the presets will work in manual mode despite that the Current States indicates the change.

Current States

  • switch : on
  • hue : 1.9607843
  • saturation : 100
  • whiteLEvel : 9.8039215686
  • level : 100
  • currentPreset : 53
  • presetSpeed : 40

Not very important from my point of view, but it might have something to do with the issue at hand.


#208

Ohhhh. So you're just changing the color/H/S/L/Whatever in your automation, and it's not turning on when you do that? Switch events work, though? I may have to roll back the method I'm using for Turn On With Changes to be more reliable. I also figure that's why the presets aren't working, because it's prefixing something to the byte array the driver sends and messes up the commands. Or, it's not properly checking inputs. I'll take a look at that.

Thanks for the good info!


#209

Thats correct, this setting will not work...

And the log will be:

app:5172019-03-24 17:28:03.022 infoTurning off

app:5172019-03-24 17:27:02.966 infoDelaying off for 1 minute

app:5172019-03-24 17:27:02.848 infoMotion inactive Rörelse - Kök

app:5172019-03-24 17:26:02.082 infoSetting color to hue:35 sat:100 level:20

app:5172019-03-24 17:26:01.991 infoMotion active Rörelse - Kök

But on the other hand, this setting will activate the LED-Strip with what I assume the last setting for H/S/L.

Just want to mention, thank you Adam for your effort in trying to solve this issue! :slightly_smiling_face:


#210

How can I trigger one of the presets from a dashboard or within a rule?

I'm working on a "party" mode and want the LED strips to strobe (slowly) but I can't seem to figure out how to set those values except through the web UI.


#211

You’ll want to use the Create Custom Command function in Rule Machine, and create a command that executes whichever custom function you wanted in the MH driver. Then, you can use that custom command as an action.


#212

You don't know what you don't know. I took the plunge and ordered some lights, a controller, and some right angle and extension wires. Everything was labeled 5050 so it should all work, right?

Today I learned that a $15 Wi-Fi LED controller may not come with a power supply. There isn't much documentation, so I stared at the brief description on Amazon and got up the courage to order a 12V 5Amp power supply. I guess that's a standard connector because it worked.

Today I learned that the water proof LED light strips I bought, do not easily work with right angle connectors and extension cables. They have a thick rubber cover; it can be scapped away; but... that's not for me. Buy the non-water proof ones for back of TV's and short runs that need tight turns. So I ordered a spool of non-water proof 5050 LED lights.

Today I learned that LED light strips come in 5-pin and 4-pin varieties. Tonight I'll be buying another spool of 5-pin indoor and a 4-pin controller, oh and a power supply.

Today I learned that the TV remote RF signal can be picked up by these LED controllers. Navigation down arrow turns it off, volume down sets the light to blue, channel up does green. You should consider covering the RF receiver on these if using near a TV.

Tomorrow I will likely learn something.


#213

Well, you should try to read more before buying, when I did my first buy of strips(from this thread by the way) I did not have all those problems!


#214

Sorry to hear about all the trouble! If you have any questions, I’d be happy to help where possible. I have a little experience with strips :wink:

If you want a real mind-bender; the 4-pin vs 5-pin (and 6-pin) are pinned out differently :joy: +RGB vs +RBGW. Today, I saw one that was R+BG and I was REALLY scratching my head there.


#215

I'm seeing that. Are the 4-pin RGBW and 5-pin RGBWW? I was able to plug the 4-pin lights into the 5-pin controller and get all the colors but the RED channel. $10 and $15 dollar miss-buys are not trouble. Most of my spend so far has been with points on my Amazon account anyways. I wrote that post partially in jest, but also to help others know some of the in-and-outs of these lights, because like I said; I didn't know what I didn't know; so did not know what questions to ask.


#216

Wow, right to RTFM:blush:. I thought I had read enough, looked pretty straight forward. I've never tinkered with this kind of stuff so I didn't know what to expect. If this were a Data Center full of hyper converged servers, storage, and switches, I would have been all over it. I'm learning as I go and like to share my mistakes so others can benefit.


#217

Yea eBay and the Chinese sights are... great, but a gamble.
When it comes to my custom LED combinations, I've been lucky so far. Arduinoy purchases, not so much...


#218

RGBWW (RGB + 2 White Channels) is actually 6 pin.
V+, R, G, B, W1, W2

RGBW has 5, RGB has 4—one for each color, plus a positive voltage pin.

Digital RGB has 3 pins, however. That’s a whole ballpark that I can explain when I get it added to the driver.

Speaking of which... sorry there haven’t been updates in a while. I’m really trying to hammer out the fixes for slowdown and self-healing, and that testing takes a long time.


#219

I have a strip that is +GRBW. :man_shrugging:


#220

Sorry, I re read my own message and it sounds in a way that is not how I want, english is not my first language, I got my strips on Amazon, there you see what other people got with an item, for example, I looked for the module, then I saw the people were buying the cable and the strip with the module, so this way I figured out what to buy. Sorry again.

And by the way, my strip had 2 colors inverted, I had to modify 2 cables swapping them with a soldering iron, so it not perfect anyway! I did not buy the waterproof strip because I read the reviews and they said the strip clear coat will turn yellow and I wanted them for the cabinets in the kitchen so I chose the non waterproof because the heat in some areas, they work great, RGBW.