Jump to content

Cannot get a virtual switch to turn on or off


DonM

Recommended Posts

Posted

I am having a problem, in that when I create a virtual switch it shows up on my admin console but it shows no State and I'm unable to get it to turn on or off, using either a program or a scene. I am able to connect the switch to Alexa, and when I change the status in Alexa to on it shows the change in Alexa for a short time and then goes back to off.

It seems like I'm doing something wrong, obviously. When I created the switch I gave it a name, I added n003 _ 78 and then I added n003_controller into the appropriate boxes on the admin console. 

Any help you could give me would be greatly appreciated.

Don Meddick 

Posted

thanks @Guy Lavoie , 

@DonM  there are three different ways to config virtual devices:

1. standard: the way guy shows above, which is the most simple.  put a number for the key and type of device, like switch in value

2. json: a json string which describes the devices

3. yaml: a file which describes the devices

 

hit the button for configuration and scroll down, it should describe all of them.

(screen shot below)

once you do that you should NOT need to do anything in the admin console to add the devices, they will be added automatically

image.thumb.png.f7376b0770aea02a93e464bd3e9dd3a0.png

Posted

Thanks, that's solved my problem. I realize that I would have to add them through the plug-in but not through the AC.

Posted

It's also important to note that if you were already in the Admin Console when you configured the devices in the plugin, you need to log out of Admin console and then log back in again to properly see the changes.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...