Code: Alles auswählen
#set $voltages = [("consBatteryVoltage",2.8),
("heatingVoltage",11.8),
("supplyVoltage",11.8),
("referenceVoltage",3.3),
("windBatteryStatus",2.4),
("hailBatteryStatus",2.4),
("ws85_batt",2.4),
("ws90cap_volt",2.4),
("ws85cap_volt",2.4),
("rainBatteryStatus",1.2),
("soilMoistBatt1",1.2),
("soilMoistBatt2",1.2),
("soilMoistBatt3",1.2),
("soilMoistBatt4",1.2),
("soilMoistBatt5",1.2),
("soilMoistBatt6",1.2),
("soilMoistBatt7",1.2),
("soilMoistBatt8",1.2),
("soilMoistBatt9",1.2),
("soilMoistBatt10",1.2),
("soilMoistBatt11",1.2),
("soilMoistBatt12",1.2),
("soilMoistBatt13",1.2),
("soilMoistBatt14",1.2),
("soilMoistBatt15",1.2),
("soilMoistBatt16",1.2),
("soilTempBatt1",1.2),
("soilTempBatt2",1.2),
("soilTempBatt3",1.2),
("soilTempBatt4",1.2),
("soilTempBatt5",1.2),
("soilTempBatt6",1.2),
("soilTempBatt7",1.2),
("soilTempBatt8",1.2),
("soilTempBatt9",1.2),
("soilTempBatt10",1.2),
("soilTempBatt11",1.2),
("soilTempBatt12",1.2),
("soilTempBatt13",1.2),
("soilTempBatt14",1.2),
("soilTempBatt15",1.2),
("soilTempBatt16",1.2),
("leafTempBatt1",1.2),
("leafTempBatt2",1.2),
("leafTempBatt3",1.2),
("leafTempBatt4",1.2),
("leafTempBatt5",1.2),
("leafTempBatt6",1.2),
("leafTempBatt7",1.2),
("leafTempBatt8",1.2),
("leafWetBatt1",1.2),
("leafWetBatt2",1.2),
("leafWetBatt3",1.2),
("leafWetBatt4",1.2),
("leafWetBatt5",1.2),
("leafWetBatt6",1.2),
("leafWetBatt7",1.2),
("leafWetBatt8",1.2),
]
Code: Alles auswählen
#set $sensor_batt_data = [('pm25_Batt1', 'get_multi_battery_status'),
('pm25_Batt2', 'get_multi_battery_status'),
('pm25_Batt3', 'get_multi_battery_status'),
('pm25_Batt4', 'get_multi_battery_status'),
('co2_Batt', 'get_multi_battery_status'),
('leak_Batt1', 'get_multi_battery_status'),
('leak_Batt2', 'get_multi_battery_status'),
('leak_Batt3', 'get_multi_battery_status'),
('leak_Batt4', 'get_multi_battery_status'),
('lightning_Batt', 'get_multi_battery_status')
]