How To: Create Separate Fan & Light Entities in Alexa or Google Home | SmartThings

How To: Create Separate Fan & Light Entities in Alexa or Google Home | SmartThings

Overview

You may have noticed that when pairing your fan/light switch to Alexa or Google Home that the child devices (ie: Fan and Light Switches) do not import over. In other words, in your SmartThings app, there are three devices (Fan & Light Switch, Fan Switch, Light Switch) -- however, only the, "Fan & Light Switch" imports over. This is due to the way SmartThings interacts with Google Home and Alexa as noted in their community: https://community.smartthings.com/t/updates-to-google-integration/192849

This tutorial will show you a work-around using virtual switches and the Smart Lighting SmartApp.


Step 1 - Creating Virtual Switches

What we're going to do here is create two virtual switches. What they virtual switches are is exactly what they sound like -- switches that aren't real, but are virtual. These switches will be the entities that get imported into Google Home and/or Alexa and will mirror your child devices and vice versa. In other words, if you turn on/off the child device from within the app (or locally), the virtual switch will also turn on/off, and if you turn on/off the virtual switch from Alexa or Google Home, it will turn on/off your child device in ST (and locally).

Fan Virtual Switch

  • Login to the IDE @ https://graph.api.smartthings.com/
  • Click “My Devices”
  • Click the “New Device” Button
  • Name: Enter a “Name” for the device, this can be whatever you want.
  • Label: Enter a “Label” for the device, this is optional and can be whatever you want.
  • Zigbee ID: Leave blank
  • Device Network ID: Enter a “Device Network Id” This can be anything you want. I recommend short and sweet but it cannot duplicate other device ID’s. Lets say it was a virtual switch for your living room fan lights, maybe call it LRVFL01
  • Type: Select a “Type” from the dropdown, this should be, "Simulated Dimmer Switch"
  • Version: Set to Published
  • Location: Should be your hub location, probably “Home”
  • Hub: should be your hub name.
  • Group: Leave blank
  • Click Create

Light Virtual Switch

Repeat the steps above for the light virtual switch. Be sure to name the Device Network ID something different.


Step 2 - Setting up the Automation

In this step, we're going to setup the automation to where if your virtual switch is on, so is your child device and vice versa. Please complete all four automations.

Smart Lighting for Fan Virtual Switch

This will allow your virtual switch to mimic what the actual fan switch does. So, if you turn on/off the virtual switch with Alexa or GH, it will turn on/off your actual switch.
  1. Click on the menu in your SmartThings app and click on, "SmartApps"
  2. Then find, "Smart Lighting" and select it
  3. Click on, "New Lighting Automation"
  4. Which devices do you want to control: Select your virtual/simulated fan switch you created above
  5. What do you want to do: Mirror Behavior
  6. Mirror which switch: Select your fan switch (the child device -- not the virtual/simulated one)
  7. Click Next and if you want to edit the name so you remember, feel free -- if not, no problem -- click, "Done"

Smart Lighting for Fan Child Switch

This will allow your actual child switch to mimic what the virtual/simulated fan switch does. So, if you turn on/off the normal child switch manually or with SmartThings, the correct state should show in Alexa or GH.
  1. Click on the menu in your SmartThings app and click on, "SmartApps"
  2. Then find, "Smart Lighting" and select it
  3. Click on, "New Lighting Automation"
  4. Which devices do you want to control: Select your fan switch (the child device -- not the virtual/simulated one)
  5. What do you want to do: Mirror Behavior
  6. Mirror which switch: Select your virtual/simulated fan switch
  7. Click Next and if you want to edit the name so you remember, feel free -- if not, no problem -- click, "Done"

Smart Lighting for Light Virtual Switch

This will allow your virtual switch to mimic what the actual light switch does. So, if you turn on/off the virtual switch with Alexa or GH, it will turn on/off your actual switch.
  1. Click on the menu in your SmartThings app and click on, "SmartApps"
  2. Then find, "Smart Lighting" and select it
  3. Click on, "New Lighting Automation"
  4. Which devices do you want to control: Select your virtual/simulated light switch you created above
  5. What do you want to do: Mirror Behavior
  6. Mirror which switch: Select your light switch (the child device -- not the virtual/simulated one)
  7. Click Next and if you want to edit the name so you remember, feel free -- if not, no problem -- click, "Done"

Smart Lighting for Fan Child Switch

This will allow your actual child switch to mimic what the virtual/simulated light switch does. So, if you turn on/off the normal child switch manually or with SmartThings, the correct state should show in Alexa or GH.
  1. Click on the menu in your SmartThings app and click on, "SmartApps"
  2. Then find, "Smart Lighting" and select it
  3. Click on, "New Lighting Automation"
  4. Which devices do you want to control: Select your light switch (the child device -- not the virtual/simulated one)
  5. What do you want to do: Mirror Behavior
  6. Mirror which switch: Select your virtual/simulated light switch
  7. Click Next and if you want to edit the name so you remember, feel free -- if not, no problem -- click, "Done"

Step 3 - Importing into Alexa or Google Home

Here we'll make sure the virtual switches show up in your Alexa or Google Home app.

Importing to Amazon Alexa

Assuming you have the SmartThings Skill enabled in your Alexa App, simply say, "Alexa, Discover my Devices" and it should show up.

Importing to Google Home

The devices should automatically sync to Google Home.

    • Related Articles

    • Device Handler Installation | LZW36 | Fan & Light Switch

      This article will walk you through the features of the custom device handler and how to install it for optimal usage and advanced functionality on your Inovelli Fan & Light Switch (LZW36) . We promise it's not hard and should take you 5-10 minutes ...
    • Installation & Setup | LZW36 | Fan + Light Red Series (Gen 2) | SmartThings

      You will need to install both Device Handlers prior to pairing with SmartThings. Instructions can be found here: LZW36 Device Handler Instructions Before installation of the switch, please use the pull-string on your fan to set the fan level to High. ...
    • Virtual Device Sync | LZW36 | Fan & Light Switch

      Introduction This article will show you how to create an individual virtual device for the fan and light in the new SmartThings app. The benefit of this is: The virtual devices can be used in the new Alexa & Google Home integration. The virtual ...
    • Spec Sheet | Fan + Light - Red Series (Gen 2) | LZW36

      NOTE: This is a work in progress and features/specs are subject to change. Please see our community thread to stay up to date: https://community.inovelli.com/t/fan-light-switch-project-hurricane-pre-orders-now-open/23 The LZW36 Inovelli Fan + Light ...
    • How To: Create a Scene From Your Smart Switch | SmartThings

      Summary (TLDR) In this article, we'll show you how to create a scene from your smart switch. What this means is that you can double-tap, triple-tap, etc to create various scenes using other smart home products. An example would be: between the hours ...