Cheap Internet temperature logger

The forum for discussing all kinds of brewing paraphernalia.
Post Reply
User avatar
alexlark
Under the Table
Posts: 1387
Joined: Thu May 02, 2013 12:29 pm
Location: Rhondda, South Wales

Re: Cheap Internet temperature logger

Post by alexlark » Tue Apr 04, 2017 8:51 pm

demig, do you know if he's applied the update? I posted over on homebrewtalk but no reply yet.

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Cheap Internet temperature logger

Post by Andy » Wed Apr 05, 2017 8:28 am

alexlark wrote:demig, do you know if he's applied the update? I posted over on homebrewtalk but no reply yet.

No, the code still formats dates US style. I found the bit of code which performs the formatting but couldn't get it working with what is a simple fix. Will try again.
Dan!

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Cheap Internet temperature logger

Post by Andy » Wed Apr 05, 2017 3:20 pm

Figured it out!

Image

If anyone wants the binary image with the fix in it then let me know and I can host it somewhere. Just need to tell me what kind of ESP device you're using, NodeMCU 1.0, Wemos D1 etc.
Dan!

Fil
Telling imaginary friend stories
Posts: 5229
Joined: Sun Oct 16, 2011 1:49 pm
Location: Cowley, Oxford

Re: Cheap Internet temperature logger

Post by Fil » Wed Apr 05, 2017 3:47 pm

I have a spare sonoff switch i wouldnt mind loading up with this s/w afaik its a generic 8266-01 with only gpio14 available? but im not 100% on that..
ist update for months n months..
Fermnting: not a lot..
Conditioning: nowt
Maturing: Challenger smash, and a kit lager
Drinking: dry one minikeg left in the store
Coming Soon Lots planned for the near future nowt for the immediate :(

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Cheap Internet temperature logger

Post by Andy » Wed Apr 05, 2017 3:52 pm

Fil wrote:I have a spare sonoff switch i wouldnt mind loading up with this s/w afaik its a generic 8266-01 with only gpio14 available? but im not 100% on that..

Vito has produced .bin files for the Sonoff and they're in his Github repo

https://github.com/vitotai/BrewPiLess/tree/master/bins
Dan!

User avatar
alexlark
Under the Table
Posts: 1387
Joined: Thu May 02, 2013 12:29 pm
Location: Rhondda, South Wales

Re: Cheap Internet temperature logger

Post by alexlark » Wed Apr 05, 2017 9:11 pm

Andy, I've contacted him and he's rolling the update out soon.

I hate the American dates, just spins my head when your doing a fermentation profile! Lol

demig
Hollow Legs
Posts: 347
Joined: Sun Jul 19, 2015 9:04 pm

Re: Cheap Internet temperature logger

Post by demig » Wed Apr 05, 2017 9:47 pm

alexlark wrote:demig, do you know if he's applied the update? I posted over on homebrewtalk but no reply yet.
Sorry was afk drinking beer :) Beaten to it anyway I see. There is some good stuff coming in this project, the gravity based fermentation potentially using the spindel looks great.


Sent from my iPhone using Tapatalk Pro

User avatar
alexlark
Under the Table
Posts: 1387
Joined: Thu May 02, 2013 12:29 pm
Location: Rhondda, South Wales

Re: Cheap Internet temperature logger

Post by alexlark » Thu Apr 06, 2017 8:50 am

Yea so I heard, loving what's possible with these cheap ESP boards. I just know once I sort the ESP BrewPiLess out I'll be wanting to build a gravity sensor! Lol

Out of interest, if you got one set up, do you use the mechanical 2 channel relay boards?

AnthonyUK

Re: Cheap Internet temperature logger

Post by AnthonyUK » Thu Apr 06, 2017 11:13 am

alexlark wrote:Yea so I heard, loving what's possible with these cheap ESP boards. I just know once I sort the ESP BrewPiLess out I'll be wanting to build a gravity sensor! Lol

Out of interest, if you got one set up, do you use the mechanical 2 channel relay boards?
This is what the Sonoff boards use so if your concerns were about reliability specifically the stability of the device when switching mains then it is fine.

User avatar
alexlark
Under the Table
Posts: 1387
Joined: Thu May 02, 2013 12:29 pm
Location: Rhondda, South Wales

Re: Cheap Internet temperature logger

Post by alexlark » Thu Apr 06, 2017 1:06 pm

I've read that the relays may cause interference with the ESP and show as spikes on the BrewPi graph??

AnthonyUK

Re: Cheap Internet temperature logger

Post by AnthonyUK » Thu Apr 06, 2017 3:00 pm

alexlark wrote:I've read that the relays may cause interference with the ESP and show as spikes on the BrewPi graph??
If you use a digital sensor such as the DS18B650 then it would not be possible.

User avatar
themadhippy
Even further under the Table
Posts: 2871
Joined: Tue Dec 08, 2009 12:53 am
Location: playing hooky

Re: Cheap Internet temperature logger

Post by themadhippy » Thu Apr 06, 2017 3:42 pm

If you use a digital sensor such as the DS18B650 then it would not be possible.
why wouldnt it?the spike might not being introduced on the data line,a coil de energising tends to send nasty stuff down its power lines, the arc caused by the contacts making and breaking maybe producing enough rf noise to upset the microprocessor ,loads of ways that a dodgy signal could be getting in
Warning: The Dutch Coffeeshops products may contain drugs. Drinks containing caffeine should be used with care and moderation

JabbA

Re: Cheap Internet temperature logger

Post by JabbA » Thu Apr 06, 2017 4:07 pm

alexlark wrote:I've read that the relays may cause interference with the ESP and show as spikes on the BrewPi graph??
For what it's worth, in my controller I use 4 relays with a NodeMCU board wit no issues. I take a median of 5 readings to make sure there's no spurious readings from the DS18B20s.

Not as cheap as coil relays, but if you are suffering with EMF could give these a try.

Cheers,
Jamie

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Cheap Internet temperature logger

Post by Andy » Thu Apr 06, 2017 4:42 pm

Is anyone running BrewPiLess in Beer Profile mode ? If so any issues with the unit dropping the Wifi connection ? I've got the s/w running on a Wemos D1 and a NodeMCU 1.0 devboard and both of them drop the Wifi after a period of time. The s/w is still running and doing it's controlling work, it's just lost its network connection and won't re-establish without power cycling the board.
Dan!

JabbA

Re: Cheap Internet temperature logger

Post by JabbA » Thu Apr 06, 2017 4:59 pm

I've noticed the same with my setup Andy. The WiFi is right at the limit of the signal to the shed and will drop out regularly. I changed the WiFi connect routine which enabled it to re-connect.

This is in the main loop:

Code: Select all

if (WiFi.status() != WL_CONNECTED) {
    wifidrop++; //increments WiFi drop counter
    setup_wifi();
    return;
  }
  if (!client.connected()) {
    long now = millis();
    if (now - lastReconnectAttempt > 5000) {
      lastReconnectAttempt = now;
      // Attempt to reconnect MQTT
      if (reconnect()) {
        lastReconnectAttempt = 0;
      }
    }
  } else {
    client.loop();
Cheers,
Jamie

Post Reply