4 /* Highlight rtl devices */
5 kismet_ui.AddDeviceRowHighlight({
6 name: "RF Meter Devices",
7 description: "RF Power, Water, Gas Meters",
9 defaultcolor: "#b3ffe6",
12 'kismet.device.base.phyname'
14 selector: function(data) {
15 return data['kismet.device.base.phyname'] === "RF Meter";
19 kismet_ui.AddDeviceDetail("rfmeter", "Meter (SDR)", 0, {
20 filter: function(data) {
21 return (data['kismet.device.base.phyname'] === "RTLAMR");
23 draw: function(data, target) {
24 target.devicedata(data, {
28 field: "meter.device/meter.device.meter_id",
30 empty: "<i>Unknown</i>"
33 field: "meter.device/meter.device.meter_type",
35 empty: "<i>Unknown</i>"
38 field: "meter.device/meter.device.consumption",
40 empty: "<i>Unknown</i>"