Integration with AT&T digital life

What OS are your running and which release version of it?

CentOS 7. Same as my previous VM, the only difference is the one previously was on HyperV and this one is ESXi. I converted my old one and it completely boned it (the other 10 CentOS boxes survived just fine).

I fully updated it before installing, and I’m using node 5.7 (or whatever version was recomended in the instructions).

Is this VM dedicated to just HCH or do you run other things on it?

Dedicated. Statics set on it and a DHCP reservation set on the STH.

How long has this been going on? I think AT&T may be having issues. I started getting this in my logs tonight:

Error logging in to AT&T, javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

If I delete the smart app and then reconfigure it, I get a long in but as soon as a log in is attempted again, I get this message.

Yeah it appears to be AT&T. I am having the same thing you are now.

AT&T had some issues recently. Make sure you have the latest SSL/TLS libraries too - more and more providers stop using SSLv3 and allow only TLSv1.1+

1 Like

@ady624 If you have time, What kind of info do you need from me to get my Glass Break Sensors from Digital Life setup in the HomeCloudHub?

The error log in the IDE to begin with. It should contain information about devices it does not know

While the topic is hot, here is the error code for the Yale DL Door lock.

16762928-ce1e-4edb-91ec-e27be01fc891 5:57:10 PM: info If the repository is missing the [AT&T Digital Life Door Lock] device handler, please provide the device data to the author of this software so he can add it. Thank you. Device data is [[data-battery:82, data-installer-configuration:lockTimeout=180,wrongCodeLimit=5,wrongCodeShutdownTime=60,statusLed=on,sound=undefinedsound=undefined, data-last-user-id:-3, data-location:0003001017, data-lock:lock, data-lockalarmstate:Normal, data-rssi:0, data-status:0, data-user-codes.0.0:1~**~~0, data-user-codes.1.0:1~**~~0, data-user-codes.2.0:1~**~~0, data-user-codes.3.0:null, data-user-codes.4.0:null, data-user-codes.5.0:null, data-user-codes.6.0:1~**~~0, event:update, id:DL00000002, module:digitallife, name:FRONT DOOR LOCK, type:door-lock, value:lock]]
16762928-ce1e-4edb-91ec-e27be01fc891 5:57:10 PM: info Home Cloud Hub discovered a device that is not yet supported by your hub. Please find and install the [AT&T Digital Life Door Lock] device handler from https://github.com/ady624/HomeCloudHub/tree/master/devicetypes/ady624
16762928-ce1e-4edb-91ec-e27be01fc891 5:57:10 PM: info Received update event for module digitallife, device FRONT DOOR LOCK of type door-lock, value lock, data: [data-battery:82, data-installer-configuration:lockTimeout=180,wrongCodeLimit=5,wrongCodeShutdownTime=60,statusLed=on,sound=undefinedsound=undefined, data-last-user-id:-3, data-location:0003001017, data-lock:lock, data-lockalarmstate:Normal, data-rssi:0, data-status:0, data-user-codes.0.0:1~**~~0, data-user-codes.1.0:1~**~~0, data-user-codes.2.0:1~**~~0, data-user-codes.3.0:null, data-user-codes.4.0:null, data-user-codes.5.0:null, data-user-codes.6.0:1~**~~0, event:update, id:DL00000002, module:digitallife, name:FRONT DOOR LOCK, type:door-lock, value:lock]
16762928-ce1e-4edb-91ec-e27be01fc891 5:57:10 PM: info If the repository is missing the [AT&T Digital Life Door Lock] device handler, please provide the device data to the author of this software so he can add it. Thank you. Device data is [[data-battery:82, data-installer-configuration:lockTimeout=180,wrongCodeLimit=5,wrongCodeShutdownTime=60,statusLed=on,sound=undefinedsound=undefined, data-last-user-id:-3, data-location:0003001017, data-lock:unlock, data-lockalarmstate:Normal, data-rssi:0, data-status:0, data-user-codes.0.0:1~**~~0, data-user-codes.1.0:1~**~~0, data-user-codes.2.0:1~**~~0, data-user-codes.3.0:null, data-user-codes.4.0:null, data-user-codes.5.0:null, data-user-codes.6.0:1~**~~0, event:update, id:DL00000002, module:digitallife, name:FRONT DOOR LOCK, type:door-lock, value:-3]]

Not sure why, but all of the sudden getting this:

ERROR: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function

Oct 26 13:50:11 nodejs01 node[934]: (node:934) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Oct 26 13:53:24 nodejs01 node[934]: 10/26/2018, 1:53:24 PM [homecloudhub] Received init request

Oct 26 13:53:24 nodejs01 node[934]: ERROR: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function

I recently started getting something similar. I haven’t had time to look into it, but I suspect an issue at AT&T.

If I have cancelled my digital life service will I still be able to to use this?

No. This requires Digital Life service to work.

Hi ady624…Thanks for all the work you put into the HomeCloudHub. I’m new here and just installed the HomeCloud and getting the following error:

[ERR_INVALID_CALLBACK]: Callback must be a function
(node:7286) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Is there a fix for this that you know of?

Thanks

hey guys, just saw this. I’ll take a look at the code, I’m using this and it still works, so I never had to check IDE logs. Got any line number info?

I have had the Homecloudhub integrations for the past two years and the past several days, I am getting an error stating that "[homecloudhub] Failed sending event: Error: read ECONNRESET and then it stops the node service and "throw er; //Unhandled ‘error’ event. When I restart the service, it occasionally throws an error: Error read ECONNRESET at _errnoException (util.js:1024:11) at TCP.onread (net.js:615:25). I restarted the service several times and can get it to start the node service but will only run for about an hour before it quits after throwing several “Error: read ECONNRESET” errors. Any input would be great

I have not looked at any logs or done any troubleshooting yet but I also noticed significant delays and the need to reconnect/ restart for about 2 weeks now. I assumed it was an ATT issue like so often before.
I will post logs when I get some time to look at details.

Hey ady624 - First, I love your code. I’ve been using it for some time now, typically I have no issues (that are not related to AT&T :slight_smile: ) But, I do have a long-standing re-occuring issue…With some regularity the listener connection is terminated, and it typically happens every 20 minutes or so…The downside of this is that over time I miss events (doors/windows opening and closing) as well as automation failures that tries to arm/disarm automatically, etc. (it typically takes about 30 seconds to recover, so 30 seconds of downtime every 20 minutes). Further, every so often (at least every few days) it does not initialize causing me to have to go in and kill and restart the daemon. Any wisdom here?

Jul 17 08:05:16 raspberrypi node[9878]: 7/17/2019, 8:05:16 AM [digitallife] Listener connection terminated, recovering...
Jul 17 08:25:25 raspberrypi node[9878]: 7/17/2019, 8:25:25 AM [digitallife] Listener connection terminated, recovering...
Jul 17 08:45:36 raspberrypi node[9878]: 7/17/2019, 8:45:36 AM [digitallife] Listener connection terminated, recovering...    
Jul 17 09:05:48 raspberrypi node[9878]: 7/17/2019, 9:05:48 AM [digitallife] Listener connection terminated, recovering...

Thank you!!

My integration stopped working a while back and I tried to re-install without success.

I found this article that addresses the 2nd part of your error. It looks like line 131 in the homecloudhub.js needs to be updated to work with the newer node.js version?

Now, I am still getting the “[ERR_INVALID_CALLBACK]: Callback must be a function” error.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.