I have multiple smartthings HUB, the firmware version of HUB is 000.044.0000x
Q1οΌ
My account A has added 2 HUBs, HUB1 and HUB2. HUB1 has been offline and HUB2 is active.
When I registered the first channel (its name is first_zigbee_sw), I enrolled it under HUB1 in ST Console by mistake.
Today I deleted the HUB1 in the Smartthings APP and executed smartthings edge:channels:enroll , but the ST Console showed the following error message:
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings> smartthings edge:channels
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Channel Id Name Description Terms Of Service URL Created Date Last Modified Date
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 781d6689-b523-467b-bd60-e08b728355fa zb_sw_2 add zbminil2 www.sonoff.tech 2022-09-25T10:38:15.003139199Z 2022-09-25T10:38:15.003139352Z
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings>
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings>
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings>
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings> smartthings edge:drivers:package zigbee-motion-sensor
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Driver Id 65753d9c-7946-4166-9b1d-fabd1ebd22f5
Name Zigbee Motion Sensor
Package Key zigbee-motion-sensor
Version 2022-09-27T09:56:32.140935492
βββββββββββββββββββββββββββββββββββββββββββββββββββ
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings> smartthings edge:channels:create
? Channel name: zb motion sensor
? Channel description: add lvmi motion sensor
? Channel terms of service URL: www.lvmi.com
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Channel Id a13e9e27-d9c9-4302-81fd-c1e71416a66d
Name zb motion sensor
Description add lvmi motion sensor
Type DRIVER
Terms Of Service URL www.lvmi.com
Created Date 2022-09-27T09:57:44.977766059Z
Last Modified Date 2022-09-27T09:57:44.977766204Z
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings> smartthings edge:channels:enroll -H ded7d146-aa03-4494-91f7-d273e3c010fc
Β» Error: Unexpected argument: ded7d146-aa03-4494-91f7-d273e3c010fc
Β» See more help with --help
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings> smartthings edge:channels:enroll
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Name Channel Id
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 zb motion sensor a13e9e27-d9c9-4302-81fd-c1e71416a66d
2 zb_sw_2 781d6689-b523-467b-bd60-e08b728355fa
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
? Select a channel. 1
Error: Request failed with status code 500: {βrequestIdβ:βD12722B5-7504-41CF-81BE-E06933E5ABA5β,βerrorβ:{βcodeβ:βUnexpectedErrorβ,βmessageβ:βA non-recoverable error
condition occurred.β,βdetailsβ:}}
PS G:\smartthings\SmartThingsEdgeDrivers\drivers\SmartThings>
What could be the cause of this error? How to get back to normal?
Q2οΌ
I want to share the Driver Channels previously enrolled & installed to HUB2 (its name is zb_sw_2, add Zigbee device to HUB2, APP can correctly identify the device) to another new HUB3 (new HUB and new account B ).
After I execute smartthings edge:channels:invitations:create, it returns a unique URL, when I open the URL, log into account B of HUB3 and accept it, but then the channel info page shows as βfirst_zigbee_swβ and I click the [Enroll] button, The [Enroll] button cannot be switched to the [Unenroll] state.
Is this problem due to the first problem? Or do I need to do extra operations on the HUB3?