<?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[Candle Manager - user-friendly web-based tool to program Arduino's]]></title><description><![CDATA[<p dir="auto">For a project I'm working on I've created a small tool that could be useful to everyone in the community. I'm sharing an early version for Christmas :-)</p>
<p dir="auto">The tool is meant to be used with the Raspberry Pi. Through this web interface you can generate and upload code to a plugged in Arduino with the click of a few buttons.</p>
<p dir="auto"><img src="/assets/uploads/files/1545992241074-dashboard-resized.png" alt="0_1545992240907_dashboard.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/assets/uploads/files/1545992251413-create_new-resized.png" alt="0_1545992251013_create_new.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">It takes code templates (which are just normal Arduino files), and transforms them into an easy to use interface so that users can change some settings.</p>
<p dir="auto"><img src="/assets/uploads/files/1545991833751-code_ux_generation-resized.png" alt="0_1545991833537_code_ux_generation.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">From the user's preferences new code is generated. This can then be uploaded with the upload wizard:</p>
<p dir="auto"><img src="/assets/uploads/files/1545992281503-upload_wizard2-resized.png" alt="0_1545992281342_upload_wizard2.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/assets/uploads/files/1545992295873-upload_wizard3-resized.png" alt="0_1545992295714_upload_wizard3.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">The user never has to see any code if they don't want to. But if they do it has a built in code editor too.</p>
<p dir="auto"><strong>HOW DOES IT WORK?</strong><br />
It builds on the new Arduino Command Line Interface (CLI).<br />
HTML5 &lt;-&gt; PHP &lt;-&gt; Arduino CLI</p>
<p dir="auto">What's is good for?</p>
<ul>
<li>Giving workshops. People no longer have to install the Arduino IDE on their laptops, but can instead connect to Raspberry Pi wifi hotspot.</li>
<li>I'm developing it to be part of a privacy friendly smart home demonstrator that I've been working on for a while. I'm building it on top of MySensors, MySController-rs, Mozilla Gateway and the Arduino CLI.</li>
</ul>
<p dir="auto"><strong>MORE DETAILS</strong><br />
The code and more screenshots and details can be found here:<br />
<a href="https://github.com/createcandle/Candle-manager" rel="nofollow ugc">https://github.com/createcandle/Candle-manager</a></p>
]]></description><link>https://forum.mysensors.org/topic/10024/candle-manager-user-friendly-web-based-tool-to-program-arduino-s</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 14:22:30 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/10024.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Dec 2018 10:16:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Candle Manager - user-friendly web-based tool to program Arduino's on Mon, 03 Jun 2019 11:18:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homer" aria-label="Profile: homer">@<bdi>homer</bdi></a> This is how I do it:</p>
<ul>
<li>First download the latest <a href="https://iot.mozilla.org/gateway/" rel="nofollow ugc">Mozilla WebThings Gateway</a> image and burn that onto an SD card. Their guide will explain how to 'burn' it onto an SD card.</li>
<li>Insert it into the pi and boot it up. After a while you will see a new WiFi network for the gateway. Connect to it and follow the steps. You can skip the step to make a subdomain at Mozilla.</li>
<li>Once done, open <code>gateway.local</code> in a browser that's on the same wifi network. You should now see the Mozilla Gateway interface.</li>
<li>Under settings -&gt; development enable SSH.</li>
<li>Open a terminal window and SSH into the device. Google how to do that. For linux/mac it's something like: <code>ssh pi@gateway.local</code> and then enter the default password <code>raspberry</code>.</li>
<li>once logged in, you have to install PHP.</li>
</ul>
<pre><code>sudo apt-get install php5-fpm php5 -y
</code></pre>
<ul>
<li>Next, copy the Candle Manager from Github onto the Pi.</li>
</ul>
<pre><code>git clone https://github.com/createcandle/Candle-manager.git
chmod +x ./Candle-manager/start.sh
./Candle-manager/start.sh
</code></pre>
<p dir="auto">Now you should be able to go to <code>gateway.local:8023</code> to see the Candle Manager.</p>
<p dir="auto">By default it comes with only one demo sketch. In the future you will be able to install a lot more. Arduino Sketches have to be properly formatted and placed in the 'sources' folder to be automatically presented in the Candle Manager interface. Examples of such sketches can be found <a href="https://github.com/createcandle/Devices" rel="nofollow ugc">here</a>.</p>
<p dir="auto">Basically, the variables that you want to be modifiable via the interface have to be placed in a special section. The description at the top of the sketch will also be shown in the interface. For example:</p>
<pre><code>/*
 * 
 * Temperature and more sensor
 * 
 * This device can measure:
 * - temperature
 * - humidity 
 * - airpressure (barometer). 
 * 
 *
 *
 * SETTINGS */ 

// You can enable and disable the settings below by adding or removing double slashes ( // ) in front of a line.

#define HAS_DISPLAY                                 // Did you connect a display?

//#define FAHRENHEIT                                  // Do you want temperature measurements to be in Fahrenheit?

//#define MY_SECURITY_SIMPLE_PASSWD "changeme"        // Be aware, the length of the password has an effect on memory use.


 /* END OF SETTINGS
 *
 *
 *
 */

// The actual sketch and other variables are placed here.
</code></pre>
]]></description><link>https://forum.mysensors.org/post/99565</link><guid isPermaLink="true">https://forum.mysensors.org/post/99565</guid><dc:creator><![CDATA[alowhum]]></dc:creator><pubDate>Mon, 03 Jun 2019 11:18:10 GMT</pubDate></item><item><title><![CDATA[Reply to Candle Manager - user-friendly web-based tool to program Arduino's on Sun, 02 Jun 2019 23:16:03 GMT]]></title><description><![CDATA[<p dir="auto">I'm hoping to have a go at this today. I have an old Raspberry Pi that I've never used sitting in my Arduino box. Because I've never used a Raspberry Pi before, I don't know what to do.... Do I need to install an operating system first? If so, which do you suggest?</p>
]]></description><link>https://forum.mysensors.org/post/99548</link><guid isPermaLink="true">https://forum.mysensors.org/post/99548</guid><dc:creator><![CDATA[Homer]]></dc:creator><pubDate>Sun, 02 Jun 2019 23:16:03 GMT</pubDate></item><item><title><![CDATA[Reply to Candle Manager - user-friendly web-based tool to program Arduino's on Sat, 16 Mar 2019 04:32:39 GMT]]></title><description><![CDATA[<p dir="auto">This looks cool.</p>
<p dir="auto">Given that it's web based, would that mean that I could use it on my windows computer? Hope that question isn't too obvious or stupid.</p>
]]></description><link>https://forum.mysensors.org/post/98025</link><guid isPermaLink="true">https://forum.mysensors.org/post/98025</guid><dc:creator><![CDATA[Homer]]></dc:creator><pubDate>Sat, 16 Mar 2019 04:32:39 GMT</pubDate></item><item><title><![CDATA[Reply to Candle Manager - user-friendly web-based tool to program Arduino's on Fri, 28 Dec 2018 13:46:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alowhum" aria-label="Profile: alowhum">@<bdi>alowhum</bdi></a> Oh, very good work sir! :)</p>
<p dir="auto">This is one of those things that has been needed for so long - I look forward to seeing the development of this as time goes on.</p>
<p dir="auto">Excellent! ;)</p>
]]></description><link>https://forum.mysensors.org/post/96103</link><guid isPermaLink="true">https://forum.mysensors.org/post/96103</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Fri, 28 Dec 2018 13:46:05 GMT</pubDate></item></channel></rss>