more G-Labs products

Author Topic: Widget display % or text  (Read 517 times)

December 30, 2016, 11:50:03 PM
Read 517 times

IanR

  • **
  • Information
  • Jr. Member
  • Posts: 31
Hello
I am trying to indicate/display how full a tank is but can't find a way of displaying the value as a % and with %. Either as text or as a number.
Can some one point me in the correct direction.
Thank you
IanR
 

December 31, 2016, 07:25:21 AM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
This APP could be modified to output in a different format.  As it is, it outputs a time with "MINUTES" after.  Check out the "WriteToSensor" function and the switch at line 200.

January 04, 2017, 12:50:37 AM
Reply #2

IanR

  • **
  • Information
  • Jr. Member
  • Posts: 31
Hello bkenobi
Thank you for the support and program, the write to file part looks relay useful.
I can display the date and the % now, but is there any way to change the sub heading to something more meaning full (custom sub headings?).

I have found this radical change to HG main programming that may do it but if anyone has an easier solution (one that will withstand updates) please can you let me know. Please see :
http://www.homegenie.it/forum/index.php?topic=1719.msg10659#msg10659

Thank you
IanR