Thermostat operating state is turning on a dimmer switch

So I’ve posted about a problem where my dining room light was turning on randomly. I finally found a trigger for it. About 30 seconds before the light comes on, our thermostat turns on. Once a new temperature reading reaches the smarththings hub for the thermostat, the light turns off (about 5 minutes later). Every time you turn on the thermostat, the light comes on, then it goes off 5 minutes later. This was also triggering our siren to come on, but we unplugged that. The light is on a circuit as one other light switch, and that one is not coming on, so I imagine this is zwave related. What’s very interesting is the smartthings reading on the event log says the light coming on is physical, but no one is touching it. We thought it was a faulty switch, but now I’m guessing it’s something screwed up in my hub that is sending on on command to that switch when the heater comes on. Anyone else have this issue or know how to solve? PLEASE tell me you have as I would love to get this light off during the evening!

Thanks
Adam

Sounds like a rogue app. I’d look at the logs to see where the command to turn the light on is coming from.

Once you find the cuprit you can just uninstall/change the app.

1 Like

@tslagle13 So there is no smartapp setup to the switch other than the actual switch. I’ve added/removed the switch, and no matter what, it still comes on. The smartapps tied to the thermostat are all related to the modes. Those modes have been renamed, and i’ve had to deleted re/create as a result, but none of those mode changes impact the switch. So it’s strange. It feels like a ghost in the machine that I can’t solve.

Is there anything else I can look for in the logs?

Adam

Yeah,

Look for what is triggering the light. they will tell you.

@tslagle13 Tim, do you know how to interpret this? This is the code for the switch coming on based on the thermostat. I did notice its the switch that is going on/off, not the thing.

Code for switch turning on:
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: debug EVENT: Dining Room Dimmer is on
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace setSolutionEvent()
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: info SUMMARY EVENT data: [[icon:indicator-dot-orange, iconColor:#49a201, default:true, value:Some lights are on]]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace state data of Lights & Switches: {“devices”:[{“id”:“ca9a7dde-b7d2-4722-b079-1a273eff91a1”,“value”:“on”}],“name”:“on”,“value”:“on”,“backgroundColor”:"#79b821",“icon”:“st.Lighting.light21”,“unixTime”:1421450382970}
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace states of Lights & Switches: [state: on]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace state data of Lights & Switches: {“devices”:[{“id”:“2dd8dac7-7e1d-424a-8381-ea4c9267c0be”,“value”:“off”}],“name”:“off”,“value”:“off”,“backgroundColor”:"#e8e9eb",“icon”:“st.Lighting.light13-icn”,“unixTime”:1421389862684}
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace states of Lights & Switches: [state: off]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace state data of Lights & Switches: {“devices”:[{“id”:“6fc38212-4ced-4169-8297-47caa5b66328”,“value”:“off”}],“name”:“off”,“value”:“off”,“backgroundColor”:"#e8e9eb",“icon”:“st.Lighting.light13-icn”,“unixTime”:1421429627713}
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:43 PM: trace states of Lights & Switches: [state: off]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:19:42 PM: debug STATE EVENT: Dining Room Dimmer is on, data:[devices:[[id:ca9a7dde-b7d2-4722-b079-1a273eff91a1, value:on]], name:on, value:on, backgroundColor:#79b821, icon:st.Lighting.light21, unixTime:1421450382970]

Code for switch turning off:
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: trace state data of Lights & Switches: {“devices”:[{“id”:“2dd8dac7-7e1d-424a-8381-ea4c9267c0be”,“value”:“off”}],“name”:“off”,“value”:“off”,“backgroundColor”:"#e8e9eb",“icon”:“st.Lighting.light13-icn”,“unixTime”:1421389862684}
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: trace states of Lights & Switches: [state: off]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: trace state data of Lights & Switches: {“devices”:[{“id”:“6fc38212-4ced-4169-8297-47caa5b66328”,“value”:“off”}],“name”:“off”,“value”:“off”,“backgroundColor”:"#e8e9eb",“icon”:“st.Lighting.light13-icn”,“unixTime”:1421429627713}
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: trace states of Lights & Switches: [state: off]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: debug STATE EVENT: Dining Room Dimmer is off, data:[devices:[[id:ca9a7dde-b7d2-4722-b079-1a273eff91a1, value:off]], name:off, value:off, backgroundColor:#e8e9eb, icon:st.Lighting.light21, unixTime:1421450564827]
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: trace getSolutionStateData()
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: debug setSolutionState()
3c2ea4f9-fefc-48cc-ae4a-abb2e71a295b 3:22:44 PM: debug switchHandler(Dining Room Light, switch:off)

Ummm, just what do you mean by that? There is the Thing, the dimmer switch. Do you also have a “light” in Lights & Switches that refers to the dimmer switch? When you click on the SmartApps tile for the dimmer switch Thing, does it say “No Installed SmartApps”?

Just checking…

Sorry the lingo gets confusing. When adding the switch, it shows up in things. Then I created a switch so it shows up in lights called dining room dimmer. So when I go to things to this switch, the only smart app there is the dining room dimmer switch.

I just ran a new test - i took the thermostat and removed it from smartthings successfully. I turned on the heater and the light did not come on. I then added it back to smartthings, turned on the heater, and the light came back on. Very strange…something is connecting this thermostat to that switch via zwave. The fact the light doesn’t come on when the thermostat is off the zwave network to me means it has nothing to do with the wiring of the switch.

Pretty lost on what to do next

You wrote that you removed the switch and re-added it with the same outcome. Was it the thing you removed, or the shortcut in Lights and Switches? If it was the latter, you need to remove the former instead (which would entail uninstalling that one app first). Perhaps you should remove both z-wave devices from ST. Then do a z-wave network repair. Add one of them back, and do another z-wave network repair. Then add the other back and do yet one more z-wave network repair.

It sounds like there could be a rogue z-wave association. So what I’m suggesting is to remove both devices from the network, make sure the network is ok by repairing it, adding them back in, etc. Maybe that would clear up the problem.

Have you emailed ST support?

Good idea. I will try that. I removed the thermostat and re-added that. The fact I removed the thermostat and the light switch no longer came on after turning on the heater pushed me to believe the issue is with the linkage of the thermostat to the other products. I will also try removing the switch and seeing what that does. I did try that last week before we knew the thermostat was the thing turning it on, and the light still came on, but now i can test live and know rather than having the light come on in the middle of the night.

Yes, I’ve been going back with support for about 2 weeks now. We’ve kept narrowing in on the issue and it sounds like they’re going to get a developer involved since this problem is unique. I figured posting to the community was also helpful in case anyone else had a similar experience.

Thanks again for the help. Will report back with results

@bravenel you are a GENIUS! It worked. Removed both devices, repaired. Added one back, repaired. Added the other back, repaired. No more light coming on!!! Thank you so much!!! My wife thanks you too. No more rogue lighting in the middle of the night!

Glad to help! :grinning: