Is there a way to play a different courtesy tone based on a different state of the machine, for example if the repeater is running on battery or AC line or in my case if a file exists or not.
KDØWHB
Is there a way to play a different courtesy tone based on a different state of the machine, for example if the repeater is running on battery or AC line or in my case if a file exists or not.
KDØWHB
I would look at Kyle's fan script and mod that to check the status of various closures or equipment. For instance, I've modified it to check whether or not a simple 120 volt relay has opened because the power has dropped which puts me on battery and overwrites my normal voice UL file with one that says 'on battery' at the end.
You're just checking the status of bits and building an interface to do it.
On 10/13/2015 5:36 PM, Skyler Fennell wrote:
Is there a way to play a different courtesy tone based on a different state of the machine, for example if the repeater is running on battery or AC line or in my case if a file exists or not.
I know how to check the status and run scripts based on different things going on, I just don't know how the courtesy tone can be changed live.
On Oct 13, 2015, at 5:55 PM, Bryan D. Boyle <bdboyle@bdboyle.com> wrote:
On 10/13/2015 5:36 PM, Skyler Fennell wrote:
Is there a way to play a different courtesy tone based on a different state of the machine, for example if the repeater is running on battery or AC line or in my case if a file exists or not.I would look at Kyle's fan script and mod that to check the status of various closures or equipment. For instance, I've modified it to check whether or not a simple 120 volt relay has opened because the power has dropped which puts me on battery and overwrites my normal voice UL file with one that says 'on battery' at the end.
You're just checking the status of bits and building an interface to do it.
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
If I were doing such a thing (and I do), I would take this approach...
Keep a tail msg enabled (you can have more than one in rotation),
And leave it non-existent by name and it will just be 'ignored' when not
found without error.(i use tmsg1.off)
When the activity you are monitoring sends the correct flag,
use your script to simply rename the audio msg (tail msg) to the
recognized file name you set in rpt.conf (rename file to what is set)
tmsg1.wav and back again when the condition is no longer true by renaming
it tmsg1.off.
Don't forget to set tail msg timer shorter (10min).
Don't do this to with to many tail msgs as each one would take a time slot
equal to the timer even while off. So if you set 3 msgs to rotate and you
only flag one on, it 'could' take up to 3x the tail msg timer to hear it.
It works for me anyhow.
...mike/kb8jnm
Is there a way to play a different courtesy tone based on a different
state of the machine, for example if the repeater is running on battery or
AC line or in my case if a file exists or not.KDÃWHB
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down
to the bottom of the page. Enter your email address and press the
"Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to
the list detailing the problem.
Thanks. I was thinking about creating multipule rpt.conf files, and having them rotate or have a script which edited the rpt.conf file. Your idea with the audio files is so much better.
On Tue, Oct 13, 2015 at 8:45 PM, Skyler F electricity440@gmail.com wrote:
Thanks. I was thinking about creating multipule rpt.conf files, and having them rotate or have a script which edited the rpt.conf file. Your idea with the audio files is so much better.
–
On Tue, Oct 13, 2015 at 8:02 PM, mike@midnighteng.com wrote:
If I were doing such a thing (and I do), I would take this approach…
Keep a tail msg enabled (you can have more than one in rotation),
And leave it non-existent by name and it will just be ‘ignored’ when not
found without error.(i use tmsg1.off)
When the activity you are monitoring sends the correct flag,
use your script to simply rename the audio msg (tail msg) to the
recognized file name you set in rpt.conf (rename file to what is set)
tmsg1.wav and back again when the condition is no longer true by renaming
it tmsg1.off.
Don’t forget to set tail msg timer shorter (10min).
Don’t do this to with to many tail msgs as each one would take a time slot
equal to the timer even while off. So if you set 3 msgs to rotate and you
only flag one on, it ‘could’ take up to 3x the tail msg timer to hear it.
It works for me anyhow.
…mike/kb8jnm
Is there a way to play a different courtesy tone based on a different
state of the machine, for example if the repeater is running on battery or
AC line or in my case if a file exists or not.
KDØWHB
App_rpt-users mailing list
To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down
to the bottom of the page. Enter your email address and press the
“Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to
the list detailing the problem.
App_rpt-users mailing list
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Skyler Fennell
amsatnet.info
KDØWHB
–
Skyler Fennell
amsatnet.info
KDØWHB