ESP Easy - LmacRxBlk:1

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cyberdrive
New user
Posts: 3
Joined: 29 Jan 2018, 16:53

ESP Easy - LmacRxBlk:1

#1 Post by cyberdrive » 29 Jan 2018, 17:42

Hiya community,

i am close to giving it up :shock: i tested already different hardware (1x wemos d1, 3x esp8266 dev boards) and different sensors on different inputs - every attempt failed. I am using atm:
  • Wemos D1 & ESP Easy v2.0-20180124
  • DHT22
  • PIR Module
  • Reed-Switch module
What i figured out so far is that every esp i tried loses the connection every few seconds and connects again later. I don´t know why :| WIFI RSSI is -40dB and about 2m away from the router.

The PIR module is this one: https://www.alibaba.com/product-detail/ ... 75678.html
The reed module: https://de.aliexpress.com/item/Reed-sen ... 44249.html

On the reed module i configured a generic pulse counter. This one doesn´t lose the sum of the counts so my conclusion is, that the esp doesn´t reboot. MQTT and Web Interface is not reachable:

1727713 : SYS : -42.00
1742737 : MQTT : Connected to broker
1742737 : Subscribed to: /SmartHome/04_Werkstatt/ESP-Werkstatt/#
1749141 : HTTP : connection failed
1749144 : WD : Uptime 15 ConnectFailures 17 FreeMem 21928
1749144 : MQTT : Connection lost
1750220 : MQTT : Connected to broker
1750229 : Subscribed to: /SmartHome/04_Werkstatt/ESP-Werkstatt/#
1750278 : DHT : Temperature: 22.00
1750278 : DHT : Humidity: 43.60

Other Sonoff switches with Tasmota are working as they are expected to.

Any idea?

Thx in advance for your help
Cy

Edit: with log level 4
...
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
MQTT : /SmartHome/04_Werkstatt/ESP-Werkstatt/RSSI/RSSI -63
LmacRxBlk:1
HTTP : connecting to 184.106.153.149:80
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
MQTT : /SmartHome/04_Werkstatt/ESP-Werkstatt/RSSI/RSSI -63
LmacRxBlk:1
HTTP : connecting to 184.106.153.149:80
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
...
MQTT : publish failed
LmacRxBlk:1
MQTT : Connected to broker
LmacRxBlk:1
...
MQTT : /SmartHome/04_Werkstatt/ESP-Werkstatt/RSSI/RSSI -64
HTTP : connecting to 184.106.153.149:80
HTTP : closing connection
MQTT : Topic: /SmartHome/04_Werkstatt/ESP-Werkstatt/DHT/Temperatur
MQTT : Payload: 24.10
WD : Uptime 43 ConnectFailures 32 FreeMem 20208
...
then it´s working fine again for some secs/mins

edit: i saw it´s in the wrong topic now. Would an admin be so kind and move it to ESP Easy Software? Thanx!!!

cyberdrive
New user
Posts: 3
Joined: 29 Jan 2018, 16:53

Re: ESP Easy - LmacRxBlk:1

#2 Post by cyberdrive » 29 Jan 2018, 20:34

i might got the problem in my config: the debounce time of 1000ms on the reed switch was too high. I reduced it to 10ms and now it seems to work

edit: nope - it´s not only the debounce... still having the errors after a reboot :cry:

TD-er
Core team member
Posts: 9895
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP Easy - LmacRxBlk:1

#3 Post by TD-er » 30 Jan 2018, 01:56

How are the PIR and the reed switch connected to the ESP?
So what pins, what signals, how long are the cables, sufficient power?
Perhaps also a small drawing of the schematics used.

And if it keep failing, start smaller until it doesn't fail and then continue to increase complexity.

cyberdrive
New user
Posts: 3
Joined: 29 Jan 2018, 16:53

Re: ESP Easy - LmacRxBlk:1

#4 Post by cyberdrive » 11 Feb 2018, 20:48

I think i got the problem tracked down. In case anyone gets the same error: try changing the delay values for sending the values to different points of time :)

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests