henryrobinson@RobinsonFamily smartthings % smartthings edge:channels:metainfo
ββββββββββββββββββββββββββββββββββββββββββββββββ
# Name Channel Id
ββββββββββββββββββββββββββββββββββββββββββββββββ
1 VRCS1 175fe0f8-d398-4fc7-b9de-2dcb69313bd9
2 VRCS4 721a4912-8629-4ae3-ac89-ff8e36bf03cf
ββββββββββββββββββββββββββββββββββββββββββββββββ
? Choose a channel to get meta info for. 2
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Driver Id Name Version Package Key
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 4301547f-5a15-44e2-8f17-f147eccc9608 Z-Wave Leviton 4-Button Scene Controller 2023-02-23T16:26:07.029134998 zwave-leviton-VRCS4
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
If you look at the last modified dates, they donβt agree. My local driver seems to be 1 month different. My question is: how do I confirm that my latest version of the driver has been published?
That way I can verify that people will be reporting issues on the latest copy?
Hi, @harobinson
Just to be clear, the command βedge:channels:inviteβ doesnβt publish a driver, it βenablesβ an invitation where users can enroll their hub to your channel.
If you package a new version of the driver, you need to assign that new version to the channel required with the command smartthings edge:channels:assign .
I just made a test and the command βedge:channels:metainfoβ showed a previous version because I only packaged the driver but didnβt publish it to the channel, so, that could be happening in your case.
When you do smartthings edge:channels:metainfo you are getting the metadata of the drivers assigned to the channel. The date that you see in the default output is the version number of the drivers that are in the channel or in your case a single driver.
When you do smartthings edge:channels:enrollments you are getting metadata of the channel itself. The modified date you see doesnβt reflect the contents because a channel doesnβt actually contain anything as such. Itβs not like a folder.
Thanks for the info. I did as recommended and added the command βsmartthings edge:channels:assignβ which I think was redundant as the -I option in the βsmartthings edge:drivers:package -Iβ should automatically do this.
As recommended, I invoked βsmartthings edge:channels:driversβ and it gave me info on the latest driver installed.
I would suggest that SmartThings look at whether the enrollments and metainfo options should be updated to reflect the latest edition of the driver installed. Otherwise, Iβm not sure what the βLast Modified Dateβ is useful for. Thatβs just my comment.
The edge:channels:metainfo option does reflect the latest version of the driver assigned to a channel.
The edge:channels:enrollments gives you a list of the channels that one of your hubs is currently enrolled in. It says nothing about the drivers currently assigned to that channel at all.
That is the βSubscription URLβ that is used once youβve accepted an invite to a channel. The one you need to publish is the βAccept URLβ which is somewhat more anonymous. Youβll find that using smartthings edge:channels:invites.
I donβt know if βAccept URLβ and βSubscription URLβ are the official terms or just what the CLI team decided to call them.