[ST Edge] Dev Guide Questions

I have been picking through the edge development guide and have a few questions for @nayelyz / @posborne / @erickv

  1. There is reference to a global discovery socket. What is this? Socket — SmartThings Edge Device Drivers documentation

  2. Where can we find the code for local integration/mock testing? How can we get the libs for off-hub testing? Integration Tests — SmartThings Edge Device Drivers documentation


1 Like

Let me check with the engineering team and I’ll get back to you

Do you mean the ST Lua libs? Here are the different versions.
You need to install Lua as well (I believe the most stable version is 5.3), depending on the OS you’re using, you need to add the corresponding value to the LUA_PATH. Here’s a guide on the setup.

1 Like

There are a few like that. I am guessing it is to do with RPC outside of the sandbox that makes it all work and that way be dragons.

1 Like

:smile: Can’t wait for someone’s driver to bring down the hub. I know I’m not touching that socket until engineering says it is safe. Sounds like something the hub uses in its own code.