Enable expert mode in main app settings, then choose whichever attribute you want to watch for your trigger.
So I did have them set to “cancel on condition state change” but it still wasn’t working. So after looking at the dashboard view, the problem finally dawned on me. As I had it set up and I showed you before was the problem.
Before - didn’t work
Illustrating IF (any presence changes) THENIF [(IF A not B Action on True)cancel on condition state change ELSEIF (IF A not B Action on True)cancel on condition state change ELSEIF…]
After - works
Illustrating IF (any presence changes) THENIF [(IF A not B Action on True)cancel on condition state change OR (IF A not B Action on True)cancel on condition state change OR…]
The problem with the before was that once the piston hit a condition that was true, it stopped evaluating the subsequent conditions. So if the actions that I wanted to be cancelled were attached to a condition that was after the condition that was true by the next trigger, it never was evaluated and thus the condition couldn’t change after cancel the actions.
Thanks for the patience and all the help.
I guess I’m asking for the wrong thing. I meant I don‘t see any weather related items under the Capability list for setting up a conditional. Such as if AccuWeather is reporting cloudy/rainy, turn on this mode.
The issue is we don’t have devices that report that capability. The closest probably is lux for cloudy days.
Choose other, go for refreshable devices, select the weather tile and select the desired attribute, provided you enabled expert mode.
@underlircs I know you can get a “weather” device by installing Nest Manager. But I don’t see any way to select it for conditions/triggers in CoRE. You can get Lux, Humidity & Temp since those tie to sensors. Maybe @ady624 knows differently.
However, you could do this with iFTTT and their MakerChannel. Just setup the Weather Underground service, chose your trigger (Rain, Snow, Cloudy, Clear) as the “IF” then have the “Then” be a Maker Channel. Then just setup a piston with IFTTT as the trigger. If you need some info check out this post on iFTTT and CoRE
Hope that helps.
If you add the smart weather tile to your devices (you’ll also need to sort a refresh trigger for it…can use CoRE for this) you can choose “sensor” in the core conditional dialog, choose the weather tile…and all of its attributes will be accessible.
I use LUX from a nearby weather underground station to auto dim my house lights. More info copied below, originally posted in Mike Maxwells autodimmer thread:
Some information for those looking to pull LUX from the free Smart Weather Tile for this app:
A. Install the Smart Weather Tile from the web IDE as a device for yourself. There is a template provided. You just need to define a zip code in the device settings
I’m not in the US, so a zip code does not work for me. Fortunately you can leave it blank and your hub location will be used. Alternately you can enter in a weather underground station ID (pws:STATIONID). If you look on the weather underground web site for your area, you can find stations near you. Look in the web URL for the pws:STATIONID and enter that into the device settings for the Smart Weather Tile (instead of a zip code) on your smartphone. I tried a few until I found one with more accurate LUX updates.
B. The weather tile doesn’t update itself, and the programs I tried to fix it don’t work as they seem to have timer issues. This one, using events to trigger updates, worked perfectly: “Manual Weather Refresh” written by Daniel Vorster: Smart Weather Station Tile Device (add using IDE) - #159 by steinauf
I copied the code and published the app to myself using the web ide. This app updates the weather tile perfectly driven off events, rather than timers. Being that I have lights activated by motion sensors, I used one of those sensor events to trigger a Weather Tile update.
Loving the auto dimmer
Capabilities are merely a vehicle to selecting the devices. They also point to the “default” attribute for that device. A dimmer will default to the level attribute, but if selected as a switch, the same exact device will default to the switch attribute. By enabling expert mode, you get to choose which attribute you need, so regardless of which capability is used to select the device, you still have access to all the attributes that device supports. One of the weather tiles attribute I think is precipitation, another one is illumination. You just need the device selected, from there you can select the attribute you desire. Again, enable expert mode,that will reveal the Attribute field.
CORE newby here, wondering exactly how to accomplish something.
I’m hoping to set up a couple pistons that I can trigger from a routine so that I can easily run them from the lock screen of my phone. One will be to decrease both the cooling and heating set points for 2 thermostats by 2 degrees, one will be to increase the set points by 2 degrees. I don’t think I need a super-detailed walkthrough of how to do it, but some general guidelines for the best way to accomplish this would be appreciated.
My first attempts involved loading the attributes to variables, adding/subtracting 2, then setting attributes based on the variables, but I couldn’t get it to work at all. The variables seemed to be increasing or decreasing, but I couldn’t get the thermostat set points to actually change. After banging my head against it all night, I figure I might as well ask here.
Wondering if you Core geniuses can come up with a way to mimic the double tab feature on certain on/off switches using a dimmer switch.
On my GE dimmer switch, I have to press and hold to dim up or down to certain levels.
I’d like to quickly double tap a dimmer so that it jumps to 100%. Double tap up goes on and double tap down goes off.
Press and hold would remain the same.
Any thoughts on how to achieve this using Core?
Not necessarily a CoRE genius, but… Here’s my thought process.
You would need a set of global variables (probably @tap_up and @tap_down would be the recommendation to make it clear which is which).
Probably the closest thing I have seen to what you’re wanting would be @bamarayne’s Doggie Door piston (http://thingsthataresmart.wiki/index.php?title=CoREsamples and it’s the first one under Convenience)
The logic would be fairly similar to this concept.
You’d need to make 1 for double tap up and 1 for double tap down (although you could probably make it all in 1 piston, but that sounds messy to me).
Again… Not a CoRE genius (just finally starting to move over to it from RM, actually).
Trying to wrap my head around this. What do you imagine the condition would have to be to signify a double tap? My initial thought is something like IF dimmer raises so and so “points” TWICE within 5 seconds then set @tap_up as true.
Can you get that granular in CoRE?
I don’t think this is achievable on a dimmer switch. If it was a regular on/off then the smart app double tap works but it does not work on dimmer switches. Took me too long to figure out why I could do it on one switch but not the other.
Wow I never realized that. That’s a pretty powerful nugget of info.
As I understand it, it’s an actual feature of on/off switches.
I’m just hoping something could be designed with CoRE to mimic that functionality.
The only way to find out is to test it.
I don’t have/use dimmer switches (hue bulbs everywhere except for the toggle switch on the fluorescent tubes), so I can’t test it out.
But… you would want to set @tap_up to true if it raises a certain percentage of brightness. Then you’d set the rule to check if @tap_up is true when it raises again (if so, it would then jump to 100%). It really is just like the example I linked, with the exception being that you’d have the piston reset the boolean to false after 5 seconds or if it jumps to 100%. This way, if you press it and it goes true, you do it 6 or 7 seconds later, it’s already reverted to false and will then become set true again. If you do it in under 5 seconds, it will jump to 100% brightness and set the boolean false.
Is there a way to cancel fading for lighting?
I tried IFTTT at first, but the condition provided by the Weather Underground are: rain, snow, cloudy, and clear. I can’t seem to control the frequency of updates. Am I overlooking advanced settings somewhere on IFTTT?
Tried the link you’ve provided and couldn’t find the code for it, but I did install the Smart Weather tile this post mentioned…or is it the same one [RELEASE] Smart Weather Station Tile Updater - Fix Broken Modes
The handler was installed and device added, then I tried to get it to poll via the instructions from the post above…nada. Tried creating a “Do” piston and still nothing. It doesn’t seem to want to poll or refresh the tile. I tried different iterations of getting the piston to just send me an SMS message every 1 minute via a “Do” or “If” (from the post above), and aside from the first firing, it never repeats itself.
What am I doing wrong???
I have enabled expert mode, but it seems currently there’s a large problem that I‘m having where I can’t even get the piston to refresh/poll the SmartWeather tile. Other pistons are behaving normally, though they’re not on a time loop of any kind aside from the sunrise/sunset one where I have it turn on a light on/off.