Hello!! + HomeAutomation + DS18B20 + MQTT

Discussion of the online video show SuperHouseTV, where Freetronics co-founder Jonathan Oxer hacks on his house using various Open Source hardware and software. [SuperHouseTV site]
Humpadilly
Posts: 2
Joined: Fri Jun 08, 2012 10:55 pm

Hello!! + HomeAutomation + DS18B20 + MQTT

Post by Humpadilly » Fri Jun 08, 2012 11:25 pm

Hello Jon,

Let me start off by saying great job on the Freetronics Arduino compatible devices… all I need in one device, no shields etc.! I am really happy to have found them, I only discovered Arduino when I was on holidays in Sydney a few months back while visiting my parents…

I have been watching your videos on YouTube for a while and have been very interested in SuperHouse! I am actually trying to automate my house and SuperHouse is a great help. I will be building a new house from scratch within the next 2 years and plan to automate everything I can.

I have already started working on some ideas… I was very surprised when I found my Home Automation touchscreen on Freetronics.. http://www.freetronics.com/blogs/news/6 ... te-control

I have recently started building a Web interface / MQTT server on my RaspberryPI to automate everything in my house. I was looking to use DHCP for all my light switches and I remembered you mentioned in one of your videos that you use the ID of the DS18B20 to generate a MAC…. I was wondering have you ever posted some example code on how you are doing this? I am very interested as I am also using the DS18B20’s

If you are willing to provide any information regarding this MAC address generation method I would be really grateful.

HumpA

Splat
Posts: 1
Joined: Wed Aug 22, 2012 2:32 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by Splat » Wed Aug 22, 2012 2:38 am

I'm keen to know how to generate the MAC address from a temperature sensor as well..

while I haven't integrated my arduino with my existing Alarm system yet. I have got it so it'll tell me over mqtt which IO's are on and I can trigger it to send the alarm the signal to tell it to turn a light on or off.. or unlock the front door, or turn the alarm on or off. I just really want to generate a MAC address rather then hard code it.

Splat

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 297
Joined: Sat Oct 15, 2011 11:31 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by jonoxer » Fri Sep 21, 2012 11:11 am

Your wish is my command! I've been meaning to document this for ages anyway, but seeing these posts was the prompt that pushed it to the top of my list.

So, for your pleasure, here's a new tutorial:

Setting Arduino Ethernet MAC addresses manually and automatically
--
Jon

greenembrace
Posts: 2
Joined: Thu Sep 27, 2012 4:32 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by greenembrace » Thu Sep 27, 2012 4:45 am

Hi,

I'm intrested in Home Automation, but just starting out. I was interested in the discussion of MQTT as a way of comunicating sensor data back to a central location. I've had a look at the arduino client for MQTT and for general sensors, light level, temperature, humidity etc it looks like it would work fine, some missed posts will not have any impact, however it only uses QoS = 0, so for light switches which require positive feedback (for the user, eg lights going on), you don't want the uses to have to press the switch several times, there does not seem to be any guarantee for the post at this QoS level.

Are you using it in the way yet? do you see any issues here?

Kind regards daniel

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 297
Joined: Sat Oct 15, 2011 11:31 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by jonoxer » Thu Sep 27, 2012 8:18 am

Hi Daniel,

Right now I'm only using MQTT for sensor data, not the control mechanism for the switchboards. My intention is to do that though.

I haven't thought much about how to guarantee message delivery, but one way to do it would be to have the other client publish an ACK to an associated topic, so the originator of the command could look for the ACK and re-send if it doesn't see one within a certain period. Perhaps that's a naive way to do it, but I haven't investigated further yet. So far I've had no problem with message reliability.
--
Jon

greenembrace
Posts: 2
Joined: Thu Sep 27, 2012 4:32 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by greenembrace » Thu Sep 27, 2012 9:10 am

Hi Jon,

Yep, it is built into the MQTT specification, but requires QoS of greater than "1". But the Arduino client software only allows for "0". Maybe they will upgrade it at some point. One can always fudge but that then makes it harder with upgrades. I have plans into the council at the moment to build a new home and i wish to intergrate as much as possible, I also like doing things myself.

Look forward to your next episode.

Kind regards Daniel

matbor
Posts: 8
Joined: Fri Jul 13, 2012 2:11 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by matbor » Sun Jun 02, 2013 1:55 pm

Hi Jon,
Any chance you can post your Arduino code for one of your sensor boards communicating to your MQTT server? Interested to see your code especially with multiple sensors.

Have started playing with an etherten and MQTT at the moment so keen to learn.

Thx
Matt.

mattgatenby
Posts: 1
Joined: Wed Apr 23, 2014 7:32 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by mattgatenby » Thu Apr 24, 2014 12:18 pm

matbor wrote:Hi Jon,
Any chance you can post your Arduino code for one of your sensor boards communicating to your MQTT server? Interested to see your code especially with multiple sensors.

Have started playing with an etherten and MQTT at the moment so keen to learn.

Thx
Matt.
Greetings all

I to have been playing around with the etherten and MQTT and am still learning....

Has the code been published to GitHub or anywhere else ?

Cheers
Matt

matbor
Posts: 8
Joined: Fri Jul 13, 2012 2:11 am

Re: Hello!! + HomeAutomation + DS18B20 + MQTT

Post by matbor » Mon Apr 28, 2014 12:21 am


clibin009
Posts: 329
Joined: Mon Oct 23, 2017 2:57 am

chenjinyan

Post by clibin009 » Fri Jan 12, 2018 2:55 am

mbt shoes
louboutin
ray ban wayfarer
canada goose outlet
ugg outlet
michael kors uk
moncler schweiz
nfl jerseys wholesale
ugg boots on sale
air max
polo shirts
coach outlet online
vibram five fingers
longchamp outlet
adidas football boots
ugg boots
coach outlet
michael kors outlet
swarovski
cheap nfl jerseys
michael kors handbags
nike outlet store
mont blanc
scarpe mbt
the north face
adidas wings
ugg outlet
michael kors outlet
uggs outlet
scarpe hogan
ugg boots
ugg boots
adidas jeremy scott
cheap mlb jerseys
nike sb
nhl jerseys
cheap ray bans
michael kors outlet clearance
cheap nhl jerseys
michael kors
tory burch
pandora rings
canada goose jackets
michael kors handbags
moncler
ugg clearance
giuseppe zanotti shoes
coach outlet online
cheap nfl jerseys
cheap rolex watches
kate spade
michael kors outlet
coach handbags
ugg boots
tory burch
jordans
louboutin
nike air force
jordans
michael kors handbags
nike air
balance shoes
salvatore ferragamo
air max
nike outlet
oakley sunglasses
north face
coach factory outlet online
fitflops
birkenstock
nike football boots
timberland outlet
ralph lauren
ugg australia
michael kors
ugg
nike tn
birkenstock outlet
coach outlet online
pandora charms
nike blazer
ralph lauren outlet
ray ban sunglasses
pandora jewelry
ralph lauren uk
coach factory outlet online
coach outlet online
pandora jewelry
fitflops outlet
ray ban sunglasses
the north face
jordan retro
coach outlet online
timberland boots
hermes
polo ralph lauren
moncler
ugg outlet
coach outlet online
nike free run
nike uk
stan smith shoes
ugg boots sale
pandora jewelry canada
birkenstock sandals
north face uk
burberry scarf
canada goose jackets
longchamp
pandora jewelry
louboutin
coach factory online
ralph lauren
canada goose
air max
polo ralph lauren outlet
michael kors outlet
true religion jeans
oakley sunglasses wholesale
ralph lauren
michael kors outlet online
ugg outlet
burberry outlet
uggs
adidas yeezy
tory burch outlet
ray ban
air jordan 14
supreme outlet
kate spade handbags
ugg boots
nike outlet
north face jackets
ray ban
ray ban
ralph lauren uk
michael kors outlet
longchamp
louboutin
supreme uk
mont blanc pens
true religion jeans
prada
beats by dre
cheap jordans
nike factory outlet
jordan
ugg canada
ugg boots
nike huarache shoes
moncler outlet
coach outlet online
north face outlet
burberry scarf
tommy hilfiger
jordans
ray ban
ugg outlet store
coach factory outlet
nba jerseys
north face
oakley sunglasses
michael kors outlet
nike store uk
oakley sunglasses
louboutin
true religion jeans
flops
cheap mlb jerseys
the north face
under armour outlet
canada goose outlet
michael kors taschen
canada goose outlet
nike air max
pandora charms
tory burch outlet
true religion jeans
coach outlet
christian louboutin
ray ban
ray ban
ugg
jordan shoes
nike air max
ugg outlet
ferragamo outlet
ugg pas cher
moncler pas cher
polo ralph lauren
air jordan
michaelkors outlet online
moncler
coach
basketball shoes
uggs
juicy couture outlet
canada goose jackets
canada goose jackets
pandora uk
mac cosmetics
kate spade
moncler
air jordan
jordans
snapbacks wholesale
hermes outlet
ray ban sunglasses
ralph lauren
canada goose sale
michael kors outlet
cheap ugg boots
cheap ugg boots
polo ralph
manolo blahnik shoes
polo ralph
canada goose jackets
coach handbags
adidas outlet store
moncler outlet
flops
north face outlet
ugg italia
ralph lauren uk
mlb jerseys
coach outlet
ugg boots
north face jackets clearance
ugg outlet
burberry outlet canada
uggs
flip flops
doudoune canada goose
ugg boots
uggs outlet
ugg
coach outlet online
polo ralph lauren
oakley sunglasses
ray ban sunglasses
adidas stan smith shoes
swarovski crystal
uggs outlet
air jordan
flip flops
north face jackets
michael kors outlet
jordan shoes
uggs outlet
nike air max
polo ralph
timberland pro
jordan
north face
uggs outlet
replica watches
ugg boots
longchamp outlet
jordan shoes
canada goose
hermes birkin bags
north face uk
polo ralph lauren
adidas superstar
canada goose
red bottom shoes
jordan shoes
pandora
mcm bags
nike factory outlet
adidas uk
ray ban sunglasses wholesale
ugg
canada goose outlet
adidas shoes
prada handbags
coach factory outlet
supra shoes
burberry outlet online
louboutin
moncler
baseball jerseys
michael kors outlet
kate spade
north face
air max
supreme
uggs outlet
oakley sunglasses
coach factory outlet
adidas outlet
cheap oakley sunglasses
oakley canada
michael kors handbags
ugg boots
mulberry handbags
north face
canada goose jackets
ugg boots
true religion
coach outlet
canada goose
ugg boots
michael kors outlet
north face outlet
coach factory outlet
louboutin
uggs outlet
christian louboutin
timberland boots
ugg
oakley sunglasses
ferragamo shoes
ugg boots
louboutin
prada
kate spade
moncler outlet
hermes uk
canada goose canada
the north face
nike outlet
timberland boots
north face
ugg canada
oakley vault
doudoune canada goose
ugg outlet
coach outlet
oakley sunglasses
cheap nfl jerseys
nfl jerseys wholesale
canada goose sale
moncler jackets
prada bags
moncler
jordan shoes
true religion jeans
moncler
soccer jerseys
canada goose jackets
blackhawks jersey
ray ban sunglasses
longchamp handbags
moncler
coach
moncler jackets
nike air huarache
ralph lauren
pandora jewelry canada
longchamp
mont blanc pens
superdry clothing
converse shoes
louboutin
jordan pas cher
ugg boots
kate spade outlet
canada goose
ugg boots
ralph lauren
cheap nfl jerseys
adidas shoes
20181.12chenjinyan

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests