<?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[Custom widget]]></title><description><![CDATA[<p dir="auto">You can create any type of widget with <code>Custom widget</code> support.</p>
<p dir="auto"><em>Steps:</em></p>
<ul>
<li>Add third party <code>js</code> and/or <code>css</code> files on <code>HTML additional headers</code></li>
<li>Add <code>script</code> to get data from MyController</li>
<li>Add <code>Template</code> how you want to display your data.</li>
</ul>
<p dir="auto">Example:<br />
Now I'm going to show, how we can add a <a href="http://bernii.github.io/gauge.js/" rel="nofollow ugc">Gauge widget</a> with the help of <code>Custom widget</code></p>
<p dir="auto">First add required <code>js</code> and/or <code>css</code> files. In our case we need <a href="http://bernii.github.io/gauge.js/dist/gauge.min.js" rel="nofollow ugc">this js file</a>.<br />
How to use, we can use either way, with internet or local. If you want to use it from internet get a link from cdn server(https url needed if you are using https protocol for MyController). <a href="https://cdnjs.cloudflare.com/ajax/libs/gauge.js/1.2.1/gauge.min.js" rel="nofollow ugc">CDN location</a>. You can use any cnd which supports <code>HTTPS</code></p>
<p dir="auto">NOTE: If you do not want to get every time from internet, download this file and put it on <code>mycontroller/www/mylib/gauge.min.js</code>.</p>
<p dir="auto">Put this url in <code>Utilities &gt;&gt; HTML additional headers &gt;&gt; script files</code> and save it. If you have downloaded the file locally, you have to enter <code>https://&lt;mycontrollerip&gt;:8443/mylib/gauge.min.js</code></p>
<p dir="auto"><img src="/uploads/files/1470030995369-upload-7a773b78-c825-47f5-9784-c8a9a830a015" alt="0_1470030993827_upload-7a773b78-c825-47f5-9784-c8a9a830a015" class=" img-fluid img-markdown" /></p>
<p dir="auto">IMPORTANT: <strong>You have to refresh your browser [F5] now</strong></p>
<p dir="auto">It is time to create <code>script</code> file(<code>Javascript</code><img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=a3d0cb539e8" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title="):" alt="😞" /></p>
<pre><code>//Load sensor variable data with UID-TAG identification
var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource(); 
//Generate UUID, for html widget
var uuid = mcApi.utils().getUUID();
</code></pre>
<p dir="auto">Steps in script:</p>
<ul>
<li>I want to use <code>UID tags</code> to avoid complications when selecting sensor on script. So I have named my temperature sensor as <code>my-sensor-1</code> with the help of <code>UID Tags</code> as shown below,<br />
<img src="/uploads/files/1470031858058-upload-318bd574-76db-4291-95d3-35d098552788" alt="0_1470031857193_upload-318bd574-76db-4291-95d3-35d098552788" class=" img-fluid img-markdown" /></li>
<li>Now get the sensor variable with UID api, as show in script <code>var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1"); </code> and store it in bindings <code>temperatureSen</code>.</li>
<li>When creating custom widgets, you may use more than one widgets on the same dashboard, in this case always use unique id for widget name in template script. load a unique id(<code>uuid</code>) in script itself with the help of <code>var uuid = mcApi.utils().getUUID()</code>.</li>
</ul>
<p dir="auto">You are done! Now we have to create a template to display in dashboard.</p>
<p dir="auto">Template file,</p>
<pre><code>&lt;div id="wrapper" style="text-align: center"&gt;    
  &lt;canvas id="my-gauge-${uuid}" style="display: inline-block;"&gt;&lt;/canvas&gt;
  &lt;div style="font-size:21px" id="textfield--${uuid}"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  var opts = {
    lines: 12, // The number of lines to draw
    angle: 0, // The length of each line
    lineWidth: 0.24, // The line thickness
    pointer: {
      length: 0.9, // The radius of the inner circle
      strokeWidth: 0.035, // The rotation offset
      color: '#000066' // Fill color
    },
    colorStart: '#6FADCF',   // Colors
    colorStop: '#8FC0DA',    // just experiment with them
    strokeColor: '#E0E0E0',   // to see which ones work best for you
    generateGradient: true
  };
  var target = document.getElementById('my-gauge-${uuid}'); // your canvas element
  var gauge = new Gauge(target).setOptions(opts); // create sexy gauge!
  gauge.animationSpeed = 5; // set animation speed (32 is default value)
  gauge.maxValue = 200; //Maximum value
  gauge.setTextField(document.getElementById("textfield--${uuid}"));
  gauge.set(${temperatureSen.value}); // set actual value
&lt;/script&gt;
</code></pre>
<ul>
<li>You can call bindings from script with <code>${}</code> notation, if you want to place uuid call it as <code>${uuid}</code>, to get sensor value call it as <code>${temperatureSen.value}</code>. You can use this and replace wherever you want on template.</li>
</ul>
<p dir="auto">All done! Create a custom widget and map both of <code>script</code> and <code>Template</code> that we create on above steps.<br />
<img src="/uploads/files/1470032468974-upload-e3f3a699-bc6d-4586-ae0e-23b3596086c6" alt="0_1470032468081_upload-e3f3a699-bc6d-4586-ae0e-23b3596086c6" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Extra section</strong></p>
<p dir="auto">Script:<br />
<img src="/uploads/files/1470032600100-upload-7f3daf0a-55a2-4ffd-a363-160fb2263336" alt="0_1470032598923_upload-7f3daf0a-55a2-4ffd-a363-160fb2263336" class=" img-fluid img-markdown" /></p>
<p dir="auto">Template:<br />
<img src="/uploads/files/1470032638050-upload-4e7ff5aa-3d05-450a-9872-1a0d0ce33c0d" alt="0_1470032636889_upload-4e7ff5aa-3d05-450a-9872-1a0d0ce33c0d" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can test your script/template before adding in to dashboard,<br />
To test script, select your script and on <code>Actions</code> click on <code>Run now</code> (on the popup click on <code>Run</code>) will get as follows,<br />
<img src="/uploads/files/1470032800382-upload-deb44409-6db1-4f26-b5d6-cdff769abd3d" alt="0_1470032799536_upload-deb44409-6db1-4f26-b5d6-cdff769abd3d" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can test your template, select your template and on <code>Actions</code> click on <code>Run now</code> and on the popup select your script file and click on <code>Run</code>, you will get your widget that you will see on dashboard.<br />
<img src="/uploads/files/1470032859611-upload-df419d20-6b12-4deb-9e73-86283bcbe1b2" alt="0_1470032858751_upload-df419d20-6b12-4deb-9e73-86283bcbe1b2" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/topic/37/custom-widget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 02:16:24 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/37.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Aug 2016 06:29:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom widget on Sat, 11 Apr 2020 18:05:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fsgrazzutti" aria-label="Profile: fsgrazzutti">@<bdi>fsgrazzutti</bdi></a> Great catch! Thanks.</p>
]]></description><link>http://forum.mycontroller.org/post/2780</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2780</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sat, 11 Apr 2020 18:05:16 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sat, 11 Apr 2020 15:16:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a>,</p>
<p dir="auto">I found a typo in your example : https://&lt;mycontrollerip&gt;:8<strong>334</strong>/mylib/gauge.min.js<br />
Using https://&lt;mycontrollerip&gt;:8<strong>443</strong>/mylib/gauge.min.js it works !</p>
<p dir="auto">Congratulations for MyController !</p>
]]></description><link>http://forum.mycontroller.org/post/2778</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2778</guid><dc:creator><![CDATA[fsgrazzutti]]></dc:creator><pubDate>Sat, 11 Apr 2020 15:16:20 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sat, 11 Apr 2020 02:50:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fsgrazzutti" aria-label="Profile: fsgrazzutti">@<bdi>fsgrazzutti</bdi></a> Can you forcefully refresh your browser?<br />
or you may have some syntax error.</p>
]]></description><link>http://forum.mycontroller.org/post/2775</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2775</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sat, 11 Apr 2020 02:50:39 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Fri, 10 Apr 2020 14:14:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a></p>
<p dir="auto">is there any reason for this, once I add the library ?<br />
<img src="/assets/uploads/files/1586528083265-89b478a4-2204-48af-9b47-0fc9204821ee-image.png" alt="89b478a4-2204-48af-9b47-0fc9204821ee-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/post/2772</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2772</guid><dc:creator><![CDATA[fsgrazzutti]]></dc:creator><pubDate>Fri, 10 Apr 2020 14:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sun, 05 Mar 2017 09:45:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> said:</p>
<blockquote>
<p dir="auto">var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource();</p>
</blockquote>
<p dir="auto">Also faced this issue when i imported my database on a different node.<br />
had to change the scripts to use the new variable....</p>
<p dir="auto">Gauges work now after changing the variables..</p>
<p dir="auto">For the rest no issues found, all work like a charm!!!!</p>
<p dir="auto">Thank you for the great support!!!</p>
]]></description><link>http://forum.mycontroller.org/post/755</link><guid isPermaLink="true">http://forum.mycontroller.org/post/755</guid><dc:creator><![CDATA[Tag]]></dc:creator><pubDate>Sun, 05 Mar 2017 09:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 14 Feb 2017 11:55:39 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so much!!</p>
]]></description><link>http://forum.mycontroller.org/post/671</link><guid isPermaLink="true">http://forum.mycontroller.org/post/671</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 14 Feb 2017 11:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Wed, 15 Feb 2017 06:11:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> Sure, I will add some of new widgets, when I get time. Thanks for the feedback.</p>
]]></description><link>http://forum.mycontroller.org/post/670</link><guid isPermaLink="true">http://forum.mycontroller.org/post/670</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 15 Feb 2017 06:11:04 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 14 Feb 2017 10:53:32 GMT]]></title><description><![CDATA[<p dir="auto">Could we not just add this as a widget type, when you add new widget, have a entry for gauge?<br />
That would be awesome instead of adding all this code?</p>
]]></description><link>http://forum.mycontroller.org/post/669</link><guid isPermaLink="true">http://forum.mycontroller.org/post/669</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 14 Feb 2017 10:53:32 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Mon, 13 Feb 2017 15:39:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> said:</p>
<blockquote>
<p dir="auto">temperatureSen.value</p>
</blockquote>
<p dir="auto">THANK YOU!!!! It works now</p>
]]></description><link>http://forum.mycontroller.org/post/663</link><guid isPermaLink="true">http://forum.mycontroller.org/post/663</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Mon, 13 Feb 2017 15:39:08 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Mon, 13 Feb 2017 11:42:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> looks like there is wrong mapping on template.<br />
Can you change this <code>temperatureSen.sensorVariable.value</code> to <code>temperatureSen.value</code>?</p>
]]></description><link>http://forum.mycontroller.org/post/661</link><guid isPermaLink="true">http://forum.mycontroller.org/post/661</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Mon, 13 Feb 2017 11:42:53 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Mon, 13 Feb 2017 10:16:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
This problem is driving me insane, does anyone please have some advice on where to look for this problem?<br />
Regards</p>
]]></description><link>http://forum.mycontroller.org/post/660</link><guid isPermaLink="true">http://forum.mycontroller.org/post/660</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Mon, 13 Feb 2017 10:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sun, 12 Feb 2017 09:09:50 GMT]]></title><description><![CDATA[<p dir="auto">I do get the readings now, when I run the script, the gauge.min.js is accessible, just the gauge does not want to work, with the error above... Please anyone? I'm out of ideas</p>
]]></description><link>http://forum.mycontroller.org/post/655</link><guid isPermaLink="true">http://forum.mycontroller.org/post/655</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Sun, 12 Feb 2017 09:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sun, 12 Feb 2017 09:38:12 GMT]]></title><description><![CDATA[<p dir="auto">mmmh now I'm getting a new error....<br />
<img src="/uploads/files/1486892287758-image.png" alt="0_1486892286040_image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/post/654</link><guid isPermaLink="true">http://forum.mycontroller.org/post/654</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Sun, 12 Feb 2017 09:38:12 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sat, 11 Feb 2017 11:21:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a></p>
<p dir="auto">Yes, there is a change. You have to get resource by calling,</p>
<pre><code>var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource(); 
</code></pre>
]]></description><link>http://forum.mycontroller.org/post/650</link><guid isPermaLink="true">http://forum.mycontroller.org/post/650</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sat, 11 Feb 2017 11:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Sat, 11 Feb 2017 11:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
I don't see the gauges anymore and it does not return a reading for the sensor when I run the script, what I posted above is it, I remember with the previous version, I got the temp reading in the output. Or did that change?<br />
Thanks</p>
]]></description><link>http://forum.mycontroller.org/post/649</link><guid isPermaLink="true">http://forum.mycontroller.org/post/649</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Sat, 11 Feb 2017 11:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Fri, 10 Feb 2017 17:31:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> What is the issue are you seeing?</p>
]]></description><link>http://forum.mycontroller.org/post/648</link><guid isPermaLink="true">http://forum.mycontroller.org/post/648</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 10 Feb 2017 17:31:45 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Fri, 10 Feb 2017 17:31:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi all<br />
Did something change with the build<br />
<img src="/uploads/files/1486725397178-image.png" alt="0_1486725393898_image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">As when I run the scripts after I've upgraded I get this</p>
<pre><code>{
  "uuid": "11d7d0c8-45da-4bc0-988b-40f83bcd7d0e",
  "temperatureSen": {
    "id": 7,
    "uid": "upstairs-temp",
    "resourceType": "SENSOR_VARIABLE",
    "resourceId": 255,
    "resourceName": "[G]:MySensors &gt;&gt; [N]:50:Kiklo Temperature and Hum &gt;&gt; [S]:1:Temperature &gt;&gt; [SV]:Temperature"
  }
}
</code></pre>
<p dir="auto">The UID tag entry seem ok to me<br />
<img src="/uploads/files/1486725529879-image.png" alt="0_1486725529297_image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Regards</p>
]]></description><link>http://forum.mycontroller.org/post/647</link><guid isPermaLink="true">http://forum.mycontroller.org/post/647</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Fri, 10 Feb 2017 17:31:23 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:33:43 GMT]]></title><description><![CDATA[<p dir="auto">Thank you!!!</p>
]]></description><link>http://forum.mycontroller.org/post/492</link><guid isPermaLink="true">http://forum.mycontroller.org/post/492</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:33:43 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:31:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> Created a ticket to track this issue <a href="https://github.com/mycontroller-org/mycontroller/issues/338" rel="nofollow ugc">https://github.com/mycontroller-org/mycontroller/issues/338</a></p>
]]></description><link>http://forum.mycontroller.org/post/491</link><guid isPermaLink="true">http://forum.mycontroller.org/post/491</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:31:47 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:29:12 GMT]]></title><description><![CDATA[<p dir="auto">Ok confirmed, issue is with FF, works with Chrome</p>
<p dir="auto"><img src="/uploads/files/1483442929934-image.png" alt="0_1483442927485_image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/post/490</link><guid isPermaLink="true">http://forum.mycontroller.org/post/490</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:27:06 GMT]]></title><description><![CDATA[<p dir="auto">No thank you for the wonderful support, let me download Chrome and see what happens</p>
]]></description><link>http://forum.mycontroller.org/post/489</link><guid isPermaLink="true">http://forum.mycontroller.org/post/489</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:24:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> Yes, I see the issue with firefox. I am most of the time with google chrome, hence did not notice this issue.</p>
<p dir="auto">Thank you for your patience. I will check why this is not happening in FF browser.</p>
]]></description><link>http://forum.mycontroller.org/post/488</link><guid isPermaLink="true">http://forum.mycontroller.org/post/488</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:21:46 GMT]]></title><description><![CDATA[<p dir="auto">aaah ok, so it is something on my computer locally, do you need any external programs etc to display this, I don't see the gauge on the demo server either</p>
<p dir="auto"><img src="/uploads/files/1483442499554-image.png" alt="0_1483442497075_image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/post/487</link><guid isPermaLink="true">http://forum.mycontroller.org/post/487</guid><dc:creator><![CDATA[esawyja]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:21:46 GMT</pubDate></item><item><title><![CDATA[Reply to Custom widget on Tue, 03 Jan 2017 11:21:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esawyja" aria-label="Profile: esawyja">@<bdi>esawyja</bdi></a> I have updated this script on our demo server too. You can have a look at <a href="http://demo.mycontroller.org/#/dashboard" rel="nofollow ugc">http://demo.mycontroller.org/#/dashboard</a>, you can see a dashboard named <code>esawyja</code></p>
<p dir="auto">Steps:</p>
<ol>
<li>Create UID tag for your temperature sensor</li>
<li>Create Javascript to return value to HTML template</li>
<li>Create HTML template</li>
<li>Add you javaScript on script files, reload MC server page on your browser</li>
<li>Create custom widget with template(step#3) and script(step#2), done! <img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a3d0cb539e8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></li>
</ol>
<p dir="auto"><strong>IMPORTANT</strong>: I believe you are with latest <a href="http://forum.mycontroller.org/topic/58/download-snapshot-build">SNAPSHOT</a> version.</p>
]]></description><link>http://forum.mycontroller.org/post/486</link><guid isPermaLink="true">http://forum.mycontroller.org/post/486</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 03 Jan 2017 11:21:33 GMT</pubDate></item></channel></rss>