cloudy cloudy

Author Topic: MQTT support  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

Offline pethson

  • Posts: 1
    • pethson
  • OS/Browser:
  • Win NT 10.0
  • Chrome 58.0.3029.81
MQTT support
« on: April 22, 2017, 08:36:39 AM »
Hi

I would like the abillity to publish information to a MQTT server.
MQTT is the perfekt information carrier in a home automation senario.

There are publick free MQTT servers out there and you can set up one of your own in very short time.

Moscuitto is a free opensource version that I use. https://mosquitto.org/

If you have a MQTT server your IoT can publish and/or subscribe to information to/from that server.

That way I could use the information published from WD to MQTT for my heating system att home to predict that the weather is getting colder and I then need to raise the amout of heat inside the house. Or irregation system get the information from WD that there has been no rain for 7 days and my lawn needs some water....

In my view it seams easy to publish the values in clientraw to seperate topcis on the MQTT server, maybe with option to select what values to publish. Maybe some historic values to.

I was thinking of building a clientraw parser to publish the information, but I don't think it's to hard to integrate it in WD and I think more people could have use for it.

Regards Peter!

Offline lunkan

  • Posts: 1
  • OS/Browser:
  • Win NT 10.0
  • Firefox 52.0
Re: MQTT support
« Reply #1 on: April 24, 2017, 03:30:39 PM »
Agree, like the idea. Should be very useful.

Offline GSD2016

  • Posts: 97
  • Virginia
  • OS/Browser:
  • Win NT 10.0
  • Firefox 53.0
    • The Dreelin Weather Station
Re: MQTT support
« Reply #2 on: April 25, 2017, 04:56:58 PM »
 :D  Agree it would be great for OpenHAB use too.

Offline Weather Display

  • Posts: 82,687
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: MQTT support
« Reply #3 on: April 25, 2017, 06:49:53 PM »
I have found a component I can use that looks easy to use, so yes , this is doable

Offline Weather Display

  • Posts: 82,687
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: MQTT support
« Reply #4 on: April 29, 2017, 08:01:52 PM »
see if this test program can  connect and publish
http://www.weather-display.com/downloadfiles/MQTT_Test.zip

 

cumulus