Jump to content
Automate Life
FrankE

Interesting news about SmartThings & Webcore

Recommended Posts

@Larry Underwood If you have a way to contact Adrian can you ask him what the plans are for Virtual Switches as they are currently in Smart Apps which he mentioned in the video as going away with Rules API?

He was asked a lot of questions about the transition in the Q&A, but the attendees questions weren't audible

 

 

  • Like 1

Share this post


Link to post
Share on other sites

8 minutes ago, FrankE said:

@Larry Underwood If you have a way to contact Adrian can you ask him what the plans are for Virtual Switches as they are currently in Smart Apps which he mentioned in the video as going away with Rules API?

He was asked a lot of questions about the transition in the Q&A, but the attendees questions weren't audible

 

 

I'll ask him when I get a chance. As far as the questions goes it was mostly from one guy and he was more or less arguing with Adrian why we needed webcore if they were going to have a new rules engine anyway. Adrian was trying to explain that we would be able to do more complex automation's with webcore then we could with even the new rule engine.

Share this post


Link to post
Share on other sites
48 minutes ago, FrankE said:

@Larry Underwood If you have a way to contact Adrian can you ask him what the plans are for Virtual Switches as they are currently in Smart Apps which he mentioned in the video as going away with Rules API?

He was asked a lot of questions about the transition in the Q&A, but the attendees questions weren't audible

 

 

Share this post


Link to post
Share on other sites

If virtual switches are eliminated what effect will that have on all of the Wyze motion sensors and contact sensors?  Since the Wyze sensors are not integrated with Smartthings, virtual switches is the only way Wyze gets integrated into Webcore and Alexa routines. 
Will this make Wyze a less useful system?

Share this post


Link to post
Share on other sites

I also use virtual switches and virtual contact closures for interfacing with Alexa Routines. This would be a real problem unless SmartThings maintains a way to create them

 

Share this post


Link to post
Share on other sites

Also, that would eliminate all of my tiles for Actiontiles that are based on virtual switches. Not good!

Share this post


Link to post
Share on other sites

@FrankE and @Stukes Ok I had a very brief chat with Adrian and from what I understand is yes they will eventually do away with virtual switches but will replace it with something more integrated into the smartthings new rule API which hopefully will be available before they remove the virtual switches.

Sorry it took so long to get back to you guys but have been very busy at work, creating a whole new set of applications for our systems, so have a deadline we are trying our best to meet.

 

Edited by Larry Underwood
  • Like 1

Share this post


Link to post
Share on other sites
30 minutes ago, Larry Underwood said:

@FrankE and @Stukes Ok I had a very brief chat with Adrian and from what I understand is yes they will eventually do away with virtual switches but will replace it with something more integrated into the smartthings new rule API which hopefully will be available before they remove the virtual switches.

Sorry it took so long to get back to you guys but have been very busy at work, creating a whole new set of applications for our systems, so have a deadline we are trying our best to meet.

 

Let us hope that name is "Variables".  They should be multiple types - string, int, bool, array, etc....  We should be able to manipulate within webcore, within ST, and display externally, as well as use within automations to execute based on values.  Ie. if my array ever contains the number 5, trigger automation X.

And you can tell him AYL said so...cause that would put them years ahead of anyone else in this space and because it would put them on a level near to industrial/commercial automation (which is clearly in their sights).

  • Like 2

Share this post


Link to post
Share on other sites
22 minutes ago, AYL_Brian said:

Let us hope that name is "Variables".  They should be multiple types - string, int, bool, array, etc....  We should be able to manipulate within webcore, within ST, and display externally, as well as use within automations to execute based on values.  Ie. if my array ever contains the number 5, trigger automation X.

And you can tell him AYL said so...cause that would put them years ahead of anyone else in this space and because it would put them on a level near to industrial/commercial automation (which is clearly in their sights).

Webcore can handle to some degree arrays, string, int. etc. I didn't want to get to deep into array's and the like because, well didn't seems like the time for something so complex yet

 

Arrays.thumb.PNG.44d2a774ef20f92571ecb86d1bbe0e4f.PNG

and bool are basic true/false variables, which i have already used in webcore piston's posted here

Edited by Larry Underwood
  • Like 1

Share this post


Link to post
Share on other sites

What does this mean for users that do not have coding expertise?  If Smartthings pulls virtual switches, which I use extensively in Webcore, will I have to learn coding in some language or be dependent on other people that post examples to create the pistons/routines that I rely on?

Share this post


Link to post
Share on other sites
10 hours ago, Stukes said:

What does this mean for users that do not have coding expertise?  If Smartthings pulls virtual switches, which I use extensively in Webcore, will I have to learn coding in some language or be dependent on other people that post examples to create the pistons/routines that I rely on?

If I understand Adrian correctly the new webcore which will work with the new rule API and will have a replacement for virtual switches only better.

Edited by Larry Underwood

Share this post


Link to post
Share on other sites
On 11/19/2019 at 3:39 PM, AYL_Brian said:

Let us hope that name is "Variables".  They should be multiple types - string, int, bool, array, etc....  We should be able to manipulate within webcore, within ST, and display externally, as well as use within automations to execute based on values.  Ie. if my array ever contains the number 5, trigger automation X.

 

@AYL_Brian Just thought i would show you an example of a simple array in webcore

Arrays.thumb.png.3adad3913248e8b7368e957bebef75fd.png

This just takes a push of a button and the piston cycles a light strip or color bulb through the colors in the variable Colors. You can change the colors as needed and add other colors to it. You can see with a little more code such as date triggers how this could be used as a holiday color piston. I added a Count Colors expression so you don't have to change the amount of colors in the color variable. I subtracted 1 from the count as webcore starts it's count at 0

Edited by Larry Underwood

Share this post


Link to post
Share on other sites

@AYL_Brian Here is another example. If the motion sensor changes to active then the color bulb or light strip will turn on blue then the next time it happens will turn on the next color in the color variable then the next, etc. When it gets to the end of the color list it sets the Counts variable to 0 and starts through the list again.

59445706_MotionColor.thumb.png.98ead1d96e5fbe3ee11fba828206bb56.png

You can see just changing the logic around slightly you can make it do a lot of different automations.

Edited by Larry Underwood
  • Like 1

Share this post


Link to post
Share on other sites
On 12/1/2019 at 11:46 AM, Larry Underwood said:

@AYL_Brian Here is another example. If the motion sensor changes to active then the color bulb or light strip will turn on blue then the next time it happens will turn on the next color in the color variable then the next, etc. When it gets to the end of the color list it sets the Counts variable to 0 and starts through the list again.

59445706_MotionColor.thumb.png.98ead1d96e5fbe3ee11fba828206bb56.png

You can see just changing the logic around slightly you can make it do a lot of different automations.

Yeah so that's actually super good!  Ok, nevermind on my array comment!  Thanks Larry 🙂

Share this post


Link to post
Share on other sites

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...