TwoToneDetect New TwoToneDetect in the works - Python based

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,585
Location
Massachusetts
I will be setting up a raspberry pi with TTD. I currently have a PI running for broadcastify. My question is will I be able to make the TTD start running automatically after a power failure?

Focus on getting TTD runn8n* on the pi first. Once you get to that point, then we can work on starting it automatically on power restore. There are several ways to do it. Post a note when you have it running.
 

jcundiff

Member
Joined
Oct 26, 2009
Messages
6
Hey folks, I’m needing help. I’m setting up TwoToneDetect on a deasktop. I’ve got everything entered (I’m sure this is what I’m doing wrong). But I can’t get it to send emails. Email info is setup as follows: Email UserID: pmfd.page
Email Password: *********
Email “From” address: pmfd.page@yahoo.com
Email Server: smtp.mail.yahoo.com
Email Port: 587
 

nated1992

Member
Joined
Feb 9, 2013
Messages
271
Location
Asheville NC
Hey folks, I’m needing help. I’m setting up TwoToneDetect on a deasktop. I’ve got everything entered (I’m sure this is what I’m doing wrong). But I can’t get it to send emails. Email info is setup as follows: Email UserID: pmfd.page
Email Password: *********
Email “From” address: pmfd.page@yahoo.com
Email Server: smtp.mail.yahoo.com
Email Port: 587
I believe your userid needs @yahoo.com
 

ke4ldu

Member
Joined
Nov 4, 2009
Messages
43
Location
Taylorsville, North Carolina
Installing TTD On Pi

I am to the point I need to install TTD on a pi. Can someone submit a refined way of doing this for a noob? I am going step by step from the TTD page but it’s not working.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,585
Location
Massachusetts
I am to the point I need to install TTD on a pi. Can someone submit a refined way of doing this for a noob? I am going step by step from the TTD page but it’s not working.

At what point is it failing? What is your last step before failure?
 

slingshot202

Member
Feed Provider
Joined
Sep 10, 2008
Messages
691
Location
New Jersey
Is anyone getting these replies from Verizon Wireless?

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


Original Message:
From: alerts@myaddress.org
To:
Subject: LFD Rescue page received at 17:57:50 on 11/01/18
Date: Thu, 1 Nov 2018 22:01:05 +0000

When I pull up the headers it appears to be a reply from Verizon wireless.

I have checked the numbers and I don't seem to have any issues with that. Besides, when people change their carrier or phone number I usually receive a no such user at an address.

I have these spread through several accounts with VzW users, not just one sending account. I use to occsionally find a <> in the field because I screwed up, but not seeing that.

Thanks
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,585
Location
Massachusetts
Is anyone getting these replies from Verizon Wireless?

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


Original Message:
From: alerts@myaddress.org
To:
Subject: LFD Rescue page received at 17:57:50 on 11/01/18
Date: Thu, 1 Nov 2018 22:01:05 +0000

When I pull up the headers it appears to be a reply from Verizon wireless.

I have checked the numbers and I don't seem to have any issues with that. Besides, when people change their carrier or phone number I usually receive a no such user at an address.

I have these spread through several accounts with VzW users, not just one sending account. I use to occsionally find a <> in the field because I screwed up, but not seeing that.

Thanks

I get them all the time and just ignore them. Gave up trying to figure them out. One possibility is that they are coming from someone who has blocked you as a sender rather than asking you to take their number out of TTD. Just a guess.
 

nr0q

Member
Joined
Mar 1, 2013
Messages
6
Location
Macon, MO
I am trying to setup TwoToneDetect 68 on a Fedora Linux system and get the following error

Code:
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2043
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2714
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2838
Unhandled exception in thread started by <function readperiodic at 0xb48b080c>
Successfully retrieved local tone info at 15:27:33 on 11/13/18
Successfully retrieved local tone info at 15:27:33 on 11/13/18
Tone1
Tone2
Longtone1
Successfully retrieved local tone info at 15:27:33 on 11/13/18
Tone1
Tone2
Longtone1
Traceback (most recent call last):
  File "TwoToneDetect68.py", line 1108, in <module>
  File "/usr/lib/python2.7/site-packages/pyaudio.py", line 750, in open
    stream = Stream(self, *args, **kwargs)
IOError: [Errno -9997] Invalid sample rate
Traceback (most recent call last):
  File "TwoToneDetect68.py", line 544, in readperiodic
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 599, in after
    name = self._register(callit)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1220, in _register
    self.tk.createcommand(name, f)
RuntimeError: main thread is not in main loop
Traceback (most recent call last):
  File "TwoToneDetect68.py", line 1425, in <module>
  File "TwoToneDetect68.py", line 1137, in start
  File "TwoToneDetect68.py", line 1121, in record
NameError: global name 'stream' is not defined

I have the input and output devices both set to 0 (which is what Alsa reports my onboard soundcard to be as well)

Thanks
 
Last edited:
Joined
Jan 4, 2005
Messages
1,753
Location
Soledad, CA
I was using my old ISP email and now using gmail, but seems like it's won't send out the tone out? Is their any setting i'm missing with gmail?
 

Res21cue

Member
Feed Provider
Joined
Nov 24, 2010
Messages
338
Location
Res21cue
Make sure you goninto your google account and adjust the settings to allow unknown sources or something like that. It’s in your security settings. It explains it on the TTD website Specifically in relation to gmail
 
Joined
Jan 4, 2005
Messages
1,753
Location
Soledad, CA
Make sure you goninto your google account and adjust the settings to allow unknown sources or something like that. It’s in your security settings. It explains it on the TTD website Specifically in relation to gmail

Thanks I got it work with 69a, but 70 wasn't working?
 

guardpost3

Newbie
Premium Subscriber
Joined
Mar 22, 2010
Messages
1
Location
Trenton, Maine
In TTDv70, the admin email function is not working with the push notifications, is this normal? We use the admin email function quite a lot for group announcements.
 
Top