Commit graph

124 commits

Author SHA1 Message Date
Ricardo Krippner c57659f1f4 update to select rtl device via serialnumber 2016-09-29 14:24:35 +02:00
Bastian Schroll b290003cec #97 2016-07-12 16:47:44 +02:00
Bastian Schroll 29578fbeb4 little change for #97 2016-07-12 16:46:30 +02:00
Bastian Schroll b7bab56b73 add gain default value - #84 2016-07-03 17:33:10 +02:00
Bastian Schroll a6239f2470 add func to write multimon raw data into txt file 2016-07-01 11:31:28 +02:00
Bastian Schroll dba4bdc890 insert an install file for the dev branch 2016-03-26 10:13:50 +01:00
Schrolli91 0c3ed6d788 insert -g --gain function 2015-12-25 23:13:12 +01:00
JHCD e26fc45313 rename includes/converter.py -> includes/helper/freqConverter.py 2015-07-31 19:20:05 +02:00
JHCD 30320b3c71 add possibility to start Plugins asynchron
If you are using many Plugins or Plugins with a long execution time you could execute them in an asynchronous manner.
It must be pointed out that enabling (0|1) this consume time, so don't use it for one rapid Plugin.
2015-07-30 18:55:36 +02:00
JHCD 19653e5515 add line break to eMail plugin #71 2015-07-28 19:44:14 +02:00
JHCD f95a270177 replace passwords and apikeys with "***" in logging #69 2015-07-27 20:55:50 +02:00
JHCD 65a35d4a64 change logging behaviour of NMAHandler #33
NMA applicationname is now configurable
NMA event contains now module and function
2015-07-24 14:39:32 +02:00
JHCD b09f1731ea add logging handler for NotifyMyAndroid #46 2015-07-23 20:37:33 +02:00
Schrolli c19a89859b change encoding
- change code encoding from cp1252 to UTF-8 (Issue #60)
2015-07-13 10:19:45 +02:00
Bastian Schroll e8e1b5940c added .rstrip(' \t\n\r') to len(testdata) check
now no clear lines are interpretet
2015-07-04 08:46:05 +02:00
JHCD aaa6a96a47 add testdata driver for testing all the different stuff
see issue #38
add much more testdate
2015-07-03 23:16:11 +02:00
Bastian Schroll ac8a02e3ca insert helper function timeHandler.getTimestamp() 2015-07-02 21:39:43 +02:00
Schrolli 48c4d1e354 remove trailing whitespace 2015-07-02 09:02:49 +02:00
Schrolli ab4b63daac insert version number and build date in the globals 2015-07-02 07:33:27 +02:00
JHCD 01ae87c918 solve some bugs
- solve issue #35
- some bugs in logging errors
- move check subprocesses in include-file
2015-07-01 22:04:06 +02:00
Schrolli 5b875b4def now you must only activate the description tool in the needed section, not global 2015-07-01 10:41:23 +02:00
Schrolli 174ad46a8c collect testdata for the testmode 2015-06-30 13:53:06 +02:00
Schrolli 0199151165 littles changes at arguments debug 2015-06-30 12:38:52 +02:00
Schrolli 34603a1297 little Bug in last commit 2015-06-30 08:00:40 +02:00
Schrolli bcc0fca656 added the name of the talking function to the logging 2015-06-30 07:59:27 +02:00
JHCD 9b6e5c8da3 some changes in exception-handling 2015-06-29 23:32:55 +02:00
JHCD a1d610ee6a solve issue #30 and #31; change error-handling; test-mode
1.) move bin-path for rtl_fm and multimon-ng to config.ini
2.) check if rtl_fm and multimon-ng started without errors
    both programs don't terminate in case of an error, so we have to
    read the logfile and look into it
3.) now we can't start a instance of BOSWatch without a free SDR-stick
    added -t --test as new argument to skip instantiate of rtl-fm and multimon-ng
4.) change error-handling
2015-06-29 22:31:34 +02:00
JHCD f54debb44e solve bug: rtl-fm and multimon-ng not found (daemon)
the programs are not in the path when you want to start the daemon on systemstart
2015-06-25 19:46:59 +02:00
JHCD 00902784a4 add new argument for logfile-location
-u --usevarlog
Use '/var/log/boswatch' for logfiles instead of subdir 'log' in BOSWatch directory
2015-06-25 17:10:31 +02:00
JHCD f58891a8ec extract class and functions from boswatch.py to includes 2015-06-25 16:13:52 +02:00
JHCD 259239a90b prepare boswatch.py for use as a daemon
1.) We had to change the subprocess calls, don't use shell=True if you want to run as daemon,
you will never be able to kill the sub-sub-processes
2.) implement signal-handler for TERM signal of the daemon-control
2015-06-24 23:26:02 +02:00
JHCD 97e87fcae2 small changes in documentation 2015-06-14 20:21:21 +02:00
JHCD 6eb7318bd0 add debugg-logging for FMS|ZVEI|POC in config.ini 2015-06-14 19:45:03 +02:00
JHCD f1f6503198 new functionality: lookUp description in a given csv-file for FMS, ZVEI and POC
you have the possibility to set a discription for every FMS, ZWEI oder RIC address
descriptions will be imported via csv-files
if enabled BOSWatch will look up the description and could be used in the plugins

eMail-plugin extended wildcards to use describtion %DESC%
2015-06-05 21:49:51 +02:00
JHCD 300675a0e3 move creation of ric-sub as char to poc-decoder 2015-06-05 11:26:01 +02:00
JHCD 2d8c5e4bf5 some small documentation 2015-06-05 10:19:49 +02:00
JHCD 50ce6b2671 fix bug in handling when arg -h/--help is used
Problem: Some unexpected exception are thrown, when arg war -h
Reason: ArgParser throws SystemExit exception when -h is used
Solution: 1.) Move ArgParser to the first position, to prevent create the objects
2.) make sure, the finally block of the main program will not be called
3.) catch SystemExit exception
2015-06-05 10:06:33 +02:00
JHCD 2462596232 fix function freqToHz() for linux 2015-05-31 13:12:37 +02:00
JHCD 0a621b283a a little bit documentation 2015-05-31 12:40:43 +02:00
Schrolli 2e91c3d8c9 insert freqToHz() method in boswatch.py 2015-05-29 11:25:25 +02:00
Schrolli 29a21e1cbb edit boswatch.py File Header 2015-05-28 13:51:20 +02:00
Schrolli 475039c171 little changes 2015-05-28 08:43:08 +02:00
Schrolli 297f27c81c little edit in logging 2015-05-26 07:57:34 +02:00
Schrolli d9b8ae3035 little changes 2015-05-26 07:19:24 +02:00
JHCD 4f79af944d Change logging to TimedRotatingFileHandler
- rotate logfile at midnight
- shutdown/close logfiles at script-end
- small enhancement of the code-documentation
2015-05-25 18:07:44 +02:00
JHCD 9c3c1f5df4 implement FMS in BosMon-plugin 2015-05-24 23:09:38 +02:00
JHCD 1ccc5bb402 enable pro-working 2015-05-24 21:27:50 +02:00
JHCD 72ef930c7f simple filter for pocsag
- implement allow-/deny-list
- move rangefilter

restructure config.ini to follow code-structure
implemented switch to turn on/off regEx-filter
2015-05-24 21:24:26 +02:00
Bastian Schroll 206463f8e9 load filters in boswatch.py 2015-05-23 09:09:13 +02:00
Bastian Schroll ac7965137d set Loglevel of fileHandler in config.ini 2015-05-23 07:48:02 +02:00