Hello everyone
how can I add a chart into a group item?
I have this:
Group item= UPS label= "UPS" icon="energy"
and want to add something like this:
Frame label= "AC voltage" {
Chart item= Ups_Input_Voltage period=D refresh=30000 }
Thanks!
Hello everyone
how can I add a chart into a group item?
I have this:
Group item= UPS label= "UPS" icon="energy"
and want to add something like this:
Frame label= "AC voltage" {
Chart item= Ups_Input_Voltage period=D refresh=30000 }
Thanks!
To add Items to a group, which don’t belong to this group, simply use curly brackets:
Group item= UPS label= "UPS" icon="energy" {
Frame label= "AC voltage" {
Chart item= Ups_Input_Voltage period=D refresh=30000
}
}
Thanks, this works, but with this configuration I do not see my original UPS items which were there before.
Number Ups_Input_Voltage "UPS input voltage [%.1f V]" (UPS) {networkupstools="ups1:input.voltage"}
Number Ups_Output_Voltage "UPS output voltage [%.1f V]" (UPS) {networkupstools="ups1:output.voltage"}
Hmm… thought that this would add Widgets to the group., but it seems, you have to set all items to the group, so this should work:
Group item= UPS label= "UPS" icon="energy" {
Text item= Ups_Input_Voltage
Text item= Ups_Output_Voltage
Frame label= "AC voltage" {
Chart item= Ups_Input_Voltage period=D refresh=30000
}
}
Last Chance would be to add another Frame for the text items…
You’re right, I had to add all the group members explicitly and now I have my old data back and a new graph below.
Thank you, Udo!