Hi @TAustin,
Thanks for the reply.
I’ve definitely watched the Controls with the Device Card open for minutes at a time. It only turns On or Off, it doesn’t “toggle” back automatically.
I ran a CLI Log and toggled it 3 times while it was logging.
Let me know if this is what you were looking for and if it helps.
Thanks again,
John
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell Search - Microsoft Bing
PS C:\Users\John> smartthings edge:drivers:logcat --hub-address=192.168.1.11
──────────────────────────────────────────────────────────────────────────
Driver Id Name
──────────────────────────────────────────────────────────────────────────
1 e8a0ea41-b91f-41ac-bf5c-1fe8542bb747 Aeotec Door Window Sensor 7
2 722a5d81-75e0-48de-9895-6ce5a70a2b8a Aeotec Door Window Sensor 7 Pro
3 8f390da7-c66d-4245-9ba9-e431f95c78ec Shelly Device Driver V1.7
4 f3258c1d-b6e9-424d-8b3f-b1e8fe51c4ca Shelly Gen2 Device Driver V1.2
5 0fd9a9a4-8863-4a83-97a7-5a288ff0f5a6 Virtual Devices V2
──────────────────────────────────────────────────────────────────────────
6 6e9a0bbc-9e0d-48f4-adc2-b631c4ab0b0f Z-Wave Siren
7 ea748a00-7990-4c87-8275-e15d45d9b40c Z-Wave Siren Mc
──────────────────────────────────────────────────────────────────────────
? Select a driver. 4
connecting… connected
2023-02-07T01:04:23.344379826+00:00 TRACE Shelly Gen2 Device Driver V1.2 Received event with handler capability
2023-02-07T01:04:23.353652148+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> received command: {“args”:{},“capability”:“switch”,“command”:“on”,“component”:“main”,“positional_args”:{}}
2023-02-07T01:04:23.360567353+00:00 TRACE Shelly Gen2 Device Driver V1.2 Found CapabilityCommandDispatcher handler in thisDriver
2023-02-07T01:04:23.361312591+00:00 INFO Shelly Gen2 Device Driver V1.2 main switch turned on
2023-02-07T01:04:23.361969800+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> emitting event: {“attribute_id”:“switch”,“capability_id”:“switch”,“component_id”:“main”,“state”:{“value”:“on”}}
2023-02-07T01:04:23.364958545+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Sending message: {“id”:50,“method”:“Switch.Set”,“src”:“EdgeDriver”,“jsonrpc”:“2.0”,“params”:{“id”:0,“on”:true,“toggle_after”:2}}
2023-02-07T01:04:23.393148256+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Gate 1 Open/Close device thread event handled
2023-02-07T01:04:24.040443249+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“id”:50,“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“result”:{“was_on”:false}}
2023-02-07T01:04:24.044864539+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:24.076619962+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675731864.86,“switch:0”:{“id”:0,“output”:true,“source”:“WS_in”,“timer_duration”:2.00,“timer_started_at”:1675731864.86}}}
2023-02-07T01:04:24.080909254+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:26.080840795+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675731866.86,“switch:0”:{“id”:0,“output”:false,“source”:“timer”,“timer_duration”:null,“timer_started_at”:null}}}
2023-02-07T01:04:26.085349587+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:55.005769767+00:00 TRACE Shelly Gen2 Device Driver V1.2 Received event with handler capability
2023-02-07T01:04:55.013139226+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> received command: {“args”:{},“capability”:“switch”,“command”:“off”,“component”:“main”,“positional_args”:{}}
2023-02-07T01:04:55.021202267+00:00 TRACE Shelly Gen2 Device Driver V1.2 Found CapabilityCommandDispatcher handler in thisDriver
2023-02-07T01:04:55.021820559+00:00 INFO Shelly Gen2 Device Driver V1.2 main switch turned off
2023-02-07T01:04:55.022649226+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> emitting event: {“attribute_id”:“switch”,“capability_id”:“switch”,“component_id”:“main”,“state”:{“value”:“off”}}
2023-02-07T01:04:55.026386892+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Sending message: {“id”:51,“method”:“Switch.Set”,“src”:“EdgeDriver”,“jsonrpc”:“2.0”,“params”:{“id”:0,“on”:false,“toggle_after”:2}}
2023-02-07T01:04:55.031328434+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Gate 1 Open/Close device thread event handled
2023-02-07T01:04:55.054367226+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“id”:51,“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“result”:{“was_on”:false}}
2023-02-07T01:04:55.059230642+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:55.079382059+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675731895.87,“switch:0”:{“id”:0,“timer_duration”:2.00,“timer_started_at”:1675731895.87}}}
2023-02-07T01:04:55.083685559+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:57.087554852+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675731897.87,“switch:0”:{“id”:0,“output”:true,“source”:“timer”,“timer_duration”:1.00,“timer_started_at”:1675731897.87}}}
2023-02-07T01:04:57.092100143+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:04:58.077539310+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675731898.87,“switch:0”:{“id”:0,“output”:false,“source”:“timer”,“timer_duration”:null,“timer_started_at”:null}}}
2023-02-07T01:04:58.081930060+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:08:25.293515281+00:00 TRACE Shelly Gen2 Device Driver V1.2 Received event with handler capability
2023-02-07T01:08:25.309917618+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> received command: {“args”:{},“capability”:“switch”,“command”:“on”,“component”:“main”,“positional_args”:{}}
2023-02-07T01:08:25.310857648+00:00 TRACE Shelly Gen2 Device Driver V1.2 Found CapabilityCommandDispatcher handler in thisDriver
2023-02-07T01:08:25.311691231+00:00 INFO Shelly Gen2 Device Driver V1.2 main switch turned on
2023-02-07T01:08:25.312397627+00:00 INFO Shelly Gen2 Device Driver V1.2 <Device: 078df96a-66f3-4767-8888-b132930c21d6 (Gate 1 Open/Close)> emitting event: {“attribute_id”:“switch”,“capability_id”:“switch”,“component_id”:“main”,“state”:{“value”:“on”}}
2023-02-07T01:08:25.315777520+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Sending message: {“id”:52,“method”:“Switch.Set”,“src”:“EdgeDriver”,“jsonrpc”:“2.0”,“params”:{“id”:0,“on”:true,“toggle_after”:2}}
2023-02-07T01:08:25.317965051+00:00 DEBUG Shelly Gen2 Device Driver V1.2 Gate 1 Open/Close device thread event handled
2023-02-07T01:08:25.339722999+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“id”:52,“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“result”:{“was_on”:false}}
2023-02-07T01:08:25.343780511+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:08:25.369769011+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675732106.17,“switch:0”:{“id”:0,“output”:true,“source”:“WS_in”,“timer_duration”:2.00,“timer_started_at”:1675732106.17}}}
2023-02-07T01:08:25.374211413+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:08:27.368648405+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675732108.17,“switch:0”:{“id”:0,“output”:false,“source”:“timer”,“timer_duration”:null,“timer_started_at”:null}}}
2023-02-07T01:08:27.373149611+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:09:43.030944538+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675732183.84,“cloud”:{“connected”:false}}}
2023-02-07T01:09:43.036190622+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:09:44.754260206+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675732185.53,“cloud”:{“connected”:true}}}
2023-02-07T01:09:44.758701872+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c
2023-02-07T01:10:24.740255225+00:00 DEBUG Shelly Gen2 Device Driver V1.2 WS Receive TEXT frame payload: {“src”:“shellyplus1-a8032abd018c”,“dst”:“EdgeDriver”,“method”:“NotifyStatus”,“params”:{“ts”:1675732225.55,“cloud”:{“connected”:false}}}
2023-02-07T01:10:24.744808433+00:00 WARN Shelly Gen2 Device Driver V1.2 No matching device found for Shelly ID shellyplus1-a8032abd018c