Refresh light status every 2 minutes

With recent firmware for the bridge, refreshing is way faster!
This commit is contained in:
Paul van Tilburg 2015-03-11 22:41:22 +01:00
parent 4a58375c65
commit 9783142eb0
1 changed files with 1 additions and 1 deletions

View File

@ -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