[RELEASE] Wemo WiFi Smart Dimmer

This DTH + SmartApp allows you to integrate Wemo WiFi Smart Dimmers into SmartThings.

You will need to install both the DTH and SmartApp for this to work. Both GitHub links are below.

You can use Github integration (owner: sirtwist, name: smartthings, branch: master) to get the latest version.

SmartApp:

Device Handler:

Once installed, open the SmartThings app and go to MarketPlace -> SmartApps -> My Apps. Find the “Wemo WiFi Smart Dimmer” app and tap it. On the next screen you will see the app begin searching for your dimmers. Once found, they will populate the “Select a device” list … select the device(s) you want to install and click “Save”.

Please let me know if you have any questions.

2 Likes

Hi sirtwist, I followed the above instructions, installed the smart app and the device handler (TDH?). Initially I was using the old classic app. While using the old app, I was able to find and use the smart app you created, but when I clicked save in the smart app and I went to search for my device that it just added, it wasn’t there. Then I tried the new app. Did it in the new app and then my device appeared in the new app and the old app. I’m not sure if this is expected behavior or if this was strange (and I did something wrong).

Thank you for getting this to work. In the new app you (I) can click on the device and you will be able to dim / brighten the lights, or turn the device on / off from the dashboard and the pull down notification menu (Android). In the old app you can only turn the lights on or off. Although it does report what brightness level the lights are at.

When I got this to work, I referenced your repository straight from github. In regard to working with all of this (Smart Things), I wonder if that is good practice? Or if a better practice would’ve been to fork your repository and then pull from my own copy of the repository? That way I’m not reliant on your repository or forced to receive changes you make? I’m really asking as I’m still very new to the platform and groovy.

That’s outside the norm, as I installed it using the old app with no issues.

The old app also does dimming. In the bottom right corner of the big marquee there’s a percentage bar. Tap that and it will let you dim.

I’m not sure, to be honest. I usually use the original repository unless I plan to make changes.

I copy and pasted your device handler and smart app code you into my account. When I get to the Discovery part in the smart app, it never discovers anything. (I have 3 Wemo dimmers)

I apologise but I’m 100% brand new to all of this stuff. I must have installed it wrong or something? How do I install from your repo, as opposed to copy and pasting your code in? I must be missing a step somewhere?

Are you using the old app? If so maybe try the new one? See if you had the same experience as me.

I’ve got thinks up and running. It finds the wemo dimmers and I’m able to control them. I even set up some smart lighting mirroring between 2 dinners.

It works great.

For about 3 days at most. At some point one or both for the dimmers will no longer “talk” to smart things. I can’t turn it on or off.
From the wemo app the light is working fine and it’s in the wifi. It’s just smarthtings that has the problem. I generally have to futz around removing and reading the lights, the devices and the smart app itself u til it works again. And then… It works for up to 3 days.

I’m happy to help try and troubleshoot. Just let me know what you need.

Hi all,

I’m also completely new to SmartThings, and I’m having the same issue of the dimmer not showing up in the old app. Kevin, how did you add it in the new app? I don’t see an option for adding the Wemo dimmer when I go to add new devices.

Honestly, I wonder if it’s the Wemo dimmers…I haven’t found them to be the most stable pieces of hardware.

Thanks for your work on this, sirtwist and everyone else!

EDIT: Success! I had originally just copied and pasted the code. I instead enabled GitHub integration and updated from sirtwist’s master. After doing that, I was able to find my dimmer in the old app. I don’t know why it made a difference (I’m certain I copied every line), but it did.

That’s really weird! Not sure why that would happen but I’m glad you got it working!

I wonder if maybe your switches are getting new IP addresses when their DHCP lease expires? If your switches are working now and you can find the IP addresses of them, maybe make note of them and see if they’ve changed when they stop working next?

The other thing you can do is go into https://graph.api.smartthings.com/ and go to “My SmartApps”. Find the Wemo WiFi Smart Dimmer app and click the Edit Properties button:

image

On the edit screen open up the Settings pane. Set the debug setting to “true” and click the Update button:

This will enable debug logging which will give us a lot more information to look at when the dimmers stop working.

You should use GitHub integration rather than copy/pasting… I’ve seen posts both in this thread and elsewhere of people having problems with SmartApps and Device Handlers when they copy/pasted them in.

Instructions for doing so are here: https://docs.smartthings.com/en/latest/tools-and-ide/github-integration.html

Both switches already have reserved IPs.

Turned on debugging. Right now everything is working.

Ok it “broke” again.
How does one retrieve the dubug logs?

In https://graph.api.smartthings.com and go to Live Logging.

192.168.86.45 is the switch that’s “misbehaving” or “lost” this time around. It’s not always this one though. Sometimes it’s the other one (192.168.86.30)

[e71e77ca-df4e-49df-b2d5-0674b809cbfc] 11:20:40 AM: debug Harmony - Current Activities:

[e71e77ca-df4e-49df-b2d5-0674b809cbfc] 11:20:40 AM: debug getChildDevices(false), children=8

[e71e77ca-df4e-49df-b2d5-0674b809cbfc] 11:20:40 AM: debug Harmony - response body: {“hubs”:{“4921471”:{“status”:200,“message”:“OK”,“response”:{“code”:“200”,“msg”:“OK”,“data”:{“accountId”:“4099880”,“configVersion”:593,“sleepTimerId”:-1,“activityStatus”:0,“version”:562,“contentVersion”:67,“currentAvActivity”:"-1",“syncStatus”:0,“currentActivities”:}}}}}

[6a1e5711-6211-46fb-b952-7c5ad04778ff] 11:20:26 AM: debug Call subscribe on aa18d22a-021a-4620-883f-0a3a3bceb64f

[6a1e5711-6211-46fb-b952-7c5ad04778ff] 11:20:26 AM: debug Call subscribe on 97101755-7680-4865-a52b-e1c7f1b6ac2a

[6a1e5711-6211-46fb-b952-7c5ad04778ff] 11:20:26 AM: debug getChildDevices(true), children=2

[6a1e5711-6211-46fb-b952-7c5ad04778ff] 11:20:26 AM: debug Send discover command

[6a1e5711-6211-46fb-b952-7c5ad04778ff] 11:20:26 AM: debug subscribeToDevices() called

[aa18d22a-021a-4620-883f-0a3a3bceb64f] 11:20:26 AM: debug Executing subscribe(192.168.86.30:49154)

[aa18d22a-021a-4620-883f-0a3a3bceb64f] 11:20:26 AM: debug Using ip: 192.168.86.30 and port: 49154 for device: aa18d22a-021a-4620-883f-0a3a3bceb64f

[aa18d22a-021a-4620-883f-0a3a3bceb64f] 11:20:26 AM: debug calling getHostAddress()

[97101755-7680-4865-a52b-e1c7f1b6ac2a] 11:20:26 AM: debug Executing subscribe(192.168.86.45:49152)

[97101755-7680-4865-a52b-e1c7f1b6ac2a] 11:20:26 AM: debug Using ip: 192.168.86.45 and port: 49152 for device: 97101755-7680-4865-a52b-e1c7f1b6ac2a

[97101755-7680-4865-a52b-e1c7f1b6ac2a] 11:20:26 AM: debug calling getHostAddress()

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:46 AM: debug Parsing ‘index:15, mac:94103E5034AD, ip:C0A85624, port:C001, requestId:9111ce80-0902-4bd9-96d7-1c01a8f0e127, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5UClgtVXNlci1BZ2VudDogcmVkc29uaWM=, body:PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbnZlbG9wZS8iIHM6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iPjxzOkJvZHk+Cjx1OlRpbWVTeW5jUmVzcG9uc2UgeG1sbnM6dT0idXJuOkJlbGtpbjpzZXJ2aWNlOnRpbWVzeW5jOjEiPg0KPHN0YXR1cz5zdWNjZXNzPC9zdGF0dXM+DQo8L3U6VGltZVN5bmNSZXNwb25zZT4NCjwvczpCb2R5PiA8L3M6RW52ZWxvcGU+’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:46 AM: debug Using ip: C0A85624 and port: C001 for device: e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:46 AM: debug Executing ‘timeSyncResponse()’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:46 AM: trace Got TimeSyncRequest

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:46 AM: debug Parsing ‘index:06, mac:94103E5034AD, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguODYuNTI6Mzk1MDANCkNPTlRFTlQtVFlQRTogdGV4dC94bWw7IGNoYXJzZXQ9InV0Zi04Ig0KQ09OVEVOVC1MRU5HVEg6IDE0MA0KTlQ6IHVwbnA6ZXZlbnQNCk5UUzogdXBucDpwcm9wY2hhbmdlDQpTSUQ6IHV1aWQ6MTA4OTNhNDYtMWRkMi0xMWIyLWEzOGEtZGMxYjUxMWQ0Y2UyDQpTRVE6IDE=, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxUaW1lU3luY1JlcXVlc3Q+MDwvVGltZVN5bmNSZXF1ZXN0Pgo8L2U6cHJvcGVydHk+CjwvZTpwcm9wZXJ0eXNldD4KCg0=’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:43 AM: trace Notify: BinaryState = off

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:43 AM: debug Parsing ‘index:06, mac:94103E5034AD, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguODYuNTI6Mzk1MDANCkNPTlRFTlQtVFlQRTogdGV4dC94bWw7IGNoYXJzZXQ9InV0Zi04Ig0KQ09OVEVOVC1MRU5HVEg6IDEzMg0KTlQ6IHVwbnA6ZXZlbnQNCk5UUzogdXBucDpwcm9wY2hhbmdlDQpTSUQ6IHV1aWQ6MTA4OTNhNDYtMWRkMi0xMWIyLWEzOGEtZGMxYjUxMWQ0Y2UyDQpTRVE6IDA=, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxCaW5hcnlTdGF0ZT4wPC9CaW5hcnlTdGF0ZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:43 AM: debug Parsing ‘index:15, mac:94103E5034AD, ip:C0A85624, port:C001, requestId:26cda458-6a53-459f-a859-ac51b8a7e836, headers:SFRUUC8xLjEgMjAwIE9LDQpEQVRFOiBXZWQsIDA2IEZlYiAyMDE5IDE2OjIwOjA2IEdNVA0KU0VSVkVSOiBVbnNwZWNpZmllZCwgVVBuUC8xLjAsIFVuc3BlY2lmaWVkDQpDT05URU5ULUxFTkdUSDogMA0KWC1Vc2VyLUFnZW50OiByZWRzb25pYw0KU0lEOiB1dWlkOjEwODkzYTQ2LTFkZDItMTFiMi1hMzhhLWRjMWI1MTFkNGNlMg0KVElNRU9VVDogU2Vjb25kLTU0MDA=, body:’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:43 AM: debug Using ip: C0A85624 and port: C001 for device: e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:19:43 AM: debug Executing ‘resubscribe()’

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:35 AM: error | NST Manager (v5.5.8) | NST PROTECT DEVICE UPDATE REQUIRED: Protect QrE6AMnZCXsXq6Nu8nKTh1lR1QneXV2T (v5.3.4) | REQUIRED: (v5.4.2) | Update the Device code to the latest software in the IDE

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:35 AM: error | NST Manager (v5.5.8) | NST PROTECT DEVICE UPDATE REQUIRED: Protect QrE6AMnZCXsR7eLAiwZnqVlR1QneXV2T (v5.3.4) | REQUIRED: (v5.4.2) | Update the Device code to the latest software in the IDE

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:35 AM: error | NST Manager (v5.5.8) | NST PROTECT DEVICE UPDATE REQUIRED: Protect QrE6AMnZCXsZzr3aoyoD3VlR1QneXV2T (v5.3.4) | REQUIRED: (v5.4.2) | Update the Device code to the latest software in the IDE

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:35 AM: error | NST Manager (v5.5.8) | NST PROTECT DEVICE UPDATE REQUIRED: Protect QrE6AMnZCXv9nszrxIcmY1lR1QneXV2T (v5.3.4) | REQUIRED: (v5.4.2) | Update the Device code to the latest software in the IDE

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:32 AM: info ||| NST Manager (v5.5.8) | API Device Data HAS Changed (POLL(ASYNC))

[56cea51f-3f81-49a3-a325-da3ecd260cea] 11:19:32 AM: info ||| NST Manager (v5.5.8) | Updating Structure Data (Last Updated: 180 seconds ago) | Updating Device Data (Last Updated: 180 seconds ago) (async)

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:19:25 AM: trace Notify: BinaryState = off

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:19:25 AM: debug Parsing ‘index:03, mac:94103E5034BD, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguODYuNTI6Mzk1MDANCkNPTlRFTlQtVFlQRTogdGV4dC94bWw7IGNoYXJzZXQ9InV0Zi04Ig0KQ09OVEVOVC1MRU5HVEg6IDEzMg0KTlQ6IHVwbnA6ZXZlbnQNCk5UUzogdXBucDpwcm9wY2hhbmdlDQpTSUQ6IHV1aWQ6ZjgyMGZjNDYtMWRkMS0xMWIyLTk1N2ItZDk3ZDMwYjdkOTY0DQpTRVE6IDA=, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxCaW5hcnlTdGF0ZT4wPC9CaW5hcnlTdGF0ZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:19:25 AM: debug Using ip: C0A8562B and port: C001 for device: 4a50d167-634b-4880-ae26-f5a9dc22261c

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:19:25 AM: debug Executing ‘resubscribe()’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:56 AM: debug Parsing ‘index:15, mac:94103E5034BD, ip:C0A8562B, port:C001, requestId:cd00808e-eaed-41ff-86ed-2da835264e73, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5UViIDIwMTkgMTY6MTg6NTYgR01UDQpFWFQ6DQpTRVJWRVI6IFVuc3BlY2lmaWVkLCBVUG5QLzEuMCwgVW5zcGVjaWZpZWQNClgtVXNlci1BZ2VudDogcmVkc29uaWM=, body:PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbnZlbG9wZS8iIHM6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iPjxzOkJvZHk+Cjx1OlRpbWVTeW5jUmVzcG9uc2UgeG1sbnM6dT0idXJuOkJlbGtpbjpzZXJ2aWNlOnRpbWVzeW5jOjEiPg0KPHN0YXR1cz5zdWNjZXNzPC9zdGF0dXM+DQo8L3U6VGltZVN5bmNSZXNwb25zZT4NCjwvczpCb2R5PiA8L3M6RW52ZWxvcGU+’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:56 AM: debug Notify: TimeZoneNotification = 13

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:56 AM: debug Parsing ‘index:05, mac:94103E5034BD, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguODYuNTI6Mzk1MDANCkNPTlRFTlQtVFlQRTogdGV4dC94bWw7IGNoYXJzZXQ9InV0Zi04Ig0KQ09OVEVOVC1MRU5HVEg6IDE1MQ0KTlQ6IHVwbnA6ZXZlbnQNCk5UUzogdXBucDpwcm9wY2hhbmdlDQpTSUQ6IHV1aWQ6OTY1YjYyYjAtMWRkMS0xMWIyLTk1N2EtZDk3ZDMwYjdkOTY0DQpTRVE6IDI=, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxUaW1lWm9uZU5vdGlmaWNhdGlvbj4xMzwvVGltZVpvbmVOb3RpZmljYXRpb24+CjwvZTpwcm9wZXJ0eT4KPC9lOnByb3BlcnR5c2V0PgoKDQ==’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:55 AM: debug Using ip: C0A8562B and port: C001 for device: 4a50d167-634b-4880-ae26-f5a9dc22261c

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:55 AM: debug Executing ‘timeSyncResponse()’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:55 AM: trace Got TimeSyncRequest

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:55 AM: debug Parsing ‘index:03, mac:94103E5034BD, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguODYuNTI6Mzk1MDANCkNPTlRFTlQtVFlQRTogdGV4dC94bWw7IGNoYXJzZXQ9InV0Zi04Ig0KQ09OVEVOVC1MRU5HVEg6IDE0MA0KTlQ6IHVwbnA6ZXZlbnQNCk5UUzogdXBucDpwcm9wY2hhbmdlDQpTSUQ6IHV1aWQ6OTY1YjYyYjAtMWRkMS0xMWIyLTk1N2EtZDk3ZDMwYjdkOTY0DQpTRVE6IDE=, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxUaW1lU3luY1JlcXVlc3Q+MDwvVGltZVN5bmNSZXF1ZXN0Pgo8L2U6cHJvcGVydHk+CjwvZTpwcm9wZXJ0eXNldD4KCg0=’

[aa18d22a-021a-4620-883f-0a3a3bceb64f] 11:18:40 AM: debug Using ip: 192.168.86.30 and port: 49154 for device: aa18d22a-021a-4620-883f-0a3a3bceb64f

[aa18d22a-021a-4620-883f-0a3a3bceb64f] 11:18:40 AM: debug Executing WeMo Switch ‘subscribe’, then ‘timeSyncResponse’, then ‘poll’

[97101755-7680-4865-a52b-e1c7f1b6ac2a] 11:18:19 AM: debug Using ip: 192.168.86.45 and port: 49152 for device: 97101755-7680-4865-a52b-e1c7f1b6ac2a

[97101755-7680-4865-a52b-e1c7f1b6ac2a] 11:18:19 AM: debug Executing WeMo Switch ‘subscribe’, then ‘timeSyncResponse’, then ‘poll’

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:18:13 AM: trace Got SetBinaryStateResponse = Error

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:18:13 AM: debug Parsing ‘index:16, mac:94103E5034AD, ip:C0A85624, port:C001, requestId:b8870770-b6df-485c-8572-dcfc9c8f900b, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5ULUxFTkdUSDogMjg5DQpDT05URU5ULVRZUEU6IHRleHQveG1sOyBjaGFyc2V0PSJ1dGYtOCINCkRBVEU6IFdlZCwgMDYgRmViIDIwMTkgMTY6MTg6MzYgR01UDQpFWFQ6DQpTRVJWRVI6IFVuc3BlY2lmaWVkLCBVUG5QLzEuMCwgVW5zcGVjaWZpZWQNClgtVXNlci1BZ2VudDogcmVkc29uaWM=, body:PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbnZlbG9wZS8iIHM6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iPjxzOkJvZHk+Cjx1OlNldEJpbmFyeVN0YXRlUmVzcG9uc2UgeG1sbnM6dT0idXJuOkJlbGtpbjpzZXJ2aWNlOmJhc2ljZXZlbnQ6MSI+DQo8QmluYXJ5U3RhdGU+RXJyb3I8L0JpbmFyeVN0YXRlPg0KPC91OlNldEJpbmFyeVN0YXRlUmVzcG9uc2U+DQo8L3M6Qm9keT4gPC9zOkVudmVsb3BlPg==’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:13 AM: trace Got SetBinaryStateResponse = Error

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:13 AM: debug Parsing ‘index:15, mac:94103E5034BD, ip:C0A8562B, port:C001, requestId:4b285dd1-68e8-4063-a4a4-dafa9450cfaa, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5ULUxFTkdUSDogMjg5DQpDT05URU5ULVRZUEU6IHRleHQveG1sOyBjaGFyc2V0PSJ1dGYtOCINCkRBVEU6IFdlZCwgMDYgRmViIDIwMTkgMTY6MTg6MTMgR01UDQpFWFQ6DQpTRVJWRVI6IFVuc3BlY2lmaWVkLCBVUG5QLzEuMCwgVW5zcGVjaWZpZWQNClgtVXNlci1BZ2VudDogcmVkc29uaWM=, body:PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbnZlbG9wZS8iIHM6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iPjxzOkJvZHk+Cjx1OlNldEJpbmFyeVN0YXRlUmVzcG9uc2UgeG1sbnM6dT0idXJuOkJlbGtpbjpzZXJ2aWNlOmJhc2ljZXZlbnQ6MSI+DQo8QmluYXJ5U3RhdGU+RXJyb3I8L0JpbmFyeVN0YXRlPg0KPC91OlNldEJpbmFyeVN0YXRlUmVzcG9uc2U+DQo8L3M6Qm9keT4gPC9zOkVudmVsb3BlPg==’

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: debug off()

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace stopAction()

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace switchStateOK = true

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace ambientLightOK = true

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace timeOk = true

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace timeWindowStop = null

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace timeWindowStart = null

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace daysOk = true

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace modeOk = true

[1f976696-fa6f-4b9b-9e26-a24e0268b0dc] 11:18:12 AM: trace stopHandler(switch: off)

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:18:13 AM: debug Using ip: C0A85624 and port: C001 for device: e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c

[e6c9ec97-dd75-4a9f-b0f8-3fb2e09bab9c] 11:18:12 AM: debug Executing ‘off’

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:12 AM: debug Using ip: C0A8562B and port: C001 for device: 4a50d167-634b-4880-ae26-f5a9dc22261c

[4a50d167-634b-4880-ae26-f5a9dc22261c] 11:18:12 AM: debug Executing ‘off’

11:17:40 AM: info Waiting on events…

11:17:40 AM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.

11:17:40 AM: info This console provides live logging of your SmartThings.

@sirtwist Is this going to work with the new SmartThings app? I added the files using your repository so I"m assuming when I search for new devices, the dimmer should show up? I"m confused!!

Hey @sirtwist, would it be possible to add the on/off button on the actual tile in the new smartthings app? Right now you gotta click on the tile and then turn on/off. That feature would complete it. Thanks a lot!

That’s a screenshot of the new mobile app for my house. The Dining Room light is a WeMo dimmer … if you click on “Off” (or “On” if it’s in that state) it will change the state.

I haven’t forgotten about you … it’s a bit challenging to parse through all the various log lines, though. If you experience an issue again, when you go into the log can you click only on the WeMo device you want to look at the log for, then paste in the log lines here?

That’s an example of what it looks like if all of the devices are selected. Here’s what it would look like if only one was:

Granted I don’t have debug logs turned on so there’s not much there, but hopefully this explains how to select only logs for one device.

@sirtwist I see the (on/off) but nothing happens when I click on it. It doesn’t change the state.

Sorry about that. I’ll narrow the logs next time.

I might be on to something. It might have to do with the smart lighting smartapp. I’ve had it going for a few days now with those 2 dimmers, but I use a simple on/off this time instead of a mirror function.

Fingers crossed.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.