Let’s get you set up with the CLI. Then you can use that to install the updated driver. I don’t know why it wouldn’t be automatically happening as long as you explicitly selected that driver to install from my regular channel. I want to try and avoid disrupting your setup and having to recreate everything!
I’m going to assume you have a Windows machine for the instructions below, but Mac and Linux is also supported.
- Go to this link to download the Windows zip file.
- With Windows File Explorer, navigate to your Windows downloads folder and unzip the file (highlight the downloaded zip file and select Extract / Extract all from the menus at the top of the window). Here you can also chose where to extract the file, so I would chose C:\Users\<yourid>
- Open a command prompt window (search for ‘command prompt’ to find the app)
- Normally you are sitting in the C:\Users\<yourid> folder and hopefully this is where you extracted the smartthings.exe file to. If you extracted it to a different location, you’ll have to navigate to that folder first.
- To make sure it is working type
You should get the version info
- Now try an actual CLI command and type
Because you are running a command for the first time, it will open up a browser window and ask you to sign in to your SmartThings account and authorize access. Do that and then when it says you can close the browser, do so and return to your command prompt window. You should shortly see a complete list of all your Smartthings Devices (not just Edge!).
- You’re all set. Reference this document for a list of all the commands you can use.
Please note that you CANNOT just double-click on the smartthings.exe file from the Windows File Explorer. It must be run from a command prompt window.
Some key commands you’ll probably want to use are below. Note that these are the ‘quick’ versions of these commands, which will then prompt you for any additional input needed like, selecting which hub, which driver, which channel, etc. As you get proficient, you can provide those inputs as parameters on the command line. Just reference the document above.
List installed Edge drivers:
Install (or update) an Edge driver:
Uninstall an Edge driver (you’ll need to delete all devices first):
EDIT: Some additional info as you try to update your driver…
I’d recommend opening a second command prompt window and starting logging for the driver in question there. That way you’ll be able to see what’s going on as you issue commands from the first command prompt window.
Once you’ve started logging, confirm which driver is installed by checking the version info back in your first window. Then you can try to install the newer driver. Just be sure to select my shared projects channel (ID=e6e29aeb-2793-4ebf-b8f6-e37b69e32c61), and the LAN Motion driver (ID=e8a1a0b7-32e4-4882-8d38-45a96ead543d) when prompted.
Keep an eye on the log output to make sure the install doesn’t get hung up on repeating cosock errors or just hangs. If that happens, you could try rebooting your hub. You’ll have to stop and restart logging if you do this, as it won’t automatically resume when the hub is back up. So Ctrl-c out of logging, reboot your hub, wait a couple minutes to let your hub restart, then start logging again. You’ll be able to see if the driver is quiet (that’s good) or if it is still in an endless re-install loop. If none of that is successful, then at that point I’d say you will have to delete your devices, uninstall the driver, and install it again. Wait a minute between uninstalling and installing.