mirror of
https://github.com/markqvist/Sideband.git
synced 2025-05-02 22:45:06 -04:00
Added lxmd telemetry plugin to examples
This commit is contained in:
parent
ebc4462a50
commit
a812f0a589
2 changed files with 43 additions and 1 deletions
|
@ -59,7 +59,8 @@ class BasicTelemetryPlugin(SidebandTelemetryPlugin):
|
|||
|
||||
# Create fuel sensor
|
||||
telemeter.synthesize("fuel")
|
||||
telemeter.sensors["fuel"].update_entry(capacity=75, level=61)
|
||||
telemeter.sensors["fuel"].update_entry(capacity=75, level=61, type_label="Main")
|
||||
telemeter.sensors["fuel"].update_entry(capacity=15, level=15, type_label="Reserve")
|
||||
|
||||
# Finally, tell Sideband what class in this
|
||||
# file is the actual plugin class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue