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 
1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 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.




1945 posts

Uber Geek
+1 received by user: 386

Subscriber

  Reply # 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?


 
 
 
 


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

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

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




1945 posts

Uber Geek
+1 received by user: 386

Subscriber

  Reply # 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.


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 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. 


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1680950 1-Dec-2016 22:22
One person supports this post
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?




1945 posts

Uber Geek
+1 received by user: 386

Subscriber

  Reply # 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!


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 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.


241 posts

Master Geek
+1 received by user: 18


  Reply # 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.


21713 posts

Uber Geek
+1 received by user: 4504

Trusted
Subscriber

  Reply # 1681290 2-Dec-2016 14:07
One person supports this post
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



1945 posts

Uber Geek
+1 received by user: 386

Subscriber

  Reply # 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.




1945 posts

Uber Geek
+1 received by user: 386

Subscriber

  Reply # 1690927 16-Dec-2016 11:01
One person supports this post
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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

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


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.