HDC1080 in dev - not logging data to controller

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
chrisjc
New user
Posts: 4
Joined: 19 Mar 2018, 01:47

HDC1080 in dev - not logging data to controller

#1 Post by chrisjc » 19 Mar 2018, 01:57

Hey all! Loving ESPeasy, its one of the best and most useful things I've come across in a while, and the ESP8266 has given me an obsession with IoT :D

I'm currently trying out the plugin in the dev tree of espeasy mega and it seems to read everything fine, in that it gets all the values and I can see what they are in the 'devices' tab.

I have it logging to thingspeak and have set the relevent IDX etc but nothing ever seems to get there, I know it isn't a problem with the API etc because other data is getting logged.

When I look in the logs I find this:
31781893 : WD : Uptime 527 ConnectFailures 0 FreeMem 16536
31786238 : HDC1080: Temperature: 18.60
31786238 : HDC1080: Humidity: 58.74
31798884 : ADC : Analog value: 868.250
31800343 : Timeout while reading input data!
31807408 : HDC1080: Temperature: 18.59
31807408 : HDC1080: Humidity: 58.74
31808769 : Timeout while reading input data!
31811892 : WD : Uptime 528 ConnectFailures 0 FreeMem 16560
31820256 : ADC : Analog value: 868.280
31821635 : Timeout while reading input data!

It seems like its somehow getting the data but then something is timing out before it actually gets to send it. I've tried looking at the plugin source compared to another working plugin, alas I'm no programmer tho and not entirely sure if there is anything that is missing that needs to be there.

Any assistance would be great :)

Keep up the good work!

Thanks.

chrisjc
New user
Posts: 4
Joined: 19 Mar 2018, 01:47

Re: HDC1080 in dev - not logging data to controller

#2 Post by chrisjc » 20 Mar 2018, 01:22

Ok as an update, it seems the data has been logging - sporadically, maybe giving a delay of a couple of hours, or not at all. Nothing has changed in that time. Not sure whats going on! Saw the latest patch on github around 17 days ago (ish) that means that it should be working, but its intermittant. Can anyone put some light on this issue? Would be happy to order a chinese special sensor to a senior dev to fix this issue :D

Thanks guys :)

chrisjc
New user
Posts: 4
Joined: 19 Mar 2018, 01:47

Re: HDC1080 in dev - not logging data to controller

#3 Post by chrisjc » 20 Mar 2018, 01:34

If you wish to keep track of the logging, here it is. Has a BME280 and the HDC1080 connected. This is connected via a wall wart, and a regulator to 3.3 so should be consistant.

No messing around has happened to this since I installed v2.0-20180309. I have a newer version on my ESP-12E that is exhibiting the same behaviour.

https://thingspeak.com/channels/445018

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

Re: HDC1080 in dev - not logging data to controller

#4 Post by TD-er » 20 Mar 2018, 19:20

Did you also try to add some pull-up resistors on the SDA and SCL line of the I2C?
Something about 10k and connected to the 3V3 line and on the other side of the resistors the SDA and SCL line.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 16 guests