Xsky matter recessed lights HA integration

Hi, just bought the Xsky Smart Recessed Lighting 6 inch Color Changing Recessed Lights Matter Light. As I was having the hardest of times with the Tuya smart WIFi lights - a constant and never ending disconnect ( sooo frustrating!) So I bought 24 of these counting that they will be 1000 times more reliable!

But I am not seeing an Xsky integration on Home Assistant. They are matter compantible and since I got two sets of 12 - I will have two matter xsky hubs.

How would I integrate these into Home Assisant?

Thanks!

Alberto

https://www.amazon.com/Recessed-Lighting-Downlight-2700-6500K-Compatible/dp/B0CP2F6M48/ref=sr_1_5?dib=eyJ2IjoiMSJ9.u8yEAwdAOwHfGJC-4aaIQdiGEQgMCEtwdRUHRTepSVyWamxAgnuJ2QhDXdh8wvF9EoozyKVh0MtK3vHLOU-_b0GnVUKmjUJaO-OAi_x25TIRgrqOU5P_-UulHSY2mhGQuYqAdDIqCrf01rjkY8nFbXpyfejDbVELE34I4c3ZCSqiUnRdKw3NAvEQssV7daBqEobI8QgKd-118lIHH1LBfKo1lgTVNM3HrukvJ60EoTSBpi6iY5EAF5Q1Jj3uvWEIQqQkVrDU8vg_zopmP8HySjEgqsxXMg6yfNCqOLTTvTk.7cbl795_ro52ZKvu1X3v556-GTd6cDsMrpZMoDBe0xI&dib_tag=se&keywords=Xskyㅤ&qid=1713713609&sr=8-5#customerReviews

1 Like

Install the matter server add-on, and the matter integration.

1 Like

Thank you!

Were you ever able to get this working? I was able to add the wireless switch through zigbee but never able to get the matter gateway to work.

As it turns out, you don’t NEED the Matter integration and, in fact, it makes the entire configuration more difficult. Here are the steps for adding the lights using ZHA and Zigbee:

How to work with Home Assistant.

1. You don't need the Matter Gateway that's provided if you already have Zigbee in your HA installation.  But you MUST use ZHA and NOT Zigbee2MQTT.  See details later….
2. Download the LMK (Light Matter Kit) from FEIBIT on your iPhone or Android
3. Create a test harness that allows you to power one of the light boxes and lights.
4. Add the Switch to Home Assistant
	a. Go to ZHA and Add a Device
	b. Install the batteries in the wireless switch.  If this is the first time you've installed batteries, then the device will be in pairing mode and ZHA will detect and install it.   If it's not detected, then use the reset pin and reset the wireless switch by holding it down for 5 seconds and releasing
5. Now upgrade the firmware in the wireless switch 
	a. Start the LMK software and make sure your phone has Bluetooth turned on.
	b. Remove one of the batteries, wait 5 seconds and re-insert the battery.  The device will look for the LMK for about 10 seconds so it's important that the LMK is already running.
	c. When the LMK finds the switch, you will be offered a firmware upgrade.  If it says it's already updated then you're ready to go.
6. Upgrade the firmware in the light
	a. Start the LMK software and make sure your phone has Bluetooth turned on
	b. Apply power to the light
	c. The LMK should see the light within about 10 seconds and offer you an upgrade to the firmware.  Upgrade the firmware.
	d. Repeat for each light
7. Use the Switch to install the lights into ZHA
	a. You can either add each light after the firmware upgrade or upgrade the firmware in all of the lights and then go back and add them into HA.  I found it faster to do one light at a time and then set the light aside. 
	b. Set the switch in connection mode by pressing 4 short times and then one long time until it blinks slowly.  If the switch blinks quickly, then your firmware update didn't work.  Try again.
	c. Now apply power to one of the lights.  (You can do multiple lights at the same time but in my experience it never links to more than a couple at a time.)
	d. ZHA will "see" the light added through the switch and then add it to your configuration.
	e. You can either keep the randomly assigned light name or assign your own light names.  I chose to rename the lights, update the Area and enable all of the sensors that weren't enabled by default while I had each light plugged in.
	f. Repeat the process for each light.
8. Now you're ready to install the lights and they will all be recognized by HA.  A couple of other things to consider:
	a. If you break the lights into different groups then create a Group Helper and name the set of lights so they are easy to control as a unit
	b. I know there's a way to apply different effects to a set of lights but haven't figured out how to do that yet.  If someone knows, please add the directions to this thread!
2 Likes

I am about to buy these lights, they look like amazing value, really good price and a lot of functionality, I am just hesitant because is a generic brand and I saw a couple of very bad reviews

1 Like

It took me a while to get them to work with Zigbee in Home Assistant. That’s why I documented the specific sets in an earlier post. If you follow the directions in that post you’ll have them all working in less than 2 hours. Most of the time is getting the power to the lights. :wink:

1 Like

Thanks for the detailed steps to integrate it with Home Assistant. I got 8 lights connected. These are really good lights in my opinion. I am only worried about losing the remote as it’s integrated using the remote. I was hoping these lights can connect via zigbee without the remote or the hub.

I can confirm this is very easy to set up with Matter on HA. I did have 6 of my lights become unresponsive. I think it was a result of some electrical work I had done. But after I reset that group by cycling power 5 times and putting Matter into share mode evething stated working again.

However I have noticed that when I activate a scene with a group of these lights, they respond individually instead of all at the same time. Depending on your application this could be annoying. This could be because of HA’s implementation of Matter or Xsky. Matter does have a group command but I haven’t investigated to see what is sent when a scene is activated.

Can confirm these work with Zigbee2mqtt and home assistant

Follow the steps at the top to update the firmware on each light. unplug the feibit bridge and re-pair all lights with your zigbee network

They do, no issues. Just make sure you update the firmware if needed.

I’ve been using a Wi-Fi version of these downlights for the past three years, and it’s been a love-hate relationship. I’ve been waiting for a Zigbee version to come out so I could hopefully bind them directly to a Zigbee wall switch and maintain control even if my Wi-Fi or hub goes down.

You mentioned that this can be done using the Xsky Dimmer Switch. I assume, then, that it could also be done with any wall switch that supports Zigbee 3.0 with direct binding but I figured I’d ask to see if you can confirm this. I’d like to bind them to Inovelli Zigbee 3.0 wall switches, which do support binding.

@DapperDivers @anon30959038 @gmatrangola @jeffreywfinch @john.landgrave @manu.nakkara

I’m not the only one confused about the purpose of the included switch. Is the switch required to use the lights even after initial setup? That is, does it behave as a bridge/proxy of sorts?

Or, once I have the lights on my Zigbee network, can I command them directly with Zigbee2Mqtt via my coordinator, or via binding to something like an Inovelli dimmer?

I didn’t use included switch at all or the smart bridge. I just paired the lights directly to home assistant works great.

So I just went ahead and ditched those matter hubs and linked all my xsky units as well using zigbee2mqtt and it seems to work find, I even set up a matter hub to send all my lights to my Alexa as well. I did notice a little quirk though, when using voice assistant with Alexa or in home assistant to set the lights to let, they turn off. But you can manually set the lights red just fine. All other modes work fine as well

Hey better man. How are your lights holding up with that many in sync? I’m completely new to all of this and want to purchase around 70 of them.

I’m running into this exact issue. I’ve installed 30 of these lights (4" and 6" version) and the color red seems to be an issue. If you use Alexa or HA to set them to red, they either turn off, or go to minimum brightness. Making the adjustment in Z2M, they work just fine.

I’m thinking it has to do something with the color_xy vs color_hs being outside of the gamut for the lights or something.

IDK if you’ve noticed this too, but similarly, when switching between whites and colors, it does not crossfade in Alexa/HA, but it does in Z2M as well.

I’ve been playing around manually adding them to Z2M to force Alexa/HA to use color_hs instead of xy but nothing seems to work.

Well I can verify that using zha instead of z2m allows the red command to function correctly. So I can only assume it’s something with z2m not exactly knowing these lights capability

1 Like

Yes, I believe you’re correct. I experimented with creating an external converter to force the lights to use hs color instead of xy color and that seems to be working. The only downside is the Z2M groups are overriding and using xy color, which is causing the gamut issues in the first place.

@Demolishionc4 @StoicKiwi Any tips on getting these added in Z2M? I’ve managed to get the firmware updated on the lights and the switch that came with it. I was able to add the switch to Z2M no problem (even though I don’t need it). I can’t get any of the lights to even attempt to join in Z2M. Is there a pairing sequence for the lights? I’ve tried all manner of resets and poweroffs, etc. Nothing so far. The app says there are no more firmware updates available so I don’t think that’s the problem. Its not a range or signal issue as I’ve tried it right next to the coordinator where other devices have joined without issue.

1 Like