Jump to content
Automate Life

Search the Community

Showing results for tags 'webcore'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Black Friday 2019
    • General Discussion
    • Forum Suggestions
    • AYL Official Announcements
  • Great Automation
    • Home Logs
    • Life Logs
    • Starter Q's
    • Scripting Talk
    • Learn About New Automation Products
  • The Product Exchange
    • Looking to Sell
    • Looking To Buy
    • Official Sales By AYL
    • Automation Deals!
  • Get Help - Give Help
    • Google's Nest
    • Amazon's Lady Alexa
    • Get Smart With Things
    • Stream Away
    • Plugs, Lighting, Switches
    • Sensors
    • Smart Cameras
    • The Other Hubs
    • The Apple Of Our Eye

Blogs

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 25 results

  1. I have been asked to create a webcore tutorial. One of the most often asked questions has been what is a variable and how do I create one. You can think of a variable as a container. There are several kinds of containers as there are variables. For example there are piston variables that only work inside the piston itself and there are global variables which can be used by any of your pistons. Global variables are what I will explain first as they are the most useful. A global variable has a @ symbol in front of it so you can tell it apart from other types of variables. They can hold the names of your devices, a time, date, ect. I use them most often to hold the names of devices. While you are editing a piston look to the right of your screen and you should see a link that will allow you to create a global variable. It looks like this Click on it and it will open a box that looks like the picture below. Select Device in the drop down box after clicking the down arrow, then where the @ symbol is give it a name. The name should match what type of devices you are putting in it. For example i create one and put all the sensors that are on all my outside doors in my SHM piston.. As you can see in the picture above i clicked on the down arrow in the value field and selected physical devices, then clicked on the down arrow in the nothing selected field and selected the 2 sensors that are on my doors leading to the outside. Finally click on the blue Add button and you have just created your first global variable that can be used in any piston you import or create. Next in this series I will explain piston variables, how to create them and how to use them in pistons. If anyone has any questions please ask them here.
  2. I have some interesting news about SmartThings, WebCore and Sharptools. I have had this fear that SmartThings was going to make it more difficult to use WebCore but instead they are going to actually support and PROMOTE it at SDC19 !! https://www.samsungdeveloperconference.com/?utm_source=internal&utm_medium=outreachkit&utm_campaign=sdp2019&utm_term=smartthings They are unveiling their new API and actually offering a lab using WebCore... no mention of ActionTiles... I'll be attending and let you know what I find out
  3. Here is a project I have been refining for a while and will finally get to deploy it to a person in Arizona this January. She is totally blind and very forgetful and the path from her couch to the bathroom is quite involved. Here are a couple of videos where I've staged it in my house: https://www.youtube.com/watch?v=wYsY-BOeZsA&t=2s This solution uses Alexa for the nice big Echo Buttons and reasonably priced speakers (Echo Dot) along with Samsung SmartThings Webcore providing the logic and SmartThings motion sensors paired with the SmartThings Hub
  4. This webcore automation will turn on Smartthing's Home Monitor system when the last person leaves the house and will disable it when the first person arrives back. I have tried this and it works perfectly. You can use smartthings app or life360 app as the presence sensors. Looks like the life360 app is more accurate. You will need to create 1 Device Global Variable called @PresenceSensors and put your life360 or smartthings presence sensors (phones) in that Global Variable. Also created a device Global Variable called @AllLights and put all the lights in the house into it so could turn all my lights on or off at once from any piston. Also use a device Global Variable called @DoorOutsideSensors and put my 3 contact sensors that are on my doors leading to the outside in it. Here is the pistons Had to break this into 2 pistons, one above to enable and disable Smart Home Monitor and the one below to turn on and off the outside lights Anyone have any question please leave them here
  5. This piston is another Battery level Piston. But this one will not only tell you when a device drops below a preset percentage level (default is 20%, but can be changed to whatever you want), it can tell you what the level of the lowest battery device is AND what the name of that device is as well. And if that wasn't enough it can SHOW you in the main webcore screen what the name and percentage is and if its below preset level gave a warning and also send you a notification to your phone as well. OK what are the requirements for all this? Very little actually, Just have to create a device Global webcore variable (if you haven't already) one called @BatteryDevices and put all your devices that require a battery in there. Also if you do not want to use the 20% low battery default then change the local variable LowBattLevel to whatever you want. That's it. Here is the piston 10-14-2019 Update I added Logging of battery changes that occur. In other words you can now look at the log when viewing the piston and it will show you the latest triggered events, which device triggered it and what the battery level was/is as the events have the date and time they occured. This can show you how often any given devices battery level changes . Nice to have if you have a device eating battiries and you want to see when and how often. and here is a picture of what the webcore piston main screen will look like once the piston has ran for the first time. That's it, if you have any questions please ask them here. Also let me know what you thought of the piston.
  6. This webcore automation will turn on the bathroom light when the bathroom door is open. It turns the light on at different levels based on the time of day and it looks at a virtual switch that's set in a goodnight alexa routine when i go to bed so the bathroom light will come on even lower then. Also it will not turn the light off if you close the door behind you when entering the bathroom. It will turn it off when you leave the bathroom. Any questions about this piston please leave them here.
  7. I have had several request about creating a webcore piston to turn on/off TV accent strip lights on the back of a TV when the TV gets turned on and off as well as the living rooms lights set at a certain brightness. I use my harmony hub to do this but there is a way to do it without the harmony hub by using for example the samsung smartthings wifi plug to monitor the TV power. Is this something any of you would be interested in? If so please leave a post here to let me know and if I get enough people interested in the project i will buy another smart plug and create the piston and post it here.
  8. Ok this one is easy. Only need a smartthings multipurpose sensor and i added a voice notification that is done via echo speaks but you can delete that part of the automation if you don't want or need it. It will notify you via a push notification when it is finished. Cheap way of making your dryer smart. Just a FYI found out after using it you need to make sure the washing machine is not touching the dryer as it can make the dryer vibrate and cause the automation to give you a false indication that the dryer is done. I did something similar with the new samsung wifi smart plug for a washing machine instead of the dryer. As always if you have any questions please leave them here.
  9. Do you have lights turn on only after sunset? Is it dark in the room before sunset. Do you turn your outside light on at sunset and then off at sunrise? I (and i'm sure many others) have my light come on in a room when motion is detected, but only after sunset. But what if its cloudy outside the room will get dark before sunset and you end up turning the lights on manually instead. Well with this piston you can stop turning the lights on manually. This piston can tell when its cloudy outside. More over it can till how cloudy and turn the lights on that much sooner for you. Requirements are the Accuweather smart app, you can go to this post here to get that. You will need to create 2 global variables, one called @TurnOnTime and one called @TurnOffTime both of these variables are time only variables and you will use them in your other pistons in place of the sunset and sunrise variables. You will need to set Unknown Device 1 to the Accuweather smartapp you installed. Here is the piston The 20, 35, 45, and 55 minutes time frames work will for me, but you can decrease or increase them to suit your needs. You could use a sensor with a LUX detector in it (a light sensor), but i have found those are both expensive and unreliable at times. If anyone has any questions please ask them here. Hope everyone enjoys the automation.
  10. Ok this one announces a incoming call that you get on your cell phone via any of your Alexa devices. Requirements are Echo Speaks smart app and Tasker app on your phone. This will only execute when your home and it will speak the name of the person calling, or if they aren't in your contact list it will say the number instead. You set the tasker app up so that it will only run the piston if you are connected to your wifi and there is a incoming call. If anyone is interested in this let me know and i'll explain how i created the tasker task for it. It's similar to how I did the WYZE speaks Tasker task except i added this to the end of the URL ?name=%CNAME and it is case sensitive. The Switch 4 is a virtual switch that turn's the automation on and off, I use this in a alexa routine that gets turned on when i'm asleep.Music player 2 and Music player 4 are my alexa devices As always if you have any questions please leave them here.
  11. This is a simple battery checker script. It will check the battery of all your devices that use a battery, motion sensors, door sensors, ect.. and if the battery gets below 15% it will send you a push notification on your phone that its getting low every day at 8:25 PM. You can easily change the time and battery level to whatever you want. It requires a global variable called @BatteryDevices just put all your devices that use a battery in that variable. You could change this to only occur once a week if you wanted. As always if you have any questions please leave them here.
  12. Just thought i'd share my arrive home scenario I have tasker check to see when it connects to my wifi at home then tasker run's a webcore piston that disarms SMH, opens my garage door, turns on my outside lights if its after sunset so i can get the mail, also have a multipurpose sensor in the mailbox that if opened it toggles a light that's plugged into the smart power plug (this is in my garage so i can see it when i drive in), so when the postal person leaves mail its on and if i open the box to get the mail it toggles again to off. then it turn's on the light in the garage and unlocks the door that leads from the garage to the rest of the house and if no one else is home it turns on lights in the house, if someone is home alexa lets them know i have arrived. Then once i open the door leading into the rest of the house a multipurpose sensor turn's off the outside lights and closes the garage door, when i close the door leading into the house and after the garage door fully closes it turn's off the light in the garage and sets SHM to armed/stay mode and locks the door behind me and if no one else is home it has harmony turn on my TV, sound bar and DVR.
  13. Ok this webcore piston is a bit more complected. Not because of the piston itself but because of the requirements. Have you ever wanted alexa to ask you what you wanted when you entered a room then you could tell her and she would do it? Will this ones for you. Here in this piston i have it set to trigger when a motion sensor is tripped. Here's the requirements 2 virtual switches in smartthings also in webcore create a global variable called @PistonNumber this number show be different for each piston you create , the echo speaks smart app, webcore of course and 2 alexa routines, each routine should trigger a virtual switch one for yes and one for no. You can make several of these pistons one for each room asking different questions. Here is the demo Video that shows you how it all works together. if you have and questions please leave them here.
  14. This piston well track motion in the house and depending on the last triggered motion sensor will set a global variable to the current location and set another global variable to the echo device in that room. This can be very useful to target a echo device with say the WYZE cam piston i posted in this forum. Once you have this piston running you can change the WYZE cam piston so it points to the @CurrentEchoDevice global variable and it would only say it saw a person on that echo device and not blast it to the entire house. The requirements are echo speaks smart app of course, 3 global variables @MotionSensors this is a device variable, set it to all the motion sensors that you have alexas in the same room with. @CurrentMotionSensor this is also a device variable, no need to set this to anything it will be set my the piston when it first run's. @CurrentEchoDevice this is a device variable, no need to set this one either. Here is the piston. I am setting up 3 motion sensors in the piston to equal the echo devices that are in the same room as the motion sensors. You will have more motion sensors and echo's then that most likely, just add more else if and then statements. If you have any questions please ask them here.
  15. Ok the piston is very simple. The requirements are a little more interesting. This piston requirements are the echo speaks smartapp and a android app called tasker.As some of you already know WYZE now had Person Detection, which means no more motion detection false alerts. I have used tasker trigger ability to watch for a apps notification (WYZE in this case) and run a webcore piston that has alexa notify you that it saw a person. If frank wants to explain how to use his virtual contact to trigger a alexa routine instead of using echo speaks smartapp then i'll let him explain that this will mostly be how to setup tasker to trigger either webcore or in franks case a ifttt applet to trigger a virtual contact. You well need to get the URL to run the piston and put it in your phone. You well get that in webcore by click on the settings option in the left hand side of the main webcore screen Then click on the Intergrations button which will bring you to the screen below The https://graph-na04 and it go's on for a while. You will need to copy that as its unique to your webcore the last part will have :pistonId: you will need to replace that with the piston id that you can get when you import my piston into your webcore. After you save that imported piston look at the numbers at the end of the URL in your web browser its the numbers and letters in between the : symbols replace pistonId with those numbers. You will need this to put in your phone on step 11. Here is the piston and the steps to configure tasker below. Ok you will need to install and buy tasker from the google play store, don't worry its not very much when i bought it it was 3.99. Once installed follow the instructions below 1. Click on the + button in the lower right hand corner of the screen 2. Click the the Event option 3. Scroll down until you see the UI option. Click on that. 4. Click on the Notification option 5. To the right of where it says Owner Application click on the darkened squares icon 6. Scroll down until you see the WYZE app icon and click on it. Now press the back arrow in the upper left corner of the screen twice. 7. Scroll up in the window that shows up until you see New Task in the next screen and tap on it. Type in the name of the new task i called mine WYZE Person, then click the check mark in that box 8. In the next screen click on the + icon in the lower right of the screen. 9. Scroll down until you see Net and tap on it. 10. In the next screen tap HTTP Post 11. This is where you will put that long URL I told you how to get above in the Server:Port field. This has to be exact or it will not execute the piston. 12. Tap the back button twice and you will be back at the main screen. Tap the check mark at the top of your screen and that's it. If you followed the steps correctly the next time your WYZE camera sees a person you should here alexa tell you it saw someone. Any questions please leave them here. Update 7/10/2019 Ok this method will work with the nest camera as well as long as you have at least there $5 a month plan so it can detect a person it works just fine so when your configuring the tasker app in step 6 be sure to select the nest app as well as the wyze app. As a matter of fact if you want to have a IFTTT app have alexa say something based on whatever you want you can select the IFTTT app too and alexa will say whatever you want based on whatever trigger that you want. IFTTT supports tons of different devices so this can really be almost unlimited as to what you can do with this.
  16. This webcore script requires the AccuWeather Smartapp to be installed. The Unknown Device 1 is AccuWeather's device that is installed when you install the smartapp. This will check the temperature outside VS inside, plus will make sure the temperature inside is above a level you want. Then it will turn on your AC systems fan to help keep the house from being what most people would term stuffy. Anyone have questions please leave them here.
  17. This is another webCoRE automation. In this one you will need echo speaks. Click on the following link for that https://community.smartthings.com/t/release-echo-speaks/142252 and you will need to create 2 global variables one called @DoorOutsideSensors and one called @EchoSpeakers Point the @DoorOutsideSensors one to all of your outside door sensors and the @EchoSpeakers one to your echo speaker devices that was created when you installed echo speakers smart app. This automation will tell you via your amazon echo devices when any of your doors to the outside have been opened. If you use smartthings smart home monitor it will also change what it says when that system is in armed away mode vs armed/stay mode. If you don't want it to say anything then put the smartthings home monitor system into disarm mode. You can import this piston with the code in the image. If anyone needs help with it just let me know here.
  18. How many times have you told your kids to turn there lights off and go to bed. Well this automation is for you. This automation will start out by giving your kids a warning by flashing there lights on and off 3 times to let them know they have 10 minutes (you can change this to whatever you want) before lights out. Then at 10 PM on weekdays (this can be changed to whatever you wish) the lights will be turned off. If they turn there lights back on the piston will let it stay on for 5 min (this can be changed as well) and then turn them off. If you have any questions or need help modifying it please leave a message here. There are several different options i could add.. for example i could include a option that if they turn on there lights during that time frame 3 or more times to flash another light (like in your bedroom for example) so you would know they are doing that. Could include a option to not turn off there lights if your smartthings home monitor is in alarm mode. Not everyone uses that so didn't want to include that in the main piston. If anyone wants me to add one of these or a different change to it let me know.
  19. I don't usually point out a post on the board so hope you don't mind Brian. But I think this might be something everyone would like to see as this can be a very powerful automation for all smartthings owners. I've updated the thread to explain how useful this can really be so read the entire thread to see what this can really do for you.
  20. Normal Configuration of the Samsung smartthings button will allow you to setup only one action for each of its 3 presses (press and release, double press, press and hold), With webcore you can increase its functionality greatly. The below piston shows what can be done. This allows for not only turning a lamp for example on and off with a single button press but now you can very the brightness based on time of day, ect. And based on if any of the lights in a group of them are on then turn them off. I also use a virtual switch that gets turned on and off by my alexa goodnight and good morning routines so if i press the button while i'm asleep it turns the light on but at a much lower brightness then normal. If you have any questions please leave them here.
  21. This webcore automation will check all of your door and window sensors and then report the results to whichever echo device you wish. You will need to create 2 global variables @DoorOutsideSensors and @WindowSensors you will also need the echo speaks smart app installed. I trigger this automation in my alexa goodnight routine by turning on a virtual switch. If you have any questions please ask here. Switch 4 is the virtual switch and music player 2 is the echo device you want it to speak from. Update.. I have added the ability to trigger this via IFTTT as well as the virtual switch. see the below video Warning I do say Alexa in the video.
  22. I guess I'll start us off here by showing a webCoRE automation that prevents the closing of a door you just went through from turning off the light in the room you just entered. I have this setup in our laundry room. The timer is set for 30 seconds but you can change it to whatever you want. Once the 30 seconds is up if you leave the room it will turn off the light behind you. You can import this with the code listed in the image. If you have any questions about the automation i will be glad to answer them here.
  23. This one is for controlling a ceiling fan automatically. The ceiling fan i have over my bed is an older one that uses a switch in the wall to turn it on and off. I replaced that with a GE smart fan controller its a z-wave smart switch that has 3 speeds. I use a smartthings multipurpose sensor that has motion and temperature sensors in it that the automation checks to see if it should turn the fan on or not. I also have a statement in the automation that checks to see if my nest thermostat is cooling or heating and if so to turn the fan off or keep the automation from running if its already on. That requires the NST Manager smart app. If you have the ecobee thermostat instead then you will not need NST Manager. Dimmer 1 is the fan controller If you have any questions please leave them here.
  24. This piston is for frank mainly. This is a very simple piston. When my nest outdoor cam sees motion it reports this to my Alexa speaker in my master bedroom. This requires NST Manager and Echo Speaks smart apps to be installed. Frank (and everyone else) if you have any questions about the automation let me know here.
×
×
  • Create New...