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!



Smart Home Forum by FIBARO Team

  • 0

HC3 Quick Application unit of measure





I made a Quick Application for my IVT Solar MPPT charger and it works well. Also I can show my battery voltage status on the main screen of the QA icon ( see attached picture ) As you see there is just the value based I can give just a number in the self:updateProperty("value", tonumber(split_voltage[1])) command.

I can read from the MPPT charger string for that like 13.5 V. After I splitted for "13.5" and "V". From 13.5 string I can made a number with tonumber command and can show in the main icon.

The questuion is how can I put also the Voltage "V" character as unit of the measure. I know I will lost the last digit from the screen and can replace the "0" ( zero ) to the "V" ( voltage ).

Please login or register to see this image.

/monthly_2021_04/image.png.bdfbfe9879cf9558ba0b8efa89f82c47.png" />


Have an idea for that ?


Thank you



Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

For unit like this:

self:updateProperty("unit", "Volt")


In case you also want a text below the value and unit:

self:updateProperty("log", "")


  • Like 1
Link to comment
Share on other sites

Join the conversation

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

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...