[arm-allstar] Fan Control Using URI (or RIM) I/O

Roselito de los Reyes tolitski at hotmail.com
Fri Aug 26 17:31:40 EST 2016


Hi John,
I did try to recreate the issue using the Hamvoip code and I was able to create the state file in the '/tmp' folder.  and from there you can reference that location in the script that K0KN has written.
This is what I added in the rpt.conf file inside your node stanzaevents=events1968 ; change 1968 to your own node number or don't put one
After the node stanzas in the rpt.conf file, add this :
[events1968]touch /tmp/RPT_TXKEYED1968 = S|T|RPT_TXKEYEDrm -f /tmp/RPT_TXKEYED1968 = S|F|RPT_TXKEYED

Then on the txfan script change the followingPTTSTATE="/dev/shm/~pttstate" toPTTSTATE="/tmp/RPT_TXKEYED1968"
This should work using the HamVOIP version.73,
Lito KI9H
Date: Fri, 26 Aug 2016 17:18:38 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O
From: arm-allstar at hamvoip.org
CC: wb5nfc at gmail.com

Thanks for the info, Roselito. One of the things I have not been able to resolve is a reference to a folder that does not exist. At first, I thought that it was just a difference in the distributions (I'm using RPi2-3 V1.02beta - with simpleusb - but attempting to follow the instructions on the latinovoip site). So I downloaded the latinovoip distro maintained by KP4TR, unzipped it, loaded it on a fresh micro SSD card, and booted it. I then went looking for the /etc/asterisk/local folder... but it does not exist in that version, either. The /etc/asterisk/local folder is mentioned a couple of times in the instructions on the latinovoip site...
J. 


On Fri, Aug 26, 2016 at 4:51 PM, Roselito de los Reyes via arm-allstar <arm-allstar at hamvoip.org> wrote:



John,
Also, make sure the file that you're monitoring ie. PTTSTATE="/dev/shm/~pttstate" is in the right folder. the Latinovoip version is located in /tmp
73
Lito KI9H

To: arm-allstar at hamvoip.org
Date: Fri, 26 Aug 2016 14:44:05 -0700
Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O
From: arm-allstar at hamvoip.org
CC: tolitski at hotmail.com




my mistake .. it looks like you DO have to make changes to your rpt.conf file to create the /dev/shm/~pttstate file.
Lito

To: arm-allstar at hamvoip.org
Date: Fri, 26 Aug 2016 14:42:40 -0700
Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O
From: arm-allstar at hamvoip.org
CC: tolitski at hotmail.com




John,
the k0kn version refers to an old code from the Acid release. it looks like a file is generated whenever the PTT is pressed and that is what K0KN's code is looking for. I don't think this is valid with the HamVOIP code. I could be wrong.
73,
Lito KI9H

Date: Fri, 26 Aug 2016 16:01:08 -0500
To: arm-allstar at hamvoip.org
Subject: [arm-allstar] Fan Control Using URI (or RIM) I/O
From: arm-allstar at hamvoip.org
CC: wb5nfc at gmail.com

Can anyone point me in the direction of documentation on how to set up a node radio cooling fan using an I/O port on a URI or RIM? I don't want to use a temperature sensor.
I've found the K0KN script (http://www.qsl.net/k0kn/txfan), but I'm not having any luck making it work. I've looked through the How To's on the ARM Allstar site, but I'm only finding info for using USB with a FTDI chip. Thought I could figure it out with info from http://latinovoip.net/allstar-and-the-gpio-fan-script-for-dmk-engineering-uri/  but I'm not having any luck with that information either. Suggestions appreciated....
John 

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org 		 	   		  

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org 		 	   		  

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org 		 	   		  

_______________________________________________



arm-allstar mailing list

arm-allstar at hamvoip.org

http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar



Visit the BBB and RPi2 web page - http://hamvoip.org



_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160826/cb88b162/attachment.html>


More information about the arm-allstar mailing list