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.




1772 posts

Uber Geek
+1 received by user: 328

Subscriber

Topic # 222919 4-Sep-2017 09:15
Send private message

A while ago I mentioned my plan to be able to monitor my still (alco!) temp from my phone. Well, this now has been accomplished.

 

I used a wemos D1 mini with DS18B20 temp probe which turned out reasonably easy to get functioning with sketches already available.

 

For the phone app, I used Blynk and its server. You get to choose from a large variety of widgets to show your data. I just selected a simple gauge to display temp to two decimal places.

 

You are supposed to be able to create the phone app in a couple of minutes but I struggled to get it working for quite a while and still don't quite know what the problem was. But, yesterday, my dutiful Father's Day son was out and he got it going on his S8 and from then I was able to get it on my S5.

 

So a bit of a mystery but it works now! Really chuffed with this fun/educational project.


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

Uber Geek
+1 received by user: 427

Trusted

  Reply # 1857971 4-Sep-2017 10:59
Send private message

Is that pulling data from the internet, or local only?





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




1772 posts

Uber Geek
+1 received by user: 328

Subscriber

  Reply # 1858339 4-Sep-2017 18:02
Send private message

You have a choice, David. You can download a file to create a local server or you can use Blynk's server in the cloud. They provide for a local server in case security is a high priority. 

 

Have a squizz of their site - it may (or may not) be interesting. That link to my phone was the big challenge but blynk seems to have done that admirably.


 
 
 
 


'That VDSL Cat'
6963 posts

Uber Geek
+1 received by user: 1356

Trusted
Spark
Subscriber

  Reply # 1858393 4-Sep-2017 19:51
Send private message

Great to see more getting into the esp8266 micros.

 

 

 

I have a stack of these sitting in my room, Drives SWMBO insane, however soon as i feel I need something to be automated, its done :D





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


20564 posts

Uber Geek
+1 received by user: 3960

Trusted
Subscriber

  Reply # 1858410 4-Sep-2017 20:22
One person supports this post
Send private message

hio77:

 

Great to see more getting into the esp8266 micros.

 

 

 

I have a stack of these sitting in my room, Drives SWMBO insane, however soon as i feel I need something to be automated, its done :D

 

 

I have about 4-5 of most of the common board of them waiting something to do other than a wifi deauther which is fun for a short while.





Richard rich.ms

3688 posts

Uber Geek
+1 received by user: 427

Trusted

  Reply # 1858497 4-Sep-2017 21:29
Send private message

They look cool. But I'm at the point where I want to be able to plug them into the wall directly and use them for temp monitoring. Hopefully with no exposed wiring.




Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


1599 posts

Uber Geek
+1 received by user: 179

Subscriber

  Reply # 1858510 4-Sep-2017 21:56
One person supports this post
Send private message

I had a server cupboard that was overheating. Chucked an Xiaomi temp/humidity sensor in there to monitor it. Found it was getting up over 35 degrees on a warm day so bought a cheap fan, and plugged it in via a Sonoff relay. Now openHAB monitors the temp and if it goes above 31 turns the fan on until it drops below 30. 

 

Problem + Automation = Solved :).

 

Sorry for slightly OT - but does involve a temp sensor and an ESP8266 micro... :)


20564 posts

Uber Geek
+1 received by user: 3960

Trusted
Subscriber

  Reply # 1858511 4-Sep-2017 21:58
One person supports this post
Send private message

could have got the sonoff TH and a probe and taken openhab out of the loop entirely.





Richard rich.ms

1599 posts

Uber Geek
+1 received by user: 179

Subscriber

  Reply # 1858521 4-Sep-2017 22:04
One person supports this post
Send private message

Nah I like openHAB to be in the loop - means I can disable the fan or force it to run if necessary. Plus can control/monitor when away from home via the OH app.


Amanzi
815 posts

Ultimate Geek
+1 received by user: 50

Trusted
Subscriber

  Reply # 1858961 5-Sep-2017 13:46
Send private message

SumnerBoy:

 

Chucked an Xiaomi temp/humidity sensor in there to monitor it.

 

 

Did you have to use the Xiaomi gateway with this sensor? If not, how are you getting readings off it?


3688 posts

Uber Geek
+1 received by user: 427

Trusted

  Reply # 1858964 5-Sep-2017 13:49
Send private message

amanzi:

 

SumnerBoy:

 

Chucked an Xiaomi temp/humidity sensor in there to monitor it.

 

 

Did you have to use the Xiaomi gateway with this sensor? If not, how are you getting readings off it?

 

 

And are these battery powered or can be AC adapter/usb powered?





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


1599 posts

Uber Geek
+1 received by user: 179

Subscriber

  Reply # 1858967 5-Sep-2017 13:49
Send private message

amanzi:

 

Did you have to use the Xiaomi gateway with this sensor? If not, how are you getting readings off it?

 

 

Yep, got the gateway as well. Have a little python script which listens for broadcasts from the gateway and transposes them to MQTT messages, which OH subscribes to. 

 

Find the Xiaomi stuff very very good. Cheap, reliable, and so far the battery life seems pretty good.


1599 posts

Uber Geek
+1 received by user: 179

Subscriber

  Reply # 1858969 5-Sep-2017 13:50
Send private message

The sensors are all battery powered, with no external power options.


Amanzi
815 posts

Ultimate Geek
+1 received by user: 50

Trusted
Subscriber

  Reply # 1858984 5-Sep-2017 14:13
Send private message

SumnerBoy:

 

Yep, got the gateway as well. Have a little python script which listens for broadcasts from the gateway and transposes them to MQTT messages, which OH subscribes to. 

 

Find the Xiaomi stuff very very good. Cheap, reliable, and so far the battery life seems pretty good.

 

 

Thanks! Just starting my HA adventures and trying to keep things cheap at the moment.


1599 posts

Uber Geek
+1 received by user: 179

Subscriber

  Reply # 1858985 5-Sep-2017 14:15
Send private message

Would definitely recommend the Xiaomi stuff then. There are a few Github repos around with examples of how to interface with the gateway. I have mine on an IOT VLAN which is completely locked down and it works just fine. I.e. nothing calling back to some Chinese server, everything is local. Requires a little bit of faffing around to put the gateway into "dev" mode but once that is done it is pretty straight forward.

 

Good luck.


3688 posts

Uber Geek
+1 received by user: 427

Trusted

  Reply # 1858986 5-Sep-2017 14:15
Send private message

amanzi:

 

SumnerBoy:

 

Yep, got the gateway as well. Have a little python script which listens for broadcasts from the gateway and transposes them to MQTT messages, which OH subscribes to. 

 

Find the Xiaomi stuff very very good. Cheap, reliable, and so far the battery life seems pretty good.

 

 

Thanks! Just starting my HA adventures and trying to keep things cheap at the moment.

 

 

If you have a raspberry pi(s) already, whacking on a DHT22 sensor is about as cheap as you can go, just $4 for the sensor, and hack together some code (although I already have some that reads one of these and posts it to MQTT). 

 

But if you don't have some PIs, that's a farily expensive way to do it.

 

 





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 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:





News »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



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.

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