Thought about that one after I posted it... the line still repeats. Here's the marked up log:
Code: Select all
Jun 19, 2014, 9:01:14 PM
Upgrading plugin "INDIGOplotD" to newer version 3.0.6 (previous version moved to trash)
Loading plugin "INDIGOplotD 3.0.6"
Starting plugin "INDIGOplotD 3.0.6" (pid 65666)
Started plugin "INDIGOplotD 3.0.6"
INDIGOplotD initializing ... 3-0-6
INDIGOplotD indigo version found: 6
INDIGOplotD sql logger secs active:276.27 10
INDIGOplotD could not read matplotPID file
INDIGOplotD sqlLastID [0]
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/minute.dat lines: 2304
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/hour.dat lines: 912
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/day.dat lines: 390
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD read device/prop from SQL db: 0:00:00.033576 get firstID 0
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_745566283 t1 WHERE t1.id > 0 and t1.id <= 30000 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_745566283 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= [[1, '2014-06-17 21:22:23.142786', False], [2, '2014-06-17 21:41:22.11516', False], [3, '2014-06-17 21:43:26.324752', True], [4, '2014-06-17 21:48:26.309973', False], [5, '2014-06-17 21:59:56.324306', False], [6, '2014-06-18 18:35:33.695111', True], [7, '2014-06-18 19:06:50.967978', False], [8, '2014-06-18 19:22:03.796874', True], [9, '2014-06-18 19:27:04.033178', False], [10, '2014-06-18 19:28:05.500836', True], [11, '2014-06-18 19:33:06.035489', False], [12, '2014-06-18 19:34:22.814873', True]
INDIGOplotD [[1, '2014-06-17 21:22:23.142786', False], [2, '2014-06-17 21:41:22.11516', False], [3, '2014-06-17 21:43:26.324752', True], [4, '2014-06-17 21:48:26.309973', False], [5, '2014-06-17 21:59:56.324306', False], [6, '2014-06-18 18:35:33.695111', True], [7, '2014-06-18 19:06:50.967978', False], [8, '2014-06-18 19:22:03.796874', True], [9, '2014-06-18 19:27:04.033178', False], [10, '2014-06-18 19:28:05.500836', True], [11, '2014-06-18 19:33:06.035489', False], [12, '2014-06-18 19:34:22.814873', True]
INDIGOplotD read device/prop from SQL db: 0:00:00.064005 data base records read 22 firstID 0 lastID 22
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_745566283 t1 WHERE t1.id > 22 and t1.id <= 30022 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_745566283 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= []
INDIGOplotD []
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.094248 Switch, Work Bench-onOffState Total data base records 22
INDIGOplotD nrec into check theProperty dType average onOffState 22
INDIGOplotD nrec out of check 23 rejects 0
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.094438 Switch, Work Bench-onOffState-average records read/accepted: 22/ 22
INDIGOplotD Convert2 device/prop from SQL db: 0:00:00.110686 Switch, Work Bench-onOffState-average records read/converted: 22/ 22 to PLOT format ==== rejected bad....ValueRange: 0 ..BadNumber: 0 ..sameTimeStamp: 0
INDIGOplotD SQL import 2014-06-19 21:01:15.717854 ... finished, total number of records imported: 22
INDIGOplotD initializing ...2
INDIGOplotD sqlLastID [0]
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
****TRIMED REPEATING MESSAGE****
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD command: reset device parameters
INDIGOplotD command: reset device parameters done
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD Updating device/prop from SQL db: no device or variable defined.. skipping update ...
****RESET TO DEFAULTS & RELOADED THE PLUGIN****
Jun 19, 2014, 9:02:47 PM
Reloading plugin "INDIGOplotD 3.0.6"
Stopping plugin "INDIGOplotD 3.0.6" (pid 65666)
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
INDIGOplotD main loop stopped
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
Stopped plugin "INDIGOplotD 3.0.6"
Starting plugin "INDIGOplotD 3.0.6" (pid 65800)
Started plugin "INDIGOplotD 3.0.6"
INDIGOplotD initializing ... 3-0-6
INDIGOplotD indigo version found: 6
INDIGOplotD sql logger secs active:276.84 10
INDIGOplotD could not read matplotPID file
INDIGOplotD sqlLastID [0]
INDIGOplotD numberOfDevs not the same kick out# 7
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/minute.dat lines: 2304
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/hour.dat lines: 912
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/day.dat lines: 390
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD Updating device/prop from SQL db: no device or variable defined.. skipping update ...
INDIGOplotD initializing ...2
INDIGOplotD Error ------------------------------------
INDIGOplotD Error not configured yet, please select menue: Indigo /plugins/indigoplot/Configure...
INDIGOplotD Error ------------------------------------
****DEFINED A NEW DEVICE****
Jun 19, 2014, 9:04:26 PM
INDIGOplotD sqlLastID [0]
INDIGOplotD numberOfDevs not the same kick out# 7
INDIGOplotD initialized
INDIGOplotD sqlLastID [0]
INDIGOplotD numberOfDevs not the same kick out# 7
Jun 19, 2014, 9:05:26 PM
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD read device/prop from SQL db: 0:00:00.032177 get firstID 0
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_532434863 t1 WHERE t1.id > 0 and t1.id <= 30000 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_532434863 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= [[1, '2014-06-17 21:22:23.130788', False], [2, '2014-06-17 21:41:22.09298', False], [3, '2014-06-17 21:43:26.298467', True], [4, '2014-06-17 21:48:26.284373', False], [5, '2014-06-17 21:59:56.3127', False], [6, '2014-06-18 19:01:50.408215', True], [7, '2014-06-18 19:06:50.946205', False], [8, '2014-06-18 19:22:03.773485', True], [9, '2014-06-18 19:27:04.0091', False], [10, '2014-06-18 19:28:05.471926', True], [11, '2014-06-18 19:33:06.009423', False], [12, '2014-06-18 19:33:18.711413', True], [1
INDIGOplotD [[1, '2014-06-17 21:22:23.130788', False], [2, '2014-06-17 21:41:22.09298', False], [3, '2014-06-17 21:43:26.298467', True], [4, '2014-06-17 21:48:26.284373', False], [5, '2014-06-17 21:59:56.3127', False], [6, '2014-06-18 19:01:50.408215', True], [7, '2014-06-18 19:06:50.946205', False], [8, '2014-06-18 19:22:03.773485', True], [9, '2014-06-18 19:27:04.0091', False], [10, '2014-06-18 19:28:05.471926', True], [11, '2014-06-18 19:33:06.009423', False], [12, '2014-06-18 19:33:18.711413', True], [1
INDIGOplotD read device/prop from SQL db: 0:00:00.060382 data base records read 22 firstID 0 lastID 22
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_532434863 t1 WHERE t1.id > 22 and t1.id <= 30022 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_532434863 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= []
INDIGOplotD []
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.087340 Switch, Garage Main-onOffState Total data base records 22
INDIGOplotD nrec into check theProperty dType average onOffState 22
INDIGOplotD nrec out of check 23 rejects 0
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.087470 Switch, Garage Main-onOffState-average records read/accepted: 22/ 22
INDIGOplotD Convert2 device/prop from SQL db: 0:00:00.102536 Switch, Garage Main-onOffState-average records read/converted: 22/ 22 to PLOT format ==== rejected bad....ValueRange: 0 ..BadNumber: 0 ..sameTimeStamp: 0
INDIGOplotD SQL import 2014-06-19 21:05:26.862491 ... finished, total number of records imported: 22
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlLastID [0]
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
Reloading plugin "INDIGOplotD 3.0.6"
Stopping plugin "INDIGOplotD 3.0.6" (pid 65800)
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
INDIGOplotD main loop stopped
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
Stopped plugin "INDIGOplotD 3.0.6"
Starting plugin "INDIGOplotD 3.0.6" (pid 66017)
Started plugin "INDIGOplotD 3.0.6"
INDIGOplotD initializing ... 3-0-6
INDIGOplotD indigo version found: 6
INDIGOplotD sql logger secs active:278.01 10
INDIGOplotD could not read matplotPID file
INDIGOplotD sqlLastID [0]
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/minute.dat lines: 2304
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/hour.dat lines: 912
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/day.dat lines: 390
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD read device/prop from SQL db: 0:00:00.025496 get firstID 0
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_532434863 t1 WHERE t1.id > 0 and t1.id <= 30000 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_532434863 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= [[1, '2014-06-17 21:22:23.130788', False], [2, '2014-06-17 21:41:22.09298', False], [3, '2014-06-17 21:43:26.298467', True], [4, '2014-06-17 21:48:26.284373', False], [5, '2014-06-17 21:59:56.3127', False], [6, '2014-06-18 19:01:50.408215', True], [7, '2014-06-18 19:06:50.946205', False], [8, '2014-06-18 19:22:03.773485', True], [9, '2014-06-18 19:27:04.0091', False], [10, '2014-06-18 19:28:05.471926', True], [11, '2014-06-18 19:33:06.009423', False], [12, '2014-06-18 19:33:18.711413', True], [1
INDIGOplotD [[1, '2014-06-17 21:22:23.130788', False], [2, '2014-06-17 21:41:22.09298', False], [3, '2014-06-17 21:43:26.298467', True], [4, '2014-06-17 21:48:26.284373', False], [5, '2014-06-17 21:59:56.3127', False], [6, '2014-06-18 19:01:50.408215', True], [7, '2014-06-18 19:06:50.946205', False], [8, '2014-06-18 19:22:03.773485', True], [9, '2014-06-18 19:27:04.0091', False], [10, '2014-06-18 19:28:05.471926', True], [11, '2014-06-18 19:33:06.009423', False], [12, '2014-06-18 19:33:18.711413', True], [1
INDIGOplotD read device/prop from SQL db: 0:00:00.056066 data base records read 22 firstID 0 lastID 22
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlcmd= SELECT id,ts, onOffState from device_history_532434863 t1 WHERE t1.id > 22 and t1.id <= 30022 and NOT EXISTS ( SELECT id, ts, onOffState t1 FROM device_history_532434863 t2 WHERE t2.ts = t1.ts and t2.id = t1.id -1 and t2.onOffState = t1.onOffState ) LIMIT 20000
INDIGOplotD ret= []
INDIGOplotD []
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.083094 Switch, Garage Main-onOffState Total data base records 22
INDIGOplotD nrec into check theProperty dType average onOffState 22
INDIGOplotD nrec out of check 23 rejects 0
INDIGOplotD Convert1 device/prop from SQL db: 0:00:00.083290 Switch, Garage Main-onOffState-average records read/accepted: 22/ 22
INDIGOplotD Convert2 device/prop from SQL db: 0:00:00.101754 Switch, Garage Main-onOffState-average records read/converted: 22/ 22 to PLOT format ==== rejected bad....ValueRange: 0 ..BadNumber: 0 ..sameTimeStamp: 0
INDIGOplotD SQL import 2014-06-19 21:06:23.510779 ... finished, total number of records imported: 22
INDIGOplotD initializing ...2
INDIGOplotD sqlLastID [0]
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
****TRIMED REPEATING MESSAGE****
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD connected to indigo_data as indigo on 127.0.0.1
INDIGOplotD sqlLastID [0]
****SWITCHED TO BATCH MODE - MESSAGES STOPPED - RELOADED THE PLUGIN****
Reloading plugin "INDIGOplotD 3.0.6"
Stopping plugin "INDIGOplotD 3.0.6" (pid 66017)
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
INDIGOplotD main loop stopped
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
Stopped plugin "INDIGOplotD 3.0.6"
Starting plugin "INDIGOplotD 3.0.6" (pid 66082)
Started plugin "INDIGOplotD 3.0.6"
INDIGOplotD initializing ... 3-0-6
INDIGOplotD indigo version found: 6
INDIGOplotD sql logger secs active:278.27 10
INDIGOplotD could not read matplotPID file
INDIGOplotD sqlLastID [0]
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/minute.dat lines: 2304
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/hour.dat lines: 912
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/day.dat lines: 390
INDIGOplotD Error Error in plugin execution startup:
Traceback (most recent call last):
File "plugin.py", line 395, in startup
File "plugin.py", line 3657, in setupSQLDataBatch
<type 'exceptions.IndexError'>: list index out of range
INDIGOplotD sqlLastID [0]
****SWITCHED TO SQL LOGGER THEN RELOADED****
Jun 19, 2014, 9:07:46 PM
INDIGOplotD sqlLastID [0]
Reloading plugin "INDIGOplotD 3.0.6"
Stopping plugin "INDIGOplotD 3.0.6" (pid 66082)
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
INDIGOplotD main loop stopped
INDIGOplotD stopConcurrentThread ...
INDIGOplotD could not read matplotPID file
INDIGOplotD stop matplot: not active, PID: x
Stopped plugin "INDIGOplotD 3.0.6"
Starting plugin "INDIGOplotD 3.0.6" (pid 66153)
Started plugin "INDIGOplotD 3.0.6"
INDIGOplotD initializing ... 3-0-6
INDIGOplotD indigo version found: 6
INDIGOplotD sql logger secs active:278.55 10
INDIGOplotD could not read matplotPID file
INDIGOplotD sqlLastID [0]
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/minute.dat lines: 2304
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/hour.dat lines: 912
INDIGOplotD read file /Users/richard/Documents/INDIGOPlotD/data/day.dat lines: 390
INDIGOplotD initializing ...2
INDIGOplotD sqlLastID [0]
INDIGOplotD initialized