From 9783142eb064e76662d667cc27efa82d63319bd0 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Wed, 11 Mar 2015 22:41:22 +0100 Subject: [PATCH] Refresh light status every 2 minutes With recent firmware for the bridge, refreshing is way faster! --- bin/hued | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hued b/bin/hued index ff6c07b..c2615ed 100755 --- a/bin/hued +++ b/bin/hued @@ -67,6 +67,6 @@ $stdout.sync = true # Trigger rule execution and light status refreshing periodically EM.run do EM.add_periodic_timer(10) { engine.reload; engine.execute } - EM.add_periodic_timer(300) { engine.refresh! } + EM.add_periodic_timer(120) { engine.refresh! } end engine.shutdown