<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Location requests maxed out with 3 hrs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118187/location-requests-maxed-out-with-3-hrs</link><description>Hi, 
 I just got my Thingy91x up and running, and it’s been on for a few hours now, but it has already used 460/500 location requests. How often does the unit send location data? And is that what I’m running out of? Seems strange that a developer plan</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Feb 2025 00:53:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118187/location-requests-maxed-out-with-3-hrs" /><item><title>RE: Location requests maxed out with 3 hrs</title><link>https://devzone.nordicsemi.com/thread/521643?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 00:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845f8c35-fc57-484d-b71a-8ab00578bcf5</guid><dc:creator>Pete Skeggs</dc:creator><description>&lt;p&gt;OK. The default location services sampling interval is quite rapid -- once per minute. The sample uses the location library, which can initiate a switch to the next location services type and perhaps request a location update again before that 1 minute has expired, which may explain the numbers you are seeing.&lt;/p&gt;
&lt;p&gt;Furthermore, with the Thingy91X, Wi-Fi location services will be used in addition to GNSS and cellular, which may increase the location services usage count compared to running it on devices without Wi-Fi hardware.&lt;br /&gt;&lt;br /&gt;The documentation for the sample here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/nrf_cloud_multi_service/README.html#configuration_options"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/nrf_cloud_multi_service/README.html#configuration_options&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;has a note specifically about the high cellular data use; the comment applies to the location sampling rate in addition to the sensor sampling rate:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Note

Decreasing the sensor sampling interval too much leads to more frequent use of the LTE connection,
which can prevent GNSS from obtaining a fix. This is because GNSS can operate only when the LTE 
connection is not active. Every time a sensor sample is sent, it interrupts any attempted GNSS fix. 
The exact time required to obtain a GNSS fix will vary depending on satellite visibility, time since 
last fix, the type of antenna used, and other environmental factors. In good conditions, and with 
A-GNSS data, one minute is a reasonable interval for reliably getting a location estimate. 
This allows using long enough value for CONFIG_GNSS_FIX_TIMEOUT_SECONDS, while still leaving 
enough time for falling back to cellular positioning if needed.

The default sensor sampling interval, 60 seconds, will quickly consume cellular data, and should not 
be used in a production environment. Instead, consider using a less frequent interval, and if 
necessary, combining multiple sensor samples into a single device message , or combining 
multiple device messages using the d2c/bulk device message topic.

If you significantly increase the sampling interval, you must keep the CONFIG_MQTT_KEEPALIVE 
short to avoid the carrier silently closing the MQTT connection due to inactivity, which 
could result in dropped device messages. The exact maximum value depends on your carrier. 
In general, a few minutes or less should work well.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suggest you change the sampling interval to a larger value, like 15 minutes:&lt;/p&gt;
&lt;p&gt;CONFIG_LOCATION_TRACKING_SAMPLE_INTERVAL_SECONDS=900&lt;br /&gt;&lt;br /&gt;Or, use the Asset Tracker v2 application, which is more optimized in both power and cellular data use than the multi service sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location requests maxed out with 3 hrs</title><link>https://devzone.nordicsemi.com/thread/519449?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 07:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70ea201f-1c12-4310-ad16-88bcc4c14e3c</guid><dc:creator>perage</dc:creator><description>&lt;p&gt;Hi! Running the multiCloud application - device id&amp;nbsp;50344654-3037-408d-805e-1f0a344c9299&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location requests maxed out with 3 hrs</title><link>https://devzone.nordicsemi.com/thread/519423?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 21:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e80980f4-fe0b-4dc4-85c7-f14f45e09399</guid><dc:creator>Pete Skeggs</dc:creator><description>&lt;p&gt;Hello. Please share the name of the sample or application you are running on your Thingy:91X, as well as the device ID, so we can investigate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>