TwoToneDetect New TwoToneDetect in the works - Python based

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Mike,

I have one tone set that is for all personnel in the county (we don't use a MABAS system). That tone set contains 423 email/text addresses. It rarely gets used but last week they sent it out. 420 of them got delivered, 3 bounced back as undeliverable.

My emails go out through a bluehost mail server and through an SMTP forwarding service serversmtp.com

Jim

Does this work where you send an email from your bluehost mail server to serversmtp.com and then they forward it to everyone in your 420 recipient list? I imagine if this is correct, you have to maintain your list at serversmtp.com?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
Does this work where you send an email from your bluehost mail server to serversmtp.com and then they forward it to everyone in your 420 recipient list? I imagine if this is correct, you have to maintain your list at serversmtp.com?

No, my list is maintained in TTD. The serversmtp info is in my config file.
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Interesting, I will check it out! I had ran across them before, but saw the 200/day and was thrown off. It must mean 6,000 a month is the limit, which is basically 200/day. Right now I get 250/day with GoDaddy, but on active days I go over. Routine days I am in the 100's.
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
183
Location
Connecticut
DC31
I am interested in using serversmtp.com. Do you send one email from TTD and then serversmtp.com sends it to a preconfigured email list?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
No, it is sort of hard to explain. The email list remains solely in the tones.cfg file in TTD. The configuration file has the credentials (email_user and email_pwd) for the bluehost server but the email_server and email_port are directed to serversmtp.

SMTP Server - The best free SMTP service | smtp mail server

There are other providers out there also. Do a search for SMTP email forwarding service
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
One would think name of a fire department with a fire address would be helpful. I am guess you called and spoke to someone??

CJ

I don't remember speaking to anyone. It may have been all email or on-line chat. I also think that they may be from Europe or someplace overseas. Correction: San Diego, CA
 
Last edited:

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Persistence. It took me about a day and a half to convince them that I was not a spammer.

I have tried to sign up multiple times and very quickly get rejected. I email their support who only tells me they cannot discuss their selection/rejection criteria and I would have to review their terms of use.

Then they ask for my registered email address and since my registration was rejected they cannot locate it and just advise me to sign up again.

Not sure how you managed to convince them to let you sign up based on the limited amount of information they request in their sign up process.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
I have tried to sign up multiple times and very quickly get rejected. I email their support who only tells me they cannot discuss their selection/rejection criteria and I would have to review their terms of use.

Then they ask for my registered email address and since my registration was rejected they cannot locate it and just advise me to sign up again.

Not sure how you managed to convince them to let you sign up based on the limited amount of information they request in their sign up process.

Are you trying to sign up with a gmail address? The relaying service does not work with emails sent from the common public email address. I believe that it is looking for you to have a website www.XYZ.com and a matching email @XYZ.com
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
hey just downloaded newest version because our old computer took a power surge and fried. anyways i downloaded the new version and now when our department gets a page it is sent out in a group message. did i do something wrong????

Do you need to enable the bcc option?
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
Just had a thought for a future feature request if possible.... How about the possibility of keeping activity counts for each tone set then producing a monthly activity email? Some might find it interesting to see how many calls they got per month etc etc.
 

ryolsen8

Active Member
Feed Provider
Joined
May 1, 2011
Messages
518
Location
BEE07
Just had a thought for a future feature request if possible.... How about the possibility of keeping activity counts for each tone set then producing a monthly activity email? Some might find it interesting to see how many calls they got per month etc etc.

That would actually be really cool!!
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,567
Location
Massachusetts
Just had a thought for a future feature request if possible.... How about the possibility of keeping activity counts for each tone set then producing a monthly activity email? Some might find it interesting to see how many calls they got per month etc etc.

There is some python code on github that could be used to upload the call data to a google spreadsheet:

https://github.com/burnash/gspread

If you or someone you know has some python programming skills, it should be relatively easy to upload the Tone Set Description along with the date and time by calling a python script using the alert_command parameter. Then you can slice and dice that data however you wish and share the spreadsheet with whomever.
 

KF4LAR

Member
Joined
May 4, 2014
Messages
1
Location
Bridger Valley, Wyoming
Approximately 3 weeks ago, my Two Tone Detect simply stopped recording pages. I have a handheld Bearcat scanner plugged into audio input of an old Dell laptop, and also run the Broadcastify app on the same machine.

By going back to the archive files on Broadcastify, I can tell that when the tones drop, they are squelched out within 1 or 2 seconds and remain squelched until they stop. You can then hear all the radio traffic.

The software never "hears" the second tone, so never records the audio file to then send it. In effect, as far as the software is concerned a page never happened.

I've tried tweaking the squelch on both the software and the scanner.

Has anyone experienced this before?
 

briansmall

Member
Joined
May 28, 2015
Messages
4
post email command

I can't seem to get the post email command (I'm switching from email to Twilio to send the messages) to kick off when I detect tones. the emails go out properly and the alert_command gets kicked off. I copied a bit of the tones.cfg file below. Am I doing something wrong with the variables?

Thanks.

Atone = 903.5 ;A tone frequency in Hz^M
Btone = 726.4 ;B tone frequency in Hz^M
Atonelength = .6 ;Lseconds) that must be seen to generate an alert^M
Btonelength = .6 ;Lollowing the A tone in order to generate an alert^M
Description = PFire ;Tone set description^M
text_Emails = 5@mms.att.net ;Echment upon tone detection. Separate with commas^M
mp3_Emails = iehl@ymail.com ;Emaimp3 attachment to. Separate with commas^M
amr_Emails = pde@googlegroups.com
record_delay = 2.5 ;Optiwait to record after a valid tone set is detected^M
ignore_after = 60 ;Optieconds to ignore tone set after a valid set is detected. ^M
alert_command = /home/pi/TTD/Pi/checkW2W.py
post_email_command = /home/pi/TTD/Pi/twilioTest.py [d] [amr]
 
Top