<?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[2.0 Discussion: Units, sensor types and protocol]]></title><description><![CDATA[<p dir="auto">To simplify sketches even further we've <a href="http://forum.mysensors.org/topic/248/generalizing-mysensors" rel="nofollow ugc">discussed and decided</a> to let sensors send in standard SI units and let controller convert them to the appropriate format.</p>
<p dir="auto">This will also remove the need for a unit-config exchange with controller at sensor startup.</p>
<p dir="auto">The new over-the-air messages has changed quite much with a more logical structure that can handle extension and even a completely different network layer if needed.</p>
<p dir="auto">The ongoing work can be found here:<br />
<a href="https://github.com/henrikekblad/Arduino/blob/development/libraries/MySensors/MyMessage.h" rel="nofollow ugc">https://github.com/henrikekblad/Arduino/blob/development/libraries/MySensors/MyMessage.h</a></p>
<p dir="auto">Will not bring this into development until it actually compiles.</p>
<p dir="auto">Feel free to give feedback and report any missed sensor-types.</p>
<p dir="auto">In parallell we should probably discuss the serial-protocol for 2.0. Is it time for json perhaps?</p>
]]></description><link>https://forum.mysensors.org/topic/304/2-0-discussion-units-sensor-types-and-protocol</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 17:08:52 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/304.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Aug 2014 21:08:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Wed, 18 Feb 2015 14:55:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/axillent" aria-label="Profile: axillent">@<bdi>axillent</bdi></a> said:</p>
<blockquote>
<p dir="auto">@celonunes it is not my solution) it is a way of using 1.4.1 with multiple gateways</p>
</blockquote>
<p dir="auto">I'm aware of this.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lunarok" aria-label="Profile: lunarok">@<bdi>lunarok</bdi></a> your wish may become possible in future developments using MQTT</p>
]]></description><link>https://forum.mysensors.org/post/10332</link><guid isPermaLink="true">https://forum.mysensors.org/post/10332</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Wed, 18 Feb 2015 14:55:01 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sat, 14 Feb 2015 18:03:08 GMT]]></title><description><![CDATA[<p dir="auto">@celonunes it is not my solution) it is a way of using 1.4.1 with multiple gateways</p>
]]></description><link>https://forum.mysensors.org/post/10200</link><guid isPermaLink="true">https://forum.mysensors.org/post/10200</guid><dc:creator><![CDATA[axillent]]></dc:creator><pubDate>Sat, 14 Feb 2015 18:03:08 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sat, 14 Feb 2015 12:40:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/axillent" aria-label="Profile: axillent">@<bdi>axillent</bdi></a> said:</p>
<blockquote>
<p dir="auto">@celonunes will you keep a limit 8 bit for ID?</p>
<p dir="auto">currently with multi-gateway setup I have N * 255 address space, where N is a number of gateways</p>
</blockquote>
<p dir="auto">Yes.<br />
Your solution seems interesting, do you have some published code of it?</p>
]]></description><link>https://forum.mysensors.org/post/10194</link><guid isPermaLink="true">https://forum.mysensors.org/post/10194</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Sat, 14 Feb 2015 12:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sat, 14 Feb 2015 05:57:29 GMT]]></title><description><![CDATA[<p dir="auto">@celonunes will you keep a limit 8 bit for ID?</p>
<p dir="auto">currently with multi-gateway setup I have N * 255 address space, where N is a number of gateways</p>
]]></description><link>https://forum.mysensors.org/post/10181</link><guid isPermaLink="true">https://forum.mysensors.org/post/10181</guid><dc:creator><![CDATA[axillent]]></dc:creator><pubDate>Sat, 14 Feb 2015 05:57:29 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 22:33:46 GMT]]></title><description><![CDATA[<p dir="auto">Each node will continue to have a unique id in the network.<br />
The controller would have additional work to map nodes to their proper gateway, and this could make the whole idea into something impracticable depending on the controller software.</p>
]]></description><link>https://forum.mysensors.org/post/10177</link><guid isPermaLink="true">https://forum.mysensors.org/post/10177</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Fri, 13 Feb 2015 22:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 21:31:24 GMT]]></title><description><![CDATA[<p dir="auto">@celonunes said:</p>
<blockquote>
<p dir="auto">Gateway become normal node, with an id(1-254), like a repeater. Address 0 become like a virtual address which is used when a node wants to send a message to the controller.<br />
This solution will give more redundancy to the network but the same limitations apply, like the max of 254 per network.</p>
</blockquote>
<p dir="auto">OK. But how this will prevent conflicts on the air between nodes connected to different gateways and having same radio channel and BASE_ADDRESS?</p>
]]></description><link>https://forum.mysensors.org/post/10175</link><guid isPermaLink="true">https://forum.mysensors.org/post/10175</guid><dc:creator><![CDATA[axillent]]></dc:creator><pubDate>Fri, 13 Feb 2015 21:31:24 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 17:58:04 GMT]]></title><description><![CDATA[<p dir="auto">In the case raised by <a class="plugin-mentions-user plugin-mentions-a" href="/user/lunarok" aria-label="Profile: lunarok">@<bdi>lunarok</bdi></a>, I'm not sure it will fit.</p>
]]></description><link>https://forum.mysensors.org/post/10173</link><guid isPermaLink="true">https://forum.mysensors.org/post/10173</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Fri, 13 Feb 2015 17:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 17:30:13 GMT]]></title><description><![CDATA[<p dir="auto">Gateway become normal node, with an id(1-254), like a repeater. Address 0 become like a virtual address which is used when a node wants to send a message to the controller.<br />
This solution will give more redundancy to the network but the same limitations apply, like the max of 254 per network.</p>
]]></description><link>https://forum.mysensors.org/post/10172</link><guid isPermaLink="true">https://forum.mysensors.org/post/10172</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Fri, 13 Feb 2015 17:30:13 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 16:55:47 GMT]]></title><description><![CDATA[<p dir="auto">@celonunes what kind of a solution it will be?<br />
will it be possible to route messages between nodes managed by different gateways?</p>
]]></description><link>https://forum.mysensors.org/post/10171</link><guid isPermaLink="true">https://forum.mysensors.org/post/10171</guid><dc:creator><![CDATA[axillent]]></dc:creator><pubDate>Fri, 13 Feb 2015 16:55:47 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 16:47:27 GMT]]></title><description><![CDATA[<p dir="auto">There is a solution for multi-gateway that I'm working to port it to the development branch which could use the same radio channel and also to have sensors at gateway node.</p>
]]></description><link>https://forum.mysensors.org/post/10170</link><guid isPermaLink="true">https://forum.mysensors.org/post/10170</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Fri, 13 Feb 2015 16:47:27 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 13:16:35 GMT]]></title><description><![CDATA[<p dir="auto">A support for multi-gateway setup is needed. Currently it is required to hardcode radio-channel or base-address for different segments-different gateways</p>
]]></description><link>https://forum.mysensors.org/post/10166</link><guid isPermaLink="true">https://forum.mysensors.org/post/10166</guid><dc:creator><![CDATA[axillent]]></dc:creator><pubDate>Fri, 13 Feb 2015 13:16:35 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Fri, 13 Feb 2015 13:00:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">A new wish. Possible to have the network gateway listening for nodes also on the ethernet network. Looking for ethernet nodes inside the electric panel. No RF, no security break :)</p>
]]></description><link>https://forum.mysensors.org/post/10164</link><guid isPermaLink="true">https://forum.mysensors.org/post/10164</guid><dc:creator><![CDATA[lunarok]]></dc:creator><pubDate>Fri, 13 Feb 2015 13:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 13:01:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> Please see the discussion on <a href="http://forum.mysensors.org/topic/9/security" rel="nofollow ugc">security</a>.</p>
]]></description><link>https://forum.mysensors.org/post/9231</link><guid isPermaLink="true">https://forum.mysensors.org/post/9231</guid><dc:creator><![CDATA[Anticimex]]></dc:creator><pubDate>Sun, 25 Jan 2015 13:01:51 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 12:59:24 GMT]]></title><description><![CDATA[<p dir="auto">I'm afraid I can only fork a topic int two threads. Haven't found a way to move posts to another thread/topic.</p>
]]></description><link>https://forum.mysensors.org/post/9229</link><guid isPermaLink="true">https://forum.mysensors.org/post/9229</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Sun, 25 Jan 2015 12:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 12:35:56 GMT]]></title><description><![CDATA[<p dir="auto">Would be good to move the last five message into a separate thread...</p>
]]></description><link>https://forum.mysensors.org/post/9226</link><guid isPermaLink="true">https://forum.mysensors.org/post/9226</guid><dc:creator><![CDATA[daulagari]]></dc:creator><pubDate>Sun, 25 Jan 2015 12:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 12:34:39 GMT]]></title><description><![CDATA[<p dir="auto">Yes, signing, when properly done, is for sure a good begin.</p>
<p dir="auto">How many bytes are you using for the truncated MAC and nonce?</p>
<p dir="auto">The AES block size is 128 bytes, so 16 bytes so I do not see why that would not fit.</p>
<p dir="auto">Encryption is already some kind of authentication is a sense that if you can successfully decode the message you can be sure that the other side knows the shared secret, just like in the cause of your SHA25-HMAC.</p>
]]></description><link>https://forum.mysensors.org/post/9225</link><guid isPermaLink="true">https://forum.mysensors.org/post/9225</guid><dc:creator><![CDATA[daulagari]]></dc:creator><pubDate>Sun, 25 Jan 2015 12:34:39 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 12:16:59 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">what benefit is there from encryption vs signing in the MySensors case?</p>
</blockquote>
<p dir="auto">If you have a lock or door sensor do you want others to know when it is opened or closed?</p>
<p dir="auto">Signing is quite expensive if you look at additional payload size, you need a big counter to prevent replay and a big MAC to prevent attacks. I think that when encrypting things you can do it with the same additional payload and maybe even a less.</p>
]]></description><link>https://forum.mysensors.org/post/9223</link><guid isPermaLink="true">https://forum.mysensors.org/post/9223</guid><dc:creator><![CDATA[daulagari]]></dc:creator><pubDate>Sun, 25 Jan 2015 12:16:59 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Sun, 25 Jan 2015 11:34:48 GMT]]></title><description><![CDATA[<p dir="auto">Any plans for encryption?</p>
]]></description><link>https://forum.mysensors.org/post/9217</link><guid isPermaLink="true">https://forum.mysensors.org/post/9217</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Sun, 25 Jan 2015 11:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to 2.0 Discussion: Units, sensor types and protocol on Tue, 20 Jan 2015 18:18:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/axillent" aria-label="Profile: axillent">@<bdi>axillent</bdi></a></p>
<p dir="auto">Yes, configurable base address would be handy if we choose to create an ESP-gateway. It is already supported today but you have to hard code it into MyConfig.h. Would be neat to have this configurable over WiFi.</p>
<p dir="auto">Using OTA transmitted floats is optional. I haven't looked so deeply on how/if this will be supported yet in the upcoming version.</p>
]]></description><link>https://forum.mysensors.org/post/8931</link><guid isPermaLink="true">https://forum.mysensors.org/post/8931</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Tue, 20 Jan 2015 18:18:04 GMT</pubDate></item></channel></rss>