7 years ago
#113 Quote
The short answer is "You need to wait longer to allow the sensor to finish transferring data to the gateway."

The long answer is:
If you are using a S-2, S-16, S-18, S-160  sensor in datalogging mode it will store up to 64K readings in FLASH memory.  If it has stored readings, when it first talks to a gateway it will FIRST send THE MOST CURRENT DATA READING and will then send the stored data starting with the OLDEST reading first.  If, for example, you are refreshing a graph of the "Last Day" of data for that sensor you might be fooled into thinking you only got one data reading from that sensor and wonder what happened to the rest of your data.  The reason you do not see more data YET is that its uploading older data which is outside the date range of the "Last Day" graph.  The sensor can transmit about 240 readings per minute to the gateway.  So if your sensor is set to log once every 5 minutes, and you have left it to log for 1 month, it will have stored 12 * 24 * 30 = 8640 readings which will take about 36 minutes to transmit to a gateway.  A gateway can only communicate with ONE sensor at a time so if you have more than one sensor trying to talk to the same gateway the transmit times will of course increase.  Note that by design sensors can’t “monopolize” the connection to a gateway meaning that if multiple sensors are present the sensor may lose its connection to the gateway and the sequence of events described above will repeat.  What that means is that if you are refreshing your sensors page you will observe the sensors “last activity date” bounce around between a date/time in the past and the current date/time.