<?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>Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118812/weird-log-value-format-regarding-temperature-in-zigbee-weather-station-application---bug</link><description>Hello, 
 I&amp;#39;ve recently was checking out the Zigbee Weather Station application running on the Thingy53 and have spotted a weirdly formatted log message regarding temperature measurement. Looks like the value was logged before it was converted to float</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2025 16:07:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118812/weird-log-value-format-regarding-temperature-in-zigbee-weather-station-application---bug" /><item><title>RE: Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/thread/525336?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 16:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207b2f21-31aa-4dd4-be9a-f5c94fc14588</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;Thanks Marte, glad to hear that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/thread/524091?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 13:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccdad33f-6632-4139-9fe0-b377a7f78487</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Sebastian,&lt;/p&gt;
&lt;p&gt;The developers confirmed that this was a bug. This will be fixed in the next release of the Zigbee add-on. In the meantime, here is the sensor.c file with the fix.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2500.sensor.c"&gt;devzone.nordicsemi.com/.../2500.sensor.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/thread/523818?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6ff1c49-cfc8-4dde-9c3e-047e43e313fb</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Sebastian,&lt;/p&gt;
&lt;p&gt;Good catch. I have reported it internally and will get back to you when I have an update.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/thread/523120?ContentTypeID=1</link><pubDate>Sat, 15 Feb 2025 08:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0fd5f7c-31d6-4c98-9905-3eb04e2fa86d</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;Sensor is working fine, only when temperature measured is below 0*C, log format has this issue.This is because how a sensor stores the value:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739607832548v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And in the log the measurement is printed as two values (integer and fractional) - when temperature is below 0*C, fractional part can be negative and will be printed with minus character. &lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739608105457v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So the temperature can be displayed as: [0.-980000] or [-1.-210000] but should be [-0.980000] or [-1.210000]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird log value format regarding temperature in Zigbee Weather Station application - bug?</title><link>https://devzone.nordicsemi.com/thread/522454?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 14:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be3604c-5432-4ec5-a1c6-00a75d9b0574</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Sebastian,&lt;/p&gt;
&lt;p&gt;The application shows the correct format on my side.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" title="" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739282613111v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It could be that your sensor is defective, or there is an issue with the communication between the sensor and the nRF5340. Can you try the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/samples/sensor/bme68x_iaq/README.html"&gt;BME68X: Gas Sensor&lt;/a&gt; sample and see if you get strange measurements with that as well?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>