Cleanup minor
This commit is contained in:
parent
a873af237c
commit
660bfc3f50
7 changed files with 6 additions and 8 deletions
examples
include
src/devices
|
@ -8,7 +8,6 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import socket
|
||||
import time
|
||||
import json
|
||||
import gps
|
||||
import threading
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
from __future__ import print_function
|
||||
from __future__ import with_statement
|
||||
|
||||
import socket
|
||||
import time
|
||||
import json
|
||||
import paho.mqtt.client as mqtt
|
||||
|
|
|
@ -114,7 +114,7 @@ def rtl_433_probe(sock):
|
|||
humidity = data["humidity"]
|
||||
|
||||
try:
|
||||
_info = rrdtool.info(rrd_file)
|
||||
rrdtool.info(rrd_file)
|
||||
except rrdtool.OperationalError:
|
||||
create_rrd(rrd_file)
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
DECL(ambient_weather) \
|
||||
DECL(calibeur_RF104) \
|
||||
DECL(X10_RF) \
|
||||
DECL(DSC) \
|
||||
DECL(dsc_security) \
|
||||
DECL(brennenstuhl_rcs_2044) \
|
||||
DECL(gt_wt_02) \
|
||||
DECL(danfoss_CFR) \
|
||||
|
@ -124,7 +124,7 @@
|
|||
DECL(maverick_et73) \
|
||||
DECL(honeywell_wdb) \
|
||||
DECL(honeywell_wdb_fsk) \
|
||||
DECL(esa) \
|
||||
DECL(esa_energy) \
|
||||
DECL(bt_rain) \
|
||||
DECL(bresser_5in1) \
|
||||
DECL(digitech_xc0324) \
|
||||
|
|
|
@ -368,7 +368,7 @@ static int acurite_6045_decode(r_device *decoder, bitrow_t bb, int browlen)
|
|||
exception++;
|
||||
}
|
||||
|
||||
// FIXME - temporarily leaving the old output for ease of debugging
|
||||
// TODO: temporarily leaving the old output for ease of debugging
|
||||
// and backward compatibility. Remove when doing a "1.0" release.
|
||||
if (decoder->verbose) {
|
||||
fprintf(stderr, "Acurite lightning 0x%04X Ch %c Msg Type 0x%02x: %.1f F %d %% RH Strikes %d Distance %d L_status 0x%02x -",
|
||||
|
|
|
@ -214,7 +214,7 @@ static char *output_fields[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
r_device DSC = {
|
||||
r_device dsc_security = {
|
||||
.name = "DSC Security Contact",
|
||||
.modulation = OOK_PULSE_PCM_RZ,
|
||||
.short_width = 250, // Pulse length, 250 µs
|
||||
|
|
|
@ -92,7 +92,7 @@ static char *output_fields[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
r_device esa = {
|
||||
r_device esa_energy = {
|
||||
.name = "ESA1000 / ESA2000 Energy Monitor",
|
||||
.modulation = OOK_PULSE_MANCHESTER_ZEROBIT,
|
||||
.short_width = 260,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue