<?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[Set Pin high through LoRa]]></title><description><![CDATA[<p dir="auto">Dear all,</p>
<p dir="auto">is there an easy way to set an output pin on the LoPy high/low remotely using LoRa? As far as I was told you can only receive a downlink after successful uplink transmission, which would mean that it is not feasible. But after reading the description of class C devices I am not sure anymore.</p>
<p dir="auto">Can anyone help me with this one? Thanks in advance!</p>
]]></description><link>https://forum.pycom.io/topic/2176/set-pin-high-through-lora</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 05:20:41 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2176.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Nov 2017 15:18:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 15:18:40 GMT]]></title><description><![CDATA[<p dir="auto">Dear all,</p>
<p dir="auto">is there an easy way to set an output pin on the LoPy high/low remotely using LoRa? As far as I was told you can only receive a downlink after successful uplink transmission, which would mean that it is not feasible. But after reading the description of class C devices I am not sure anymore.</p>
<p dir="auto">Can anyone help me with this one? Thanks in advance!</p>
]]></description><link>https://forum.pycom.io/post/12877</link><guid isPermaLink="true">https://forum.pycom.io/post/12877</guid><dc:creator><![CDATA[JFS]]></dc:creator><pubDate>Fri, 17 Nov 2017 15:18:40 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 15:26:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2031">@jfs</a></p>
<p dir="auto">In LoRaWAN if you're using Class C you can receive at any time, but not many (public) networks support it also it's more power hungry because the radio</p>
<p dir="auto">You can however use raw LoRa if you're just trying to do it point to point (e.g. from LoPy to LoPy)</p>
]]></description><link>https://forum.pycom.io/post/12878</link><guid isPermaLink="true">https://forum.pycom.io/post/12878</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Fri, 17 Nov 2017 15:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 15:57:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a><br />
Thank you very much for your quick reply! I am quite new to LoRa so I would like to ask you another question. Using two LoPy would be a good enough solution for me. Can I use: <a href="https://docs.pycom.io/chapter/tutorials/lopy/lopy-lopy.html" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/chapter/tutorials/lopy/lopy-lopy.html</a> to send<br />
p_out.value(1) or<br />
p_out.value(0)<br />
from one to the other device instead of the &quot;ping&quot; and &quot;pong&quot; from the example.</p>
]]></description><link>https://forum.pycom.io/post/12879</link><guid isPermaLink="true">https://forum.pycom.io/post/12879</guid><dc:creator><![CDATA[JFS]]></dc:creator><pubDate>Fri, 17 Nov 2017 15:57:56 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 16:25:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2031">@jfs</a><br />
Yes just send a value that the other side then interprets as turning on or off.</p>
<p dir="auto">Maybe the latest hackster LoRa example from <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1881">@seb</a> can also help as it uses LoRa to communicate and send the colour of the LED to set:</p>
<p dir="auto"><a href="https://www.hackster.io/user83346052/lora-sensor-network-for-detecting-a-robot-1ae1f9" target="_blank" rel="noopener noreferrer nofollow">https://www.hackster.io/user83346052/lora-sensor-network-for-detecting-a-robot-1ae1f9</a></p>
]]></description><link>https://forum.pycom.io/post/12881</link><guid isPermaLink="true">https://forum.pycom.io/post/12881</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Fri, 17 Nov 2017 16:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 16:34:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a><br />
thanks a lot!</p>
]]></description><link>https://forum.pycom.io/post/12885</link><guid isPermaLink="true">https://forum.pycom.io/post/12885</guid><dc:creator><![CDATA[JFS]]></dc:creator><pubDate>Fri, 17 Nov 2017 16:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 16:40:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a> said in <a href="/post/12881">Set Pin high through LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2031">@jfs</a><br />
Yes just send a value that the other side then interprets as turning on or off.</p>
</blockquote>
<p dir="auto">But this can be really dangerous. You will receive any LoRa message of your surrounding. Opening a door if the first byte is 0x01 may not be very smart ;) You have to find an envelope to distinguish your messages from others.</p>
]]></description><link>https://forum.pycom.io/post/12886</link><guid isPermaLink="true">https://forum.pycom.io/post/12886</guid><dc:creator><![CDATA[crumble]]></dc:creator><pubDate>Fri, 17 Nov 2017 16:40:04 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 16:44:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1871">@crumble</a><br />
Good point, thanks! Yes adding an identifier sequence of bytes is a good idea.</p>
<p dir="auto">Also if you want any security you'll need to do some encryption (and change keys to avoid replay attacks), raw LoRA unlike LoRaWAN does not do this.</p>
]]></description><link>https://forum.pycom.io/post/12887</link><guid isPermaLink="true">https://forum.pycom.io/post/12887</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Fri, 17 Nov 2017 16:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 17:07:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1871">@crumble</a><br />
Thank you both for your answers. I understand that I would need a time-constrained and changing access key for a proper application, but first I would like to run some simple tests. So would be enough to hardcode an access key and test it like for example here:</p>
<p dir="auto">while True:<br />
if s.recv(64) == b'HARDCODEDKEY123456789':<br />
p_out.value(1)<br />
time.sleep(5)</p>
]]></description><link>https://forum.pycom.io/post/12892</link><guid isPermaLink="true">https://forum.pycom.io/post/12892</guid><dc:creator><![CDATA[JFS]]></dc:creator><pubDate>Fri, 17 Nov 2017 17:07:38 GMT</pubDate></item><item><title><![CDATA[Reply to Set Pin high through LoRa on Fri, 17 Nov 2017 19:31:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2031">@jfs</a> yes, shall be OK. Simply give it a try.</p>
]]></description><link>https://forum.pycom.io/post/12893</link><guid isPermaLink="true">https://forum.pycom.io/post/12893</guid><dc:creator><![CDATA[crumble]]></dc:creator><pubDate>Fri, 17 Nov 2017 19:31:51 GMT</pubDate></item></channel></rss>