Missing Capability Listener error

After a power outage I get “Missing Capability Listener” errors for my Roller Shade devices. Each shade (I have 17) is controlled by a Rollease Acmeda motor.

I use a RA-Pulse2 Hub to control the shade motors, and the hub is added to my Homey Pro via the HomeKit Controller app (developed by @Martin_Verbeek). Each shade is then added as a unique device.

Once the power outage has been fixed the Homey Pro, Pulse2 Hub and shade motors restart simultaneously. Once everything is powered back on I can control the shades through the Pulse2 app, indicating that the Pulse2 hub is functioning correctly to control the shade motors. However, if I try to control the shades via the device card in Homey I get a “Missing Capability Listener” error, with the additional info for the error dependant on the action I try to execute, e.g. set open % or close. I also get the same error type when a flow tries to execute an action on a roller shade.

I assume, but don’t know how to confirm, that during the simultaneous restart there is a “handshaking issue” between the Homey Pro and HomeKit app and the Rollease system (hub and motors).

I can fix the issue by removing and re-adding each device, but as there are 17 of them, and literally dozens of advanced flows impacted, this is time consuming and not a viable workaround everytime there is a power outage. I live in a rural area and power outages are not infrequent, I have experienced three over the X-mas period.

I’m keen to find a way to identify the root cause of the issue and hopefully a set of quick steps I can take after a power outage that enables Homey to resume being able to control the devices without error.

Any help from the community on this issue is greatly appreciated.

Have you tried an app restart?
In case this helps you might implement a delayed app restart after a homey restart

Hi @SingKT ,

Good call out, I should had listed some of those troubleshooting steps I have completed in my original post.

I have:

  • Restarted the HomeKit app
  • Rebooted Homey Pro
  • PTP Homey Pro
  • Rebooted the Pulse2 Hub
  • PTP the Pulse2 Hub
  • Reset the switch box fuse(s) that power the roller shades electrical circuits
  • Made adjustments to roller shade settings in the Pulse2 app

None of these actions have resolved the issue.

Please keep the suggestions and ideas coming.

Homey 2023?

Yes

Then try to repair in the maintenance of the device. You will reconnect the device without the need of repairing flows

I don’t have a Repair option in the right click menu for the device.

Is there another way to perform a device repair?

Which options appear under settings?

If you have to remove and add the devices, you can use the script of Martijn Poppen

https://gist.githubusercontent.com/martijnpoppen/dcf0b8fd3f7fe63dec087c87dbc66090/raw/4335dfc926ebc8db39a3ce4704739571c8d6629a/gistfile1.txt

(Replacing devices without repairing flows)



That looks promising, but I’m not familiar with executing scripts in Homey.

Is there a walkthrough or guide you can point me to?

Very easy, just install the app homeyscript…

1 Like

Thank you for this.

It’s an improvement of my previous workaround, automating updates to impacted flows after a remove and re-add for each device, but doesn’t help identify the root cause of the error.

Very keen to understand why the issue is occurring.