ESP8266/ESP Easy - Not all sensors update regularly

Everything about esp8266 and more.
Post Reply
henk99
Posts: 22
Joined: Thursday 02 March 2017 12:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

ESP8266/ESP Easy - Not all sensors update regularly

Post by henk99 » Wednesday 13 December 2017 15:32

I'm using a ESP8266 NodeMCU with ESP Easy firmware with 3 DS18b20 temperature sensors. The sensors are connected in parallel to the GPIO-0 (D3) pin and to Gnd and 3V3 (with 4k7 resistor). In the ESP config tool they are all added as a device with a different port for each of them. When working at my desk, everything was working fine and updating normally. Both in ESP config and domoticz, all three were updating fine.

I then mounted everything at their intended locations (central heating input/output pipes). For the first few hours this was working fine, and updating in domoticz as I wanted. However, a few hours later 2 out of 3 sensors stopped updating at regular intervals. One sensor is still updating nicely, while the other two only update every few hours or so (see images below).

The ESP8266 is located near the central heater, out in the open (no shielding or anything). Someone mentioned potential disturbance from the central heating pump switching on an off as a problem cause. But how would I shield for that? It still needs to receive wifi signal right?

Pink line stops regular updates after 21.30hrs:
Image

Number 3 sensor (used as a room sensor) updates irregular:
Image

User avatar
jvdz
Posts: 1443
Joined: Tuesday 30 December 2014 20:25
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Westland/Netherlands
Contact:

Re: ESP8266/ESP Easy - Not all sensors update regularly

Post by jvdz » Wednesday 13 December 2017 18:59

What does the ESPEasy menu tell you for the WiFi connectivity's signal strength?
Does it show any errors in the ESPEASY LOG option under tools?

Jos

SweetPants
Posts: 2350
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10196
Location: The Netherlands
Contact:

Re: ESP8266/ESP Easy - Not all sensors update regularly

Post by SweetPants » Wednesday 13 December 2017 19:47

I had a similar issue, on my breadboard it was working fine but connecting the (in my case 2) DS18b20 using long (1m) wires between the ESP and the DS18b20 messed things up. I could only solve this by adding an extra DS18b20 in parallel close to the ESP. After that it worked fine.
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest