TwoToneDetect New TwoToneDetect in the works - Python based

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
I was having some issues with FTP uploading that stopped working abruptly. It seems that my known_hosts file is blank and I am not sure what I would have done that caused this to occur. There is no key error in the log file as I had seen in the past so I replaced the entry in known_hosts file and will monitor.

Wish list would be for increased logging for FTP. There is minimal logging except for FTP was started, but if it doesn't work you don't know it is was a login error, path error, permissions error, etc.
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
I was having some issues with FTP uploading that stopped working abruptly. It seems that my known_hosts file is blank and I am not sure what I would have done that caused this to occur. There is no key error in the log file as I had seen in the past so I replaced the entry in known_hosts file and will monitor.

Wish list would be for increased logging for FTP. There is minimal logging except for FTP was started, but if it doesn't work you don't know it is was a login error, path error, permissions error, etc.

Resolved with updating the known_hosts file, unknown how the content of that file got deleted.
 

jsimon003

Newbie
Feed Provider
Joined
Jul 9, 2020
Messages
4
Trying to get TTD to auto start on the rasberry pi. I’ve tried every way possible to get it to run via crontab, /etc/xdg/autostart, and everything in between. Has anyone successfully gotten TTD to autostart on Raspberry Pi?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,564
Location
Massachusetts
The free version of TTD for the pi that you can download from them comes with autostart. That is the image that is available from IamResponding.
 

tonemaster

Member
Premium Subscriber
Joined
Aug 29, 2009
Messages
53
Location
Westampton, NJ
My apologies if this question has been previously posted and answered before, but why does the recording length time out at 60 seconds? There are occasional dispatches (major incidents with a plethora of tones) that cut off about a minute in before the dispatcher even starts talking.
 

CDTbolt10033

Member
Joined
May 6, 2020
Messages
249
Location
Waterloo Region, ON
Any solutions or replacements?

Using TTD with Gmail to send alerts to the emails.

Google Less Secure Apps Access

"To help keep your account secure, starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password."
 

CDTbolt10033

Member
Joined
May 6, 2020
Messages
249
Location
Waterloo Region, ON
Any solutions or replacements?

Using TTD with Gmail to send alerts to the emails.

Google Less Secure Apps Access

"To help keep your account secure, starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password."

Disregard the post above solution has been found for the issue.
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Had some spontaneous issues this week with missed page detection.

Code:
atone = 376.4
btone = 358.5
atonelength = 1
btonelength = 3
description = Crivitz Rescue
record_delay = 2
ignore_after = 0

In reviewing the log files, I see the audio was received and it is well within the 0.02 tone tolerance. Appears to have captured the appropriate tone length. What is puzzling is other agencies ARE being detected, meanwhile this agency missed all 10 tones yesterday and has not been working for a few days. Restarted everything, but I am struggling that it seemingly was only one agency.

Code:
376.4634146341463 22934 1650068175.8140676
376.4634146341463 22858 1650068175.9837632
376.4634146341463 23180 1650068176.184951
376.4634146341463 23432 1650068176.3637698
376.4634146341463 23663 1650068176.5487227
376.4634146341463 23273 1650068176.7340605

360.3292682926829 22211 1650068176.9184844
360.3292682926829 21830 1650068177.1033232
360.3292682926829 22296 1650068177.2880533
360.3292682926829 22556 1650068177.4823494
360.3292682926829 23274 1650068177.6667728

360.3292682926829 21736 1650068177.8516002
360.3292682926829 22201 1650068178.036313
360.3292682926829 22475 1650068178.2214136
360.3292682926829 22470 1650068178.4062562
360.3292682926829 22166 1650068178.5915933

360.3292682926829 22262 1650068178.7856839
360.3292682926829 23215 1650068178.9705133
360.3292682926829 22424 1650068179.1562192
360.3292682926829 21620 1650068179.342107
360.3292682926829 21861 1650068179.5265408
360.3292682926829 22818 1650068179.71217

I should also note the content of my knownhosts file were deleted again so my FTP uploads for all services stopped.

Any ideas?
 
Last edited:

ltginrage

Active Member
Joined
Sep 28, 2018
Messages
539
Hello, I have TTD running on my new PC and going into my email. Currently, I'm trying to set up the pushbullet alerts instead of emails. I have the API Token in the Pushbullet API key spot & I've tried putting the channel name, the channel tag, the links to the channels to try to get it to send from TTD with no success. Does anyone know what is the correct thing to go in the Pushbullet channel name? I first assumed it was the channel name that went there but that don't work. so im really not sure what's wrong
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Had some spontaneous issues this week with missed page detection.

Code:
atone = 376.4
btone = 358.5
atonelength = 1
btonelength = 3
description = Crivitz Rescue
record_delay = 2
ignore_after = 0

In reviewing the log files, I see the audio was received and it is well within the 0.02 tone tolerance. Appears to have captured the appropriate tone length. What is puzzling is other agencies ARE being detected, meanwhile this agency missed all 10 tones yesterday and has not been working for a few days. Restarted everything, but I am struggling that it seemingly was only one agency.

I should also note the content of my knownhosts file were deleted again so my FTP uploads for all services stopped.

Any ideas?

RESOLVED with replacing the knownhosts and restarting.
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
Hello, I have TTD running on my new PC and going into my email. Currently, I'm trying to set up the pushbullet alerts instead of emails. I have the API Token in the Pushbullet API key spot & I've tried putting the channel name, the channel tag, the links to the channels to try to get it to send from TTD with no success. Does anyone know what is the correct thing to go in the Pushbullet channel name? I first assumed it was the channel name that went there but that don't work. so im really not sure what's wrong

I've accomplished this with Pushover instead, same concept and I don't entirely recall why I went away from Pushbullet. What I've done in the past is launched a post-command following the page that called a batch file and passed it the URL of the pager audio. The batch file would handle formatting the proper Pushover message and sent it using curl. I could try to walk you though what I remember if you want to PM me.
 

ltginrage

Active Member
Joined
Sep 28, 2018
Messages
539
I've accomplished this with Pushover instead, same concept and I don't entirely recall why I went away from Pushbullet. What I've done in the past is launched a post-command following the page that called a batch file and passed it the URL of the pager audio. The batch file would handle formatting the proper Pushover message and sent it using curl. I could try to walk you though what I remember if you want to PM me.
I'll give pushover a try in a little bit and let you know how it goes Thanks
 

Brigs164

Member
Premium Subscriber
Joined
Nov 3, 2010
Messages
5
Location
Marquette
does ttd_helper work with TTD from iamrepsonding? i have TTD running on a pi right now and every thing works perfect but im getting into home automation and would love the MQTT support
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,564
Location
Massachusetts
Yes

i use MQTT with TTD for automation of functions upon detection of tones. publish to a topic using the alert_command= option
 

CDTbolt10033

Member
Joined
May 6, 2020
Messages
249
Location
Waterloo Region, ON
Nope, there's a thing called app passwords in Gmail just use that and it will work fine however you do have to enable 2-factor authentication to use app passwords (I think).
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,876
Location
Ontario, Canada
I've been fighting with this (here on another thread) and I've had no success thus far...
- turn on 2FA
- Generate app password
- Run app password thru Base64 encoder
- Plug encoded password into the config file

Every time I send I get an SMTP error saying an app specific password is required. Did you do any other steps along the way?
 

CDTbolt10033

Member
Joined
May 6, 2020
Messages
249
Location
Waterloo Region, ON
I just did steps 1 to 2 and then put my password in the config and it worked fine. Do you have email authentication ticked in the config? keep in mind I am using the latest TTD version (TwoToneDetect73l)
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,876
Location
Ontario, Canada
Yes I have authentication checked and email security is set to STARTTLS. So you didn't Base64 encode your password for the config file?
 
Top