From cd105c8c6aa53f347b72174e755392f66af0534a Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Sun, 17 Feb 2019 03:36:11 +0000 Subject: Change broker IP --- scarecrow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scarecrow.rb') 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 -- cgit v1.2.3