I have done everything read here and had already done everything @SophieO posted. I have about a dozen Gen2 switches and only six of them have connected over Matter. Obviously things are setup right in the system if six of them work. One person suggested using a different device to set it up with so I used both my Pixel 6 and Samsung tablet with same results.
What makes this worse is that the Gen2 and the Gen1 switches no longer work with the Leviton integration! Small step forward, a couple large steps backwards.
One person mentioned rebooting the switch however I cannot find anywhere on how to do it. Might try just hitting the circuit breaker on it. I saw Levition suggest this with older Gen1 devices.
I was quite excited about this too. I only did one light at first with the firmware update and it added straight away. So of course I immediately updated everything thinking it was all going to work. heh
One thing I have noticed but I am not 100%. I believe that the ones that did get added all auto-started the Android setup app on the phone. Going through HA and adding from the devices tab appears to not be working. Not sure if there is something to this or not.
I thought I would post steps to recreate in case someone else is having this issue.
Hold down the light switch in the âonâ position for seven seconds until orange light turns on. Release the button and it starts flashing green.
In the HA app, go to the Devices tab and hit the âAdd Deviceâ button. Select âAdd Matter deviceâ. Hit the âSet up without QR codeâ button.
Switch to the Leviton app, Go into the device settings and select âMatter Pairing Codeâ. Get the number under the QR code.
Go back to the HA app and enter the QR code.
At this point, the app does connect to the switch as the green lights stop blinking on it. It says it is generating network credentials and then it simply says âSomething went wrongâ and asks to try again which never works.
I have checked the HA logs and there is nothing in it regarding this issue.
I should also mention that I have restarted HA and rebooted the phone for good measure.
All of the lights still work in the Leviton app. The Gen1 and Gen2, both the ones that connected with Matter and those that donât. However none of them, as mentioned before, work with the Leviton integration any more.
@portigui - I called Levton tech suppport and they told me this is the way - and it works. For the Leviton D26HD Dimmer this fixes the problem - and you wonât need to do it again - FINALLY! It used to be a hassle but it has gotten much more stable over the last couple of matter updates in HA.
In the leviton app on your phone, verify you have updated the dimmer switch to the firmware that has matterâŚ
In the Leviton App on your phone, delete it completely. This is important. I Wonât bother explaining that right now, but the below keeps failing if you donât do this (you can add it back into the app later - the app will actually remember the settings for it like the wifi password - and even the name - for the Leviton App when it is re-added - at the last step below anyway).
In Matter on HA (or devices, wherever it is), make a note of the name (and the entity_id) of the device. Then delete the device completely from HA. Restart HA and make sure it is gone.
(Thank you @cptnemo for the correction to this section!):
hold the top rocker for 14 seconds
after first 7 seconds status led will turn amber - continue to hold
after 7 more seconds, status led will quickly flash RED/AMBER
release top rocker and device will reset.
The light should be blinking when the reset is done. That means you are ready to program it from scratch.
Make sure your phone is on the same wifi & vlan that you want the switch to use (for example my IOT vlan for me). Also that VLAN should have access to the internet (for this for now).
In HA, go to devices / add device and go through the typical routine. Be patient, might take a couple tries. If it does not work, take a breath, start over with the reset, etc. (but make sure it is not back in HA yet if you have to try again) And it might take several minutes for HA to say it actually has successfully added it. Donât walk away while it is doing, bluetooth has limited range, and donât switch to a different app on your phone when waiting/doing it!
Only once you have it worknig properly in HA (remember to rename it to the name and device ID you had from #2 above so all of yoiur automations are then working again) - then relaunch the leviton app and go through the steps in the Leviton App to add it as new.
BTW, if you want to cut power to it, you donât have to turn off all the lights in the house. putting your fingernail under the lever and popping it into the position shown in the picture is the same as cutting the power to it (very clever!). Then after a little bit, push it back in. You donât really need to do this for the above steps but it might be smart to do it after you have wiped it clean to the factory resetted firmware, but that is up to you. (Itâs essentially really forcing it to reboot - cutting the power this way and restoring the power by pushing it back in again.)
@KruseLuds You sir, are my hero! Thank you for doing the leg work and getting the information to make this work. After doing the steps you mentioned above, android auto-detected the new matter device just like the ones that did work previously! From that point on, it was smooth sailing. All of my Gen2 switches are now connected via Matter!
In addition, for some crazy/unknown reason, the Gen1 switches are all back via the Leviton integration. I am 100% again!
Thank you for the information on the power cycling the Gen2 dimmer switches. All of my dimmers are still Gen1 so I did not need to use that info at this point in time but I am quite certain I will need it when I get around to replacing my Gen1 dimmers with Gen2! lol
Thanks again my friend, you are greatly appreciated!
Thank you for this clear step-by-step instruction. While it has still not worked form me, my DH26 dimmer manual had a different reset process and may help others.
hold the top rocker for 14 seconds
after first 7 seconds status led will turn amber - continue to hold
after 7 more seconds, status led will quickly flash RED/AMBER
release top rocker and device will reset.
I have tried multiple times but adding to HA via the matter device add always pops up an error âUnable to Add Accessoryâ You may need to restart your accessory before you can add it to your home!
Not sure what to try anymore. I fear it is a problem on the HA side!
UPDATE: FINALLY GOT MY DH26âs to connect to HA via matter.
the specific step that made it work was really to connect to HA right after/during putting the DH26 into âsetupâ mode. This requires
Reset your dimmer switch as stated by @KruseLuds or in my case, as listed above.
get HA to be ready to pair by having entered/scanned the bar code
hold the up rocker button for 7-10 seconds till you see the amber light
then release the rocker and you should see blinking green lights
Have you guys tried to adjust the transition time on the decora switches within HA running matter? They donât seem to respond to transition input data.
I confirmed that HA doesnât support this over Matter yet. Should be a few weeks. Also confirmed with Leviton that the Matter firmware on the device supports this feature so itâs on HAâs side.
I just added a Leviton D215S switch via the Matter interface.
I came across this post with the special instructions for adding these devices before I even purchased the switch and filed it away for future reference in case I had any issues. Initially I tried to add the switch through ânormalâ means, but seems like nothing has changed in the intervening months since someone last posted on this topic. After the initial attempt failed, I followed the instructions provided by @KruseLuds and the inclusion worked without a hitch. I appreciate that someone took the time to share this information with the community.
One issue I am having with the D215S switch is that it was added to Home Assistant as a light rather than a switch. Besides just the OCD in me, Home Assistant presents it as a dimmer with 0% being âoffâ and anything else being âonâ. I deleted and re-added the switch in Home Assistant, but got the same result. Iâve spent some time searching for a solution, but have not found anything that works for me. It works as a switch within the Leviton app.
Iâve used a template in my config to change a light to a fan because of a zigbee switch that did something similar. Let me know if you figure it out, I was looking at getting those for setting my Whole House Fan High/Low using these.
Do you have to reinstall it on the Leviton app after you connect it to HA with Matter? Can you update the firmware with HA when updates come available or can you only update the firmware from Leviton app.
Well after several hours trying to connect 2 dimmers and a switch I threw in the towel. Has anyone tried connecting with the new firmware 2.1.25 yet? I even tried connecting them to HomeKit. They would show up but had a connection error and I could not control them. When trying to connect to HA the green led stops blinking then blinks orange a few times like it should then back to solid green. After a long time HA fails to install it.
looking thru my logs I seen this. 2024-04-12 09:36:42.667 (MainThread) INFO [matter_server.server.helpers.paa_certificates] Skip fetching certificates (already fetched within the last 24h).
Could it be that I need to wait awhile sense the Matter codes were just made and may not have made it all the way to HA yet?
What is the reason for needing to delete it from the Leviton app on your phone? Once you start the Matter pairing process, it shouldnât have anything to do with Levitonâs servers or apps.
I get that you need to reset the switch, but the above I donât quite follow.
I am still stuck though. I can get things to work if my switch is in the same VLAN as my HomeAssistant. Can you confirm you got it to work with your HA in the default VLAN and the Leviton Switches in IoT? If so, Iâd love to learn more about what settings, firewall rules, etcâŚ
Honestly @JeffSteinbok that was a while back so I do not exactly remember, but it wouldnât work unless I did that. I never did get it to work on a separate vlan, it has to be the same vlan as HA. This is something they are workiong on in the matter integration for HA, I saw some discussions floating around in the forums about that -
The thing that isnât adding up for me is that the Kasa Matter switches work with HA ina separate VLAN. I setup 4 of them. Curious thing was that I needed to update the Kasa firmware before cross-VLAN pairing worked.