• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP8266 stp send mqtt data to pi after few hours?

Q&A Forum › ESP8266 stp send mqtt data to pi after few hours?
0 Vote Up Vote Down
YAQOUB HARBI asked 9 years ago

Hi there
I gave an esp8266 with MQTT that send  the humidity and temperature sensor and LDR sensor data to a PI  withmosquitoes serve installed in it. I have noticed that after few hours there is no more data shown in the chart of the  node-red ui. What can be the reason? Is there any limitations of the data that mqtt/node-red can handle? Or it is an issue with esp8266?
 

5 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 9 years ago

Hi,
That’s a configuration that you have to set in the Node-RED Chart node.
Do you see the “Old after” field? you simply have to set for how many day you want to keep the data in the chart

0 Vote Up Vote Down
YAQOUB HARBI answered 9 years ago

Thanks Rui;
the “Old after” setting was set 1 days but it stops before a completing a day only few hours later. is there anything else can be?
 
best regards
Yaqoub

0 Vote Up Vote Down
Rui Santos Staff answered 9 years ago

Hi Yaqoub,
Does it delete all the data? How frequently are you publishing new values to the chart with your ESP? 
thanks,
Rui

0 Vote Up Vote Down
YAQOUB HARBI answered 9 years ago

Hi Rui;
It was set every 30 seconds then I changed it to 4 minutes. with 4 minutes it too slightly longer time as oppose to 30 seconds?

0 Vote Up Vote Down
Rui Santos Staff answered 9 years ago

Hi Yaqoub,
I’m sorry for taking so long to answer, but I was testing the Node-RED UI charts with various times and more sensor readings to see if I could replicate that error. But it works fine on my end…

  1. Which Raspberry Pi are you using?
  2. Which microSD card size do you have?
  3. Did you follow this Unit to expand the microSD card size? https://rntlab.com/changing-the-raspberry-pi-settings/
  4. Can you tell me the configuration that you have on your chart node? How many charts do you have?

Thanks for your patience

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.