Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

tips for self:updateProperty("log",


Question

Posted

Hi all.

 

I am currently creating a QA for my iZone AC system and came across the "log" property.

I currently have a temperature and vent mode displayed along with an icon of the temperature sensor:

 

Please login or register to see this image.

/monthly_2025_01/image.png.7ca7750eebb0fb97afae65909ecd2983.png" /> 

 

I was wondering three things:

1. is it possible to put superscript in somehow so I can display oC for the units?

2. is it possible to change the color etc of the log text? I tried with HTML tags but didn't seem to work

3. Finally - is there a way that I can send the temperature to be logged so it appears on the temperature chart under the General tab?

 

Thanks in advance,

 

Anthony

6 answers to this question

Recommended Posts

  • 0
Posted
6 minutes ago, Anth said:

1. is it possible to put superscript in somehow so I can display oC for the units?

 

You don't have to use superscript, just use these characters to show in the unit: °C 

  • 0
Posted

"Old fashion" HTML will work, bot not at all. It's a way of experiments, what works, what not, on example: table, align, FGcolor, BGcolor, font, face, size, width - all works. CSS doesn't work.

However, there's much you can do using HTML. Below is the example, using QA interface's label field, all done with above few tags. Behaviour on console is not the same, but very similar.


Please login or register to see this attachment.

  • 0
  • Inquirer
  • Posted
    22 hours ago, Łukasz997 said:

    "Old fashion" HTML will work, bot not at all. It's a way of experiments, what works, what not, on example: table, align, FGcolor, BGcolor, font, face, size, width - all works. CSS doesn't work.

    However, there's much you can do using HTML. Below is the example, using QA interface's label field, all done with above few tags. Behaviour on console is not the same, but very similar.


     

    Thanks Lukas. I have that worked out for the QA itself - it's just the "log" that I can't seem to get working.

    22 hours ago, Łukasz997 said:

    "Old fashion" HTML will work, bot not at all. It's a way of experiments, what works, what not, on example: table, align, FGcolor, BGcolor, font, face, size, width - all works. CSS doesn't work.

    However, there's much you can do using HTML. Below is the example, using QA interface's label field, all done with above few tags. Behaviour on console is not the same, but very similar.


     

     Thanks Lukas - I have this working in the QA labels etc. I just can't get it to work in the "Log" property.

    22 hours ago, SmartHomeEddy said:

     

    You don't have to use superscript, just use these characters to show in the unit: °C 

     

    Do you ever find sometimes you make things so complex that the obvious easy method never enters your mind!?!

    Thanks!

    • 0
    Posted

    I'm wondering, what's the problem with "log"? Saying "log" do you mean the console where all the messages are displayed in the HC3?
    There's a way to alter the system color of font in console: by using HTML tag. When I take the HTML code to produce above table in QA and do

     

    print(html_code)

     

    the result will be the same (or very similar) on the console. So, you should not expect heavy troubles with coloring text on the console ("log") - maybe the HTML is improper or you use a style (CSS) or a tag which is not supported?
     

    • 0
  • Inquirer
  • Posted
    1 minute ago, Łukasz997 said:

    I'm wondering, what's the problem with "log"? Saying "log" do you mean the console where all the messages are displayed in the HC3?
    There's a way to alter the system color of font in console: by using HTML tag. When I take the HTML code to produce above table in QA and do

     

    print(html_code)

     

    the result will be the same (or very similar) on the console. So, you should not expect heavy troubles with coloring text on the console ("log") - maybe the HTML is improper or you use a style (CSS) or a tag which is not supported?
     

    No - so the log is the line of text that appears under the icon in the Whole House dashboard. I have a picture of it in my original message above. I have the HTML working well for the QA labels and the console - just not this!

    Thanks

    • 0
    Posted

    Aha. I such case - I can't help.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...