Jim Paris
453c015f5e
No need to manually encode output for Python 3
3 years ago
Jim Paris
feb12ecfc1
Add nilm-copy-wildcard test
3 years ago
Jim Paris
060bd8fee3
Fix test order
3 years ago
Jim Paris
b1f2a3c5d5
Replace self.raise() with self.fail() + self.contain() in tests
3 years ago
Jim Paris
c15b53924d
Use multiprocessing to start multiple servers in tests
Cherrypy uses a bunch of globals, so use multiprocessing to let us
spawn a few that are totally independent.
3 years ago
Jim Paris
0f9f0ded71
Add test framework, and initial test for nilm-copy
3 years ago
Jim Paris
f507e793a2
Run 2to3 over all code
3 years ago
Jim Paris
0c1a3449cb
Start Python 3 conversion
3 years ago
Jim Paris
0cf2db6c5e
Fix divide by zero in sinefit
10 years ago
Jim Paris
f530edd8a0
sfit4: if interpolated DFT fails, use peak
10 years ago
Jim Paris
4d946bee79
Set shell and path in sample cron script
10 years ago
Jim Paris
13ceb91999
Add test_sinefit makefile target
10 years ago
Jim Paris
dab9625296
Run fsck at startup
10 years ago
Jim Paris
3e7527ab57
Support -h and -v in nilm-trainola
10 years ago
Jim Paris
31b6d82dfc
Make 'make test' do nothing from command line
10 years ago
Jim Paris
077010ba3a
Store nshift in prep metadata
10 years ago
Jim Paris
77751a8529
Fix typo in help text
10 years ago
Jim Paris
9c711300a2
Add short form of --force-metadata, -F
10 years ago
Jim Paris
74cf34e2ad
Update sharon cleanup.cfg
10 years ago
Jim Paris
120bf58b85
Support --nometa option for copy_one and copy_wildcard
10 years ago
Jim Paris
c26daa9a3b
Update crontab
10 years ago
Jim Paris
6993f5c886
Fix process termination in nilm-pipewatch
10 years ago
Sharon NILM
dd69f3e51d
Update process.sh
10 years ago
Jim Paris
dc26e32b6e
Make interhost, force_metadata private to Filter
10 years ago
Jim Paris
981f23ff14
Better documentation for callback function
10 years ago
Jim Paris
492445a469
Split off useful math functions to math.py
10 years ago
Jim Paris
33c3586bea
trainola: suppress peaks if larger ones are nearby
Might fix the problem Mark noticed where turn-off transients
are erroneously matching the drop that follows startup transients.
10 years ago
Jim Paris
c1e0f8ffbc
Fix bug in copy_one
10 years ago
Jim Paris
d2853bdb0e
Add test case for bad trainola detections
10 years ago
Jim Paris
a4d4bc22fc
Add --skip option to nilm-insert
10 years ago
Jim Paris
6090dd6112
prep: only process intervals present in both raw & sinefit
10 years ago
Sharon NILM
9c0d9ad324
Sample scripts from Sharon
10 years ago
Sharon NILM
8b9c5d4898
Fix daemon dependency
10 years ago
Jim Paris
cf2c28b0fb
Add --daemon flag
10 years ago
Jim Paris
87a26c907b
Watch for process termination too
10 years ago
Jim Paris
def465b57c
Improve pipewatch; add nilm-pipewatch script
10 years ago
Jim Paris
0589b8d316
start of pipewatch util
10 years ago
Jim Paris
9c5f07106d
Don't need python-pip
10 years ago
Jim Paris
62e11a11c0
Fix issue with column ordering in the exemplars
If the max scale in the exemplar was a column we weren't using, it
would bail out when looking for that correlation later. Change things
around so exemplars in RAM only keep around the columns we care about.
10 years ago
Jim Paris
2bdcee2c36
More helpful error if exemplar stream doesn't exist
10 years ago
Jim Paris
6dce8c5296
More output
10 years ago
Jim Paris
25c35a56f6
Trainola inserts into the destination stream now
10 years ago
Jim Paris
d610deaef0
More trainola work
10 years ago
Jim Paris
d7d5ccc9a7
More filter cleanup
10 years ago
Jim Paris
f28753ff5c
Move process_numpy_interval outside the class
10 years ago
Jim Paris
c9c2e0d5a8
Improve split between process_numpy and process_numpy_interval
10 years ago
Jim Paris
5a2a32bec5
WIP on trainola improvements
10 years ago
Jim Paris
706c3933f9
Add trainola from nilmrun
10 years ago
Jim Paris
cfd1719152
Use nilmdb.utils.interval.optimize; bump nilmdb min version
10 years ago
Jim Paris
c62fb45980
Makefile cleanup; add nilm-trainola binary
10 years ago