Guest
Login
Register
Home
Help
Search
Login
Register
more G-Labs products
This forum is soon going to be read-only.
Please join the new
HomeGenie community on Google+
HomeGenie Forum
Automation Program Plugins and Wizard Scripting
Help
Widget display % or text
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Widget display % or text (Read 520 times)
December 30, 2016, 11:50:03 PM
Read 520 times
IanR
Information
Jr. Member
Posts:
31
Widget display % or text
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
Logged
December 31, 2016, 07:25:21 AM
Reply #1
bkenobi
Information
Global Moderator
Posts:
1525
Re: Widget display % or text
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.
Logged
https://github.com/bkenobi/HomeGenie_Apps
January 04, 2017, 12:50:37 AM
Reply #2
IanR
Information
Jr. Member
Posts:
31
Re: Widget display % or text
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
HomeGenie Forum
Automation Program Plugins and Wizard Scripting
Help
Widget display % or text