Closed redflag237 closed 7 years ago
Lass den Schalter -e mal weg und ergänze dafür mal ein -v -e hat in Boswatch eine andere Bedeutung als in multimon-ng
Hi flothi, Danke für das Feedback. Leider bekomme ich mit -v nur die Debug Ausgabe, die sonst in der Log Datei landet. Ohne Angabe von -e kommt auch keine Ausgabe.
Poste doch mal bitte die komplette Ausgabe/Log-Datei. Hast du einen Bereichsfilter für RIC drin (config.ini)?
Hi, kein Filter aktiv. Hier das komplette Log:
pi@bos-pi:/opt/boswatch/log $ cat boswatch.log
18.04.2017 13:09:52 - boswatch [DEBUG ] BOSWatch has started
18.04.2017 13:09:52 - boswatch [DEBUG ] Logfiles cleared
18.04.2017 13:09:52 - boswatch [DEBUG ] SW Version: 2.2
18.04.2017 13:09:52 - boswatch [DEBUG ] Build Date: 2017/03/30
18.04.2017 13:09:52 - boswatch [DEBUG ] BOSWatch given arguments
18.04.2017 13:09:52 - boswatch [DEBUG ] - Frequency: 170000000
18.04.2017 13:09:52 - boswatch [DEBUG ] - Device: 0
18.04.2017 13:09:52 - boswatch [DEBUG ] - PPM Error: 22050
18.04.2017 13:09:52 - boswatch [DEBUG ] - Squelch: 0
18.04.2017 13:09:52 - boswatch [DEBUG ] - Gain: 100
18.04.2017 13:09:52 - boswatch [DEBUG ] - Demod: POC1200
18.04.2017 13:09:52 - boswatch [DEBUG ] - Use /var/log: False
18.04.2017 13:09:52 - boswatch [DEBUG ] - Verbose Mode: False
18.04.2017 13:09:52 - boswatch [DEBUG ] - Quiet Mode: False
18.04.2017 13:09:52 - boswatch [DEBUG ] reading config file
18.04.2017 13:09:52 - configHandler [DEBUG ] read [BOSWatch] from config file
18.04.2017 13:09:52 - configHandler [DEBUG ] - loglevel = 10
18.04.2017 13:09:52 - configHandler [DEBUG ] - backupcount = 7
18.04.2017 13:09:52 - configHandler [DEBUG ] - rtl_path = /usr/local/bin/
18.04.2017 13:09:52 - configHandler [DEBUG ] - multimon_path = /usr/local/bin/
18.04.2017 13:09:52 - configHandler [DEBUG ] - processalarmasync = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - useregexfilter = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - doublefilter_ignore_entries = 10
18.04.2017 13:09:52 - configHandler [DEBUG ] - doublefilter_ignore_time = 5
18.04.2017 13:09:52 - configHandler [DEBUG ] - doublefilter_check_msg = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - writemultimonraw = 1
18.04.2017 13:09:52 - configHandler [DEBUG ] read [FMS] from config file
18.04.2017 13:09:52 - configHandler [DEBUG ] - iddescribed = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - checkcrc = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] read [ZVEI] from config file
18.04.2017 13:09:52 - configHandler [DEBUG ] - iddescribed = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] read [POC] from config file
18.04.2017 13:09:52 - configHandler [DEBUG ] - allow_ric =
18.04.2017 13:09:52 - configHandler [DEBUG ] - deny_ric =
18.04.2017 13:09:52 - configHandler [DEBUG ] - filter_range_start = 0000000
18.04.2017 13:09:52 - configHandler [DEBUG ] - filter_range_end = 9999999
18.04.2017 13:09:52 - configHandler [DEBUG ] - iddescribed = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - rica = Feuer
18.04.2017 13:09:52 - configHandler [DEBUG ] - ricb = TH
18.04.2017 13:09:52 - configHandler [DEBUG ] - ricc = AGT
18.04.2017 13:09:52 - configHandler [DEBUG ] - ricd = Unwetter
18.04.2017 13:09:52 - configHandler [DEBUG ] - netident_ric = 0174760, 1398098
18.04.2017 13:09:52 - boswatch [DEBUG ] set loglevel of fileHandler to: 10
18.04.2017 13:09:52 - boswatch [DEBUG ] set backupCount of fileHandler to: 7
18.04.2017 13:09:52 - configHandler [DEBUG ] read [NMAHandler] from config file
18.04.2017 13:09:52 - configHandler [DEBUG ] - enablehandler = 0
18.04.2017 13:09:52 - configHandler [DEBUG ] - loglevel = 50
18.04.2017 13:09:52 - configHandler [DEBUG ] - apikey = ***
18.04.2017 13:09:52 - configHandler [DEBUG ] - appname = BOSWatch
18.04.2017 13:09:52 - pluginLoader [DEBUG ] loading plugins
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Search in plugin folder
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] SMS
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] httpRequest
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] template
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] Telegram
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] Pushover
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] MySQL
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] yowsup
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] notifyMyAndroid
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] Sms77
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] BosMon
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] firEmergency
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] jsonSocket
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [ENABLED ] eMail
18.04.2017 13:09:52 - pluginLoader [DEBUG ] Plugin [DISABLED] FFAgent
18.04.2017 13:09:52 - pluginLoader [DEBUG ] load plugin: eMail
18.04.2017 13:09:52 - pluginLoader [DEBUG ] call eMail.onLoad()
18.04.2017 13:09:52 - boswatch [DEBUG ] starting rtl_fm
18.04.2017 13:09:55 - boswatch [DEBUG ] starting multimon-ng
18.04.2017 13:09:58 - boswatch [DEBUG ] start decoding
Also der ppm-error von 22050 ist definitiv zu hoch, dafür mal den Schalter -e einfach samt Wert entfernen (mein Maximum lag bei 30) - in deinem ersten Aufruf (manuell) hast du einen Fehler von 0 angenommen, daher probier das auch bitte mal mit Boswatch
Beim oben angegebenen Befehl rtl_fm -f 170000000 -s 22050 - | multimon-ng -a POCSAG1200 -f alpha -t raw /dev/stdin
verwendest Du Device 1.
Wenn Du tatsächlich mehrere USB-Sticks verwendest, musst Du das in BOSWatch ebenfalls entsprechend selektieren:
boswatch.py -f 170000000 -d 1 -a POC1200
. Das -s 22050
weglassen, wie von flothi erwähnt.
Danke für eure Unterstützung, ohne den e-Parameter klappt es nun. Der Fehler war mehr oder weniger direkt ein korruptes Dateisystem, welches die Einstellungen in der boswatch-config auf dem RasPi bei jedem Neustart zurückgesetzt hat. Es werden nun E-Mails versendet.
Hallo, Ich bekomme mit multimon-ng eine Ausgabe der alarmierten RICs angezeigt: sudo rtl_fm -d 1 -f 170000000 -s 22050 - | multimon-ng -a POCSAG1200 -f alpha -t raw /dev/stdin
Wenn ich das ganze mit BosWatch (Heute frisch vom Beta Branch installiert) versuche, bleibe die Ausgabe leer: suco python /opt/boswatch/boswatch.py -f 170000000 -d 0 -e 22050 -a POC1200
Im Netz sind IDEA und Expressalarm aktiv. Natürlich kann der Alarmtext nicht dargestellt werden, da verschlüsselt. Aber ich würde zumindest vermuten, dass BosWatch mir die alamierten RICs trotzdem anzeigt. Tatsächlich bleibt die Ausgabe leer. Es wird ja nur der Meldungstext verschlüsselt, die alarmierte Schleife sollte ja im Klartext sichtbar sein (wie auch in multimon-ng).
Kann mir jemand einen Tipp geben, ob ich hier ganz falsch liege, oder wie ich es hinbekommen könnte, dass hier eine Ausgabe stattfindet?
Danke und Grüße, redflag237