Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add ability to display arbitrary text string (and not just a number) #81

Open
puterboy opened this issue Aug 11, 2022 · 3 comments

Comments

@puterboy
Copy link

For example a status or a time.
If so, then the graph options would be disabled

@LazeMSS
Copy link
Owner

LazeMSS commented Aug 12, 2022

Where? How - could you do a mockup

@puterboy
Copy link
Author

I would add a new Custom "Type", say called "String" with the following relevant subset of config options for the 'Command' type

Name:
Type: String
Command: <Enter command that generates desired string for display>
Run interval: 
Only show when printer is running
Label:
Width:
Icon:

@puterboy
Copy link
Author

Actually, on second thought, I think a simpler/cleaner solution would be to use the existing Type=command with the following modification:

Name:
Type: Command
Command:  <Enter command that generates desired string for display>
Run interval: 
Only show when printer is running:
Input is:
     -  A temperature value
     -  Number
     +  String [Select string]
Label:
Width:
Icon:

When string is selected all the other options are hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants