<?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[Request data from another sensor?]]></title><description><![CDATA[<p dir="auto">Hi all, first post from me.</p>
<p dir="auto">As I have understood, it is possible for sensor A to fetch values from sensor B. Can someone provide an example of how that is done?<br />
My goal is to create a sensor that has an LCD connected that will display the temperature from other sensors (preferably both MySensor and z-wave).</p>
]]></description><link>https://forum.mysensors.org/topic/1639/request-data-from-another-sensor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 09:57:48 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/1639.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Jul 2015 16:23:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Request data from another sensor? on Wed, 15 Jul 2015 12:29:54 GMT]]></title><description><![CDATA[<p dir="auto">That totally makes sense.<br />
I have come to the conclusion that I will probably let my Vera push the info to the LCD node.</p>
]]></description><link>https://forum.mysensors.org/post/17072</link><guid isPermaLink="true">https://forum.mysensors.org/post/17072</guid><dc:creator><![CDATA[DaLi]]></dc:creator><pubDate>Wed, 15 Jul 2015 12:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Wed, 15 Jul 2015 12:27:59 GMT]]></title><description><![CDATA[<p dir="auto">This came up before.<br />
<a href="http://forum.mysensors.org/topic/1085/node-to-node-communication" rel="nofollow ugc">http://forum.mysensors.org/topic/1085/node-to-node-communication</a></p>
<p dir="auto">Basically when the sensor sends the data to the controller you can have it send the same data to the LCD.  That would most likely provide a longer battery life than requesting the data from the sensors.  Doing it this way only the LCD (and the controller) have to be on all the time.</p>
]]></description><link>https://forum.mysensors.org/post/17071</link><guid isPermaLink="true">https://forum.mysensors.org/post/17071</guid><dc:creator><![CDATA[Chaotic]]></dc:creator><pubDate>Wed, 15 Jul 2015 12:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Wed, 15 Jul 2015 11:42:07 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for this very useful answer ! This is exactly what I was looking for but did not find.<br />
I will try it in my system.<br />
Thanks a lot again.<br />
Cheers, Josh</p>
]]></description><link>https://forum.mysensors.org/post/17070</link><guid isPermaLink="true">https://forum.mysensors.org/post/17070</guid><dc:creator><![CDATA[joshmosh]]></dc:creator><pubDate>Wed, 15 Jul 2015 11:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Tue, 14 Jul 2015 06:39:42 GMT]]></title><description><![CDATA[<p dir="auto">You can check the message content for any attribute like:</p>
<pre><code>void incomingMessage(const MyMessage &amp;message) {
  // We only expect one type of message from controller. But we better check anyway.
  if (message.type==V_LIGHT) {} 
}
</code></pre>
<p dir="auto">The attributes are defined in MyMessage.h, "sender" would be the node requesting.</p>
<pre><code>uint8_t last;            	 // 8 bit - Id of last node this message passed
uint8_t sender;          	 // 8 bit - Id of sender node (origin)
uint8_t destination;     	 // 8 bit - Id of destination node
uint8_t version_length;      // 3 bit - Protocol version
			                     // 5 bit - Length of payload
uint8_t command_ack_payload; // 3 bit - Command type
	                             // 1 bit - Request an ack - Indicator that receiver should send an ack back.
								 // 1 bit - Is ack messsage - Indicator that this is the actual ack message.
	                             // 3 bit - Payload data type
uint8_t type;            	 // 8 bit - Type varies depending on command
uint8_t sensor;          	 // 8 bit - Id of sensor that this message concerns.
</code></pre>
]]></description><link>https://forum.mysensors.org/post/17014</link><guid isPermaLink="true">https://forum.mysensors.org/post/17014</guid><dc:creator><![CDATA[AWI]]></dc:creator><pubDate>Tue, 14 Jul 2015 06:39:42 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Mon, 13 Jul 2015 12:31:51 GMT]]></title><description><![CDATA[<p dir="auto">Since my nodes are all mains powered, they are not sleeping. My question in particular is how a request from node A would show up in node B. Obviously as an incoming message, but in which way would it be coded ? I haven't seen any examples or a description here.<br />
Any hints would be highly appreciated.<br />
Thanks a lot in advance<br />
Josh</p>
]]></description><link>https://forum.mysensors.org/post/16951</link><guid isPermaLink="true">https://forum.mysensors.org/post/16951</guid><dc:creator><![CDATA[joshmosh]]></dc:creator><pubDate>Mon, 13 Jul 2015 12:31:51 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Tue, 07 Jul 2015 17:36:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robosensor" aria-label="Profile: robosensor">@<bdi>robosensor</bdi></a> said:</p>
<blockquote>
<p dir="auto">You can request values directly from another sensors for your LCD sensor node, but it's better to send LCD text data directly from controller to LCD node. Requesting data directly from another nodes is not very good choice, because of this nodes must not use deep sleep (so must not be battery powered).</p>
</blockquote>
<p dir="auto">If you wake-up and push the data from the sensor to the LCD node, it would be no more power-consuming than transmitting to gateway, all messages go through the gateway anyway.</p>
]]></description><link>https://forum.mysensors.org/post/16702</link><guid isPermaLink="true">https://forum.mysensors.org/post/16702</guid><dc:creator><![CDATA[BulldogLowell]]></dc:creator><pubDate>Tue, 07 Jul 2015 17:36:02 GMT</pubDate></item><item><title><![CDATA[Reply to Request data from another sensor? on Tue, 07 Jul 2015 16:37:46 GMT]]></title><description><![CDATA[<p dir="auto">You can request values directly from another sensors for your LCD sensor node, but it's better to send LCD text data directly from controller to LCD node. Requesting data directly from another nodes is not very good choice, because of this nodes must not use deep sleep (so must not be battery powered).</p>
<p dir="auto">My LCD node contains two 2004 LCD displays and receives text data for every display line from controller. But I'm using my own perl script as controller.</p>
]]></description><link>https://forum.mysensors.org/post/16697</link><guid isPermaLink="true">https://forum.mysensors.org/post/16697</guid><dc:creator><![CDATA[robosensor]]></dc:creator><pubDate>Tue, 07 Jul 2015 16:37:46 GMT</pubDate></item></channel></rss>