<?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>Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90399/thingy-52-python-data-extraction</link><description>Hi, I&amp;#39;m using a python script to receive the data from Thingy:52, but it&amp;#39;s showing multiple values at each time. 
 
 May I know how to resolve this issue.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Aug 2022 09:18:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90399/thingy-52-python-data-extraction" /><item><title>RE: Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/thread/379661?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 09:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ec6386f-f4cf-4a1e-87d7-fb1f31ed3092</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello Pradeep,&lt;/p&gt;
&lt;p&gt;I can see that the thingy is working fine from the video. I am sure it&amp;#39;s a problem with python script.&lt;/p&gt;
&lt;p&gt;Really sorry, but we can&amp;#39;t debug your python code. Maybe it&amp;#39;s a buffer value which is coming in (not sure though). As a suggestion, just try enabling a single notification and try reading it (without loop) and see how it&amp;#39;s working.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/thread/379065?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 09:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e2be70-306e-4273-a209-809de6fb3089</guid><dc:creator>Pradeep S</dc:creator><description>&lt;p&gt;Hi Abhijit i understood your poit. But in my case when I try to read back one data in one loop iteration means, it will return multiple data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Simply it return multiple data for one loop iteration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the video you can see the #### lines represent the iteration.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/thread/379049?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 08:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6254ab1-5e3d-4e1b-b7fc-b5806cddf0e3</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for clarifying the issue. I thought you were getting different value for same characteristics.&lt;/p&gt;
[quote user="pradeeplogu0"]But I want to get one data at a time.&amp;nbsp;[/quote]
&lt;p&gt;This is because you are subscribing the data in a infinite loop. If you want to receive a single data you need to write a function which subscribe the data at that particular instant and return those values. Just try changing the value of the variable &lt;span style="color:rgba(0, 0, 255, 1);"&gt;connected&lt;/span&gt; in your code to something like this&amp;nbsp;&lt;em&gt;connected=&lt;span style="color:rgba(51, 153, 102, 1);"&gt;True&lt;/span&gt; (to the end line )&lt;/em&gt;and see the values.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/thread/379045?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 07:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa93cf8-b859-4fdb-9890-9f4d7b0b5f8d</guid><dc:creator>Pradeep S</dc:creator><description>&lt;p&gt;Hi Abhijith,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have attached the video for your reference. In my case when I start to redback the Temp, Hum, Pres, Gas data it will return 5 to 6 data. But I want to get one data at a time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:52 Python Data Extraction</title><link>https://devzone.nordicsemi.com/thread/379039?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 07:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79525505-01f6-46c9-82f0-f8deb7a61bd4</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you share which characteristic is showing multiple values?&lt;br /&gt;If you wish to check the values, there is a dedicated &lt;a href="https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfthingy&amp;amp;hl=en&amp;amp;gl=US"&gt;thingy52 app&lt;/a&gt; where you can see the values directly (just for reference).&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>