# Alexa not being able to connect to virtual switches

**URL:** <https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590>\
**Category:** General Discussion\
**Created:** [June 15, 2018, 1:11pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590 "2018-06-15T13:11:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratatapa](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ratatapa/32/70101_2.png) [@ratatapa](https://community.smartthings.com/u/ratatapa)\
**Post date:** [June 15, 2018, 1:11pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/1 "2018-06-15T13:11:28Z")

</div>

So i asked on Alexa Reddit before and nobody was able to help.

In smartthings I have a virtual switch, and once that switch turns on, it starts a script in Webcore. If i turn on the virtual switch manually in smartthings all works well.

But since 1 week that doesn\<t work in Alexa (it did before). If i check the virtual switch in the alexa app it says the device doesn’t respond. But all my other smartthings devices works though Alexa.

Stuff i tried

1. Deleting the switch in alexa and rediscovering devices
2. Rebooting Alexa and smarthings
3. Deauthroize smarthings in alexa, delete the device in Alexa, reauthorise the device in Alexa and run a device discovery

Nothing works

The only thing i can see is that i changed router this week, but I don’t think that it’s that problem? (since other smartthings device works)

---

<div class="post-metadata">

**Author:** ![marktheknife](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@marktheknife](https://community.smartthings.com/u/marktheknife)\
**Post date:** [June 15, 2018, 1:16pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/2 "2018-06-15T13:16:55Z")

</div>

> [@ratatapa](#):
>
> The only thing i can see is that i changed router this week, but I don’t think that it’s that problem? (since other smartthings device works)

It’s probably not your router.

> [@Simulated Switches no longer working with Echo (June 11, 2018)](https://community.smartthings.com/t/simulated-switches-no-longer-working-with-echo-june-11-2018/128472/28):
>
> Thanks for reporting this issue everyone. We are looking into it but as others have stated the Virtual Switch and Virtual Dimmer Switch are good permanent replacements for the Simulated Switch and Simulated Dimmer Switch with the added benefit that they can run locally on later versions of hub firmware. When looking at the SmartThingsPublic repo in github be aware that the production branch is the code that has been released to everyone. The master branch and staging branches are used for our internal testing prior to releasing to production. This is the version currently in production: [https://github.com/SmartThingsCommunity/SmartThingsPublic/blob/production/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy](https://github.com/SmartThingsCommunity/SmartThingsPublic/blob/production/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy). I’m not sure why health check support was added to t…

---

<div class="post-metadata">

**Author:** ![ritchierich](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@ritchierich](https://community.smartthings.com/u/ritchierich)\
**Post date:** [June 15, 2018, 1:17pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/3 "2018-06-15T13:17:08Z")

</div>

See this thread for possible answer:

> [@Simulated Switches no longer working with Echo (June 11, 2018)](https://community.smartthings.com/t/simulated-switches-no-longer-working-with-echo-june-11-2018/128472):
>
> Not sure if anyone else has come across this or not. My virtual switches in smartthings have stopped working with all my Echo devices. I have virtual Momentary Switches that are working fine, only devices with the type “Simulated Switch” are not functional. I have deleted and readded them several times. Echo detects them and adds them to the app, but the app shows them as not responding. Everything else (even other virtual device types) connected through Smartthings appears to be working.

---

<div class="post-metadata">

**Author:** ![ratatapa](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ratatapa/32/70101_2.png) [@ratatapa](https://community.smartthings.com/u/ratatapa)\
**Post date:** [June 15, 2018, 1:18pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/4 "2018-06-15T13:18:26Z")

</div>

That’s intersteing thanks i’ll read this

---

<div class="post-metadata">

**Author:** ![Automated\_House](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/automated_house/32/99641_2.png) [@Automated\_House](https://community.smartthings.com/u/Automated_House)\
**Post date:** [June 15, 2018, 1:23pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/5 "2018-06-15T13:23:57Z")

</div>

Tl;dr: change it to the virtual switch device type.

---

<div class="post-metadata">

**Author:** ![ratatapa](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ratatapa/32/70101_2.png) [@ratatapa](https://community.smartthings.com/u/ratatapa)\
**Post date:** [June 15, 2018, 1:26pm UTC](https://community.smartthings.com/t/alexa-not-being-able-to-connect-to-virtual-switches/128590/6 "2018-06-15T13:26:55Z")

</div>

nvm lol found it lol
