Open scelfo opened 6 years ago
Hey @scelfo, did you find that #4 was the root cause of this issue?
I'm pretty sure that #4 is not the root cause of this one. Since filing this, I have tried creating a scene that controls shades and that worked. Note that I was given the option of "on/off" instead of "open/close" for the shades--something seems odd. I haven't seen what SmartThings does for a scene with default supported shades, but I imagine they would show as "open/close".
I'm going to try using a standard SmartThings automation to trigger the scene, I suspect it will work.
Once that works, I'll try having the automation control the shades directly (not using a scene) to narrow down and isolate what's not working.
The reason I want to do all this is I currently have a myLink scheduled timer that opens shades in the morning. I want to replace that with a SmartThings automation that won't open the shades if I'm away. And some other automations based on sunrise/sunset that can't be done with myLink.
I suspect that this issue is related to SmartThings not picking up the Window Shade capability correctly. As far as I can tell I have implemented the spec in the Device Handler so it should "just work".
If you want a workaround, then using switch automations, such as Smart Lighting (or selecting the shades as "Switches" in a scene) should work fine.
As a side note, I suggest looking in to WebCoRE, it takes SmartThings automations to the complete next level, its fantastic 👍 As an example my blinds open at sunrise but only if current temperature is less/more than X°. They then automatically close once everyone has left the house, at sunset or if the temperature rises above X°.
I'm having the same issue.
From the live logger if I just try and open the shade:
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:26:35 PM: debug {"name":"windowShade","value":"open"}
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:26:35 PM: debug updateState
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:26:27 PM: debug Open
6d992d26-a9df-49ed-9fc5-ecbd08f24d24 2:26:27 PM: debug {"id":93,"method":"mylink.move.up","params":{"auth":"HillJilly","targetID":"CC102EDD.1"}}
6d992d26-a9df-49ed-9fc5-ecbd08f24d24 2:26:27 PM: debug childOpen
But if I try and trigger that same open through an automation?
eae72377-b113-4139-b58f-9739a5f95387 2:29:21 PM: info HH execute(true, null, null), newMode: null
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:29:21 PM: error java.lang.ClassCastException
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:29:21 PM: debug Set Level (100)
608e83d6-14b1-4a10-b6dd-61d29738a4fc 2:29:21 PM: debug Set Level (100)
It looks like something isn't being passed or accepted right when this happens. I could try the scene and switch thing, but I do more than open and close, I do want to be able to partially open the window shade as well, which is where I need the regular automation support.
I have SmartThings configured with v1.1 release to control 5 of my shades. I can go to each shade individually and control them and they work great!
However I can’t make them work with the standard SmartThings automations. For example my “Good Night” automation. I’d like to select the “Open or close Window Shades” and select my Somfy shades and close them at night. They show up and I can select them but they don’t get closed. What logs can I pull to help debug?