<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by IoT player on Medium]]></title>
        <description><![CDATA[Stories by IoT player on Medium]]></description>
        <link>https://medium.com/@iotplayer?source=rss-87490cf308d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*usI046HUutEPN6oFQCIMmQ.jpeg</url>
            <title>Stories by IoT player on Medium</title>
            <link>https://medium.com/@iotplayer?source=rss-87490cf308d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 15:24:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iotplayer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why you should NOT buy UnaSensors from UnaBiz?]]></title>
            <link>https://medium.com/@iotplayer/why-you-should-not-buy-unasensors-from-unabiz-5a00917dd875?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a00917dd875</guid>
            <category><![CDATA[unabiz]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[sigfox]]></category>
            <category><![CDATA[simplepack]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sun, 08 Mar 2020 16:29:30 GMT</pubDate>
            <atom:updated>2020-03-09T17:24:09.241Z</atom:updated>
            <content:encoded><![CDATA[<p>In the article, we will compare 3 Sigfox ready devices: temperature sensors</p><p>To do so, let’s structure the article into 3 different key insights:</p><ol><li>Reliability (transmission on the Sigfox network)</li><li>Battery long life</li><li>Price</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hqaJPccbZ0qKMvTU0kFTXA.png" /><figcaption><strong>From left to the right:</strong> Ambient Temperature and Humidity Transmitter from Enless Wireless, UnaSensor (UnaSense from Unabiz) ,SimplePack Plus sensor from Simple Hardware</figcaption></figure><h4>1/ Reliability: Sigfox product class and antenna</h4><p>When working with IoT, <strong>reliability of the signal is something really important</strong>. We have to make sure all messages from the sensor will arrive through the Sigfox network. Here is an excellent video (in French) from <a href="https://www.disk91.com/getting-start-with-sigfox/">Disk91 blog</a> about the importance of the antenna: <a href="https://www.youtube.com/watch?v=7gePAupVdHQ">https://www.youtube.com/watch?v=7gePAupVdHQ</a></p><p>According to Sigfox documentation, there are 4 class certification (class u0 is the best) <a href="https://support.sigfox.com/docs/radio-configuration">https://support.sigfox.com/docs/radio-configuration</a> but we will demonstrate that <strong>it’s NOT the only parameter</strong> to take into account when we want a reliable device.</p><p>From Sigfox documentation:</p><blockquote><a href="https://support.sigfox.com/docs/sigfox-service-map">“<strong>the product class</strong> is determined depending on the device transmission performance (signal strength, radiation pattern etc)”</a>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ad-a2ropyKMBy0-vEnulMg.png" /><figcaption>Product class from Sigfox documentation</figcaption></figure><p><a href="https://partners.sigfox.com/products/tx-temp-hum-amb-sigfox-200-002"><strong>Ambient Temperature and Humidity Transmitter from Enless Wireless</strong></a><strong> </strong>(from France)<strong>:</strong> Class 1U, external antenna</p><p><strong>UnaSensor </strong>(from Taiwan): Class 0U, internal PCB Antenna. <em>Device not listed on Sigfox partner network website.</em></p><p><a href="https://partners.sigfox.com/products/simplepack-plus-3.0-full-rc1"><strong>SimplePack Plus from Simple Hardware</strong></a> (from Czech Republic)<strong>:</strong> Class 0U, internal PCB Antenna</p><p>Let’s do some tests on the field and see what’s the most reliable device in term of transmission.</p><p>1 — In a fridge</p><p><strong>Enless Wireless</strong>, signal is OK, we received all messages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IlIEtVQLpWKCAAoIsyhkIA.png" /></figure><p><strong>UnaSensor, 1 trame is missing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m94A3bYK1jieRANsc0ybLQ.png" /><figcaption>UnaSensor, 1 trame is missing in this sample</figcaption></figure><p>2— Indoor</p><p><strong>Ambient Temperature and Humidity Transmitter</strong>, signal is good, all messages are transmitted well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-7VGxHucGpbn5FXxPOY1iA.png" /><figcaption>Messages from Sigfox backend (Enless Wireless device)</figcaption></figure><p><strong>UnaSensor</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pTH64SM2-cMbcc9d0h4JTw.png" /><figcaption>Indoor test, UnaSensor didn’t move</figcaption></figure><p>Other example with 2 UnaSensors at the exact same place</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cW0Wdm5uWrmTKur0Ag1lCQ.png" /><figcaption>2 UnaSensors at the same place but with some messages missing</figcaption></figure><p><strong>Other example with UnaSensor</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*c4jgVCYEdeeZ95AqRzV9ew.png" /><figcaption>UnaSensor device with missing messages (the device didn’t move)</figcaption></figure><p>We obtain more or less the same results with the SimplePack.</p><p>For “reliability” even if the UnaSensor and Simplack Plus have Class u0, the type of the antenna is very important (external vs PCB antenna). Device from Enless Wireless is much more reliable even if it’s a Class u1 due to bigger antenna.</p><h3>2/ Battery</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_3Ytgcnf8RKqaz2SYiqmA.png" /></figure><p><strong>Ambient Temperature and Humidity Transmitter:</strong> 1x AA (lithium, included): <strong>17,500+ messages</strong></p><p><strong>UnaSensor:</strong> 2x AAA (not included): <strong>10,000+ messages</strong></p><p><strong>SimplePack Plus:</strong> <strong>30,000 messages</strong>, please note that the battery is not replaceable/non-rechargeable so you have to change the device when there is no more battery.</p><h4>3/ Price and shipping</h4><p><strong>Ambient Temperature and Humidity Transmitter:</strong> <strong>49€ </strong>+ shipping cost around 20€, shipping in between 48 hours and 72 hours maximum over Europe</p><p><strong>SimplePack Plus:</strong> <strong>30€</strong> + shipping cost around 20€, shipping in between 48 hours and 72 hours maximum over Europe</p><p><strong>UnaSensor:</strong> From <strong>16€</strong> (18$) to <strong>25€</strong> (28$), depending of quantity + shipping at least 2 weeks (via EMS postal delivery)</p><p><strong>/!\ BUT on top of this base price, you have to add the following cost /!\:</strong></p><ul><li>Fees of transfer to a Taiwan bank</li><li>Fees of currency exchange from € to $</li><li>Shipping cost (<strong>90€+</strong> ($100) for around 50 devices)</li><li>Custom fees (VAT of your country + fees from the transportation provider)</li><li>2x AA batteries :2x Alkaline AA battery around 2<strong>€/device </strong>OR<strong> </strong>2x Lithium AA battery around <strong>5€/device</strong></li></ul><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WkSCmodKyqFgd4grralOdA.png" /><figcaption>What is the best device?</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZnSj7R3Odb4AC_JKbF7kQ.png" /><figcaption>Criteria</figcaption></figure><ul><li>* SimplePack Plus is better in term of battery but the the fact you have to change the device after 30,000 messages is not really scalable for some industrial use cases.</li><li>** UnaSensor is the cheapest device but when you sum others costs, it’s getting much more expensive (it will depend of your bank account for international transfer fees+currency exchange, quantity, custom fees, batteries, …).</li></ul><p>External antenna are much more reliable but in general more expensive. In IoT, reliability is the key of the success (and number 2 is battery long life).</p><p>Also, note that with UnaSensor, you don’t have a direct access to Sigfox backend. You have access to a poor backend from UnaBiz that for instance you cannot even search by Device ID or device name (that’s a real problem when you manage hundreds of devices).</p><p>If you are working with perfect conditions (very good Sigfox coverage, no extreme conditions, no changes) you could work with low-cost devices but for others industrial use cases, you really should focus on the quality.</p><p><strong><em>DISCLAIMER:</em></strong><em> This comes from my experience with these 3 devices in term of reliability, battery and price (again, it will depend of your bank account for international transfer fees+currency exchange fees, number of devices you order, custom fees, battery you want to buy alkaline vs lithium, shipping delay, …). Your own personal experience may be different.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a00917dd875" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parking door monitoring for 2€/month with Sigfox — Business case]]></title>
            <link>https://medium.com/@iotplayer/parking-door-monitoring-for-2-month-with-sigfox-business-case-2add980fc73e?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2add980fc73e</guid>
            <category><![CDATA[parking]]></category>
            <category><![CDATA[sigfox]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[security-systems]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sat, 31 Mar 2018 14:53:30 GMT</pubDate>
            <atom:updated>2018-03-31T15:04:53.717Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*BYEx3Fe9OvznptUwdAyI_A.png" /><figcaption>Parking door monitoring for 2€/month with Sigfox</figcaption></figure><h3>Business case</h3><p>One of our client (truck-parking) asked us to <strong>manage entrances and exits of each driver</strong>.</p><p>They wanted to make sure the <strong>door was correctly closed after every release</strong> (for security reason).</p><h3>The main constraints</h3><ol><li><strong>No internet access</strong></li><li><strong>Difficult to connect the sensor with power-supply of the motor-driven door</strong></li><li><strong>Outdoor</strong></li></ol><p>Sigfox was the perfect solution as the car parking is in Spain (<a href="https://www.sigfox.com/en/coverage">under Sigfox coverage</a>)!</p><h3>Implementation</h3><p>We implemented the following device (<strong>expect this device to run for several years</strong>), very easy to install on the field:</p><ol><li>Board + Sigfox module + Antenna + Battery</li><li>Enclosure IP67</li><li>Magnetic contact switch</li></ol><h3>Total cost for the client: 2€/month per device</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f471dbnz102FYKOWX2kdrw.jpeg" /><figcaption>Sigfox detector open/closed</figcaption></figure><p>The client has a <strong>very simple web mobile interface</strong> + <strong>emails alerts</strong> to monitor the state of the door <em>[cannot be disclosed]</em> but we can show a part of the Sigfox backend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*VuxlnXmMRDTdOanhOgRmoQ.png" /><figcaption>Sigfox backend — open/closed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YULtDrTW3X5DevFcasbuwA.jpeg" /><figcaption>Magnetic door switch</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2add980fc73e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure your house with Sigfox (Arduino MKRFOX1200) — DIY]]></title>
            <link>https://medium.com/@iotplayer/secure-your-house-with-sigfox-arduino-mkrfox1200-diy-e6abbe05a26d?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6abbe05a26d</guid>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[mkrfox1200]]></category>
            <category><![CDATA[sigfox]]></category>
            <category><![CDATA[alarm-system-for-home]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sat, 17 Feb 2018 16:40:48 GMT</pubDate>
            <atom:updated>2018-02-17T17:52:34.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*hZ8GmL4wsahHeu5AdE8b5A.png" /><figcaption>Sigfox alert — Door opening</figcaption></figure><p>In order to detect if your door is open or closed, we can use the <strong>Arduino MKRFOX1200</strong> with a <strong>magnetic door sensor</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zxrvas_RhVbF76i4hG0hqA.jpeg" /></figure><p>You get an email/SMS every time your door is opening.</p><p>With LowPower library, the system should work during at least 2 years!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/169/1*ULA3G6VjzfPonfd6agOTHw.gif" /><figcaption>Sending Sigfox message when door is opening/closing</figcaption></figure><h3>Hardware</h3><p><strong><em>Total cost of the system is :</em></strong></p><ul><li><a href="https://store.arduino.cc/arduino-mkrfox1200">1x Arduino MKRFOX1200</a>: 35€ (2-year free subscription to Sigfox)</li><li><a href="https://hackspark.fr/en/magnetic-door-switch.html">1x Magnetic door sensor</a>: 3.60€</li><li><a href="https://hackspark.fr/en/battery-holder-with-switch-2-x-aa.html">1x Battery holder 2 x AA</a>: 3.60€</li><li><a href="https://fr.aliexpress.com/item/SONOFF-IP66-Bo-tier-tanche-pour-Sonoff-De-Base-pow-double-th10-16-T-l-commande/32843620653.html?spm=a2g0w.search0204.3.2.5b478232XDyztq&amp;ws_ab_test=searchweb0_0%2Csearchweb201602_5_10152_10151_10065_10344_10068_10342_10343_10340_10341_10084_10083_10618_10305_10304_10307_10306_10302_5722316_5711211_10313_10059_10184_10534_100031_10629_10103_10626_10625_10624_10623_10622_10621_10620_10142%2Csearchweb201603_25%2CppcSwitch_5_ppcChannel&amp;algo_expid=569ca91e-2de4-4d36-9cbe-737a9ebe793f-0&amp;algo_pvid=569ca91e-2de4-4d36-9cbe-737a9ebe793f&amp;priceBeautifyAB=0">1x Case</a>: 5€</li><li>2x AA batterries: 3€</li><li><strong>Total = 50,20€</strong></li></ul><p>If you are beginner with Arduino/Sigfox, you can read <a href="https://medium.com/@iotplayer/arduino-mkrfox1200-testing-the-new-sigfox-arduino-817ad2e1f51d">this post to learn more about MKRFOX1200 and send you first message on Sigfox network</a>.</p><h4>Connect the door sensor &amp; battery</h4><p>You have to connect the door sensor to<strong> pin 0</strong> and <strong>GND</strong> of the Arduino. Doesn’t matter the order of the cables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G1c-Zy0MGcVLIgvIsSA11g.jpeg" /><figcaption>Hardware — Door sensor and battery</figcaption></figure><h3>Arduino code</h3><pre>#include &lt;SigFox.h&gt;<br>#include &lt;ArduinoLowPower.h&gt;</pre><pre>volatile int alarm_source = 0;</pre><pre>void setup() {</pre><pre>if (!SigFox.begin()) {<br> //something is really wrong, try rebooting<br> reboot();<br> }</pre><pre>//Send module to standby until we need to send a message<br> SigFox.end();</pre><pre>pinMode(0, INPUT_PULLUP);<br> LowPower.attachInterruptWakeup(0, alarmEvent1, RISING);<br>}</pre><pre>void loop()<br>{<br> // Sleep until an event is recognized<br> LowPower.sleep();</pre><pre>SigFox.begin();</pre><pre>delay(100);</pre><pre>String to_be_sent = “DOOR”;</pre><pre>SigFox.beginPacket();<br> SigFox.print(to_be_sent);<br> int ret = SigFox.endPacket();</pre><pre>// shut down module, back to standby<br> SigFox.end();<br>}</pre><pre>void alarmEvent1() {<br> alarm_source = 1;<br>}</pre><pre>void reboot() {<br> NVIC_SystemReset();<br> while (1);<br>}</pre><h3>Sigfox Backend</h3><p>To configure alerts, you will need to configure callbacks on Sigfox backend.</p><p><strong>1/</strong> Connect to: <a href="https://backend.sigfox.com/devicetype/SIGFOX_TYPE_ID/callbacks">https://backend.sigfox.com/devicetype/SIGFOX_TYPE_ID/callbacks</a></p><p><strong>2/</strong> “new” (on the top of right)</p><p><strong>3/</strong> “Custom callback”</p><p><strong>4/</strong> Configure like this to receive an email:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDoPjqfgiFv_NyoKeRiykQ.png" /></figure><h3>It works!</h3><p>Install your sensor on your door, open it…and you will get an alert!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xMO_ZfTr6q59DuZCSZ5T7w.png" /><figcaption>Sigfox alert by email with timestamp</figcaption></figure><p>1518883309 is unix epoch time that you can convert here: <a href="https://www.epochconverter.com/">https://www.epochconverter.com/</a> → Saturday 17 February 2018 16:01:49</p><h3>Conclusion</h3><p>This is just a prototype that could be improved.</p><p>For example, sending an email/SMS only during some range of time (when you are not at home); Adding battery level…</p><p>Also, if you want to add SMS feature, you can use Twilio API. <a href="https://www.hackster.io/48970/the-trump-button-5f6928#toc-3--twilio-3">Please, read this tutorial</a>.</p><p><strong>Please, do not hesitate to add your ideas using comments section.</strong></p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6abbe05a26d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Sigfox data to Google Sheets : real time and for free]]></title>
            <link>https://medium.com/@iotplayer/your-sigfox-data-to-google-sheets-real-time-and-for-free-b866b07b2db1?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b866b07b2db1</guid>
            <category><![CDATA[lpwan]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[sigfox]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[google-sheets]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sat, 11 Nov 2017 19:26:04 GMT</pubDate>
            <atom:updated>2017-11-11T19:38:07.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*uIqvu6LUX5CLADkz3lW1VA.png" /><figcaption>Sigfox data to Google Sheets</figcaption></figure><p>In the article, I will show you how to send data from Sigfox backend to Google Sheets, in real time and for free.</p><p>There are already solutions if you want to analyze your Sigfox data with Excel.</p><p>You can directly export from Sigfox backend using csv export</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*u3ihecIpQdMyuImIIDsd9A.png" /><figcaption>Export your data on Sigfox backend</figcaption></figure><p>Also, you can you use services like <a href="https://zapier.com/zapbook/zaps/1035/add-data-to-a-spreadsheet-from-a-webhook/">Zapier</a> but you will need to pay.</p><p>Let’s start to connect our Google Sheet with Sigfox backend.</p><h3>How to create a Web service with Google Apps Script</h3><h4>1/ Go to <a href="https://drive.google.com/drive/my-drive">https://drive.google.com/drive/my-drive</a></h4><h4>2/ Create a new “Google Apps Script” file</h4><h4>3/ Create a new “Google Sheet” file</h4><h4>4/ Let’s suppose we need 5 data:</h4><ul><li>timestamp</li><li>device id</li><li>latitude</li><li>longitude</li><li>radius</li></ul><p>So the first row will be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L-pddi2bAAI8wSMCe8lu9Q.png" /></figure><h4>5/ Now, the goal will be to send data using Google Apps Script url:</h4><p><a href="https://script.google.com/macros/s/my_file_id/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}">https://script.google.com/macros/s/your_file_id/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}</a></p><p>In your Google Apps Script file:</p><pre>function doGet(e) {<br> var params = JSON.stringify(e);<br> var parametersObject = JSON.parse(params);<br> <br> var timestamp = parametersObject.parameters.timestamp[0];<br> var device = parametersObject.parameters.device[0];<br> var lat = parametersObject.parameters.lat[0];<br> var long = parametersObject.parameters.long[0];<br> var radius = parametersObject.parameters.radius[0];<br> <br> var ss = SpreadsheetApp.openByUrl(&#39;https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit&#39;);<br> <br> var lastRow = ss.getLastRow();<br> var lastCellA = &#39;A&#39;+(lastRow+1);<br> var lastCellB = &#39;B&#39;+(lastRow+1);<br> var lastCellC = &#39;C&#39;+(lastRow+1);<br> var lastCellD = &#39;D&#39;+(lastRow+1);<br> var lastCellE = &#39;E&#39;+(lastRow+1);<br> <br> ss.getRange(lastCellA).setValue(timestamp);<br> ss.getRange(lastCellB).setValue(device);<br> ss.getRange(lastCellC).setValue(lat);<br> ss.getRange(lastCellD).setValue(long);<br> ss.getRange(lastCellE).setValue(radius);<br> <br> return HtmlService.createHtmlOutput(ss.getName()+ &#39; &#39; + lastRow + &#39; &#39; + lastCellA + &#39; &#39; + params + &#39; &#39; + parametersObject.parameters.radius[0]);</pre><pre>}</pre><p>You need to replace with your Google Sheet id: <a href="https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit">https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit</a></p><h4>6/ Deploy as Web app</h4><p>Publish &gt; Deploy as web app…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*cnCUJMvLu2OBwR7__dit6g.jpeg" /><figcaption>Deploy as web app on Google Apps Script</figcaption></figure><h4>7/ Add your string parameters and test</h4><p>You have your url: <a href="https://script.google.com/macros/s/my_file_id/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}">https://script.google.com/macros/s/<strong>my_file_id</strong>/exec</a></p><p>Let’s try if it works with a simple GET (copy/paste) in your browser: <a href="https://script.google.com/macros/s/my_file_id/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}">https://script.google.com/macros/s/<strong>my_file_id</strong>/exec?timestamp=20170101&amp;device=ABCDEF&amp;lat=2.3333&amp;long=2.4444&amp;radius=</a>2</p><p>If you have a new row in your Google Sheet, it means that it works fine :)</p><h4>8/ Integration with Sigfox backend</h4><ul><li>go to Sigfox backend : <a href="https://backend.sigfox.com/devicetype/MY_DEVICE_TYPE">https://backend.sigfox.com/devicetype/<strong>MY_DEVICE_TYPE</strong></a><strong>_ID</strong>/callbacks</li><li>“new” : at the top right</li><li>Custom callback</li><li>Url pattern : <a href="https://script.google.com/macros/s/my_file_id/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}">https://script.google.com/macros/s/<strong>my_file_id</strong>/exec?timestamp={time}&amp;device={device}&amp;lat={lat}&amp;long={lng}&amp;radius={radius}</a></li><li>Ok</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dTiJtZKaxE533n4f11H-Xg.jpeg" /><figcaption>Sigfox backend — callbacks</figcaption></figure><h3>Next</h3><p>I will write about the device side in a next article: <a href="https://www.sigfox.com/en/sigfox-geolocation">How to use Sigfox Geolocation Service</a>.</p><p>I hope you found this tutorial helpful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b866b07b2db1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Arduino MKRFOX1200 — Testing the new Sigfox Arduino]]></title>
            <link>https://medium.com/@iotplayer/arduino-mkrfox1200-testing-the-new-sigfox-arduino-817ad2e1f51d?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/817ad2e1f51d</guid>
            <category><![CDATA[atmel]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[hello-world]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[sigfox]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sun, 24 Sep 2017 12:42:45 GMT</pubDate>
            <atom:updated>2017-09-24T13:34:41.225Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ntp6yvQKVtlNcYCLrmRiEA.jpeg" /><figcaption>Arduino Sigfox MKRFOX1200</figcaption></figure><p>This a <strong>Arduino MKR1000</strong> with a <strong>Atmel SAM D21</strong> chipset and a Sigfox module.</p><p>Compare to others Arduino, this device is really <strong>ultra-low power</strong>.</p><p>Device available on Arduino store: <a href="https://store.arduino.cc/arduino-mkrfox1200">https://store.arduino.cc/arduino-mkrfox1200</a></p><h3>How to send our first “Hello World!” to Sigfox backend ?</h3><h4>1/ Get device ID and PAC</h4><p>To be able to activate the device on Sigfox backend, we need to get device ID and PAC</p><p>Open Arduino IDE</p><blockquote>Sketch &gt; Include Library &gt; Arduino SigFox for MKRFox1200</blockquote><blockquote>Tools &gt; Board: “Arduino SigFox MKRFox1200”</blockquote><blockquote>Tools &gt; Port: “/dev/cu.usbmodemXXXX (Arduino MKRFox1200)”</blockquote><p>Copy/paste this code (details available here : <a href="https://www.arduino.cc/en/Tutorial/SigFoxFirstConfiguration">https://www.arduino.cc/en/Tutorial/SigFoxFirstConfiguration</a>)</p><pre>#include &lt;SigFox.h&gt;</pre><pre>void setup() {<br> Serial.begin(9600);</pre><pre>while(!Serial) {};</pre><pre>if (!SigFox.begin()) {<br> Serial.println(&quot;Shield error or not present!&quot;);<br> return;<br> }</pre><pre>String version = SigFox.SigVersion();<br> String ID = SigFox.ID();<br> String PAC = SigFox.PAC();</pre><pre>// Display module informations<br> Serial.println(&quot;MKRFox1200 Sigfox first configuration&quot;);<br> Serial.println(&quot;SigFox FW version &quot;+ version);<br> Serial.println(&quot;ID = &quot;+ ID);<br> Serial.println(&quot;PAC = &quot;+ PAC);</pre><pre>Serial.println(&quot;&quot;);</pre><pre>Serial.println(&quot;Register your board on <a href="https://backend.sigfox.com/activate">https://backend.sigfox.com/activate</a> with provided ID and PAC&quot;);</pre><pre>delay(100);</pre><pre>// Send the module to the deepest sleep<br> SigFox.end();<br>}</pre><pre>void loop() {<br> <br>}</pre><p>Then, open serial monitor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/1*4hAYGO4C2vfuL-C7q4gGHw.png" /></figure><p>Finally, verify and upload code to the Arduino device.</p><p>You will have something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eVb8AKlZnMpWLuFo7acVOw.jpeg" /></figure><h4>2/ Activate your Arduino device on Sigfox Backend</h4><p>Follow the instructions on: <a href="https://backend.sigfox.com/activate/arduino">https://backend.sigfox.com/activate/arduino</a></p><h4>3/ Send our first message “Hello World!”</h4><p>With the following code, we can type the message we want to send:</p><pre>#include &lt;SigFox.h&gt;<br>#include &lt;ArduinoLowPower.h&gt;</pre><pre>void setup() {<br> Serial.begin(9600);<br> while (!Serial) {};</pre><pre>if (!SigFox.begin()) {<br> Serial.println(&quot;Shield error or not present!&quot;);<br> return;<br> }<br> // Enable debug led and disable automatic deep sleep<br> // Comment this line when shipping your project :)<br> SigFox.debug();</pre><pre>String version = SigFox.SigVersion();<br> String ID = SigFox.ID();<br> String PAC = SigFox.PAC();</pre><pre>// Display module informations<br> Serial.println(&quot;MKRFox1200 Sigfox first configuration&quot;);<br> Serial.println(&quot;SigFox FW version &quot;+ version);<br> Serial.println(&quot;ID = &quot;+ ID);<br> Serial.println(&quot;PAC = &quot;+ PAC);</pre><pre>Serial.println(&quot;&quot;);</pre><pre>Serial.println(&quot;Register your board on <a href="https://backend.sigfox.com/activate">https://backend.sigfox.com/activate</a> with provided ID and PAC&quot;);</pre><pre>delay(100);</pre><pre>// Send the module to the deepest sleep<br> SigFox.end();</pre><pre>Serial.println(&quot;Type the message to be sent&quot;);<br> while (!Serial.available());</pre><pre>String message;<br> while (Serial.available()) {<br> message += (char)Serial.read();<br> }</pre><pre>// Every SigFox packet cannot exceed 12 bytes<br> // If the string is longer, only the first 12 bytes will be sent</pre><pre>if (message.length() &gt; 12) {<br> Serial.println(&quot;Message too long, only first 12 bytes will be sent&quot;);<br> }</pre><pre>Serial.println(&quot;Sending &quot;+ message);</pre><pre>// Remove EOL<br> message.trim();</pre><pre>// Example of message that can be sent<br> sendString(message);<br> <br>}</pre><pre>void loop()<br>{<br>}</pre><pre>void sendString(String str) {<br> // Start the module<br> SigFox.begin();<br> // Wait at least 30mS after first configuration (100mS before)<br> delay(100);<br> // Clears all pending interrupts<br> SigFox.status();<br> delay(1);</pre><pre>SigFox.beginPacket();<br> SigFox.print(str);</pre><pre>int ret = SigFox.endPacket(); // send buffer to SIGFOX network<br> if (ret &gt; 0) {<br> Serial.println(&quot;No transmission&quot;);<br> } else {<br> Serial.println(&quot;Transmission ok&quot;);<br> }</pre><pre> Serial.println(SigFox.status(SIGFOX));<br> Serial.println(SigFox.status(ATMEL));<br> SigFox.end();<br>}</pre><p>For example, type “Hello World!” then press Enter (or “Send” button).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rzQqDNW9ROCLL5dJFzonCg.jpeg" /></figure><p>So you will obtain this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ncmZN08yDiJUGDeLo9yqCg.jpeg" /></figure><p>Now, go to your Sigfox backend: <a href="https://backend.sigfox.com/device/DEVICE_ID/messages">https://backend.sigfox.com/device/DEVICE_ID/messages</a></p><p>Here we go, you will see your message “Hello World!” (hexadecimal)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOswNX1X0bg0nH-MLsA5aA.png" /><figcaption>Sigfox backend “Hello World!”</figcaption></figure><p>On this website, you can decode the data from Hexadecimal to string:</p><p><a href="http://string-functions.com/hex-string.aspx">http://string-functions.com/hex-string.aspx</a></p><blockquote>48656c6c6f20576f726c6421</blockquote><blockquote>Hello World!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=817ad2e1f51d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My first test with Sigfox wireless network (Akeru device)]]></title>
            <link>https://medium.com/@iotplayer/my-first-test-with-sigfox-wireless-network-51ea4e92b94b?source=rss-87490cf308d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/51ea4e92b94b</guid>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[akeru]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[sigfox]]></category>
            <dc:creator><![CDATA[IoT player]]></dc:creator>
            <pubDate>Sat, 23 Sep 2017 15:44:26 GMT</pubDate>
            <atom:updated>2017-09-24T13:35:46.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*ctVs2sBnsxNCoBFwtwIyaw.png" /><figcaption>Akeru beta 3.3</figcaption></figure><p>November 2015, I ordered my first <strong>Akeru beta 3.3</strong> to start playing with Sigfox network.</p><p>I was really curious about the power of this wireless network to connect low-energy objects.</p><p>You can find the board here, 1 year Sigfox connectivity included: <a href="https://snootlab.com/lang-en/snootlab-shields/829-akeru-beta-33-en.html">https://snootlab.com/lang-en/snootlab-shields/829-akeru-beta-33-en.html</a></p><h3>Let’s send our first message !</h3><h4>1/ Activate your Akeru device on Sigfox Backend</h4><p>Follow the instructions on : <a href="https://backend.sigfox.com/activate/snootlab">https://backend.sigfox.com/activate/snootlab</a></p><h4>2/ Download, install and setup Arduino IDE</h4><p><a href="https://www.arduino.cc/en/main/software">Arduino - Software</a></p><h4>3/ Connect Akeru device via USB</h4><p>Tools &gt; Board : Arduino/Genuino Uno</p><p>Tools &gt; Port: “dev/cu.usbserial-XYZ”</p><h4>4/ Create new Arduino file (.ino)</h4><p>File &gt; New</p><p>You will see something like :</p><pre>void setup() {<br> // put your setup code here, to run once:<br>}</pre><pre>void loop() {<br> // put your main code here, to run repeatedly:<br>}</pre><p>Here is a sample to send a message every 10 minutes.</p><p>You can copy/paste to your Arduino editor.</p><pre>#include &lt;SoftwareSerial.h&gt;<br>#include &quot;Akeru.h&quot;</pre><pre>// LLED is connected to pin 13, give it a name:<br>int led = 13;</pre><pre>// the setup routine runs once when you press reset:<br>void setup() {</pre><pre>// initialize the digital pin of L led as an output<br>pinMode(led, OUTPUT);</pre><pre>// initialize serial communication at 9600 bits per second:<br>Serial.begin(9600);<br>Serial.println(&quot;Starting...&quot;);</pre><pre>// Wait 1 second for the modem to warm<br>delay(1000);</pre><pre>// Init modem<br>Akeru.begin();<br>}</pre><pre>void loop() {</pre><pre>int sensorValue = 1;</pre><pre>// LED is on<br>digitalWrite(led, HIGH);</pre><pre>// Trace on serial console<br>Serial.println(sensorValue);</pre><pre>// LED is on<br>digitalWrite(led, HIGH);</pre><pre>// Wait for availability of the modem<br>while (!Akeru.isReady()) {<br>Serial.println(&quot;Modem not ready&quot;);<br>delay(1000);<br>}<br>// Send in the mighty internet!<br>Akeru.send(&amp;sensorValue,sizeof(sensorValue));<br>// LED is off<br>digitalWrite(led, LOW);</pre><pre>// Wait for 10 minutes.<br>// Note that delay(600000) will block the Arduino (bug in delay()?)<br>for (int second = 0; second &lt; 600; second++) {<br> delay(1000);<br> }<br>}</pre><p>You can find more help on Snootlab Github here: <a href="https://github.com/Snootlab/Akeru">https://github.com/Snootlab/Akeru</a></p><h4>5/ Add library to the same folder</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*H6Ciafj2mtWD-AmmfB-Kqg.png" /></figure><ul><li><a href="https://github.com/Snootlab/Akeru/blob/master/Akeru.cpp">Snootlab/Akeru</a></li><li><a href="https://github.com/Snootlab/Akeru/blob/master/Akeru.h">Snootlab/Akeru</a></li></ul><h4>6/ Compile and upload</h4><p>Now, you can compile your *.ino file to make sure everything is fine:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/1*HJm0StmfH60PMScp3axd5w.png" /><figcaption>compile code</figcaption></figure><p>Then, upload to the Akeru device:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/1*kL2JMBQFxNmUaZ_mxq3t2g.png" /><figcaption>upload code</figcaption></figure><h4>6/ Sigfox backend</h4><p>Finally, go to <a href="https://backend.sigfox.com/device/DEVICE_ID/messages">https://backend.sigfox.com/device/DEVICE_ID/messages</a></p><p>And here we go :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJK5WeYVjF-rRaI3hwaL-w.png" /><figcaption>Sigfox Backend</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51ea4e92b94b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>