Noob working with Magic Home Wifi

Hi, I bought one of those receivers that turn “dumb leds” into “smart leds”. Lucky for me, it’s compatible with home assistant under the Flux Led component.

I’m trying to find a way to get the lights to turn on through he google assistant by saying turn lights on with IFTTT, but no luck.

Also, when I choose the command I’m seeing all these options at the bottom here but I’m so lost. How can I put these into use etc? Can anyone point me in the right direction?

1 Like

light.turn_on accepts:
{“entity_id”:“light.whatever_your_id”}

Be sure that you’re correctly setting things up in IFTT recipe - you want a post. You want to pass the API URL in either the URL or the header. You want to pass application/json. Here’s an example of my recipe that runs a script.

I have it set up like that now but still nothing. I was unsure of whether api_password was the password I use to log in to HA or the ifttt key, so I used both but none worked haha.

It’s your HASS password. You can test to be sure that the API call works before you set things up in IFTTT by using Postman or similar.

Just did, this is the response:

{“result”: “error”, “message”: “404: Not Found”}

So your problem’s not IFTT - you’ve got something else set up incorrectly. BTW, I don’t think the API in the url should be caiptalized. AFAIK.

Ah, will fix that. It’s a fresh install of HA so I’m not sure what can be happening. Thanks for pointing me in the right direction though! :slight_smile:

OMG the stupid capitalization was the problem! haha thank you so much!!

Okay so the API call is working through postman now, but not IFTTT. Back to the drawing board haha

Make sure you’ve set the content type. I also thing you need to pass an empty {}, though I might be wrong about that.

You’ve confirmed that you can reach your HASS install from outside of your home network, correct? To test that, take your phone off Wifi and use mobile data, then try and connect. If you can’t connect from outside, IFTTT won’t be able to connect.

Finally got everything sorted out. Now I can turn on my cheap generic LEDs straight from my AndroidWear device with the click of a button! Thank you so much for your help! And you were right, I did need to pass the empty {}.

Hi @Devon_S_Ramdass
I’ve just looked at one of these wifi controllers.
Can you tell me which wifi controller you bought? Does it work well (bug free) ?

This is the one I used. It works with both WiFi as well as the included remote just incase you need it.

Hi Devon!
I bought the exact same controller but I can’t change brightness or color.
How does your setup in the configuration file look? Thanks in advance!