Webcore temperature control help

Hi,
Im very new to Webcore and Ive tried my best at it but im having a few issues.

Im controlling 3 AC units through IFTTT, so in smartthings I created 3 virtual switches to control them which works fine, I then added temperature sensors around my house.

How does one go about using webcore to control my virtual switches depending on temperature on the sensors?

Like if a sensor go above or below a certain threshold it should turn on or off a certain virtual switch.

I find the webcore very confusing or perhaps im just too dumb to create one, any help?
Thanks alot in advance

you need to make sure you can access the temp sensors that you have in your house within webcore.

assuming that you have all that setup then

if temp sensor 1 rises above x for y minutes
then turn switch off

if temp sensor 1 drops below a for b minutes
then turn switch on

if temp sensor 2…

I would personally stay away from else statements in this case as you may find that it doesn’t behave as you would want to.

hopefully that will give you enough to start playing, I always find that you learn much more by just giving it a go.

Here is my approach on keeping the temp 24-25 C degrees at night:

  1. Setup a piston to run every X minutes (mine is set at 5 mins) between 1 AM and 3 PM and check the sensor temp
  2. Add IF statement:
  • If sensor temp is less than or equal to X degrees. (mine is 24C) THEN turn ON the heater (TP-Link outlet in my case)
  • Else if temp is equal or greater than X degrees (25 in my case) THEN turn OFF the hearer

So my piston runs every 5 mins only during the hours when I’m actually in the bedroom and only during the cold months and checks the sensor temp and turns On or Off the TP-Link outlet where the electric heater is plugged.


Beside this “auto mode” I also have 3 more pistons, one that turn on the heater 24/7 no matter the temp, one that turn off the heater and the third that turn on the heater with the “auto mode” at any hour. These last 3 pistons are triggered by virtual switches on my ST app so I can have some manual control over the heater when I need it to. If you’re interested I can share the entire heater automation I’ve done. However one thing I’m trying to implement and I haven’t yet found a solution is to setup a virtual thermostat to be able to control the temp. I have a rough idea on how to implement it in the pistons but I’m not finding the virtual thermostat to control and use. Maybe someone can point me in the right direction here. Cheers!

Thanks alot for helping out, how do I make another if block? I have only one.

Think Ill have do abit more reading!

I would love if you would share your pistons.
I think I need 3 pistons like your first one and then I can see what you did with the others!
I want to be able to control all individually but still have anway to operate them together since tyeyre relatively close by

Sure, no problem. Here are the 4 pistons I use to control the bedroom heater (tp-link plug)






This is by no means the most elegant solution out there but it get’s the job done.
Switch 9 is the TP-Link outlet where the heater is plugged in
Switch 13 is the Heater ON virtual switch in the ST app
Switch 12 is the Heater OFF virtual switch in the ST app
Switch 11 is the Heater Auto Mode virtual switch in the ST app
Hope it’s useful to you

Thanks alot for sharing the pistons, I like the way handle the switches, I’ll probably do the same with the help from your pistons.

Something like low / middle / high temperature control and night / day. It’s gonna be a fair share of pistons, seems like a hassle to keep track of! But, perhaps I’ll learn to do it more consolidated in time, if I ever find myself with more sparetime I’ll certainly have a looksie!

On a second note, keeping 24-25C in bedroom, isnt that costing you a fortune?
I’m having 2x 7KW and 1x 5KW heat pumps (AC) and keeping the temperature in my house around 21-22 is costing me a fair bit but since they’re inverters they cost less if the outside temp doesn’t go much below -7.

I’m trying to cut down the energy bill at the cost of comfort :[ I wish using webcore was easier. lol, I dont understand half of it

Not only that it costs a lot but it feels like I’m sleeping in a sauna. The girlfriend is nuts and it’s nothing I can do about it :smile: :. It’s either this or the heater is on 24/7 at max power so for me this is actually saving me money compared to last winter when I didn’t had ST and Webcore.

1 Like

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.