hi will there be a way in the appto update/refresh edge drivers without having to go into the cli.
thanks
martin
Rebooting the hub usually forces it to update.
is there a way to update all drivers using the cli ?
@nayelyz
Do you mean all at once?
Iβve seen that using the command: edge:drivers:installed after the driverβs dev has published the latest version, you can force the update but it doesnβt accept several driverIds at onceβ¦
Are you looking for a way to force the refresh of all the drivers to be sure youβre using the latest version?
yes thats it ,
is there anything in place to auto update the drivers every now and then.
or if they update when the hub is rebooted perhapse a routine that could be set to reboot the hub nce a week or so.
thanks
martin
Your drivers should automatically update themselves within 12 hours of a update being published.
thats great thanks
martin
Oh no, thereβs no command to βpullβ all the updates and neither does a command to reboot the Hub in a routine for example.
So, as @Paul_Oliver said, we should wait for the 12 hours auto-update. If we want to force it, we can try:
- Rebooting the Hub manually
- Use the
edge:drivers:installcommand
Thanks
Please xan you have a look at the zigbee button
driver
it seems like the force update is broken now
@smartthings/cli/1.10.0 win32-x64 node-v18.5.0
smartthings edge:drivers 6
Basic Information
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Driver Id 4cd1d3e3-910e-4188-ac45-982aa5c4fe66
Name LAN Nanoleaf v2
Version 2024-09-29T20:30:39.794505887
Package Key LAN-Nanoleaf
Description
Permissions lan, discovery
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Device Integration Profiles
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Id Major Version
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
9310a07b-5d3f-3bc0-bad0-e018f82d24bd 6
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
smartthings edge:drivers:install -C 609e2190-c8fa-4b9a-9986-62367890277e
using previously specified default hub labeled βUS Hubβ
β¦
6 LAN Nanoleaf 4cd1d3e3-910e-4188-ac45-982aa5c4fe66
Hello @veonua
Could you confirm if you have information on the latest version published by the driver developer?
I am the driver developer,
Iβm trying to force-push a new driver on my hub
Hi, @veonua
I just tried it and it seems to be working, can you check if the version youβre looking for appears in the result of the command smartthings edge:channels:metainfo, please?
If you can, please share over DM the result shown by the CLI when you package the driver and the current version installed in your hub, please.
I mean this table:
smartthings edge:drivers:package driver-path
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Driver Id c7c68e44-2e31-44fe-...
Name LAN driver
Package Key lan-driver-sensor2
Version 2024-10-02T22:00:02.072084395
βββββββββββββββββββββββββββββββββββββββββββββββββββ
The case is solved now
Error: Command edge:drivers:publish not found.
was removed, and I did not read the docs carefully,
edge:drivers:publish %DRIVER_PATH% -I
is the new line that makes a package, publishes, and installs the driver
I donβt see the command publish, but this is the one I use that performs the three steps you mention:
smartthings edge:drivers:package [DRIVER_PATH] --channel=channelID --hub=HubID
If you want to do it step by step, the commands would be:
smartthings edge:drivers:package [DRIVER_PATH]
smartthings edge:channels:assign [DRIVERID]
smartthings edge:drivers:install [DRIVERID]