Keyboard Shortcuts
Likes
- SHARI
- Messages
Search
Re: Channel changing script
开云体育True, but I constantly fiddle so I left that in there. ? -Michael ? From: [email protected] <[email protected]>
On Behalf Of KI5KQB
Sent: Monday, February 13, 2023 8:09 PM To: [email protected] Subject: Re: [SHARI] Channel changing script ? Thanks for sharing this cool idea. This begs the question in my mind whether the SA818-prog script could be adapted to have an "unattended" mode, so that it could be reused for this type of programmatic call. |
|||
Re: Channel changing script
Thanks for sharing this cool idea. This begs the question in my mind whether the SA818-prog script could be adapted to have an "unattended" mode, so that it could be reused for this type of programmatic call.
Just a note, if you already have the radio programmed once, you probably don't need to call SETVOLUME, SETTAIL, and SETFILTER every time, since that data is not changing. |
|||
Channel changing script
开云体育I cobbled together a simple script to change frequencies faster on the SHARI pi hat using DTMF. ? I had a need to be able to change it on the fly as some areas I frequent have interference and remoting into it and stepping through the SA818-prog script can be a pain. ? This is python2 to support hamvoip. ? In rpt.conf under functions you can add: ? C01=cmd,/etc/asterisk/local/channel.sh --channel 1 C02=cmd,/etc/asterisk/local/channel.sh --channel 2 C03=cmd,/etc/asterisk/local/channel.sh --channel 3 ? I have it set the filters off and pre/deemph on. Volume set to 7. Reverse burst on. ? Channel format is as follows: spacing,FreqTx,FreqRx,tx_ctcss,squelch,rx_ctcss ? So for 438.2500 simplex with a tone of 123.0(encoding and decoding), squelch set at 4, and 25khz channel spacing: 1: "AT+DMOSETGROUP=1,438.2500,438.2500,0018,4,0018\r\n", ? Tone chart:
? ? ? ? #!/usr/bin/python2 ? import argparse import time import serial ? def main(): ??? parser = argparse.ArgumentParser(description='Send text string through serial port') ??? parser.add_argument('--channel', type=int, help='Channel number (1-3 for ham)') ??? args = parser.parse_args() ? ??? channel_map = { ??????? 1: "AT+DMOSETGROUP=1,438.2500,438.2500,0018,4,0018\r\n", ??????? 2: "AT+DMOSETGROUP=1,438.5000,438.5000,0018,4,0018\r\n", ??????? 3: "AT+DMOSETGROUP=1,438.7500,438.7500,0018,4,0018\r\n", ? ??? } ? ??? if args.channel not in channel_map: ??????? raise ValueError("Invalid channel number. Must be either 1 to 3.") ??? text = channel_map[args.channel] ? ??? ser = serial.Serial('/dev/ttyAMA0', baudrate=9600, timeout=1) ??? ser.write(text.encode()) ??? ser.write("AT+DMOSETVOLUME=7\r\n".encode()) ??? time.sleep(1) ??? ser.write("AT+SETTAIL=1\r\n".encode()) ??? time.sleep(1) ??? ser.write("AT+SETFILTER=0,1,1\r\n".encode()) ??? ser.close() ? if __name__ == '__main__': ??? main() ? ? ? Michael N5ZR ? |
|||
Re: Libre SBC, and also AURSINC Shari
Wow, can you guide me on what you did?1) apt install raspberrypi-kernel-headers 2) For Debian 11: git clone https://github.com/encbar5/ASL-DAHDI.git --branch 5.9_kernel or for previous Debian: https://github.com/ke5gdb/ASL-DAHDI.git --branch 5.9_kernel 3) cd ASL-DAHDI/linux 4) make 5) make install Yes, using patches as guessed by @WD5M I beg to differ. arm64 is the same as aarch64 and I've been running on that since my first SHARI build, so at least the minimal part needed for asterisk does work. There appears to be some confusion in some of the posts here. Seeing as how DAHDI is a kernel module, it has a strong dependency on the kernel version, but this is not the same as the architecture. I have yet to find something in the code that's dependent on a particular architecture. I'm open to correction if someone does find something, though. |
|||
Re: Multiple DTFM characters detected from a single key press
It can happen to any radio. MY oldest FT60 is more than 12y old and in the past few months one of the keys has been acting finnicky. I probably need to pull it apart and do a cleaning. FT60 was well constructed. That older unit has been dropped and bounced around many times and it's still doing very well.
<X><
73 75 Mark???? Port Colborne, Ontario,?CANADA
??Echolink Node# 736666
LIFE has an EXPIRY date. No Trees were harmed in creating this message, however, many electrons were inconvenienced. |
|||
Re: Libre SBC, and also AURSINC Shari
This has been my experience as well, but I have only had a few hours of free time to work with it. I can say that the Libre looks like it would make a fine MMDVM for DMR etc, but it sure has a bad allergy to dahdi.
But the ham community is remarkably ingenuitive, as evidenced by Allstar and the Shari itself. It wouldn't surprise me one bit if the next big digital mode to come out involves teleportation, so surely, someone has dahdi running on a le potato. :) |
|||
Re: Libre SBC, and also AURSINC Shari
Wow, can you guide me on what you did? I tried installing DVSwitch with allstar using Buster image and even loading Raspbian on Libre le potato, then install DVS with Allstar. Same result dadhi fails to run. If you do systemctl status asterisk, the result is asterisk dependency missing. DVswitch by itself is running but not Allstar. Did you compile dadhi by yourself? dadhi will run on armf but not on arm64. On Tue, Feb 7, 2023, 3:40 PM KI5KQB <encbar5@...> wrote: dahdi does not support arm64Could you explain what you mean by this? I built DAHDI on aarch64 for Debian 11 running on a Raspi4, and it's been running this way for over a year. |
|||
Re: Multiple DTFM characters detected from a single key press
John Ross KI5WXB
Hey Mark; I’m quickly beginning to suspect that you are right that this may be a radio specific issue with my VX-6 keypad. I’m able to control my node with DTMF tones sent from my FT-60 without any problems. Thanks and 73. On Wed, Feb 8, 2023 at 9:07 AM N8AR <n8ar73@...> wrote: Download this file from the Files section of this group. |
|||
Re: Multiple DTFM characters detected from a single key press
Download this file from the Files section of this group.
/g/SHARI/files/Setting%20the%20RX%20Level%20in%20HamVOIP%20Allstar.pdf It will allow you to see your DTMF levels when setting the RX level in simpleusb.? In addition to setting the correct level, make sure the level is about the same for all the DTMF characters. |
|||
Re: Multiple DTFM characters detected from a single key press
John Ross KI5WXB
Hi Patrick. I’m continuing to experiment with RX levels and other settings in simple usb. And I have been able to improve things a bit. Thanks for the reply. 73. On Wed, Feb 8, 2023 at 8:59 AM Patrick Perdue <borrisinabox@...> wrote:
|
|||
Shari Pixx No serial communication with sa818
I'm trying to reprogram the SA818 on my Pi3U. After launching SA818-prog, it says "Testing serial communications" then, "No Serial Communication with the SA818 module"
I've never had issues with SA818 before. Any ideas? <X><
73 75 Mark???? Port Colborne, Ontario,?CANADA
??Echolink Node# 736666
LIFE has an EXPIRY date. No Trees were harmed in creating this message, however, many electrons were inconvenienced. |
|||
Re: Multiple DTFM characters detected from a single key press
开云体育Check your RX level and/or de-emphasis settings in simpleusb. My guess is that something is messed up with one or both of these.
On 2/7/2023 11:13 AM, John Ross KI5WXB
wrote:
Hey everyone; |
|||
Re: Multiple DTFM characters detected from a single key press
Bill KD2EOY
开云体育The problem lies in the radio. I have the same problem with my FT1DBill Paulus?? ?KD2EOY Vice President SCARA? Southern Counties Amateur Radio AssociationOn Feb 7, 2023, at 3:41 PM, John Ross KI5WXB <johnrross@...> wrote:
|
|||
Re: Multiple DTFM characters detected from a single key press
I'm thinking that either the VX-6 keypad is extremely sensitive or you are inadvertently sending tones more than once. The fact that it works well with Supermon shows it's likely a keypad issue. I have sent tones from 3 different Yaesu FT60s without issue.
<X><
73 75 Mark???? Port Colborne, Ontario,?CANADA
??Echolink Node# 736666
LIFE has an EXPIRY date. No Trees were harmed in creating this message, however, many electrons were inconvenienced. |
|||
Multiple DTFM characters detected from a single key press
John Ross KI5WXB
Hey everyone;
I've got a SHARI Pi3U and when I attempt to send DTMF commands from my Yaesu VX-6 ht, the asterisk CLI client shows duplicate DTMF characters received. For example, if I keyup and press "*32000" the CLI client displays: [Feb? 7 09:53:29] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char *
[Feb? 7 09:53:29] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char *
[Feb? 7 09:53:30] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 3
[Feb? 7 09:53:30] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 3
[Feb? 7 09:53:30] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 2
[Feb? 7 09:53:32] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 0
[Feb? 7 09:53:32] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 0
[Feb? 7 09:53:32] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 0
[Feb? 7 09:53:32] NOTICE[480]: chan_simpleusb.c:2725 simpleusb_read: Got DTMF char 0 As you can see above, the * is duplicated, the 3 is duplicated, and there's an extra 0. Now prior to this "duplicate DTMF character" issue, the SHARI didn't register any DTMF commands coming from my ht *until* I ran the simpleusb-tune-menu and changed option (2) Set Rx Voice Level to 500 or less. I'm glad to at least see DTMF commands show up in the CLI client, but the duplicate characters are still preventing me from controlling the node from my radio. Note that I can connect and disconnect nodes flawlessly from Supermon; I'm only experience problems from my radio. Any helpful suggestions would be welcome. Thanks! John - KI5WXB |
|||
Re: PI-HAt on A+ - 1 USB port
toggle quoted message
Show quoted text
On Feb 6, 2023, at 05:23, Dave Livesay <dmlad4uu@...> wrote:
|
|||