TwoToneDetect New TwoToneDetect in the works - Python based

firechuck911

Member
Feed Provider
Joined
Jan 14, 2006
Messages
19
Location
Chester Il
Not sending emails

I am now getting a few messages stating the following;

Message could not be delivered to mobile.
Error: No valid recipients for this MM


Original Message:
From: textfirepage@gmail.com
To:
Subject: Test Only
Date: Fri, 10 Mar 2017 00:56:55 +0000

As far as I can tell all the numbers are entered correctly.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,586
Location
Massachusetts
I am now getting a few messages stating the following;

Message could not be delivered to mobile.
Error: No valid recipients for this MM


Original Message:
From: textfirepage@gmail.com
To:
Subject: Test Only
Date: Fri, 10 Mar 2017 00:56:55 +0000

As far as I can tell all the numbers are entered correctly.

I get those messages all the time. They are from an inactive Verizon number. Unless you can figure out which VZ number in your list is causing the problem, just ignore them.
 

Res21cue

Member
Feed Provider
Joined
Nov 24, 2010
Messages
338
Location
Res21cue
Still looking for a solution or someone to help diagnose the problem with Bell Mobility not accepting anything from TTD. All of the sent messages bounce back as undelivered. I suspect Bell is blocking them somehow.

Has anyone got TTD to work successfully yet with Bell in Canada without the use of another 3rd party program?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,586
Location
Massachusetts
Still looking for a solution or someone to help diagnose the problem with Bell Mobility not accepting anything from TTD. All of the sent messages bounce back as undelivered. I suspect Bell is blocking them somehow.

Has anyone got TTD to work successfully yet with Bell in Canada without the use of another 3rd party program?

Depending on your level of technical expertise, one option to deliver to smart phones using push notifications rather than text messages is detailed in tecker's past post:

http://forums.radioreference.com/st...etect-works-python-based-164.html#post2679377

If that is something that you want to try I may be able to help a little. My experience is more on the raspberry pi running linux, i am not good at Windows.

My subscribers now have the option of receiving alerts as texts or as PushOver notifications. About 50 tone sets and around 300 PushOver subscriptions. Your Bell people are welcome to try out the pushover app and subscribe to my alerts to get some samples if they would like. It is a free 7-day trial.

www.tinyurl.com/tristatealerts is the sign up page. Busiest tone set is probably Greenfield Medical or Turners Falls.
 

bfd51005

Member
Joined
Apr 16, 2009
Messages
13
Locking up on tone detect

Andy,
I recently downloaded the newest version of Two Tone Detect & put it on a different pc for the first time. When the program detects a tone set, it would lock up & would be like that until the program is closed & relaunched. Yesterday I launched the Two Tone Detect Debug & when it detected a tone set it shows "page received" and resets like it should but never sent out the mp3 Email. The following is what was found in the log file:

Traceback (most recent call last):
File "TwoToneDetect69a.py", line 762, in alert
File "site-packages\pyaudio.py", line 512, in start_stream
IOError: [Errno Unanticipated host error] -9999

Any insite on what maybe the problem would be appreciated.
 

firechuck911

Member
Feed Provider
Joined
Jan 14, 2006
Messages
19
Location
Chester Il
Still having problems with one tone set

Looking for help. I have tried playing with the settings and it works one day then the next it won't. Here are my settings and tone set;

Tone A 772.5
Tone B 907.5
A tone length .6
B tone length .6
Tone gap none
Ignore after 50
Alert Command
Post email
Record delay 1
Playback

Email Port 587
Use Email Auth. is checked
STARTTLS
Record Time 30.0
Record release 3.0
Tone Tolerance 1.0
Tone offset 0.0
MP3 Encoding 32000
BCC is checked
Extended Recording is not set
Send emails sequentially is set for Verizon


Let me know what you think needs changed. Never had any issues with the 68 version besides the Verizon cloudfilter. This just started with version 69a.
 
Last edited:

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Andy,
I recently downloaded the newest version of Two Tone Detect & put it on a different pc for the first time. When the program detects a tone set, it would lock up & would be like that until the program is closed & relaunched. Yesterday I launched the Two Tone Detect Debug & when it detected a tone set it shows "page received" and resets like it should but never sent out the mp3 Email. The following is what was found in the log file:

Traceback (most recent call last):
File "TwoToneDetect69a.py", line 762, in alert
File "site-packages\pyaudio.py", line 512, in start_stream
IOError: [Errno Unanticipated host error] -9999

Any insite on what maybe the problem would be appreciated.

That error indicates that the program is unable to access the sound card. Unfortunately it basically means that TTD isn't going to play well with that sound card. TTD requires multiple threads to be able to access the sound card at the same time, and some (usually onboard sound cards) don't handle that well. I'd suggest getting a cheap USB sound card...you can find them on eBay for a few dollars, that they work fine.

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Looking for help. I have tried playing with the settings and it works one day then the next it won't. Here are my settings and tone set;

Tone A 772.5
Tone B 907.5
A tone length .6
B tone length .6
Tone gap none
Ignore after 50
Alert Command
Post email
Record delay 1
Playback

Email Port 587
Use Email Auth. is checked
STARTTLS
Record Time 30.0
Record release 3.0
Tone Tolerance 1.0
Tone offset 0.0
MP3 Encoding 32000
BCC is checked
Extended Recording is not set
Send emails sequentially is set for Verizon


Let me know what you think needs changed. Never had any issues with the 68 version besides the Verizon cloudfilter. This just started with version 69a.

What doesn't work? Is it detecting tones but not sending emails? Not detecting tones? Locking up? Need more info to be able to help. If you're not sure, check your log.txt file for error messages.

Andy
 

webstar22

RenfrewCountyScanner.com
Premium Subscriber
Joined
Dec 21, 2003
Messages
1,037
Location
Ontario, Canada
Is there any support for using a RTL-SDR stick as the audio source? I'm running this in windows and I VACable installed.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Is there any support for using a RTL-SDR stick as the audio source? I'm running this in windows and I VACable installed.

It's not natively supported as an audio source for TTD, but I would that that it would work using VACable and another program to act as the receiver (SDR#, etc.).

Andy
 

webstar22

RenfrewCountyScanner.com
Premium Subscriber
Joined
Dec 21, 2003
Messages
1,037
Location
Ontario, Canada
It's not natively supported as an audio source for TTD, but I would that that it would work using VACable and another program to act as the receiver (SDR#, etc.).

Andy

I was hoping someone had software settings for SDR# they could share. I am using a FRS radio to test and it picks up the tones and works but when the pages come nothing happens. Almost as if the weaker signal isn't triggering the software. i have the squelch set to just the # needed to stop the static so I hope it's not that but some other setting in SDR# Maybe AGC or audio filter or something.

Would be cool if TTD supported it as a audio source. When it works it gives really clear audio.
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
v69 ftpuploader and mp3 link not working

I just updated to v69 last weekend and that seemed to work without a hitch. This weekend I started to experiment with the ftpuploader and mp3 link in the message. I have the following post command set:

ftpuploader [mp3] ftp.mywebsite.com workinguser workiningpassword


I also have my email body set as:

http://www.mywebsite.com/pager/[mp3]


When a page is detected, nothing is uploaded to my FTP. The email body displays as: http://www.mywebsite.com/pager/[mp3] without subsisting [mp3] with the mp3 file name. I do not see any errors in my log.



Any suggestions?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,586
Location
Massachusetts
I just updated to v69 last weekend and that seemed to work without a hitch. This weekend I started to experiment with the ftpuploader and mp3 link in the message. I have the following post command set:

ftpuploader [mp3] ftp.mywebsite.com workinguser workiningpassword


I also have my email body set as:

http://www.mywebsite.com/pager/[mp3]


When a page is detected, nothing is uploaded to my FTP. The email body displays as: http://www.mywebsite.com/pager/[mp3] without subsisting [mp3] with the mp3 file name. I do not see any errors in my log.



Any suggestions?

Are you sending at least one email with an mp3 attachment to ensure that the mp3 conversion is taking place?
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
I just updated to v69 last weekend and that seemed to work without a hitch. This weekend I started to experiment with the ftpuploader and mp3 link in the message. I have the following post command set:

ftpuploader [mp3] ftp.mywebsite.com workinguser workiningpassword


I also have my email body set as:

http://www.mywebsite.com/pager/[mp3]


When a page is detected, nothing is uploaded to my FTP. The email body displays as: http://www.mywebsite.com/pager/[mp3] without subsisting [mp3] with the mp3 file name. I do not see any errors in my log.



Any suggestions?

To use the [mp3] tag in the email body, make sure that you have the "Send Text-Only Emails" setting set to "after record" or "both" in the TonesEditor.

If you run the ftpuploader from the command line manually, does it upload as you intend? Can you confirm that it's not uploading the file to http://www.mywebsite.com/mp3file.mp3 rather than http://www.mywebsite.com/pager/mp3file.mp3 ?

Andy
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Thank you both for your suggestions, yes I am sending MP3's to users so they are getting generated. I did not realize the "text_email_send = after record" was required. We use your remote tone admin and I don't see an area for that, if I do it locally it will get over written one the remote tones are downloaded again so maybe I need to wait for that to be supported first.

I am running windows. I cannot get the FTP uploader to run by command line. It spits out "Error loading Python DLL:" error code 14001. My FTP user's root is http://www.mywebsite.com/pager/.

Thanks!
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
We use your remote tone admin and I don't see an area for that, if I do it locally it will get over written one the remote tones are downloaded again so maybe I need to wait for that to be supported first.

Whoops, good point! I'll work on getting that added in the next few days.

I am running windows. I cannot get the FTP uploader to run by command line. It spits out "Error loading Python DLL:" error code 14001. My FTP user's root is http://www.mywebsite.com/pager/.Thanks!

That may be harder to solve. It may be related to the build process I used. I'll need to do some checking on that.

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Thank you both for your suggestions, yes I am sending MP3's to users so they are getting generated. I did not realize the "text_email_send = after record" was required. We use your remote tone admin and I don't see an area for that, if I do it locally it will get over written one the remote tones are downloaded again so maybe I need to wait for that to be supported first.

This should be addressed now. Try logging in under your admin account, and you should be able to edit this setting.

I am running windows. I cannot get the FTP uploader to run by command line. It spits out "Error loading Python DLL:" error code 14001. My FTP user's root is http://www.mywebsite.com/pager/.

I realized that when I rebuilt v69 for the final time, I neglected to also rebuild the ftpuploader program with the same settings. I did that tonight and reposted the v69 package. Try downloading this version and see if that takes care of the DLL error.

Andy
 

Westernbound

Member
Joined
Aug 11, 2014
Messages
35
Location
Dickens TX
Depending on your level of technical expertise, one option to deliver to smart phones using push notifications rather than text messages is detailed in tecker's past post:

http://forums.radioreference.com/st...etect-works-python-based-164.html#post2679377

If that is something that you want to try I may be able to help a little. My experience is more on the raspberry pi running linux, i am not good at Windows.

My subscribers now have the option of receiving alerts as texts or as PushOver notifications. About 50 tone sets and around 300 PushOver subscriptions. Your Bell people are welcome to try out the pushover app and subscribe to my alerts to get some samples if they would like. It is a free 7-day trial.

www.tinyurl.com/tristatealerts is the sign up page. Busiest tone set is probably Greenfield Medical or Turners Falls.

I have been looking at this and signed up to some of your departments. I have downloaded Tecker's files but could use a little help getting started. He is correct when he says "documentation is a bit rough at the moment (for folks just wanting to use them it's non-existent)." It looks to me like the Uploadfile goes first, and it points to the Push notifier. I'm not sure where "Twilio" fits in. If someone could come up with some sort of instructions it sure would help.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,586
Location
Massachusetts
I have been looking at this and signed up to some of your departments. I have downloaded Tecker's files but could use a little help getting started. He is correct when he says "documentation is a bit rough at the moment (for folks just wanting to use them it's non-existent)." It looks to me like the Uploadfile goes first, and it points to the Push notifier. I'm not sure where "Twilio" fits in. If someone could come up with some sort of instructions it sure would help.

WB,

You can safely disregard the Twilio information to get started.
Just for a little explanation of how things work:
1. A tone set is detected and an mp3 recording made and stored in the /audio directory on your computer. The uploader portion of tecker's programs then uploads this mp3 file to an ftp server on the internet. You will need to have this server set up and ready to accept these ftp transfers before it will work. The login information to the ftp server is what goes in the .json file associated with the uploader.
2. After a tone set is detected and the mp3 file is uploaded to the server, the push notification script runs. This instructs PushOver to send a notification to the subscribers in a delivery group. The payload attached to this push is the link to the mp3 file on the server. The push then gets delivered to the subscribers. The alert appears on their device. Tap on the alert and it automatically plays the audio file from the server. Or if they have automatically load supplemental url turned off in settings, they click on the url to play the audio.

Andy's Ftpuploader packaged with v69 does the same thing as far as uploading the audio file to the server. You may want to look through his instructions on TwoToneDetect for some understanding.

His last paragraphs about sending the link as an SMS basically also accomplishes the same thing as using a push notification except the link to the server file is delivered as a SMS text message rather than a push notification. That option should work well for those (Bell Mobility Canada) experiencing deliver problems with MMS messages.

The trickiest part may be setting up the ftp server if you are unfamiliar with that and figuring out what the publicly accessible file link is to use as your payload/message

I also sent you a Private Meassage so check them.

Jim
 

truckie27

Member
Joined
Dec 1, 2010
Messages
49
Location
Metropolis, IL
I'm having trouble with my TTD set up on my RPI 3 model b. I'm trying to send an admin email through the config page and I keep getting email send error..<class.smtplib.smtpexception> SMTP auth extension not supported by server.
I've put in my correct email settings.. Even read that the email PW needed to be converted over to 64 encoding... I've checked and unchecked email authentication... Picked from all three email security settings and all three send emails sequentially options.. Still nothing... What am I missing??
 
Top