summaryrefslogtreecommitdiff
path: root/scarecrow.rb
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2019-02-17 03:36:11 +0000
committerJoe Robinson <joe@lc8n.com>2019-02-17 03:36:11 +0000
commitcd105c8c6aa53f347b72174e755392f66af0534a (patch)
tree7a04965ed02939428858ad94829da5d0fe8f97b1 /scarecrow.rb
parentb1391deafa2f12aeac771c46788e152b0c0ea9b5 (diff)
Change broker IP
Diffstat (limited to 'scarecrow.rb')
-rw-r--r--scarecrow.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scarecrow.rb b/scarecrow.rb
index b1043fe..a527515 100644
--- a/scarecrow.rb
+++ b/scarecrow.rb
@@ -29,7 +29,7 @@ def init
DataMapper.auto_migrate!
DataMapper.auto_upgrade!
Thread.new do
- MQTT::Client.connect('192.168.0.16') do |c|
+ MQTT::Client.connect('192.168.0.59') do |c|
c.subscribe('temperature', 'humidity')
loop do
while !c.queue_empty? do