JohanLeirnes / WH5300-weatherstation-ESP8266-MQTT-json

A ESP8266 based sniffer for the WH5300 weather station
3 stars 2 forks source link

To much data, restarting loop #1

Open SGiovannis opened 7 years ago

SGiovannis commented 7 years ago

Hello, i connected esp8266 (12E) D5 port to WH5300 receiver DOUT. In debug mode on serial line about every 10 seconds "To much data, restarting loop". Can you help me? What maybe do wrong...

JohanLeirnes commented 7 years ago

Yes, sorry this is a but that I have fixed. I will be uploading a fix soon :)

SGiovannis commented 7 years ago

Thanks, I can't wait when you fixed and uploading. Please can you send some photos your connection. Are you connecting to dc power or battery?

JohanLeirnes commented 7 years ago

Have you also connected the GND to GND? because i just realized that the code that is here is the one im running fine atm. (must have forgotten that i uploaded the newer code with the fixes)

JohanLeirnes commented 7 years ago

if you do not have GND to GND the dout is left floating and will send very irregular data.

SGiovannis commented 7 years ago

I connected dc power and from this plug wired GND and power to esp. From reciver only wired data pin to esp.

02.06.2017 15:13 "Johan Lindström" notifications@github.com napisał(a):

if you do not have GND to GND the dout is left floating and will send very irregular data.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bhaap/WH5300-weatherstation-ESP8266-MQTT-json/issues/1#issuecomment-305783495, or mute the thread https://github.com/notifications/unsubscribe-auth/AbLrqFXvWc_uTa_RRiVF12GXT-fq6jSzks5sAAqBgaJpZM4NTFeG .

JohanLeirnes commented 7 years ago

Can you test and connect the GND from the reciever to GND on the esp8266 aswell.

JohanLeirnes commented 7 years ago

Hello, did you get it to work? wondering so i can close this issue or not.

JensBovbjergdk commented 11 months ago

I am also getting "To much data, restarting loop", Did you fix the bug?

JohanLeirnes commented 11 months ago

I have not tried this code in years but I remember that not having a common ground with both circuits caused me to get this issue.

So make sure that the ground of the weather station and the esp8266 is connected.

I still have my weather station but it's not in use currently. I can maby find some time this winter to have a look at this code and update it some.

JensBovbjergdk commented 11 months ago

Hi Johan Thank you for your quick answer. I do have a common ground with both circuits. But after using a PSU instead of my PC, and commenting out //#define SERIALDEBUG all works fine😀😀 Might be something about the serial USB connection interfering. Kind regards Jens.

Den tirs. 26. sep. 2023 kl. 02.09 skrev Johan Leirnes < @.***>:

I have not tried this code in years but I remember that not having a common ground with both circuits caused med to get this issue.

So make sure that the ground of the weather station and the esp8266 is connected.

I still have my weather station but it's not in use currently. I can maby find some time this winter to have a look at this code and update it some.

— Reply to this email directly, view it on GitHub https://github.com/JohanLeirnes/WH5300-weatherstation-ESP8266-MQTT-json/issues/1#issuecomment-1734632007, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2G3VVQMG6FCC5WBOQVYI4DX4IMNBANCNFSM4DKMK6DA . You are receiving this because you commented.Message ID: <JohanLeirnes/WH5300-weatherstation-ESP8266-MQTT-json/issues/1/1734632007@ github.com>