Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
Affiliate link
 
 
 

Affiliate link: NordVPN allows you to securely access the Internet, encrypt your connection and keep your browsing history private.
SumnerBoy
1889 posts

Uber Geek

ID Verified
Subscriber

  #1679547 29-Nov-2016 15:16
Send private message

Nope - you will need to spin one up (mosquitto is open source and the most common). Run it on the same box as openHAB. Plenty of tutorials about how to set it up, relatively straightforward for the simple case.


linw

2496 posts

Uber Geek

Subscriber

  #1679937 30-Nov-2016 08:39
Send private message

I want to monitor from an Android phone so will need to find an Android broker app, then?


SumnerBoy
1889 posts

Uber Geek

ID Verified
Subscriber

  #1679945 30-Nov-2016 09:03
Send private message

If you are using openHAB then just view the temp on that.




linw

2496 posts

Uber Geek

Subscriber

  #1679948 30-Nov-2016 09:12
Send private message

Ah, thanks, thought I needed openHAB AND a broker. 

 

Hardware shipped so on the way!

 

Cheers.


SumnerBoy
1889 posts

Uber Geek

ID Verified
Subscriber

  #1679950 30-Nov-2016 09:14
Send private message

You do need a broker. The broker is where the sensors *publish* to, at a specified topic (e.g. sensors/living/temp), then openHAB *subscribes* to the same topic and consumes the data. 


SumnerBoy
1889 posts

Uber Geek

ID Verified
Subscriber

  #1680950 1-Dec-2016 22:22
Send private message

Just came across this - https://play.google.com/store/apps/details?id=net.routix.mqttdash - looks like it might be perfect for you to visualise your sensor readings without having to worry about openHAB etc. Don't think it has any alerting as such but it might be a good starting point to get your sensors and broker up and running?


linw

2496 posts

Uber Geek

Subscriber

  #1681032 2-Dec-2016 09:12
Send private message

Thanks, SB. I saw that when searching Google Play. Well worth a try.

 

Still confused with the broker thing, though. If a broker is necessary, where is the broker installed if this app (or openHAB?) is used? Do I have to install mosquitto on a networked Windows PC?

 

Sorry, but can't yet get my head clear on the broker bit in my proposed setup!




SumnerBoy
1889 posts

Uber Geek

ID Verified
Subscriber

  #1681056 2-Dec-2016 09:15
Send private message

Yes - the broker is a 3rd party service you need to have running on your network somewhere. On a RPi or NAS perhaps. Then your sensors publish to the broker and your consumers (i.e. the MQTT dashboard app or openHAB) subscribe to it. Plenty of online tutorials and guides about MQTT and brokers etc.


Blanch
254 posts

Ultimate Geek


  #1681096 2-Dec-2016 10:38
Send private message

linw:

 

Thanks, SB. I saw that when searching Google Play. Well worth a try.

 

Still confused with the broker thing, though. If a broker is necessary, where is the broker installed if this app (or openHAB?) is used? Do I have to install mosquitto on a networked Windows PC?

 

Sorry, but can't yet get my head clear on the broker bit in my proposed setup!

 

 

 

 

linw have a read of http://www.makeuseof.com/tag/openhab-beginners-guide-part-2-zwave-mqtt-rules-charting/ it's what I used to get mqtt working.


richms
25162 posts

Uber Geek

Trusted
Subscriber

  #1681290 2-Dec-2016 14:07
Send private message

Or you can use an online broker like adafruit.io if you do not want to have to expose your one to the internet to see the values when you are off site.





Richard rich.ms

linw

2496 posts

Uber Geek

Subscriber

  #1681897 3-Dec-2016 21:14
Send private message

Thanks again for added info, guys. I have seen that site, Blanch, and will have another read.

 

Won't need offsite access for this project, rich, but did see adafruit project. Looks interesting. 

 

Have to do more study and hope the hardware turns up soon. 

 

Cheers.


linw

2496 posts

Uber Geek

Subscriber

  #1690927 16-Dec-2016 11:01
Send private message

Progress report. The hardware turned up 3 days ago. Only 8 days since ordering which I reckon is darn good.

 

Having fun playing. Currently have it working with the DS18B20 shield and the One-Wire code. Big weakness with that shield is that it gets heated by the D1 Mini till around 25deg.

 

Of course, the first prog was Blink!

 

Next will get it going with the probe version of the DS18B20. Shouldn't be too big a step one hopes.

 

Have mosquito running on my PC and can see it listening on port 1883.

 

Big steps coming soon but I am having a lot of fun for a stupidly small amount of money, and getting to learn the Arduino prog language is fun as well.


1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

D-Link G415 4G Smart Router Review
Posted 27-Jun-2022 17:24


New Zealand Video Game Sales Reaches $540 Million
Posted 26-Jun-2022 14:49


Github Copilot Generally Available to All Developers
Posted 26-Jun-2022 14:37


Logitech G Introduces the New Astro A10 Headset
Posted 26-Jun-2022 14:20


Fitbit introduces Sleep Profiles
Posted 26-Jun-2022 14:11


Synology Introduces FlashStation FS3410
Posted 26-Jun-2022 14:04


Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.