RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Computer Aided Monitoring and Programming > Streaming / Broadcasting / Audio Recording


Streaming / Broadcasting / Audio Recording - Interested in putting your scanner online for others to hear? Want to listen to other radios on the internet. This forum is here for you to discuss these topics related to streaming scanners online.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #41 (permalink)  
Old 01-02-2015, 11:39 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jul 2009
Location: West Seneca, NY
Posts: 3
Default

Brandon -

Thanks for the help. After making the changes I need (username, password, etc), I am able to send the frequency data to RadioReference, but not the alpha tag. I was also going to add your block from an earlier post to add "Scanning..." for when the scanner is "idle" (as in not locked on a channel).

This is what I'm seeing on my Pi:

Code:
Sat Jan  3 05:32:02 2015
Icecast Update OK  
424.0875
Sat Jan  3 05:32:02 2015
Icecast Update OK  
423.9875
Sat Jan  3 05:32:03 2015
Icecast Update OK  
453.6250
I know that you said you would need access to a Pro2052 to be able to debug and test. Would it help if I gave you an account on my Pi so that you could access the scanner?

From what I'm seeing it doesn't look like the the lookup table or the logging is working.

PM if you want an account, and I'll get you set up.

Thanks.
Joe
Reply With Quote
Sponsored links
  #42 (permalink)  
Old 01-28-2015, 9:49 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Oct 2012
Location: Jackson, Wyoming
Posts: 9
Default

Two questions; has anyone really ever gotten this to work??? I have far more hours in it than it could ever be worth. Also, if you have gotten it to work, have you been able to get it to work on a web page. So that you can just call up a web page and have the audio along with the channel information show up on the page as it receives???
Reply With Quote
  #43 (permalink)  
Old 02-14-2015, 11:54 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2004
Location: New Jersey
Posts: 7
Default

So what is missing to get gre scanners to work? I have the cable plugged in to my pi and it show up as ttyUSB1
Reply With Quote
  #44 (permalink)  
Old 02-14-2015, 12:29 PM
bbrasmussen's Avatar
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2007
Location: Woods Cross, UT
Posts: 138
Default

When I tried to get my RS Pro-106 to talk, it did it through a RS USB cable/adapter using it's own protocol - not purely serial. It showed up as USBtty1 but didn't communicate. If GRE scanners don't use this adapter and use serial then it should work. Otherwise you need a Linux driver for the RS USB scanner cable to make it work. I don't have a GRE-branded scanner, just the GRE-manufactured Pro-106.
Reply With Quote
  #45 (permalink)  
Old 02-27-2015, 12:22 PM
Newbie
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2006
Location: Sault Ste. Marie, MI
Posts: 3
Default

alright, im having trouble with "sudo apt-get install python-serial, python-requests" its giving me an error message.

E: unable to locate package python-serial.

and

$ python metaPy.py &
I get

Traceback (most recent call last):
File "metaPy.py", line 5, in <module>
import requests
ImportError: No module named requests
Reply With Quote
Sponsored links
  #46 (permalink)  
Old 08-30-2015, 10:41 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 940
Default

Any idea to get this to work on a 996p2 since the cable is mirco usb and not serial
Reply With Quote
  #47 (permalink)  
Old 09-25-2015, 8:06 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 940
Default

guess not
Reply With Quote
  #48 (permalink)  
Old 12-06-2015, 2:18 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2003
Location: Poway, CA
Posts: 67
Default

I have been running a RasPi on my feed for a couple of months, works fine. I am trying to add the alpha tags from my BCD 996xt. When the python app runs I get an error Icecast Update Error 401.

pi@bcfypi1 ~ $ python metaPy.py
SD CITY FIRE 5008 DISP 7B
Sun Dec 6 20:05:53 2015
Icecast Update Error 401


A couple issues in the python file I have questions about are:

1 Asks for icecastUser, is this different from the mount ID?

2. Can the audio server listed on broadcastify be used or do I need the IP of the server?
Reply With Quote
  #49 (permalink)  
Old 12-06-2015, 2:24 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2003
Location: Poway, CA
Posts: 67
Default

I must apologize, this happens even at work. I ask someone a question then I read the instructions one more time and realize my error.

I looked and saw where to put source in the user name.

Now it works.

pi@bcfypi1 ~ $ python metaPy.py
SD CITY FIRE 5168 ADMIN 7A
Sun Dec 6 20:22:06 2015
Icecast Update OK
Reply With Quote
  #50 (permalink)  
Old 12-06-2015, 11:22 PM
bbrasmussen's Avatar
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2007
Location: Woods Cross, UT
Posts: 138
Default

Glad you got it working!
Reply With Quote
  #51 (permalink)  
Old 12-09-2015, 10:07 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Apr 2006
Location: Tucson, AZ
Posts: 18
Default

For those of you with the BCD996P2 how are you getting the USB cable to be recognized on the Rasp Pi? Mine doesn't seem to recognize it. Also, how do you get your icecast feed back to radio reference?

I am assuming that you all are doing darkice to icecast then icecast to broadcasify.
Reply With Quote
  #52 (permalink)  
Old 12-10-2015, 8:20 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Apr 2006
Location: Tucson, AZ
Posts: 18
Default

Ok So I am able to see the USB via the lsusb command. I can see it on bus 001 device 008 ID 1965:001a I am unsure how to mount it to ttyusb
Reply With Quote
  #53 (permalink)  
Old 12-10-2015, 10:17 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Apr 2006
Location: Tucson, AZ
Posts: 18
Default

Ok Progress... So it turns out that the scanner is there.. just a bit hidden.

You have to go into the serial folder, then the byid folder and the scanner is listed there. So I was able to get the script to run on my 996p2, but this is the output. Anyone know what this is about.

Simulcast B 18034 PCSO South-1
Traceback (most recent call last):
File "metaPy.py", line 91, in <module>
updateData(metadata)
File "metaPy.py", line 73, in updateData
r = requests.get((requestToSend), auth=(icecastUser,icecastPass))
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 60, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 407, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

It gets the most recent call then crashes.
Reply With Quote
  #54 (permalink)  
Old 12-10-2015, 12:50 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Apr 2006
Location: Tucson, AZ
Posts: 18
Default

Quote:
Originally Posted by goaliebob99 View Post
Ok Progress... So it turns out that the scanner is there.. just a bit hidden.

You have to go into the serial folder, then the byid folder and the scanner is listed there. So I was able to get the script to run on my 996p2, but this is the output. Anyone know what this is about.

Simulcast B 18034 PCSO South-1
Traceback (most recent call last):
File "metaPy.py", line 91, in <module>
updateData(metadata)
File "metaPy.py", line 73, in updateData
r = requests.get((requestToSend), auth=(icecastUser,icecastPass))
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 60, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 407, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

It gets the most recent call then crashes.
It turned out to be a configuration issue. Got it working finally.

For review.

Setup darkice to stream to icecast. Once that is setup, locate the path to your serial device. My raspi set the USB connection from my BCD996p2 under:

" /dev/serial/by-id/usb-UNIDEN_AMERICA_CORP._BCD996P2_Serial_Port_if00"

Once you have the path setup correctly in the script, you can now run it and it works. Make sure that you have your user name / pass and mount points set correctly otherwise it wont work correctly.

All is working correctly. Now I just need to get the people at Broadcastify my info so they can pull my stream.
Reply With Quote
  #55 (permalink)  
Old 02-09-2016, 9:55 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 940
Default

I had my 996p2 working for the longest time on /dev/ttyACM0 now in the last few days it just stopped any ideas?
Reply With Quote
  #56 (permalink)  
Old 02-23-2016, 8:44 PM
Member
   
Join Date: Aug 2014
Posts: 78
Default

Does anyone have the original instructions and script that were on this site http://www.k7bbr.net/projects/metapy.htm

It appears that the site pages were taken down. I would like to try and get the python script running with my GRE-PSR500. I have the original radio shack serial cable.
Reply With Quote
  #57 (permalink)  
Old 02-25-2016, 5:33 PM
Pepso's Avatar
Member
   
Join Date: Apr 2009
Location: Slovakia
Posts: 12
Default

Found this: http://www.k7bbr.net/files/metaPy.py
__________________
Peter, OM3WUC
Current rig: Uniden BCD396XT, Uniden UBC800XLT, Yupiteru MVT-3300EU, Yaesu VX-6 EXP
Sold: UBC3500XLT, Yupiteru MVT-9000, Alinco DJ-X30E, GRE PSR-295
Reply With Quote
  #58 (permalink)  
Old 02-28-2016, 3:30 AM
Pepso's Avatar
Member
   
Join Date: Apr 2009
Location: Slovakia
Posts: 12
Default

Sorry, wrong link in my previous post.
This is the correct one: http://web.archive.org/web/201506150...cts/metapy.htm
__________________
Peter, OM3WUC
Current rig: Uniden BCD396XT, Uniden UBC800XLT, Yupiteru MVT-3300EU, Yaesu VX-6 EXP
Sold: UBC3500XLT, Yupiteru MVT-9000, Alinco DJ-X30E, GRE PSR-295
Reply With Quote
  #59 (permalink)  
Old 03-01-2016, 12:36 PM
Member
   
Join Date: Aug 2014
Posts: 78
Smile Alpha Tags Working on PSR-500 and Raspberry Pi!!

Hey all, was wondering if anyone would like to test out the new script that i wrote for the GRE PSR-500 scanners (Pro-106 and Pro-197 and PSR-600) to get alpha tags working on the Raspberry pi. It's been working great for me for the past 4 days, so i would like others to test it as well, mainly on the other scanners listed. Theoretically it should work on the pro-106 and 197.

It turns out that the default drivers on the raspberry pi should work for the radioshack serial cable. I didn't have to do any messing with that, however i did run a raspberry pi update. Special thanks to Brandon Rasmussen who provided me with the file that he created which works for the Uniden scanners. I used his code to send the updates to the broadcastify servers, but pretty much scratched everything else due to the difference in scanner communication.

Plug in your serial cable to the scanner and to the Pi, and then copy the attached file somewhere on it. From the directory it is in, run python GreTags.py and see what happens. I would like to know if this works for the Pro 106, Pro 197, and PSR 600. Those are all pretty much the same scanners. I am unsure of any other Radioshack scanners so i would not be surprised if any others did not work.

Please provide me some feedback! Thanks
Attached Files
File Type: zip GreTags.zip (2.8 KB, 66 views)
Reply With Quote
  #60 (permalink)  
Old 08-17-2016, 12:56 AM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Apr 2006
Location: Kaysville, Utah
Posts: 3
Default Did you get this working?

I have a Pro-197 that I am testing your script on. It appears to be working, but I am wondering what else you have done with it? I simply want to add the Alpha tags to an private feed.

Thanks!
Reply With Quote
Reply

Tags
alpha tag, icecast, python, raspberry pi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2015 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions