This device generates serial data. Port settings are available via this GUI-O interface.
Possible settings are text, baudrate, data offset and random number.
AVR microcontroller is used.

This device generates serial data. Port settings are available via this GUI-O interface.
Possible settings are text, baudrate, data offset and random number.
AVR microcontroller is used.

This is another project - connecting GUI-O to the IskraEmeco AM550 energy meter.
[chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.iskraemeco.hr/AM550.pdf](link url)
It has an RJ12 connector for data connection and power supply (+/-5V).
My application works by displaying all the meter information about energy consumption, power factor,...
The maximum power is adjustable, which means that the relays on each phase are turned on when the power increases above the set limit (white line on the graph).
In this case, you can turn off the electrical consumer that exceeds the set power. This is visible by the RED LED on the bottom.
Everything is remotely controlled/monitored via WiFi.
Attached are the main circuit diagram and screenshots of my Android phone - the main screen and the second screen - the graph.



@Bernard
In your Sub, the Return statement is used twice. Maybe that's the problem.
After first return statement must be:
Guio_ini_2:
@hls 250 should be at the end of the Init procedure.
I checked the Init process without the Bascom code and it works OK.
Maybe put |CH
|CH UID:ch0 X:50 Y:75 W:50 H:50 XLO:0 BSZ:120 VLP:2 BGC:#E53A4456 FGC:#EF33EAF5 SHE:1 FSZ:2.5 RAD:1 CHT:2 CHN:'MESURE HUM / TEMP / PRESSION' XTC:12 YTC:6 YMA:4 XMA:2 XHI:75 PZO:0
@hls 250
just before @hls 250
Otherwise, your GUI-O screen is very nice 
Exactly. The purpose is to reduce peak energy consumption values ββand reduce costs.
This is another project - connecting GUI-O to the IskraEmeco AM550 energy meter.
[chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.iskraemeco.hr/AM550.pdf](link url)
It has an RJ12 connector for data connection and power supply (+/-5V).
My application works by displaying all the meter information about energy consumption, power factor,...
The maximum power is adjustable, which means that the relays on each phase are turned on when the power increases above the set limit (white line on the graph).
In this case, you can turn off the electrical consumer that exceeds the set power. This is visible by the RED LED on the bottom.
Everything is remotely controlled/monitored via WiFi.
Attached are the main circuit diagram and screenshots of my Android phone - the main screen and the second screen - the graph.



This website is not valid:

I suggest you use:
BT.print("|TI UID:ti_Https X:50 Y:15 W:100 BGC:#FFC000 FGC:#000000 SHC:#FFC000 TXT:"https: " SCI:0\r\n");
SCI:4 means 5th screen.
Here is an init example for making an Access Control Terminal.
@sls 500
@cls
@clh
@clo
@guis BGC:#000000 ASR:0.449671
|IM UID:im1 X:50 Y:22 W:100 H:100 ROT:0 ACT:0 SHE:0 IP:"https://i.imgur.com/v3KocVj.png"
|IM UID:imk X:50 Y:70 W:100 H:100 ROT:0 ACT:0 SHE:0 IP:"https://i.imgur.com/9NSlcYu.png"
|IM UID:imlgr X:50 Y:97 W:14 H:14 ROT:0 ACT:0 SHE:0 PLS:1 IP:"https://i.imgur.com/7yqHF2v.gif"
|BSL UID:bsl1 X:0 Y:40 FGC:#A6AEA9 LEN:100 BTH:0.5
|BT UID:btky X:50 Y:22 W:45 H:20 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'Ky'
|BT UID:bt1 X:25 Y:50 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'1'
|BT UID:bt2 X:50 Y:50 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'2'
|BT UID:bt3 X:75 Y:50 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'3'
|BT UID:bt4 X:25 Y:61 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'4'
|BT UID:bt5 X:50 Y:61 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'5'
|BT UID:bt6 X:75 Y:61 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'6'
|BT UID:bt7 X:25 Y:72 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'7'
|BT UID:bt8 X:50 Y:72 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'8'
|BT UID:bt9 X:75 Y:72 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'9'
|BT UID:btzn X:25 Y:83 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'ZN'
|BT UID:bt0 X:50 Y:83 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'0'
|BT UID:btkey X:75 Y:83 W:22 H:8 VIS:1 ROT:0 RAD:1.5 SHE:1 BGC:#00A0A0A4 FGC:#00FFFFFF SBGC:#00FFFFFF TXT:'key'
@hls 250

Here is an example of using a water level gauge in tanks, controlled via a WiFi network.

This device generates serial data. Port settings are available via this GUI-O interface.
Possible settings are text, baudrate, data offset and random number.
AVR microcontroller is used.

This is example Init :
https://forum.gui-o.com/topic/223/gui-o-energy-meter
@sls 500
@cls
@clh
@clo
@gse COD:0 TSC:39
@guis BGC:#000000 ASR:0.449671
|IM UID:im0 X:50 Y:50 W:100 H:100 ROT:0 SHE:0 VIS:1 ACT:0 OPA:1 SCM:1 PLS:1 IP:'https://i.imgur.com/zZuSWyR.png'
|IM UID:imlcd X:50 Y:20 W:90 H:90 ROT:0 SHE:1 SHHR:2 SHVR:2 VIS:1 ACT:0 OPA:1 IP:'https://i.imgur.com/WGJpsI4.png'
|LB UID:lben X:50 Y:20.5 ALP:0 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#000000 FSZ:4 FFA:'font8' TXT:'25,101 KWh'
|LB UID:lbv X:5 Y:35 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'231.048 V'
|LB UID:lba X:5 Y:40 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'0.057 A'
|LB UID:lbw X:5 Y:45 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'7.229 W'
|LB UID:lbf X:5 Y:50 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'50.000 Hz'
|LB UID:lbp X:5 Y:55 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'PF:1.000'
|LB UID:lbw1 X:5 Y:60 ALP:1 SHE:1 SHHR:0.8 SHVR:0.8 ROT:0 FGC:#FFFFFF FSZ:3.5 FFA:'font10' TXT:'Wmax 47.046 W'
|LB UID:lb0 X:50 Y:6 ALP:0 SHE:1 ROT:0 FGC:#FFFFFF FSZ:5 FFA:'font7' TXT:'Energy Meter'
|BSR UID:bsrsh X:52 Y:78 W:95 H:27 RAD:0 OPA:0.5 BGC:#000000 SBGC:#000000 FGC:#000000 BTH:0
|CH UID:pl1 X:50 Y:77 W:95 H:27 SHE:1 VIS:1 OPA:1 PZO:1 BGC:#000000 FGC:#FFFFFF CHT:0 FSZ:1.2 SHVL:1 VLP:0 CHN:'ENERGY METER' RAD:0.5 BTH:0 LT:0.3 XTC:6 YTC:5 XMA:6 YMA:4 YLO:0 YHI:10 SHG:0 DRAT:0.90 DRA:50
|IM UID:imexit X:85 Y:95 W:14 H:14 ROT:0 SHE:1 SHHR:1 SHVR:1 VIS:1 OPA:1 SCM:2 PLS:1 IP:'https://i.imgur.com/8hDtY92.png'
|LB UID:lbms X:5 Y:95 ALP:1 SHE:1 ROT:0 FGC:#FFFFFF FSZ:2.5 FFA:'font7' TXT:'(c) gammda 2024'
@hls 200
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'4,1.7,1.1,6' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'3,3.8,2.2,8' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'3,3.4,1.8,7' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'2,3.2,1.6,4' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'4,2.3,2.2,4.5' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'5,2.2,1.6,4.8' XP:'0,0,0,0'
@pl1 PLI:'pl0,pl1,pl2,pl3' PLC:'#1ec78e,#06c1f7,#ee9e02,#cd1e2c' YP:'5.4,1.7,1.1,3.4' XP:'0,0,0,0'
I noticed that LB widgets are missing from my GUI-O app this morning. I thought something was wrong with my smartphone. I checked this on my Samsung tablet where the previous version of GUI-O is installed. And it worked fine there. After updating to version 1.0.90, the same problem occurs. Is it possible that there is something wrong with the new version of GUI-O?