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.




1946 posts

Uber Geek
+1 received by user: 387

Subscriber

Topic # 205776 26-Nov-2016 14:10
Send private message

I want to have a go at a temp monitoring project that I would monitor from an Android phone so am asking for advice.

 

Setting the scene. I run an alcohol still every 5-6 mths and would like to remotely monitor two temperatures to save me constantly jumping up and down to visit the laundry room where the still is running. The Still run time is about 7-8 hours, so a monitoring system would save some of the visits plus give me a new project to get my teeth into at a very moderate cost. Two full days are needed as I double distill.

 

I need one of the readings to go to one decimal place but the other could just be whole degrees. I also need to be able to set a high temp for each that would give a warning sound when reached. This would have to sound even if the phone was asleep.

 

I am pretty good at electronics, and have been a programmer, so that is a start! There is also no time pressure as I have just finished a run. 

 

I have done some reading, including other relevant posts in this thread, and think the route to take is to use wemos sensors with DS18B20 probes, monitored with OpenHAB on a cell phone. But what about going with Adafruit solutions?

 

If you have got this far, I would be grateful for ideas on the route to take. Keen on being able to follow detailed instructions from somewhere!

 

 


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

Uber Geek
+1 received by user: 849


  Reply # 1677927 26-Nov-2016 14:13
One person supports this post
Send private message

Something like this?

 

http://projects.privateeyepi.com/home/temperature-gauge




1946 posts

Uber Geek
+1 received by user: 387

Subscriber

  Reply # 1677984 26-Nov-2016 16:12
Send private message

Thanks for that reference. Looks promising. Will have a close look.


 
 
 
 


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1678011 26-Nov-2016 17:31
One person supports this post
Send private message

linw:

 

wemos sensors with DS18B20 probes, monitored with OpenHAB

 

 

This is what I would do, but I am heavily invested in openHAB! Playing with the Wemo D1 Minis is good fun and very cheap/easy to get started. I would recommend looking into MQTT as a transport protocol. Your sensors would publish to an MQTT topic so would be completely decoupled from whatever is monitoring them (e.g. openHAB). openHAB has MQTT support so once your sensors are publishing it is easy to get the values into openHAB and thus build your rules and sitemaps (UIs) around them.

 

Also, means any other system can subscribe to those sensor readings and consume them if needed. Probably outside your scope for now but might be worth considering. For example, you could spin up an InfluxDB instance for storing the temp data, and use Telegraf to subscribe to your sensor MQTT topic and translate them into InfluxDB. Then you can chuck a very pretty dashboard on top using Grafana. 

 

All sort of things you can do once you have your sensors publishing to MQTT topics...


21728 posts

Uber Geek
+1 received by user: 4514

Trusted
Subscriber

  Reply # 1678012 26-Nov-2016 17:34
Send private message

Perhaps start with one of these instead, as it has a case, power supply and a relay, and comes with somewhat working software on it and an app ready to go, get 2 of them and play with the other and swap them over when you have something working well.

 

https://www.itead.cc/sonoff-th.html

 

 





Richard rich.ms

1594 posts

Uber Geek
+1 received by user: 157

Trusted

  Reply # 1678019 26-Nov-2016 17:54
Send private message

I have a few ESP8266 with DHT-22 Humidt & Temp. (lots of tutorials online on how to do it)

 

Have an node-red setup to trigger (but MQTT would have been a better option) with influx DB and Grafana to log and present the graphs

 

 Click to see full size





CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440

 

 




1946 posts

Uber Geek
+1 received by user: 387

Subscriber

  Reply # 1678073 26-Nov-2016 19:04
Send private message

Thanks a lot guys. Given me much to follow up. I might take a while to get back but I certainly will.

I'm looking forward to the challenge!



1946 posts

Uber Geek
+1 received by user: 387

Subscriber

  Reply # 1678095 26-Nov-2016 21:49
Send private message

Been looking at the sonoff, rich. Very interesting. Followed a link to tinker man.cat Very interesting as well?



1946 posts

Uber Geek
+1 received by user: 387

Subscriber

  Reply # 1678878 28-Nov-2016 14:36
Send private message

For better or worse, I have ordered a couple of D1 minis, breadboard with jumpers, bunch of sensors and two DS18B20 wet probes to have a play with at the exorbitant cost of $US21.80 with free postage! Should be fun and a very cheap education.

 

Lots of learning to do, but hey, can't give up on intellectual challenges just yetlaughing

 

@SumnerBoy, will go with MQTT and Homie as you advise. Might need some pointers to getting a simple Android interface with ability to sound an alarm. Will Grafana do that? OpenHAB? I'll get into swotting up on these, anyway.

 

So, thanks to all responders, your willingness to help is very much appreciated.

 

Cheers.


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1678880 28-Nov-2016 14:39
One person supports this post
Send private message

Nice - openHAB will handle the notifications I believe (I don't use the directly but have my own MQTT based notification system). Either way it is pretty easy to get something like Pushover hooked up to openHAB for notifications based on openHAB rules.

 

Check out the openHAB *actions* for a list of different ways to send out alerts - e.g. email, Kodi popups, Twitter, etc etc.

 

 

 

Happy to answer any questions you have, or jump on the openHAB forums. Heaps of helpful people on there. And the Homie dev is very responsive and helpful as well.


1801 posts

Uber Geek
+1 received by user: 125


  Reply # 1678884 28-Nov-2016 14:58
Send private message

linw:Might need some pointers to getting a simple Android interface with ability to sound an alarm. Will Grafana do that?
I believe Grafana V4 (currently in beta) has this feature.


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1678885 28-Nov-2016 15:01
Send private message

Disrespective:

 

linw:Might need some pointers to getting a simple Android interface with ability to sound an alarm. Will Grafana do that?
I believe Grafana V4 (currently in beta) has this feature.

 

 

Yes - they have added alerting to the latest version (due out shortly). But I don't think there is any Android app which will allow push notifications based on those alerts. Unless they have baked in integration with something like Pushover? My guess is initially the alerting will be a visual alert only from within the Grafana dashboard to start with. 

 

 


1801 posts

Uber Geek
+1 received by user: 125


  Reply # 1678908 28-Nov-2016 15:09
Send private message

SumnerBoy:

 

Disrespective:

 

linw:Might need some pointers to getting a simple Android interface with ability to sound an alarm. Will Grafana do that?
I believe Grafana V4 (currently in beta) has this feature.

 

 

Yes - they have added alerting to the latest version (due out shortly). But I don't think there is any Android app which will allow push notifications based on those alerts. Unless they have baked in integration with something like Pushover? My guess is initially the alerting will be a visual alert only from within the Grafana dashboard to start with. 

 

 

 

I know literally nothing about android dev. so could be completely wrong, but the Grafana wiki for alerts indicates all current notification types are supported. I just assumed Webhook would work, but perhaps not. 


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1678914 28-Nov-2016 15:13
Send private message

Ah nice - I hadn't looked at the WIKI for a while. I am sure they will add further notification types. Nothing in there to suggest support for a generic Android notification however. I am no Android expert myself, but I guess you could use the web hook to fire a Pushover type notification - they have a pretty open API. Although the app costs a few $ it is well worth the outlay IMO.


What does this tag do
983 posts

Ultimate Geek
+1 received by user: 205

Subscriber

  Reply # 1678968 28-Nov-2016 16:57
Send private message

I'm a bit late to the piece (was going to recommend Particle Photon essentially just means you can program from the web which can be nice, certainly not as cheap as the Wemos)

 

If you don't want the local monitoring part to worry about you could use a cloud service like Ubidots which will handle your logging, dashboards and notifications for any alerts etc - probably more reliable than having to tinker with openHAB!




1946 posts

Uber Geek
+1 received by user: 387

Subscriber

  Reply # 1679545 29-Nov-2016 15:15
Send private message

Been reading a fair bit and am wondering in my simple proposed setup, what would be serving as the MQTT broker? Is it taken care of in the Homie code?


 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.