pssst…@elf. Tuesday should be probability.…maybe.lol
And here is the formula: Probability of event A that occurs P(A) = n(A) / n(S).
LOL … I’ll correct that … thnx …
UPDATE:
Fixed!
thx…LOL.
Can different pistons modify the same tile?
If the title tile is using global variables to display info then yes. Otherwise no
Does anybody have a piston that have a sample on daily power consumption for power outlets?
Is there a simple statement or expression that can create a tile to be used in all pistons.
Something like create a tile for living room lights.
That way I (we) could copy & paste this into all pistons created just change the thing controlled.
Mike
Thanks. Title or tile? Just wondering if spell check got you
Autocorrect definitely got me
I use the following (not for an outlet but the whole house using net metering). It keeps track of the cost as well and supports time-of-use rates:
This will sense if contact sensors change to open, then turns off your thermostat and sends a push notification with which window is open. When all contacts close, thermostat is set to auto and resumes your program. This was built using the $ Ecobee DH.
I have one very similar except mine will only change the thermostat if the selected doors are open for more than five minutes…then resume program when all are closed.
How did you add the “for 5 minutes” at the end of the open statement? I can’t see how in the WebCoRE GUI to add that.
Thanks a bunch! Exactly what i was looking for. Loved that it took the different time of day usage into account as well. Thanks @ahndee!!
There is an option to choose “stays” in the same area that you chose “changes”
After you choose “stays”, under that drop down menu, there will be an option for how long.
If you still can’t find it, just let me know and I’ll be more thorough with my explanation. I’m on my mobile phone right now and it’s hard to type.
Or you could just import my piston using the back up code and make changes to my piston.
Also, I had to use a boolean variable so that every time I closed a door (even if within 5 minutes), the thermostat didn’t resume schedule.
You could just copy the code for a piston tile of the type you want and paste it into the new piston.
Or, you could import this one and take out the notification pieces you don’t need. This is a truncated version of my battery alert piston. There is only one tile visible at the bottom for this example. But you could duplicate that code for as many tiles as you want. If you are using the code in multiple pistons for single devices, you could add a variable for the device and put it in the color conditional expression, and then you wouldn’t even have to update the device name but once every time you paste the code.
If you’re iterating multiple devices in one piston, this code from @anon36505037 is great.
Thanks to @elf , I finally got my Scotch cabinet inventory working. It’s coupled with IFTTT. Will explain later.
Basically, every time my cabinet contact door open, IFTTT send me an SMS asking me which Scotch I poured a glass of.
I then answer by SMS the bottle number which IFTTT passes to WebCoRE. This piston then remove 5% from the bottle and update the last time I drank from it.
I am totally stealing this for my red wine inventory.
I award you one internet good sir.
Edit: Holy crap, this has actual good uses for me for stuff. I keep a pretty good kitchen inventory of meats and vegetables in OneNote currently, but this might supplant that.
Glad to hear that. Don’t hesitate to ask for help if you need any down the line. Happy WebCoRing
I’ll be very curious to see how you adapt it for meats and vegetables
If you happen to adapt it for wines, please share back as I might use it for my cellar. I didn’t think of that at first but it’s very clever.