Broadcastify Raspberry Pi Feed Appliance Image v1.0 (BETA)

ke4ldu

Member
Joined
Nov 4, 2009
Messages
43
Location
Taylorsville, North Carolina
So I am am currently using the new Broadcastify image that was recently released that's basically preconfigured. I have 3 feeds on one Pi. 1 of those feeds is NOAA which is sent to broadcastify. Is there a way to use the same darkice config file for this NOAA Feed and set it up to broadcast the feed weatherusa? Or is there another way I can do this?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
So I am am currently using the new Broadcastify image that was recently released that's basically preconfigured. I have 3 feeds on one Pi. 1 of those feeds is NOAA which is sent to broadcastify. Is there a way to use the same darkice config file for this NOAA Feed and set it up to broadcast the feed weatherusa? Or is there another way I can do this?
The darkice.cfg file allows the audio stream to be sent to up to 8 destinations. See File: darkice.cfg | Debian Sources
 

rn1nduk1

Feed Provider
Premium Subscriber
Joined
Apr 14, 2011
Messages
147
Location
Texas
I might have just realized my error setting this up for sdr. Have another pi and sdr. Think will give this another go around. I had an epiphany what I was overlooking.
 

JasperRidley

CATV Lineman - Entry Level Amateur Radio User
Premium Subscriber
Joined
Mar 31, 2020
Messages
25
Location
Hammond, Indiana
I might have just realized my error setting this up for sdr. Have another pi and sdr. Think will give this another go around. I had an epiphany what I was overlooking.
What do you think was wrong? I'm still troubleshooting mine but currently using a real radios audio out to get it to work.

Can someone here share their working .cfg file? Especially if it's a UHF or VHF setup?

Thanks for any help
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
Can you post your darkice2.cfg file? And post the error message that you get when trying to run darkice?
 

k2hz

Member
Database Admin
Joined
Feb 7, 2011
Messages
1,812
Location
Rochester, NY
I tried setting it up. My Noaa Broadcastify feed is in the darkice2.cfg file. Icecast2.0 is the Broadcastify feed. So i made a icecast2.1in the same file (darkice2.cfg) but it doesnt work. So i have no idea.
The feeds should be [icecast2-0] 2-1, etc.. not "2.0" or "2.1"
 

rn1nduk1

Feed Provider
Premium Subscriber
Joined
Apr 14, 2011
Messages
147
Location
Texas
What do you think was wrong? I'm still troubleshooting mine but currently using a real radios audio out to get it to work.

Can someone here share their working .cfg file? Especially if it's a UHF or VHF setup?

Thanks for any help
Think was way setting up sdr. Have not got that far on bcfy pi yet. Noticed my op25 after a while would freeze up. Trying to figure that out. Just updated pi platform and op25 to see what it does. May be the pi3 but idk yet. Going to take my second sdr on build on pi4 extreme 8g ram and see if cleans up there. The 4 with 8g thinking can handle. Or could be something in my arguments
 

rn1nduk1

Feed Provider
Premium Subscriber
Joined
Apr 14, 2011
Messages
147
Location
Texas
Think was way setting up sdr. Have not got that far on bcfy pi yet. Noticed my op25 after a while would freeze up. Trying to figure that out. Just updated pi platform and op25 to see what it does. May be the pi3 but idk yet. Going to take my second sdr on build on pi4 extreme 8g ram and see if cleans up there. The 4 with 8g thinking can handle. Or could be something in my arguments

Get this far and shell not crashing. Just now what says control channel is, it is not.
So IDK. Get past shell crashing and still wont work

[2021-09-04 20:15:02.250644] (info)
-------------------------------------
Trunk Recorder
-------------------------------------

[2021-09-04 20:15:02.250860] (info)
-------------------------------------
SYSTEMS
-------------------------------------

[2021-09-04 20:15:02.265734] (info)

System Number: 1
-------------------------------------

[2021-09-04 20:15:02.265940] (info) Short Name: MIDLAND
[2021-09-04 20:15:02.266044] (info) System Type: p25
[2021-09-04 20:15:02.266158] (info) Control Channels:
[2021-09-04 20:15:02.266316] (info) 0.000857 MHz
[2021-09-04 20:15:02.266727] (info) Modulation: qpsk
[2021-09-04 20:15:02.266820] (info) Analog Recorder Maximum Deviation: 4000
[2021-09-04 20:15:02.266916] (info) Filter Width: 1
[2021-09-04 20:15:02.267016] (info) Squelch: -160
[2021-09-04 20:15:02.267127] (info) API Key:
[2021-09-04 20:15:02.267224] (info) Broadcastify API Key: abcdef-abcde-abcdef-abcde
[2021-09-04 20:15:02.267371] (info) Broadcastify Calls System ID: 0
[2021-09-04 20:15:02.267470] (info) Upload Script:
[2021-09-04 20:15:02.267563] (info) Unit Script:
[2021-09-04 20:15:02.267655] (info) Call Log: true
[2021-09-04 20:15:02.267771] (info) Audio Archive: true
[2021-09-04 20:15:02.267867] (info) Loading Talkgroups...
[2021-09-04 20:15:02.267960] (info) Talkgroups File:
[2021-09-04 20:15:02.268052] (info) Loading Unit Tags...
[2021-09-04 20:15:02.268143] (info) Unit Tags File:
[2021-09-04 20:15:02.268235] (info) Record Unknown Talkgroups: true
[2021-09-04 20:15:02.268329] (info) Decode MDC: false
[2021-09-04 20:15:02.268422] (info) Decode FSync: false
[2021-09-04 20:15:02.268514] (info) Decode Star: false
[2021-09-04 20:15:02.268607] (info) Decode TPS: false
[2021-09-04 20:15:02.268707] (info) Talkgroup Display Format: Id
[2021-09-04 20:15:02.268817] (info) Hide Encrypted Talkgroups: false
[2021-09-04 20:15:02.268914] (info) Hide Unknown Talkgroups: false
[2021-09-04 20:15:02.269008] (info) Minimum Call Duration (in seconds): 0
[2021-09-04 20:15:02.269110] (info)
[2021-09-04 20:15:02.269215] (info)

-------------------------------------
SOURCES
-------------------------------------

[2021-09-04 20:15:02.269440] (info) Driver: osmosdr
[2021-09-04 20:15:02.269535] (info) Center: 0.000000 MHz
[2021-09-04 20:15:02.269673] (info) Rate: 2048000
[2021-09-04 20:15:02.269812] (info) Error: 0
[2021-09-04 20:15:02.269913] (info) PPM Error: 3
[2021-09-04 20:15:02.270028] (info) Auto gain control: false
[2021-09-04 20:15:02.270122] (info) Gain: 0
[2021-09-04 20:15:02.270220] (info) IF Gain: 15
[2021-09-04 20:15:02.270336] (info) BB Gain: 0
[2021-09-04 20:15:02.270436] (info) LNA Gain: 15
[2021-09-04 20:15:02.270552] (info) PGA Gain: 0
[2021-09-04 20:15:02.270651] (info) TIA Gain: 0
[2021-09-04 20:15:02.270749] (info) MIX Gain: 15
[2021-09-04 20:15:02.270865] (info) VGA1 Gain: 0
[2021-09-04 20:15:02.270965] (info) VGA2 Gain: 0
[2021-09-04 20:15:02.271064] (info) Idle Silence: false
[2021-09-04 20:15:02.271158] (info) Digital Recorders: 1
[2021-09-04 20:15:02.271268] (info) Debug Recorder: false
[2021-09-04 20:15:02.271362] (info) SigMF Recorders: 0
[2021-09-04 20:15:02.271453] (info) Analog Recorders: 0
[2021-09-04 20:15:02.271638] (info) Source Device: rtl=0
gr-osmosdr 0.1.5 (0.1.5) gnuradio 3.7.13.4
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace airspy soapy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[2021-09-04 20:15:03.079455] (info) SOURCE TYPE OSMOSDR (osmosdr)
[2021-09-04 20:15:03.079702] (info) Setting sample rate to: 2048000
[R82XX] PLL not locked!
[2021-09-04 20:15:03.202537] (info) Actual sample rate: 2048000
[2021-09-04 20:15:03.202798] (info) Tuning to 0.000000 MHz
[2021-09-04 20:15:03.203362] (info) Gain Stage: LNA supported values: 0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48 49.6
[2021-09-04 20:15:03.203454] (info) Max Frequency: 0.960000 MHz
[2021-09-04 20:15:03.203574] (info) Min Frequency: -0.960000 MHz
[2021-09-04 20:15:03.203663] (info) IF Gain set to: 0
[2021-09-04 20:15:03.228496] (info) MIX Gain set to: 14.4
[2021-09-04 20:15:03.253267] (info) LNA Gain set to: 14.4
[2021-09-04 20:15:03.253489] (info) Auto gain control is OFF
[2021-09-04 20:15:03.253618] (info) Setting antenna to [RX]
[2021-09-04 20:15:03.263916] (info) PPM set to: 3
Decim: 16 Decim2: 4
[2021-09-04 20:15:03.289508] (info) P25 Recorder two-stage decimator - Initial decimated rate: 128000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2048000
[2021-09-04 20:15:03.390489] (info) P25 Recorder ARB - Initial Rate: 2048000 Resampled Rate: 32000 Initial Decimation: 16 System Rate: 24000 ARB Rate: 0.75
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
[2021-09-04 20:15:03.444486] (info)
-------------------------------------


[2021-09-04 20:15:03.444698] (info)

-------------------------------------
INSTANCE
-------------------------------------

[2021-09-04 20:15:03.444826] (info) Capture Directory: /home/pi/bcfy/audio
[2021-09-04 20:15:03.444886] (info) Upload Server:
[2021-09-04 20:15:03.444941] (info) Broadcastify Calls Server: https://api.broadcastify.com/call-upload
[2021-09-04 20:15:03.444994] (info) Status Server:
[2021-09-04 20:15:03.445044] (info) Instance Key:
[2021-09-04 20:15:03.445122] (info) Instance Id:
[2021-09-04 20:15:03.445176] (info) Broadcast Signals: false
[2021-09-04 20:15:03.445231] (info) Default Mode: digital
[2021-09-04 20:15:03.445300] (info) Call Timeout (seconds): 1
[2021-09-04 20:15:03.445352] (info) Log to File: false
[2021-09-04 20:15:03.445412] (info) Control channel warning rate: 10
[2021-09-04 20:15:03.445465] (info) Control channel retune limit: 0
[2021-09-04 20:15:03.445515] (info) Frequency format: 1
[2021-09-04 20:15:03.445565] (info) Status as String: true
[2021-09-04 20:15:03.445616] (info) Log Level: info
[2021-09-04 20:15:03.445752] (info) [MIDLAND] Started with Control Channel: 0.000857 MHz
Decim: 16 Decim2: 4
[2021-09-04 20:15:03.446546] (info) P25 Trunking two-stage decimator - Initial decimated rate: 128000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2048000
[2021-09-04 20:15:03.482652] (info) P25 Trunking ARB - Initial Rate: 2048000 Resampled Rate: 32000 Initial Decimation: 16 System Rate: 24000 ARB Rate: 0.75
Allocating 15 zero-copy buffers
[2021-09-04 20:15:06.005530] (error) [MIDLAND] There is only one control channel defined
[2021-09-04 20:15:06.005805] (error) [MIDLAND] Control Channel Message Decode Rate: 0.666667/sec, count: 2
[2021-09-04 20:15:09.007815] (error) [MIDLAND] There is only one control channel defined
[2021-09-04 20:15:09.008071] (error) [MIDLAND] Control Channel Message Decode Rate: 1/sec, count: 3
[2021-09-04 20:15:12.000292] (error) [MIDLAND] There is only one control channel defined
[2021-09-04 20:15:12.000578] (error) [MIDLAND] Control Channel Message Decode Rate: 1/sec, count: 3
[2021-09-04 20:15:15.006885] (error) [MIDLAND] There is only one control channel defined
[2021-09-04 20:15:15.007099] (error) [MIDLAND] Control Channel Message Decode Rate: 1/sec, count: 3
[2021-09-04 20:15:18.004654] (error) [MIDLAND] There is only one control channel defined
[2021-09-04 20:15:18.004938] (error) [MIDLAND] Control Channel Message Decode Rate: 1/sec, count: 3
[2021-09-04 20:15:21.003159] (error) [MIDLAND] There is only one control channel defined
 

edweirdFL

Member
Joined
Dec 10, 2004
Messages
580
Location
Daytona Beach, FL
[2021-09-04 20:15:06.005530] (error) [MIDLAND] There is only one control channel defined
You get the message above if there's only one freq in your array. Adding a second will make it go away.

[2021-09-04 20:15:06.005805] (error) [MIDLAND] Control Channel Message Decode Rate: 0.666667/sec, count: 2
This is a good indication it's not decoding the control channel.

That's not surprising since it looks like the formatting of the freq you entered is not correct.
 

rn1nduk1

Feed Provider
Premium Subscriber
Joined
Apr 14, 2011
Messages
147
Location
Texas
according to the json, it is

{
"ver": 2,
"sources": [{
"center": 0.0,
"rate": 2048000,
"ppm": 3.0,
"lnaGain": 15,
"mixGain": 15,
"ifGain": 15,
"digitalLevels": 1,
"digitalRecorders": 1,
"driver": "osmosdr",
"device": "rtl=0"
}],
"systems": [{
"control_channels": [857.262500],
"type": "p25",
"shortName": "MIDLAND",
"modulation": "qpsk",
"broadcastifyApiKey": "abcdef-abcde-abcdef-abcde",
"broadcastifySystemId": "###"
}],
"broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
"frequencyFormat": "mhz",
"captureDir": "/home/pi/bcfy/audio",
"controlWarnRate": "10",
"callTimeout": "1"
}
 

rn1nduk1

Feed Provider
Premium Subscriber
Joined
Apr 14, 2011
Messages
147
Location
Texas
took the decimal out maybe working now.

NSTANCE
-------------------------------------

[2021-09-04 20:51:10.733260] (info) Capture Directory: /home/pi/bcfy/audio
[2021-09-04 20:51:10.733344] (info) Upload Server:
[2021-09-04 20:51:10.733427] (info) Broadcastify Calls Server: https://api.broadcastify.com/call-upload
[2021-09-04 20:51:10.733583] (info) Status Server:
[2021-09-04 20:51:10.733671] (info) Instance Key:
[2021-09-04 20:51:10.733749] (info) Instance Id:
[2021-09-04 20:51:10.733830] (info) Broadcast Signals: false
[2021-09-04 20:51:10.733910] (info) Default Mode: digital
[2021-09-04 20:51:10.734991] (info) Call Timeout (seconds): 1
[2021-09-04 20:51:10.735157] (info) Log to File: false
[2021-09-04 20:51:10.735256] (info) Control channel warning rate: 10
[2021-09-04 20:51:10.735336] (info) Control channel retune limit: 0
[2021-09-04 20:51:10.735411] (info) Frequency format: 1
[2021-09-04 20:51:10.735489] (info) Status as String: true
[2021-09-04 20:51:10.735565] (info) Log Level: info
[2021-09-04 20:51:10.735692] (info) [MIDLAND] Started with Control Channel: 857.262500 MHz
[2021-09-04 20:51:10.735848] (error) Unable to setup a System to record, exiting...
 

km4ood

Newbie
Premium Subscriber
Joined
May 31, 2019
Messages
1
Location
Palm Beach, FL
I have everything running as it should, I am trying to send sound from the GQRX software to the Feed; in the feed, there is only LoopBack1,2 and the USB SoundCard; in the GQRX Software, the only options are Default/Built-in/LoopBack1,2. Selecting the loopback does nothing as well as the built-in.



  • This RPI is being run headless and managed via VNC Viewer/Terminal
  • The feed works with no issues if I use the USB Sound Card's MIC input



I noticed that there was an issue with the built-in SoundCard and then noticed there was a new update/bug fix, I went over the image and it seems like the built-in sound card was disabled in the /etc/boot/config.txt file, this was left as is, just an observation.
Rather than spend a few hours on end trying to go over this image, perhaps someone has run into this issue.

Below is the screenshot. Please let me know if you require any logs or any other information.
Screen Shot 2021-09-07 at 12.50.55 AM.png

Screen Shot 2021-09-07 at 12.51.19 AM.png
 

cpg178

Member
Joined
Sep 7, 2014
Messages
403
I saw someone asked above and I am confused by the answer. If I want to use this image to feed a non broadcastify feed is there an easy way to do this? Or am I better off installing everything from scratch.
 

58006

NY DB Admin
Database Admin
Joined
Sep 28, 2004
Messages
226
Location
Inside The Blue Line
This morning I switched our official county feed over from a Windows 7 machine to a Raspberry Pi 3 B+, so far so good, audio out is nice and clear.

Did have a little issue with balenaEtcher getting stuck on "Finishing" the microSD flash for an extended amount of time.

One suggestion for bullet 7 under "Configure Broadcastify Darkice Feed", put a note that there will be no visible indication on the screen that you are entering the password. I thought I was having keyboard issues.

Thanks @blantonl

Glen
 

cpg178

Member
Joined
Sep 7, 2014
Messages
403
One suggestion for bullet 7 under "Configure Broadcastify Darkice Feed", put a note that there will be no visible indication on the screen that you are entering the password. I thought I was having keyboard issues.
When entering a password on Unix systems you wont see the password input.
 
Top