FD Tone Notify - New Tone Detection Software Released

SantaRosaScanNews

Member
Feed Provider
Joined
Aug 5, 2019
Messages
9
All I get after double clicking the exe is this:

23-07-18-23:07:77 crit : Push Bullet does not have an API Key. Notifications will not be sent
23-07-18-23:07:37 warning : Cannot access secrets file at config/secrets.json. Only using secrets from env Vars

After it shows that for less than half a second it just closes. I pulled this from the log. I have renamed the file and follow the configuration properly. Any help is appreciated!
 

kevind963

Member
Feed Provider
Joined
Jun 22, 2012
Messages
46
Neither of those are errors that prevent operation but are warnings about the configuration. Do you have any more logs?
 

kevind963

Member
Feed Provider
Joined
Jun 22, 2012
Messages
46
Open a command line and run it from there instead of double clicking. That will keep the window open.
 

SantaRosaScanNews

Member
Feed Provider
Joined
Aug 5, 2019
Messages
9
Here is running it from a command prompt. It still just disappears once starting.
373fe0c335.gif
 

kevind963

Member
Feed Provider
Joined
Jun 22, 2012
Messages
46
Don't use the start command. Start opens it in a new window. You want it to run in the existing window. That will hopefully give the log for why it is exiting
 

SantaRosaScanNews

Member
Feed Provider
Joined
Aug 5, 2019
Messages
9
You need to install sox. There is a link and instructions in the documentation.
I guess what I did wrong is copied and pasted the path without changing the sox version to 14-1-2 instead of 14-1-1 as copied. Any recommendations for a pushbullet alternative that supports iOS? Thank you!
 

SantaRosaScanNews

Member
Feed Provider
Joined
Aug 5, 2019
Messages
9
Getting an error saying email undefined. Everything in the config file is filled in besides bcc. And the secrets file is filled in as well.
 

BTFire21

Member
Joined
Nov 2, 2003
Messages
418
Location
NY
I am not sure what I did wrong but I can successfully use curl to test my api token and it works that way. Here is what I am getting.

error : EXTERN fancy description for the logs: Exit Code 1
Aug-10-2023 17:56:53 error : External Command Error: node ./rel/path/main.js [timestamp] "[detectorName]" "[description]" [tones] [matchAverages] [recordingRelPath] [custom]
Aug-10-2023 17:56:54 error : {"error":{"code":"invalid_access_token","type":"invalid_request","message":"Access token is missing or invalid.","cat":"(=^・ω・^)y="},"error_code":"invalid_access_token"}
Aug-10-2023 17:56:54 error : Failed to push. Error: Error: {"error":{"code":"invalid_access_token","type":"invalid_request","message":"Access token is missing or invalid.","cat":"(=^・ω・^)y="},"error_code":"invalid_access_token"}
Aug-10-2023 17:56:54 error : Error sending Initial push
 

PorscheEMB

Member
Joined
Oct 4, 2011
Messages
34
Is there anyway to set up this program so it alerts whenever the channel is active?
Hello everyone,

I have just released a new Open Source project FD Tone Notify. Since Two Tone Detect vanished mid last year and many of its features stopped working I wanted to create an alternative from scratch using modern technology. I set out to design an application that was modular and easily extensible with custom notifications. I ultimately decided to make the core software free and open source so the community can have confidence in its ongoing availability and have a say in the development. With that said a paid extended support plan is available and donations via Patreon would be very much appreciated. In the future I plan to develop hosted audio functionality that will be a paid component.

FD Tone Notify has been tested over the past several weeks and released with binaries for Windows, Linux, and for the Raspberry Pi (ARMv7). In the near future Raspberry Pi starter kits will be available with the software pre-loaded with a basic configuration.

You can read more about the Launch Notes on the blog.

Project Website: FD Tone Notify – Dispatch Tone Notification Software for Fire Departments and Enthusiasts
GitHub: kjdElectronics/fd-tone-notify
Release Page: Releases · kjdElectronics/fd-tone-notify

Documentation
License
set
 

ufdemt15

Member
Feed Provider
Joined
Feb 23, 2010
Messages
11
Location
Unadilla, New York
I am having problems getting the webserver to function. Ive reinstalled it in a new folder and tried it a few times without success by following the install guide. Any help would be greatly appreciated.

C:\Fdtone> fd-tone-notify.exe --all-tone-detector --web-server
Sep-28-2023 10:12:51 crit : Push Bullet does not have an API Key. Notifications will not be sent
Sep-28-2023 10:12:51 warning : Secret FD_PUSHBULLET_API_KEY has not been set or has an empty value
Sep-28-2023 10:12:51 warning : Secret FD_CORALOGIX_PRIVATE_KEY has not been set or has an empty value
Sep-28-2023 10:12:51 warning : Secret FD_SMTP_USERNAME has not been set or has an empty value
Sep-28-2023 10:12:51 warning : Secret FD_SMTP_PASSWORD has not been set or has an empty value
Sep-28-2023 10:12:51 info : Initializing Generic Tone Detector for frequencies between 300Hz and 4000Hz with tolerance ±5
Sep-28-2023 10:12:51 info : Mic Instance Has Started
Sep-28-2023 10:12:51 info : Starting Web App
events.js:292
throw er; // Unhandled 'error' event
^

Error: spawn sox ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:66:3)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1376:13)
at internal/main/run_main_module.js:17:47
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
at onErrorNT (internal/child_process.js:469:16)
[... lines matching original stack trace ...]
at internal/main/run_main_module.js:17:47 {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn sox',
path: 'sox',
spawnargs: [
'-b', '16',
'--endian', 'little',
'-c', '1',
'-r', '44100',
'-e', 'signed-integer',
'-t', 'waveaudio',
'default', '-p'
]
}
C:\Fdtone> fd-tone-notify.exe --web-server --port 3000
Sep-28-2023 10:13:32 crit : Push Bullet does not have an API Key. Notifications will not be sent
Sep-28-2023 10:13:32 warning : Secret FD_PUSHBULLET_API_KEY has not been set or has an empty value
Sep-28-2023 10:13:32 warning : Secret FD_CORALOGIX_PRIVATE_KEY has not been set or has an empty value
Sep-28-2023 10:13:32 warning : Secret FD_SMTP_USERNAME has not been set or has an empty value
Sep-28-2023 10:13:32 warning : Secret FD_SMTP_PASSWORD has not been set or has an empty value
Sep-28-2023 10:13:32 info : Adding Detector for Test Fire Department with tones 911Hz, 3000Hz. Match Threshold: 6, Tolerance: 2%
Sep-28-2023 10:13:32 info : Adding Detector for Second Test Fire Department with tones 1000Hz, 540Hz. Match Threshold: 6, Tolerance: 2%
Sep-28-2023 10:13:32 info : Mic Instance Has Started
Sep-28-2023 10:13:32 info : Starting Web App
events.js:292
throw er; // Unhandled 'error' event
^

Error: spawn sox ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:66:3)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1376:13)
at internal/main/run_main_module.js:17:47
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
at onErrorNT (internal/child_process.js:469:16)
[... lines matching original stack trace ...]
at internal/main/run_main_module.js:17:47 {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn sox',
path: 'sox',
spawnargs: [
'-b', '16',
'--endian', 'little',
'-c', '1',
'-r', '44100',
'-e', 'signed-integer',
'-t', 'waveaudio',
'default', '-p'
]
}
 

kevind963

Member
Feed Provider
Joined
Jun 22, 2012
Messages
46
I am having problems getting the webserver to function. Ive reinstalled it in a new folder and tried it a few times without success by following the install guide. Any help would be greatly appreciated.
The error is related to SOX not being installed and setup correctly. Please make sure it's added to your path.
 

brobers

Newbie
Feed Provider
Joined
Jul 22, 2007
Messages
3
Location
Cloverdale, IN
This is great! I was running TTD on an older pi. Upgraded to a Pi4 and the image wouldn't work anymore then he sold to IaR. We have IaR and I could have used it there but didn't like to solution. I went to the Internet Wayback machine and was able to download an old non-image version and make it work on the Pi4 but it has been a challenge. Fortunately my day job is in Unix administration so that made it a little easier. This looks promising I just need to understand more about the single tone to sound card bit. I run an old scanner across four frequencies and scan multiple departments with TTD. Having multiple sound cards just isn't an option. Keep up the good work. I'll be tracking this.

Brad
 
Top