TwoToneDetect New TwoToneDetect in the works - Python based

ajalbarano

Member
Joined
Sep 26, 2009
Messages
63
Location
Duncansville, PA
I set up TTD to send me pushbullets this morning as well as the usual emails and pushovers. Yes, I can confirm that receiving pushbullets is hit or miss. Occasionally, TTD indicates pushbullet sent but it never gets to my devices.



Here is one that did NOT work, even though this channel tag does exist and it has uploaded to it SEVERAL other times.
Bald Eagle Station 36 Tone Set Found

0
after record
delay timer Bald Eagle Station 36 19:56:17 on 01/13/18
1183.0 15398.9101078
2.5
1183.0 2400.83071763
1183.0 2628.34086045
1183.0 2381.33779772
1183.0 2394.977482
1183.0 2485.16541959
1183.0 1739.51503995
1183.0 1754.88496127
1183.0 1737.91364328
1183.0 1703.09844662
1183.0 1762.82963281
1183.0 1697.00970833
1183.0 1715.99163336
delay done Bald Eagle Station 36 19:56:20 on 01/13/18
waiting for audio Bald Eagle Station 36 19:56:20 on 01/13/18
threshold value: 1448.15468787
mono
mono
mono
mono
mono
mono
mono
threshold exceeded
recording audio Bald Eagle Station 36 19:56:21 on 01/13/18
iterations: 200
747.0 11066.528112
1199.0 14030.4418492
1199.0 14160.2717434
1919.0 1067.83879319
1376.0 9309.77428892
1957.0 2565.56632049
1656.0 12052.532629
1844.0 11003.6993593
1468.0 11350.3075089
1532.0 16265.6463509
1215.0 12593.4267383
618.0 11906.4775168
1693.0 7431.13601448
2285.0 4330.869748
1435.0 11910.63802
1575.0 9810.90539395
2000.0 10287.7302132
1468.0 5018.08765174
570.0 2724.62774324
1097.0 7347.25433531
1581.0 952.090499664
1548.0 8499.82352904
1715.0 9010.41274811
1892.0 1727.23733139
1667.0 1426.90332058
1295.0 9647.77634799
Waiting for Silence Bald Eagle Station 36 19:56:40 on 01/13/18
Done recording Bald Eagle Station 36 19:56:43 on 01/13/18
done writing WAV Bald Eagle Station 36 19:56:43 on 01/13/18
done converting to MP3 Bald Eagle Station 36 19:56:44 on 01/13/18
done converting to AMR Bald Eagle Station 36 19:56:44 on 01/13/18
setting mail server up
set up mail server
starting TLS
done starting TLS
logging in
logged in
MP3 Group Email sent to trigger@applet.ifttt.com via smtp.gmail.com on port 587 using STARTTLS Bald Eagle Station 36 Page Received at 19:56:17 on 01/13/18 19:56:47 on 01/13/18
Traceback (most recent call last):
File "TTD70.py", line 240, in pushbulletsendfile
File "site-packages\pushbullet\pushbullet.py", line 206, in get_channel
PushbulletError: No channel found with channel_tag "baldeagle"


Sent from my iPhone using Tapatalk
 

ajalbarano

Member
Joined
Sep 26, 2009
Messages
63
Location
Duncansville, PA
Can you post the logfile entry showing where a tone set was decoded but failed to send to pushbullet?



Are you getting indication in the TTD window that PB is sending?


Link to this channel:

https://www.pushbullet.com/channel?tag=baldeagle

Failure:

Here is one that did NOT work, even though this channel tag does exist and it has uploaded to it SEVERAL other times.
Bald Eagle Station 36 Tone Set Found

0
after record
delay timer Bald Eagle Station 36 19:56:17 on 01/13/18
1183.0 15398.9101078
2.5
1183.0 2400.83071763
1183.0 2628.34086045
1183.0 2381.33779772
1183.0 2394.977482
1183.0 2485.16541959
1183.0 1739.51503995
1183.0 1754.88496127
1183.0 1737.91364328
1183.0 1703.09844662
1183.0 1762.82963281
1183.0 1697.00970833
1183.0 1715.99163336
delay done Bald Eagle Station 36 19:56:20 on 01/13/18
waiting for audio Bald Eagle Station 36 19:56:20 on 01/13/18
threshold value: 1448.15468787
mono
mono
mono
mono
mono
mono
mono
threshold exceeded
recording audio Bald Eagle Station 36 19:56:21 on 01/13/18
iterations: 200
747.0 11066.528112
1199.0 14030.4418492
1199.0 14160.2717434
1919.0 1067.83879319
1376.0 9309.77428892
1957.0 2565.56632049
1656.0 12052.532629
1844.0 11003.6993593
1468.0 11350.3075089
1532.0 16265.6463509
1215.0 12593.4267383
618.0 11906.4775168
1693.0 7431.13601448
2285.0 4330.869748
1435.0 11910.63802
1575.0 9810.90539395
2000.0 10287.7302132
1468.0 5018.08765174
570.0 2724.62774324
1097.0 7347.25433531
1581.0 952.090499664
1548.0 8499.82352904
1715.0 9010.41274811
1892.0 1727.23733139
1667.0 1426.90332058
1295.0 9647.77634799
Waiting for Silence Bald Eagle Station 36 19:56:40 on 01/13/18
Done recording Bald Eagle Station 36 19:56:43 on 01/13/18
done writing WAV Bald Eagle Station 36 19:56:43 on 01/13/18
done converting to MP3 Bald Eagle Station 36 19:56:44 on 01/13/18
done converting to AMR Bald Eagle Station 36 19:56:44 on 01/13/18
setting mail server up
set up mail server
starting TLS
done starting TLS
logging in
logged in
MP3 Group Email sent to trigger@applet.ifttt.com via smtp.gmail.com on port 587 using STARTTLS Bald Eagle Station 36 Page Received at 19:56:17 on 01/13/18 19:56:47 on 01/13/18
Traceback (most recent call last):
File "TTD70.py", line 240, in pushbulletsendfile
File "site-packages\pushbullet\pushbullet.py", line 206, in get_channel
PushbulletError: No channel found with channel_tag "baldeagle"


Sent from my iPhone using Tapatalk
 

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Need help with SMTP Error

setting mail server up
set up mail server
logging in
logged in
Traceback (most recent call last):
File "TTD70.py", line 91, in mail
File "smtplib.py", line 748, in sendmail
SMTPServerDisconnected: Connection unexpectedly closed: [Errno 10054] An existing connection was forcibly closed by the remote host
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 1 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 2 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 3 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
max retries exceeded, failed to send email
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
setting mail server up
set up mail server
logging in
logged in
Traceback (most recent call last):
File "TTD70.py", line 91, in mail
File "smtplib.py", line 748, in sendmail
SMTPServerDisconnected: Connection unexpectedly closed: [Errno 10054] An existing connection was forcibly closed by the remote host
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 1 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 2 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 587 using none on attempt 3 trying again in five seconds for Nowco Page Received at 20:10:14 on 01/15/18
max retries exceeded, failed to send email

In Configuration, change your Email Security setting to STARTTLS.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
Same error as well as various ports and SSL and STARTTLS. I have even tried different email services

Okay, you are on the right track. It is something in the email provider authentication. Have you tried a gmail account port 587 and STARTTLS. That works for me.
 

jhsands

Member
Feed Provider
Joined
Sep 6, 2006
Messages
501
Location
Texarkana, Arkansas
What does your hyperlink prefix look like? In config.cfg


What goes in the Hyperlink Prefix box is everything that precedes the .mp3 file name at the server. for example mine is:

http://ttd.nfshost.com/Montague_Fire_EMS_2018_01_01_21_06_01.mp3

You should be able to combine the prefix and the file name, put it in a web browser and make it play.

Same error as well as various ports and SSL and STARTTLS. I have even tried different email services

Be sure you are using the GUI to put in your SMTP password so it is encoded in the config file.

Secondly, go to the administrative command prompt and type "telnet smtp.example.com 587". If telnet is not installed, run [ pkgmgr /iu:"TelnetClient" ]
 
Last edited:

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Be sure you are using the GUI to put in your SMTP password so it is encoded in the config file.

Secondly, go to the administrative command prompt and type "telnet smtp.example.com 587". If telnet is not installed, run [ pkgmgr /iu:"TelnetClient" ]
telnet returned this "220 mail.hostingplatform.com ESMTP" for my fire email, yahoo, and gmail.

This is my error message from the recommended Gmail try.

setting mail server up
set up mail server
starting TLS
done starting TLS
logging in
logged in
Traceback (most recent call last):
File "TTD70.py", line 91, in mail
File "smtplib.py", line 748, in sendmail
SMTPServerDisconnected: Server not connected
Email not sent via smtp.gmail.com on port 587 using STARTTLS on attempt 1 trying again in five seconds for Nowco Page Received at 08:48:58 on 01/16/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.gmail.com on port 587 using STARTTLS on attempt 2 trying again in five seconds for Nowco Page Received at 08:48:58 on 01/16/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.gmail.com on port 587 using STARTTLS on attempt 3 trying again in five seconds for Nowco Page Received at 08:48:58 on 01/16/18
max retries exceeded, failed to send email
 

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
999
Location
Ontario, Canada
Yep you should be able to use your ISP's mail server for all outgoing mail since they are blocking SMTP outbound to providers a lot of ISPs do this to stop spam bots.

Who is your ISP it should be easy for us to find online.
 

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
999
Location
Ontario, Canada

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Yep you should be able to use your ISP's mail server for all outgoing mail since they are blocking SMTP outbound to providers a lot of ISPs do this to stop spam bots.

Who is your ISP it should be easy for us to find online.
My ISP is Centurylink
I tried their smtp.centurylink.net on the cmd prompt telnet and no luck.
I also connected to a wireless hot spot through AT&T and no luck there either.
Also to add that there is no antivirus running or firewall blocking.
 

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
999
Location
Ontario, Canada
Hey aaknitt

Is there a way to edit what text and link are sent to push bullet. Find on my S7 Android that I can't always download the file from pushbullet so I would like to include a link to the file I have FTP uploaded.
 

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
999
Location
Ontario, Canada
My ISP is Centurylink
I tried their smtp.centurylink.net on the cmd prompt telnet and no luck.
I also connected to a wireless hot spot through AT&T and no luck there either.
Also to add that there is no antivirus running or firewall blocking.

Hmmm what DNS servers do you have in your router or PC. It could be something like OpenDNS etc.. that is trying to route all your mail via a proxy to protect it. That mail server you posted is network solutions so I have no idea why your PC is trying to send via that.
 

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Hmmm what DNS servers do you have in your router or PC. It could be something like OpenDNS etc.. that is trying to route all your mail via a proxy to protect it. That mail server you posted is network solutions so I have no idea why your PC is trying to send via that.
DNS Address #1: 205.171.3.66
DNS Address #2: 205.171.202.166

Network solutions is one of the emails that I attempted to send from as well as gmail and yahoo mail. all of which return SMTPServerDisconnected: Connection unexpectedly closed: [Errno 10054] An existing connection was forcibly closed by the remote host
 

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
999
Location
Ontario, Canada
Ohh sorry ok the forcibly closed message makes more sense now. When you try a telnet what port are you using try 587 465 and 25 . If your ISP is blocking SMTP there server should answer on port 25
 

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Ohh sorry ok the forcibly closed message makes more sense now. When you try a telnet what port are you using try 587 465 and 25 . If your ISP is blocking SMTP there server should answer on port 25
telnet smtp.nowcofire.org 25 = 220 mail.hostingplatform.com ESMTP
telnet smtp.nowcofire.org 465 = Connecting To smtp.nowcofire.org...Could not open connection to the host, on port 465: Connect failed
telnet smtp.nowcofire.org 587 = 220 mail.hostingplatform.com ESMTP
 
Top