{"id":8260,"date":"2025-07-24T21:38:22","date_gmt":"2025-07-24T21:38:22","guid":{"rendered":"https:\/\/farmwp.com\/pollard\/?p=8260"},"modified":"2025-07-24T21:38:22","modified_gmt":"2025-07-24T21:38:22","slug":"playing-with-timers","status":"publish","type":"post","link":"https:\/\/farmwp.com\/pollard\/playing-with-timers\/","title":{"rendered":"Playing with Timers"},"content":{"rendered":"<p>On CBW modules, a Timer can be set on Scheduled Tasks and then an Trigger of When Timer 1 Expires set in Conditional Tasks.<\/p>\n<p>I did<\/p>\n<p>1) Set Timer 1 to 20 seconds at 6am 2) When Timer 1 expires &#8211; turn off LEDs<\/p>\n<p>They turned off at 6:00:20<\/p>\n<p>Not a very useful scenario but I&#8217;m sure other I\/O added in would make something useful<\/p>\n<ul>\n<li>Wind hits &gt;40<\/li>\n<li>Set Timer 4 to 10 seconds<\/li>\n<\/ul>\n<p>then somehow; When Timer expires &#8211; if wind &gt;40, close tunnel (meaning either the wind was &gt;40 the whole time or happened to be &gt;40 twice &#8211; 10 seconds apart)<\/p>\n<p>Wind &gt;40 twice exactly 10 seconds apart is very possible so maybe stack Timers<\/p>\n<ul>\n<li>Wind &gt;40 &#8211; set Timer 1 to 10 seconds<\/li>\n<li>Wind &gt;40 when Timer 1 expires<\/li>\n<li>set Timer 2 to 10 seconds<\/li>\n<li>Wind &gt;40 when Timer 2 expires<\/li>\n<li>close tunnel<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>On CBW modules, a Timer can be set on Scheduled Tasks and then an Trigger of When Timer 1 Expires set in Conditional Tasks. I did 1) Set Timer 1 to 20 seconds at 6am 2) When Timer 1 expires &#8211; turn off LEDs They turned off at 6:00:20 Not a very useful scenario but&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-8260","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/posts\/8260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/comments?post=8260"}],"version-history":[{"count":1,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/posts\/8260\/revisions"}],"predecessor-version":[{"id":8261,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/posts\/8260\/revisions\/8261"}],"wp:attachment":[{"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/media?parent=8260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/categories?post=8260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/farmwp.com\/pollard\/wp-json\/wp\/v2\/tags?post=8260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}