Open woekids opened 1 year ago
This is probably not the whole log.
Because I'm missing the part where it is says posted to xxxxxxx sensor
That is the whole point, I miss it to but it is not there en as I said, I installed everything according to the instructions.
And how does your config look like.
What are the sensors you created
[main] debug = True logtofile = False
[rtl-sdr] cmd = rtl_fm -f 169.65M -M fm -s 22050 | multimon-ng -a FLEX -t raw -
[home-assistant] enabled = True baseurl = http://192.168.178.129:8123 token = [in the file the token is filled in]
[mqtt] enabled = True mqtt_server = 192.168.178.129 mqtt_port = 1883 mqtt_user = [in the file it is filled in with the username of Mosquitto MQTT] mqtt_password = [in the file this is filled in with password] mqtt_topic = p2000
[opencage] enabled = True token = [In the file I filled in the token]
[sensor_p2000] zone_latitude = 52.77396 zone_longitude = 6.38382 zone_radius = 1
This sensor gives only a message in case of a P2000 message within max 1km radius from the GPS coordinate.
I think it works as intended
At first I had it on 0 and just changed i in 500 but still no connection with HAS and nothing in the log. I wil reinstall again.
After reinstalling, same issue. Logs okay but no output to HAS. MQTT broker does not see P2000. Somehow it pipes only the information to the log but not HAS and MQTT broker. My CumulusMX also works with Mosquitto and that works splendid so the broker is functioning.
At first I had it on 0 and just changed i in 500 but still no connection with HAS and nothing in the log. I wil reinstall again.
After reinstalling, same issue. Logs okay but no output to HAS. MQTT broker does not see P2000. Somehow it pipes only the information to the log but not HAS and MQTT broker. My CumulusMX also works with Mosquitto and that works splendid so the broker is functioning.
same issue here. Did you solve it? Glad to hear.
No unfortunately not. I stopped the project. Verstuurd vanaf mijn iPhoneOp 31 mei 2023 om 23:05 heeft William @.***> het volgende geschreven:
At first I had it on 0 and just changed i in 500 but still no connection with HAS and nothing in the log. I wil reinstall again. After reinstalling, same issue. Logs okay but no output to HAS. MQTT broker does not see P2000. Somehow it pipes only the information to the log but not HAS and MQTT broker. My CumulusMX also works with Mosquitto and that works splendid so the broker is functioning.
same issue here. Did you solve it? Glad to hear.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I installed everything in a correct way. First issue became after installing Opencage. After finishing that problem I discovered that there is no output to MQTT and/or HAS. The log fills itself was filled with P2000 messages so that part works.
Furtheron it would be nice to know the next steps to use the input in HAS. I use Mosquitto MQTT in HAS. It works with CumuluxMX so there is no fault on that side.
home/pi/RTL-SDR-P2000Receiver-HA$ ./p2000.py 2023-02-21 13:55:55 - (MainThread) - p2000.py - INFO - Loading configuration from 'config.ini' 2023-02-21 13:55:55 - (MainThread) - p2000.py - INFO - RTL-SDR P2000 Receiver for Home Assistant Version 0.1.1 2023-02-21 13:55:55 - (MainThread) - p2000.py - INFO - Started at Tuesday 13:55:55 21-02-2023 2023-02-21 13:55:55 - (MainThread) - p2000.py - INFO - Checking if required software is installed 2023-02-21 13:55:55 - (MainThread) - p2000.py - DEBUG - rtl_fm is found 2023-02-21 13:55:55 - (MainThread) - p2000.py - DEBUG - multimon-ng is found 2023-02-21 13:55:55 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/db_capcodes.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - 87870 records loaded 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/db_plaatsnamen.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - 2510 records loaded 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/db_pltsnmn.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - 2505 records loaded 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/ignore_capcodes.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - DEBUG - Could not open/read file: /home/pi/RTL-SDR-P2000Receiver-HA/ignore_capcodes.txt, ignoring filter 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/ignore_text.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - DEBUG - Could not open/read file: /home/pi/RTL-SDR-P2000Receiver-HA/ignore_text.txt 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/match_text.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - DEBUG - Could not open/read file: /home/pi/RTL-SDR-P2000Receiver-HA/match_text.txt 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/match_capcodes.txt' 2023-02-21 13:55:56 - (MainThread) - p2000.py - DEBUG - Could not open/read file: /home/pi/RTL-SDR-P2000Receiver-HA/match_capcodes.txt, ignoring filter 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - Loading data from '/home/pi/RTL-SDR-P2000Receiver-HA/location_gps_database.csv' 2023-02-21 13:55:56 - (MainThread) - p2000.py - INFO - 0 records loaded 2023-02-21 13:55:56 - (DataThread) - p2000.py - INFO - RTL-SDR process started with: rtl_fm -f 169.65M -M fm -s 22050 | multimon-ng -a FLEX -t raw - 2023-02-21 13:55:56 - (PostThread) - p2000.py - DEBUG - Post thread started Found 1 device(s): multimon-ng 1.2.0 (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA (C) 2012-2022 by Elias Oenal Available demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX FLEX_NEXT EAS UFSK1200 CLIPFSK FMSFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW DUMPCSV X10 SCOPE 0: astrometadvbt2, dvbt2, SN:
Using device 0: Astrometa DVB-T/DVB-T2 Detached kernel driver Found Rafael Micro R828D tuner Tuner gain set to automatic. Tuned to 169903575 Hz. Oversampling input by: 46x. Oversampling output by: 1x. Buffer size: 8.08ms Exact sample rate is: 1014300.020041 Hz Sampling at 1014300 S/s. Output at 22050 Hz. 2023-02-21 13:56:24 - (DataThread) - p2000.py - DEBUG - FLEX|2023-02-21 12:56:24|1600/2/K/A|14.022|002029568|ALN|P 2 BGM-02 HV overig (Gaslekkage) (buiten) Middelkampseweg Gameren 085231