<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[different information]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Could you help me, what the problem is ?<br />
The log and detailed data time-stamps are not some.<br />
LOG:<br />
2017-12-09 22:27:01.131 (mysensor_gate) Temp + Humidity (Udvar)<br />
2017-12-09 22:27:01.131 (mysensor_gate) Temp + Humidity (Udvar)<br />
2017-12-09 22:57:03.681 (mysensor_gate) Temp + Humidity (Udvar)<br />
2017-12-09 22:57:03.681 (mysensor_gate) Temp + Humidity (Udvar)</p>
<p dir="auto">DATA:<br />
2017-12-09 22:00:00	63	1<br />
2017-12-09 22:05:00	63	1<br />
2017-12-09 22:10:00	63	1<br />
2017-12-09 22:15:00	63	1<br />
2017-12-09 22:20:00	63	1<br />
2017-12-09 22:25:00	63	1<br />
2017-12-09 22:30:00	59	0.7<br />
2017-12-09 22:35:00	59	0.7<br />
2017-12-09 22:40:00	59	0.7<br />
2017-12-09 22:45:00	59	0.7<br />
2017-12-09 22:50:00	59	0.7<br />
2017-12-09 22:55:00	59	0.7<br />
2017-12-09 23:00:00	56	0.8<br />
2017-12-09 23:05:00	56	0.8<br />
2017-12-09 23:10:00	56	0.8</p>
<p dir="auto">code:<br />
unsigned long SLEEP_TIME = 900000;<br />
send(msgTemp.set(DHT.temperature, 1));<br />
send(msgHum.set(DHT.humidity, 1));<br />
delay(SLEEP_TIME);</p>
<p dir="auto">The node must send data by 15min, Domonicz receives it by 30min, detailed data contains 5min data.<br />
Does the Domonicz feel 30min gap every 5min ?</p>
<p dir="auto">thanks</p>
<p dir="auto">Barna</p>
]]></description><link>https://forum.mysensors.org/topic/8737/different-information</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 23:08:56 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/8737.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Dec 2017 08:15:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to different information on Fri, 15 Dec 2017 05:23:32 GMT]]></title><description><![CDATA[<p dir="auto">Yes, sleep is the equivalent to wait if you want to put the arduino to sleep. If it fixed it, wait should too.</p>
]]></description><link>https://forum.mysensors.org/post/81879</link><guid isPermaLink="true">https://forum.mysensors.org/post/81879</guid><dc:creator><![CDATA[manutremo]]></dc:creator><pubDate>Fri, 15 Dec 2017 05:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Thu, 14 Dec 2017 21:19:01 GMT]]></title><description><![CDATA[<p dir="auto">I have replaced the delay() by sleep() and every problem was resolved :)</p>
]]></description><link>https://forum.mysensors.org/post/81871</link><guid isPermaLink="true">https://forum.mysensors.org/post/81871</guid><dc:creator><![CDATA[Barna]]></dc:creator><pubDate>Thu, 14 Dec 2017 21:19:01 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 17:28:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/barna" aria-label="Profile: barna">@<bdi>barna</bdi></a> I just noticed you are using delay() for the wait. It is recommended to use the mysensors function wait() instead of delay().</p>
<p dir="auto">See <a href="https://www.mysensors.org/download/sensor_api_20#waiting" rel="nofollow ugc">here</a>.</p>
<p dir="auto">If using wait() doesn't fix it, the only option I can think of at this moment is if you were using a 8Mhz board but compiled the program for a 16MHz...</p>
]]></description><link>https://forum.mysensors.org/post/81612</link><guid isPermaLink="true">https://forum.mysensors.org/post/81612</guid><dc:creator><![CDATA[manutremo]]></dc:creator><pubDate>Sun, 10 Dec 2017 17:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 17:25:48 GMT]]></title><description><![CDATA[<p dir="auto">#define MY_DEBUG</p>
<p dir="auto">// Enable and select radio type attached<br />
#define MY_RADIO_NRF24<br />
//#define MY_RADIO_RFM69</p>
<p dir="auto">#include &lt;MySensors.h&gt;<br />
#include &lt;SPI.h&gt;<br />
#include &lt;dht.h&gt;</p>
<p dir="auto">#define CHILD_ID_HUM 14<br />
#define CHILD_ID_TEMP 15<br />
#define HUMIDITY_SENSOR_DIGITAL_PIN 5<br />
unsigned long SLEEP_TIME = 900000; // Sleep time between reads (in milliseconds)<br />
int BATTERY_SENSE_PIN = A0;  // select the input pin for the battery sense point<br />
int oldBatteryPcnt = 0;</p>
<p dir="auto">dht DHT;<br />
float lastTemp;<br />
float lastHum;<br />
boolean metric = true;<br />
MyMessage msgHum(CHILD_ID_HUM, V_HUM);<br />
MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);</p>
<p dir="auto">void presentation()<br />
{<br />
// Send the sketch version information to the gateway<br />
sendSketchInfo("TemperatureAndHumidity DHT21", "1.1");</p>
<p dir="auto">// Register all sensors to gw (they will be created as child devices)<br />
present(CHILD_ID_HUM, S_HUM);<br />
present(CHILD_ID_TEMP, S_TEMP);</p>
<p dir="auto">metric = getControllerConfig().isMetric;<br />
}</p>
<p dir="auto">void setup()<br />
{<br />
Serial.println("DHT TEST PROGRAM ");<br />
Serial.print("LIBRARY VERSION: ");<br />
Serial.println(DHT_LIB_VERSION);</p>
<pre><code>// use the 1.1 V internal reference
</code></pre>
<p dir="auto">#if defined(<strong>AVR_ATmega2560</strong>)<br />
analogReference(INTERNAL1V1);<br />
#else<br />
analogReference(INTERNAL);<br />
#endif</p>
<p dir="auto">}</p>
<p dir="auto">void loop()<br />
{<br />
//-------------------- battery</p>
<pre><code>// get the battery Voltage
int sensorValue = analogRead(BATTERY_SENSE_PIN);
</code></pre>
<p dir="auto">#ifdef MY_DEBUG<br />
Serial.println(sensorValue);<br />
#endif</p>
<p dir="auto">int batteryPcnt = sensorValue / 10;</p>
<p dir="auto">#ifdef MY_DEBUG<br />
float batteryV  = sensorValue * 0.003363075;<br />
Serial.print("Battery Voltage: ");<br />
Serial.print(batteryV);<br />
Serial.println(" V");</p>
<pre><code>Serial.print("Battery percent: ");
Serial.print(batteryPcnt);
Serial.println(" %");
</code></pre>
<p dir="auto">#endif</p>
<pre><code>if (oldBatteryPcnt != batteryPcnt) {
    // Power up radio after sleep
    sendBatteryLevel(batteryPcnt);
    oldBatteryPcnt = batteryPcnt;
}
</code></pre>
<p dir="auto">//-------------------- DHT</p>
<pre><code>// READ DATA
Serial.print("DHT21, \t");
int chk = DHT.read21(HUMIDITY_SENSOR_DIGITAL_PIN);
switch (chk)
{
case DHTLIB_OK:
    Serial.print("OK,\t");
    break;
case DHTLIB_ERROR_CHECKSUM:
    Serial.print("Checksum error,\t");
    break;
case DHTLIB_ERROR_CONNECT:
    Serial.print("Connect error,\t");
    break;
case DHTLIB_ERROR_ACK_L:
    Serial.print("Ack Low error,\t");
    break;
case DHTLIB_ERROR_ACK_H:
    Serial.print("Ack High error,\t");
    break;
default:
    Serial.print("Unknown error,\t");
    break;
}
// DISPLAY DATA
Serial.print(DHT.humidity, 1);
Serial.print(",\t");
Serial.println(DHT.temperature, 1);

send(msgTemp.set(DHT.temperature, 1));
send(msgHum.set(DHT.humidity, 1));
</code></pre>
<p dir="auto">delay(SLEEP_TIME);<br />
}</p>
]]></description><link>https://forum.mysensors.org/post/81611</link><guid isPermaLink="true">https://forum.mysensors.org/post/81611</guid><dc:creator><![CDATA[Barna]]></dc:creator><pubDate>Sun, 10 Dec 2017 17:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 17:23:45 GMT]]></title><description><![CDATA[<p dir="auto">I have checked the node log, the Domonicz is correct, the node sends message every 30min, but why if 900000 = 15min ?</p>
]]></description><link>https://forum.mysensors.org/post/81610</link><guid isPermaLink="true">https://forum.mysensors.org/post/81610</guid><dc:creator><![CDATA[Barna]]></dc:creator><pubDate>Sun, 10 Dec 2017 17:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 08:31:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/barna" aria-label="Profile: barna">@<bdi>barna</bdi></a> In order to do understand that we'd need to see the node and gateway logs, and the full sketch.</p>
]]></description><link>https://forum.mysensors.org/post/81585</link><guid isPermaLink="true">https://forum.mysensors.org/post/81585</guid><dc:creator><![CDATA[manutremo]]></dc:creator><pubDate>Sun, 10 Dec 2017 08:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 08:26:47 GMT]]></title><description><![CDATA[<p dir="auto">The 5min summaries was new for me, thanks the info.<br />
But I do not understand if the node wakes up in every 15min, why the Domonicz receives data only by 30min only.</p>
]]></description><link>https://forum.mysensors.org/post/81584</link><guid isPermaLink="true">https://forum.mysensors.org/post/81584</guid><dc:creator><![CDATA[Barna]]></dc:creator><pubDate>Sun, 10 Dec 2017 08:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to different information on Sun, 10 Dec 2017 08:18:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/barna" aria-label="Profile: barna">@<bdi>barna</bdi></a> Domoticz always saves the data in 5 minutes summaries, regardless of at which frequency it is actually received.</p>
<p dir="auto">I'm not sure I understand the part "Domonicz receives it by 30min". Regardless of what is finally stored, you should still see the values in the devices displayed correctly when a new data point arrives.</p>
]]></description><link>https://forum.mysensors.org/post/81582</link><guid isPermaLink="true">https://forum.mysensors.org/post/81582</guid><dc:creator><![CDATA[manutremo]]></dc:creator><pubDate>Sun, 10 Dec 2017 08:18:15 GMT</pubDate></item></channel></rss>