<?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[Examples]]></title><description><![CDATA[Examples of GUI-O in action]]></description><link>https://forum.gui-o.com/category/6</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 23:52:34 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/category/6.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Mar 2021 14:28:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Automatic plant watering]]></title><description><![CDATA[<p dir="auto"><strong>Hello and welcome to the GUI-O "Automatic plant watering" example!</strong></p>
<p dir="auto"><strong>NOTE:</strong> All images are copyrighted and should not be used for commercial purposes!</p>
<p dir="auto">This example shows how to control plant watering device. The example is applicable for all connection types supported by the GUI-O application (i.e., Bluetooth, Bluetooth LE, IoT and Usb).</p>
<p dir="auto">The final result is shown below. During the example, you can always consult the <a href="https://www.gui-o.com/assets/gui-o_developer_manual.pdf" rel="nofollow ugc">GUI-O developer manual</a> for more information.</p>
<p dir="auto"><img src="https://i.imgur.com/u8EN5xg.jpg" alt="result.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">First, the following images must be copied onto your Android device under /Android/data/com.guio.guioapp/files/Pictures</p>
<p dir="auto"><a href="https://i.imgur.com/ipqqZlx.jpg" rel="nofollow ugc">NoConnB.jpg</a><br />
<a href="https://i.imgur.com/3Bk5WxR.jpg" rel="nofollow ugc">Soil1.jpg</a><br />
<a href="https://i.imgur.com/7GvXYMl.gif" rel="nofollow ugc">waterx.gif</a><br />
<a href="https://i.imgur.com/9eRgEL0.jpg" rel="nofollow ugc">ZCloudy.jpg</a><br />
<a href="https://i.imgur.com/NvSrWaT.jpg" rel="nofollow ugc">ZSunny_Cloudy.jpg</a><br />
<a href="https://i.imgur.com/tI5x1Tx.jpg" rel="nofollow ugc">ZSunny.jpg</a><br />
<a href="https://i.imgur.com/WnAkusy.jpg" rel="nofollow ugc">ZRainy.jpg</a><br />
<a href="https://i.imgur.com/B6n3I5d.jpg" rel="nofollow ugc">ZNight_Rainy.jpg</a><br />
<a href="https://i.imgur.com/leZbkgU.jpg" rel="nofollow ugc">ZNight.jpg</a></p>
<p dir="auto">Alternatively, the images can be loaded during run-time within the GUI-O application by specifying the corresponding <strong>url</strong> path in the parameter list (see comments in the code example below).</p>
<p dir="auto"><strong>NOTE:</strong> Since Android 11, the <strong>/Android/data/com.guio.guioapp/files/Pictures</strong> path is no longer accessible directly from the device due to Google's security restrictions. You can, however, access the path by connecting the Android device to a PC and transfer the images.</p>
<p dir="auto">The GUI initialization procedure is shown in the following code block:</p>
<pre><code>// set ASR (aspect ratio) parameter of the "development" device (see "Developer mode" section in the manual)
@guis BGC:#000000 ASR:0.449671

// show load screen - hide GUI, clear widgets and hardware instances and set display settings
@sls
@cls
@clh

// create widgets specifying custom parameters
// |IM - image
// |LB - label
// |BSL - basic line
// |SI - status indicator
// |CB - circular bar
// |TG - toggle
// |BT - button
// |TI - text input
// |CH - chart
|IM UID:im1 X:50 Y:15 W:100 H:100 ROT:0 SHE:0 IP:"soil1.jpg"

|LB UID:lb1m X:5 Y:27.5 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:4.5 FFA:"font6" TXT:"Plant waterer"

|IM UID:imx X:50 Y:54 W:100 H:100 ROT:0 SHE:0 VIS:1 OPA:0.3 PLS:1 IP:"waterx.gif"

|BSL UID:bsl1 X:0 Y:41 FGC:#78AB46 LEN:100 BTH:0.5

|LB UID:lbsec1 X:5 Y:47 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Section-1"

|SI UID:si11 X:40 Y:47 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:1

|SI UID:si12 X:65 Y:47 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:1

|SI UID:si13 X:90 Y:47 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|BT UID:bt11 X:40 Y:47 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt12 X:65 Y:47 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt13 X:90 Y:47 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|LB UID:lb11 X:40 Y:44 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:1 FFA:"font6" TXT:"25"

|LB UID:lb12 X:65 Y:44 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:1 FFA:"font6" TXT:"25"

|LB UID:lb13 X:90 Y:44 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:""

|LB UID:lbsec2 X:5 Y:55 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Section-2"

|SI UID:si21 X:40 Y:55 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|SI UID:si22 X:65 Y:55 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|SI UID:si23 X:90 Y:55 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0
         
|BT UID:bt21 X:40 Y:55 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt22 X:65 Y:55 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt23 X:90 Y:55 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|LB UID:lb21 X:40 Y:52 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

|LB UID:lb22 X:65 Y:52 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

|LB UID:lb23 X:90 Y:52 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

|LB UID:lbsec3 X:5 Y:63 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Section-3"

|SI UID:si31 X:40 Y:63 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|SI UID:si32 X:65 Y:63 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|SI UID:si33 X:90 Y:63 W:6 VIS:1 SHE:1 BGC:#B0C4DE FGC:#990000 EN:0

|BT UID:bt31 X:40 Y:63 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt32 X:65 Y:63 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|BT UID:bt33 X:90 Y:63 W:8 H:3 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:" " BTH:0 FSZ:2 FFA:"font6"

|LB UID:lb31 X:40 Y:60 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

|LB UID:lb32 X:65 Y:60 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

|LB UID:lb33 X:90 Y:60 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 VIS:0 FFA:"font6" TXT:"-"

BSL UID:bsl2 X:0 Y:67 FGC:#78AB46 LEN:100 BTH:0.5

|SL UID:sltim1 X:69 Y:35 W:55 H:0.8 RAD:0.5 HAH:6 HAW:6 VAL:25 FGC:#78AB46 SFGC:#FFFF00 LVAL:1 HVAL:60

|LB UID:lbtim1 X:5 Y:35 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Timer"

|LB UID:lbtimv1 X:20 Y:35 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 FFA:"font6" TXT:"25"

|LB UID:lbtimt1 X:27 Y:35 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:3 FFA:"font6" TXT:"min"

|IM UID:imnight X:50 Y:92 W:25 H:25 ROT:0 SHE:0 IP:"Znight.jpg" VIS:1

|BSL UID:bsl3 X:0 Y:82 FGC:#78AB46 LEN:100 BTH:0.5
 
|TI UID:ti1 X:40 Y:74.5 W:75 ROT:0 SHE:1 VIS:0 BGC:#30302d FGC:#FFFFFF SHE:1 FSZ:5 FFA:"font6" RAD:1 BTH:0.5 TXT:"1112,2123,3234,2"

|BT UID:btcoff X:90 Y:74.5 W:20 H:5 VIS:0 BGC:#30302d SBGC:#6e5b5b FGC:#FFFFFF LOR:1 TXT:"ON/OFF" BTH:0 FFA:"font6" FSZ:3.5

|BT UID:btcycle X:50 Y:74.5 W:35 H:6 BGC:#30302d SBGC:#6e5b5b FGC:#FFFFFF LOR:1 TXT:"Cycle" BTH:0 FFA:"font6" FSZ:3.5

|CB UID:temp_indicator X:18 Y:92 W:25 CE:0 HAW:0 FGC:#cd1e2c SFGC:#FFFF00 BGC:#35444d  BTH:2 LVAL:15 HVAL:40 VAL:24

|CB UID:hum_indicator X:82 Y:92 W:25 CE:0 HAW:0 SFGC:#3063A5 BGC:#35444d BTH:2 LVAL:0 HVAL:100 VAL:25

|LB UID:temp_value X:18 Y:92  FSZ:4 FFA:"font6" TXT:"22°C" FGC:#cd1e2c

|LB UID:hum_value X:82 Y:92  FSZ:4 FFA:"font6" TXT:"55%" FGC:#80c5de

|CH UID:temp_chart X:50 Y:74.5 W:99 H:15 VIS:0 BTH:0 XMA:6 YMA:3 XTC:4 YTC:5 YHI:50 BGC:#454546 FGC:#FFFFFF RAD:1 CHN:"Temperature(°C)" FFA:"font0" FSZ:1.2

|CH UID:hum_chart X:50 Y:74.5 W:99 H:15 VIS:0 BTH:0 XMA:6 YMA:3 XTC:4 YTC:5 YHI:100 BGC:#454546 FGC:#FFFFFF RAD:1 CHN:"Humidity(%)" FFA:"font0" FSZ:1.2

|BT UID:bttemp X:18 Y:92 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:"Temp" BTH:0 FFA:"font6" FSZ:2.5

|BT UID:bthum X:82 Y:92 BGC:#0030302d SBGC:#006e5b5b FGC:#00FFFFFF LOR:1 TXT:"Hum" BTH:0 FFA:"font6" FSZ:2.5

// hide load screen (show GUI)
@hls 250
</code></pre>
<p dir="auto">Note that the images can also be loaded at run-time (within the GUI-O application) from the specified <strong>url</strong>. For example:</p>
<pre><code>|IM UID:im1 X:50 Y:15 W:100 H:100 ROT:0 SHE:0 IP:"https://i.imgur.com/3Bk5WxR.jpg"
</code></pre>
<p dir="auto">This invokes the GUI-O application downloader and displays the image after successful transfer. Downloaded images are saved locally. All subsequent initialization requests trigger loading such images from the local resource, even if the image path is specified as an url.</p>
<p dir="auto">Drawing chart data, reacting to user input and updating widgets is thoroughly described in the GUI-O developer manual in the "Widgets API" section.</p>
<p dir="auto">Feel free to leave any questions or comments below.</p>
]]></description><link>https://forum.gui-o.com/topic/6/automatic-plant-watering</link><guid isPermaLink="true">https://forum.gui-o.com/topic/6/automatic-plant-watering</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Fri, 26 Mar 2021 14:28:39 GMT</pubDate></item><item><title><![CDATA[Access control example]]></title><description><![CDATA[<p dir="auto">Here is the new RFID access control screen.<br />
<a href="https://i.imgur.com/8NE7gvC.png" rel="nofollow ugc">https://i.imgur.com/8NE7gvC.png</a></p>
]]></description><link>https://forum.gui-o.com/topic/5/access-control-example</link><guid isPermaLink="true">https://forum.gui-o.com/topic/5/access-control-example</guid><dc:creator><![CDATA[gammda]]></dc:creator><pubDate>Fri, 26 Mar 2021 14:23:45 GMT</pubDate></item><item><title><![CDATA[Central heating example]]></title><description><![CDATA[<p dir="auto"><strong>Hello and welcome to the GUI-O "Central heating" example!</strong></p>
<p dir="auto"><strong>NOTE:</strong> All images are copyrighted and should not be used for commercial purposes!</p>
<p dir="auto">This example shows how to control and monitor temperature of your central heating system. The example is applicable for all connection types supported by the GUI-O application (i.e., Bluetooth, Bluetooth LE, IoT and Usb).</p>
<p dir="auto">The final result is shown below. During the example, you can always consult the <a href="https://www.gui-o.com/assets/gui-o_developer_manual.pdf" rel="nofollow ugc">GUI-O developer manual</a> for more information.</p>
<p dir="auto"><img src="https://i.imgur.com/3A8c3lL.jpg" alt="result.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">First, the following image must be copied onto your Android device under /Android/data/com.guio.guioapp/files/Pictures</p>
<p dir="auto"><a href="https://i.imgur.com/xq5fJQq.jpg" rel="nofollow ugc">CentHeat.jpg</a></p>
<p dir="auto">Alternatively, the image can be loaded during run-time within the GUI-O application by specifying the corresponding url path in the parameter list (see the code example below).</p>
<p dir="auto">NOTE: Since Android 11, the /Android/data/com.guio.guioapp/files/Pictures path is no longer accessible directly from the device due to Google's security restrictions. You can, however, access the path by connecting the Android device to a PC and transfer the image.</p>
<p dir="auto">The GUI initialization procedure is shown in the following code block:</p>
<pre><code>// set ASR (aspect ratio) parameter of the "development" device (see "Developer mode" section in the manual)
@guis BGC:#000000 ASR:0.449671

// show load screen - hide GUI, clear widgets and hardware instances and set display settings
@sls
@cls    
@clh

// create widgets specifying custom parameters
// |IM - image
// |LB - label
// |CB - circular bar
// |TG - toggle
// |SL - slider
|IM UID:im1 X:50 Y:17 W:100 H:100 ROT:0 SHE:0 IP:"CentHeat.jpg"

|LB UID:lb1 X:40 Y:31 ROT:0 SHE:1 FGC:#FFFFFF FSZ:4 ALP:1 FFA:"font6" TXT:"Central Heating System"

|CB UID:cb1 X:50 Y:82 W:50 ROT:0 SHE:1 BGC:#585A60 FGC:#6D9DC5 VAL:25 LVAL:1 HVAL:200 STA:-245 ENA:65 BTH:4 SHN:0 NC:#A0A0A4 NT:0.3 CE:1 SHT:0 XTC:10 FSZ:0.1 UD:1 HAW:7 HAH:7

|TG UID:tgt X:50 Y:72 W:15 H:1.5 ROT:270 SHE:1 BGC:#585A60 FGC:#6D9DC5 EN:1 HAW:7 HAH:7 RAD:0.7

|LB UID:lbsl X:50 Y:82 SHE:1 ROT:0 SHE:1 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Timer"

|LB UID:lbtim X:50 Y:85 SHE:1 ROT:0 SHE:1 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"35" 

|LB UID:lbst X:5 Y:7 SHE:1 ROT:0 SHE:1 ALP:1 FGC:#FFFFFF FSZ:4 FFA:"font6" TXT:"Temperature" 

|LB UID:lbstn X:50 Y:7 SHE:1 ROT:0 SHE:1 ALP:1 FGC:#FFFFFF FSZ:4 FFA:"font6" TXT:"40°"

|TG UID:tg1 X:80 Y:40 W:15 H:1.8 ROT:180 SHE:1 BGC:#585A60 FGC:#148F77 EN:1 HAW:6 HAH:6 RAD:1

|TG UID:tg2 X:80 Y:50 W:15 H:1.8 ROT:180 SHE:1 BGC:#585A60 FGC:#148F77 EN:1 HAW:6 HAH:6 RAD:1

|TG UID:tg3 X:80 Y:60 W:15 H:1.8 ROT:180 SHE:1 BGC:#585A60 FGC:#148F77 EN:1 HAW:6 HAH:6 RAD:1

|SL UID:sltemp X:20 Y:50 W:60 H:10 RAD:0 ROT:270 HAH:0 HAW:0 VAL:35 FGC:#751601 SFGC:#FFFF00 LVAL:1 HVAL:60

|LB UID:lbstn1 X:20 Y:50 SHE:1 ROT:0 SHE:1 ALP:0 FGC:#FFFFFF FSZ:4 FFA:"font6" TXT:"40°"

|SI UID:si1 X:65 Y:40 W:5 VIS:1 ROT:0 BGC:#585A60 FGC:#922B21 SHE:1 EN:1

|SI UID:si2 X:65 Y:50 W:5 VIS:1 ROT:0 BGC:#585A60 FGC:#922B21 SHE:1 EN:1

|SI UID:si3 X:65 Y:60 W:5 VIS:1 ROT:0 BGC:#585A60 FGC:#922B21 SHE:1 EN:1

|LB UID:lbs1 X:50 Y:40 SHE:1 ROT:0 SHE:1 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Oven"

|LB UID:lbs2 X:50 Y:50 SHE:1 ROT:0 SHE:1 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Pump"

|LB UID:lbs3 X:50 Y:60 SHE:1 ROT:0 SHE:1 FGC:#FFFFFF FSZ:3.5 FFA:"font6" TXT:"Floor"

|LB UID:lbt1 X:20 Y:32 ROT:0 ALP:0 SHE:1 VIS:0 FGC:#FFFFFF FSZ:1.8 TXT:"--"

// hide load screen (show GUI)
@hls 250
</code></pre>
<p dir="auto">Note that the image can also be loaded at run-time (within the GUI-O application) from the specified <strong>url</strong>. For example:</p>
<pre><code>|IM UID:im1 X:50 Y:17 W:100 H:100 ROT:0 SHE:0 IP:"https://i.imgur.com/xq5fJQq.jpg"
</code></pre>
<p dir="auto">This invokes the GUI-O application downloader and displays the image after successful transfer. Downloaded images are saved locally. All subsequent initialization requests trigger loading such images from the local resource, even if the image path is specified as an url.</p>
<p dir="auto">Reacting to user input and updating widgets is thoroughly described in the GUI-O developer manual in the "Widgets API" section.</p>
<p dir="auto">Feel free to leave any questions or comments below.</p>
]]></description><link>https://forum.gui-o.com/topic/4/central-heating-example</link><guid isPermaLink="true">https://forum.gui-o.com/topic/4/central-heating-example</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Thu, 25 Mar 2021 12:05:59 GMT</pubDate></item><item><title><![CDATA[Living room example]]></title><description><![CDATA[<p dir="auto"><strong>Hello and welcome to the GUI-O "Living room" example!</strong></p>
<p dir="auto"><strong>NOTE:</strong> All images are copyrighted and should not be used for commercial purposes!</p>
<p dir="auto">This example shows how to control and monitor temperature (and humidity) of a room. The example is applicable for all connection types supported by the GUI-O application (i.e., Bluetooth, Bluetooth LE, IoT and Usb).</p>
<p dir="auto">The final result is shown below. During the example, you can always consult the <a href="https://www.gui-o.com/assets/gui-o_developer_manual.pdf" rel="nofollow ugc">GUI-O developer manual</a> for more information.</p>
<p dir="auto"><img src="https://i.imgur.com/vZSvCBv.jpg" alt="result.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">First, the following images must be copied onto your Android device under <strong>/Android/data/com.guio.guioapp/files/Pictures</strong></p>
<p dir="auto"><a href="https://i.imgur.com/Z8yHMtm.jpg" rel="nofollow ugc">living_room.jpg</a><br />
<a href="https://i.imgur.com/vejv6kR.png" rel="nofollow ugc">fan_icon.png</a><br />
<a href="https://i.imgur.com/woI8aYQ.png" rel="nofollow ugc">fan_level_icon.png</a></p>
<p dir="auto">Alternatively, the images can be loaded during run-time within the GUI-O application by specifying the corresponding <strong>url</strong> path in the parameter list (see comments in the code example below).</p>
<p dir="auto"><strong>NOTE:</strong> Since Android 11, the <strong>/Android/data/com.guio.guioapp/files/Pictures</strong> path is no longer accessible directly from the device due to Google's security restrictions. You can, however, access the path by connecting the Android device to a PC and transfer the images.</p>
<p dir="auto">The GUI initialization procedure is shown in the following code block:</p>
<pre><code>// set ASR (aspect ratio) parameter of the "development" device (see "Developer mode" section in the manual)
@guis BGC:#F4F5F4 ASR:0.449671

// show load screen - hide GUI, clear widgets and hardware instances and set display settings
@sls
@cls
@clh

// create widgets specifying custom parameters
// |IM - image
// |LB - label
// |BSR - basic rectangle
// |CB - circular bar
// |TG - toggle
// |BT - button
// |CH - chart
|IM UID:living_room X:50 Y:11 W:100 IP:"living_room.jpg"

|LB UID:title X:30 Y:20 FFA:"font6" FSZ:7 TXT:"Living room" FGC:#ffffff

|LB UID:temperature X:85 Y:20 FFA:"font6" FSZ:8 TXT:"24°" FGC:#ffffff

|BSR UID:indicator_container X:50 Y:35 W:90 H:20 BGC:#ffffff SBGC:#ffffff RAD:2 BTH:0 SHE:1

|CB UID:temp_indicator X:28 Y:38 W:34 CE:0 HAW:0 FGC:#cd1e2c SFGC:#cd1e2c BGC:#35444d  BTH:2.5 LVAL:15 HVAL:40 VAL:24

|CB UID:hum_indicator X:72 Y:38 W:34 CE:0 HAW:0 FGC:#80c5de SFGC:#80c5de BGC:#35444d BTH:2.5 LVAL:0 HVAL:100 VAL:25

|LB UID:temp_header X:28 Y:27.5 TXT:"Temperature" FFA:"font6" FSZ:2.5 FGC:#35444d

|LB UID:hum_header X:72 Y:27.5 TXT:"Humidity " FFA:"font6" FSZ:2.5 FGC:#35444d

|LB UID:temp_value X:29 Y:41 FFA:"font6" FSZ:6 TXT:"24°" FGC:#cd1e2c

|LB UID:hum_value X:73 Y:41 FFA:"font6" FSZ:6 TXT:"25%" FGC:#80c5de

|BSR UID:fan_container X:50 Y:57 W:90 H:22 BGC:#ffffff SBGC:#ffffff RAD:2 BTH:0 SHE:1

|LB UID:fan_header X:22 Y:49 TXT:"Fan control" FFA:"font6" FSZ:3.5 FGC:#35444d

|LB UID:fan_value X:50 Y:56 TXT:"Auto mode" FFA:"font6" FSZ:4 FGC:#cc99ff

|TG UID:fan_enabled X:50 Y:49 W:15 H:2.5 RAD:1.25 BGC:#35444d FGC:#72bcd4 IP:"fan_icon.png" HAW:8 HAH:8 EN:1

|BT UID:fan_auto X:22 Y:64 BGC:#F4F5F4 SBGC:#72bcd4 FGC:#35444d LOR:1 TXT:"Auto" BTH:0 FFA:"font6" FSZ:2.5

|BT UID:fan_min X:50 Y:64 BGC:#F4F5F4 SBGC:#d3d3d3 FGC:#35444d LOR:1 TXT:"Min " BTH:0 FFA:"font6" FSZ:2.5

|BT UID:fan_max X:78 Y:64 BGC:#F4F5F4 SBGC:#d3d3d3 FGC:#35444d LOR:1 TXT:"Max" BTH:0 FFA:"font6" FSZ:2.5

|SL UID:fan_power X:50 Y:59 W:80.5 H:1.4 RAD:0.5 BGC:#35444d FGC:#72bcd4 SFGC:#c14953 HAW:6 VAL:50

|IM UID:fan_level_small X:15 Y:55.5 W:7 IP:"fan_level_icon.png"

|IM UID:fan_level_large X:85 Y:55 W:10 IP:"fan_level_icon.png"

|BSR UID:chart_container X:50 Y:83 W:90 H:28 BGC:#ffffff SBGC:#ffffff RAD:2 BTH:0 SHE:1

|BT UID:chart_day X:22 Y:93 BGC:#F4F5F4 SBGC:#d3d3d3 FGC:#35444d LOR:1 TXT:"Day" BTH:0 FFA:"font6" FSZ:2.5

|BT UID:chart_week X:50 Y:93 BGC:#F4F5F4 SBGC:#d3d3d3 FGC:#35444d LOR:1 TXT:"Week" BTH:0 FFA:"font6" FSZ:2.5

|BT UID:chart_hum X:78 Y:93 BGC:#F4F5F4 SBGC:#72bcd4 FGC:#35444d LOR:1 TXT:"Humidity" BTH:0 FFA:"font6" FSZ:2.5

|CH UID:temp_chart X:50 Y:80 W:90 H:18 BTH:0 XTC:4 YTC:5 BGC:#ffffff FGC:#35444d RAD:2 YHI:35 CHN:"Temperature (°C)" FFA:"font6" FSZ:1.5

|CH UID:hum_chart X:50 Y:80 W:90 H:18 BTH:0 XTC:4 YTC:5 BGC:#ffffff FGC:#35444d RAD:2 YHI:100 CHN:"Humidity (%)" FFA:"font6" FSZ:1.5 VIS:0

// hide load screen (show GUI)
@hls 250
</code></pre>
<p dir="auto">Note that the images can also be loaded at run-time (within the GUI-O application) from the specified <strong>url</strong>. For example:</p>
<pre><code>|IM UID:living_room X:50 Y:11 W:100 IP:"https://i.imgur.com/Z8yHMtm.jpg"
</code></pre>
<p dir="auto">This invokes the GUI-O application downloader and displays the image after successful transfer. Downloaded images are saved locally. All subsequent initialization requests trigger loading such images from the local resource, even if the image path is specified as an <strong>url</strong>.</p>
<p dir="auto">The following commands show how to draw temperature and humidity values to the chart (point-by-point):</p>
<pre><code>@temp_chart PLI:"pl1" PLC:"#cd1e2c" YP:"27.0"
@hum_chart PLI:"pl1" PLC:"#80c5de" YP:"32.0"
</code></pre>
<p dir="auto">Since both charts are confgured to display time on X-axis, the points are added automatically (based on the current time). This means that XP parameter need not be specified. It is also possible to draw multiple plots to the same chart.</p>
<p dir="auto">Advanced chart data drawing, reacting to user input and updating widgets is thoroughly described in the  <a href="https://www.gui-o.com/assets/gui-o_developer_manual.pdf" rel="nofollow ugc">GUI-O developer manual</a> in the "Widgets API" section.</p>
<p dir="auto">Feel free to leave any questions or comments below.</p>
]]></description><link>https://forum.gui-o.com/topic/3/living-room-example</link><guid isPermaLink="true">https://forum.gui-o.com/topic/3/living-room-example</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Tue, 23 Mar 2021 12:18:45 GMT</pubDate></item></channel></rss>