Logic Machine Forum
Little help needed - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Little help needed (/showthread.php?tid=2803)



Little help needed - AlexLV - 22.08.2020

Hi,

creating next project, some advises needed:

1. How to add background to just text on visualization? (seen only during editing, I need see background always) ;
2. How to add just group object to E-mail body text - I need temperatures as example. No any attachment.

Thank you in advance,

Alex

   


RE: Little help needed - AlexLV - 22.08.2020

Hi,

for first question found answer by myself - I just create 250 byte object with text I needed, and added this object to visu. It has background properties Smile

Also found bug - if I need change 250 byte object with pass from visualization - (E-mail address in my case) this not working ( I use SL with 2.5.0 FW). Screen become a little darker and no window to enter pass appeared...


Alex


RE: Little help needed - Erwin van der Zwart - 23.08.2020

Hi,

First of all you should use 2.5.1 instead of 2.5.0, it probably will fix your issue and make sure to clear browser cache after a FW upgrade.

For the second you can use:
Code:
message = "Temperature living room is " .. grp.find('1/1/1').value .. ' degrees celcius'
BR,

Erwin


RE: Little help needed - AlexLV - 23.08.2020

(23.08.2020, 09:37)Erwin van der Zwart Wrote: Hi,

First of all you should use 2.5.1 instead of 2.5.0, it probably will fix your issue and make sure to clear browser cache after a FW upgrade.

For the second you can use:
Code:
message = "Temperature living room is " .. grp.find('1/1/1').value .. ' degrees celcius'
BR,

Erwin
Hi Erwin,

Thank you for your advice's.

I have imx6 CPU in my SL. I decided this is HW2. Only 2.5.0 available for that from SE.com... 2.5.1 for HW1.. I can't see HW lable on device.. I tried upgrade - see firmware file is invalid, looks my HW is not v.1..

BR,

Alex


RE: Little help needed - Erwin van der Zwart - 23.08.2020

Hi,

You can find the latest FW for all HW versions here under the tab software & firmware:
https://www.se.com/ww/en/product/LSS100200/spacelynk-logic-controller/

BR

Erwin


RE: Little help needed - AlexLV - 23.08.2020

Erwin,

this problem with password still exist. I successfully updated SL to 2.5.1, cleared cache of Firefox. When visualization elements 250 bytes type is used with password - screen became darker and no password window appear. For temperature datatype all is working with pass, so this should be checked.

BR,

Alex


RE: Little help needed - admin - 25.08.2020

Add this to Custom JavaScript:
Code:
$(function() {
  $('.control.control-textinput').textinput().off('changed', hideControls);
});



RE: Little help needed - AlexLV - 25.08.2020

Admin,

thank you, will check today later.

Alex