In the action tab, choose repeat the action every 1 min, but instead of keep sending notification, you can consider do something else, like flashing a lights, that will be obvious.
I would stay away from repeat whole action. That tends to give you a runaway loop that you canβt stop.
I recommend that you choose βfollow up with pistonβ after one minute. That will loop until the piston is no longer true and it will turn itself off.
Right, it repeats and I canβt figure out how to stop it
I figured it out the last time I used that functionβ¦ delete pistonβ¦
I have something very similar set up. Try this, change times to 1 minute or whatever time you need.
Pausing doesnβt work?
@ady624, I have this piston that turns on the Living Room Fan when the AC is actively cooling. I set it to execute only on piston change but the log shows it still trying to execute the tasks even though the piston state has not changed. It does the same for when the AC is off.
Is the motion affecting the state of the piston? I added those to make sure the piston gets evaluated
Edit: Hmm, scratch that. I though the restriction reads βOnly execute on piston state changeβ when in fact it is βOnly execute on condition state changeβ which is why it is executing. Back to drawing board
Hereβs part of the log.
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Piston done in 837ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Task processing took 220ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Removing any existing ST safety nets
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: info ββββ Executing virtual command sendNotification (7ms)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: info ββββ Preventing execution of command [Living Room Fan].on() because current value is the same
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Installing ST safety net
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Rescheduling time triggers
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Processing tasks (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Event processing took 416ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β39β βPM: trace ββββ Processing event motion for device Living Room Motion with id 7f630652-d1dc-493d-a49a-23166a470c74, value inactive, generated on Sun Sep 18 23:02:38 UTC 2016, about 224ms ago (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β38β βPM: trace ββββ Received a dual block device event
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Piston done in 854ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Task processing took 257ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Removing any existing ST safety nets
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: info ββββ Executing virtual command sendNotification (7ms)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: info ββββ Preventing execution of command [Living Room Fan].on() because current value is the same
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Installing ST safety net
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Rescheduling time triggers
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Processing tasks (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β19β βPM: trace ββββ Event processing took 402ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β18β βPM: trace ββββ Processing event motion for device Living Room Motion with id 7f630652-d1dc-493d-a49a-23166a470c74, value active, generated on Sun Sep 18 23:02:18 UTC 2016, about 196ms ago (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β02β:β18β βPM: trace ββββ Received a dual block device event
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β38β βPM: trace ββββ Piston done in 2344ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β38β βPM: trace ββββ Task processing took 1724ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β38β βPM: trace ββββ Removing any existing ST safety nets
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β38β βPM: info ββββ Executing virtual command sendNotification (463ms)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β38β βPM: info ββββ Executing command: [Living Room Fan].on() (1068ms)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Installing ST safety net
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Rescheduling time triggers
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Processing tasks (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Event processing took 423ms
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: info ββββ β¦ Latching Piston changed state to true β¦
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Processing event motion for device Oenzbee with id 2623468b-456a-4f51-9a35-781d8399daa9, value inactive, generated on Sun Sep 18 23:01:36 UTC 2016, about 210ms ago (v0.2.14f.20160916)
37be0ac7-ca29-42bf-a74a-2812fe4cbd34 β4β:β01β:β36β βPM: trace ββββ Received a dual block device event
I find this very elegant.Thank you very much.
I love the IFTTT integration and it looks like ST can allow us to create arbitrary http requests, etc⦠if that is the case⦠any chance we can get such ability within CoRE?
My use case is pretty specific and can fill you in on details, but I think something like this can provide utility for those that canβt / wonβt program their own app to control an arbitrary device using CoRe actionsβ¦
Perhaps something along the lines of what the IFTTT Maker channel can do for output:
URL
Method
Content Type
Body
Pretty please.
Admittedly I can do this today by sending something to IFTTT then having it send something back per my specβ¦ but that has two issues for me I can forsee. 1) Latency, 2) This comes from the IFTTT Cloud, ideally if I could originate such output from the hub, that would be better/less complexβ¦
Okay, good chat.
Have you checked out the Make HTTP request task?
are you starting a new thread for the CoRE - RC?
I have already
oh yeahβ¦ I posted in that oneβ¦ told youβ¦ blond dayβ¦
Nice! does this request originate from the hub or the cloud?
Cloud. May implement an automatic system that uses the hub for local IPsβ¦
Would be very useful.
Iβm having a weird issue where if I choose the Condition Capability type of Routine, all I get is the option, βComparison * executedβ and no option to choose which Routine I want to use. It just doesnβt populate for some reason. Anyone else seen this happen? It defaults to βRoutine βnullβ was executedβ in the Overview.
Is there any way for me to get around this by manually specifying which Routine I want to use by changing wherever itβs storing βnullβ?
Re-select the comparison βexecutedβ and the Value field will show up. Issue has already been fixed and will be rolled out in the next release. Thanks
Trying that, I get an βError refreshing pageβ error and I canβt turn the comparison back on. Itβs not a huge deal, as everything else seems to be working for me. I can wait for the next release.
Keep up the great work! Iβm really excited about this project.
I have installed the firefox addon to access in Firefox. How do I open the CoRE dashboard in Firefox on my computer?