Did recent firmware update break Abode drivers?


I have a C4 hub, and prior to August 26 was running 2.5.1.152. On that day I updated to 2.5.1.174. Coincidentally or not, that day communication between my Abode (1st gen hub) and my C4 broke. Any number of reboots of both hub and Abode system have failed to fix the problem. At the time I was using the 2020 drivers written by endorphin_junkie and was unaware of the 2024 drivers written by x86cpu. I updated the driver today,as part of the troubleshooting process, but that also failed to restore communications.

On my.goabode.com, the Hubitat shows as a connected device. On the Hubitat web interface, Device Info page for the Abode device shows with correct info, including the correct mac address and device IP. This implies that a connection is made despite the loss of communications.

The most common events I see in the log since communications failed are:


java.lang.SecurityException: Subscript property 'metaClass' is not allowed from app or driver code on line 451 (method refresh)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

with occaisional of the following:

java.lang.NoClassDefFoundError: Could not initialize class com.hubitat.hub.controller.interfaces.WebSocketInterface on line 383

While attempting to troubleshoot, I had two devices created using both 2020 and 2024 drivers. During that time I also saw the following errors. However, they went away once I disabled one set of drivers:

com.hubitat.hub.executor.helpers.ExecutorHttpResponseException: status code: 403, reason phrase: Forbidden

com.hubitat.hub.executor.helpers.ExecutorHttpResponseException: status code: 429, reason phrase: Too Many Requests

Given the timing this appears to be related to the C4 firmware update, has anybody else had problems with the Abode drivers since updating?

Use the Diagnostic Tool to revert back to platform 2.5.1.152 - that will let you determine if the issue lies with the platform update or elsewhere.

Thanks for the tip. I had to both revert to 2.5.1.152 and restore my last backup when the system had that FW version to restore communications, but they are restored. I have repeated this three times, and updating firmware to 2.5.1.174 breaks communications with my Abode gateway. So not ideal, but I at least have a workaround until the issue is resolved. I'm surprised I'm the only one who has noticed this, given there's several replies on the release notice for the 2024 Abode gateway drivers.

Tagging @gopher.ny. This seems to be 2.5.1.174-specific problem.

Checking...

Should be resolved in 2.5.1.180, please check.

Wow, that's a fast response. Amazing. Thank you. Unfortunately communications aren't working with 2.5.1.181 (which is what was released by the time I saw this). However, the symptoms are a bit different now. The status in the device page briefly shows as connected then with "eventSocket disconnected". I'm also seeing different error messages. These include:
webSocket message = Error: "Not Authorized"
java.lang.NoClassDefFoundError: com/hubitat/hub/executor/SandboxSubscriptGuard on line 407 (method parse)
java.lang.StackOverflowError: null on line 477 (method checkSocketTimeout)
java.lang.NoClassDefFoundError: Could not initialize class com.hubitat.hub.controller.interfaces.WebSocketInterface on line 477 (method checkSocketTimeout)
Thank you for being so responsive, and sorry I don't have better news. Back to .152 :wink:

Also just to be clear I'm using the Abode 2024 drivers now, but kept the 2020 drivers if necessary. When I was testing both I didn't see a difference in behavior between them. If one worked, the other one did. When they didn't work both produced similar error messages.

2.5.1.182 appears to fix the problem. Thank you. This begs another question, I've asked about upgrading my C4 to a newer model before. The general consensus seems to be that if the C4 works fine, leave it be, as a non-trivial number of migrations have gone bad. However, is it getting more difficult to maintain the code for the C4? Has that math changed and it is now time?

Good question. There is a number of integrations that are C8 pro only, so that is an incentive to upgrade.