Jump to content

BuyTwoWayRadios.com

Photo

Raspberry Pi Node, can it run PHP as well as Asterisk

Raspberry Pi Asterisk Fan Cooling Repeater Controller

  • Please log in to reply
2 replies to this topic

#1 rickh

rickh

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts
  • GMRS Callsign:WQHJ382
  • Ham Callsign:W2rgh

Posted 28 October 2020 - 10:02 AM

So I am thinking, that little Raspberry box might have more left in it that can be of use at a repeater site.

External control of "other" devices.

For starters cooling fans based on a temp sensor input.

Loss of power resulting in transfer to backup.

Backup battery state.

Solar charging system state

And more....

With the Pi GPIOs external in-outs the hardware is there.

 

I do realize there are probably some repeater controllers running out there that already incorporate some of these functions, but mine do not.

 

So the questions comes down to...

Can PHP be loaded along with Asterisk? This would require opening Port 80 so a "Dashboard" of monitored points and access to functions could be accessed remotely.

 

Is there enough horsepower and memory? I believe the Pi myGMRS is sending out is a 3 B+ 1.4 gig 64 bit quad core processor with a gig of memory. (not sure the Linux version running can utilize the 64 bit though).

 

Over thinking it? 

Too much time on my hands?

Just add another Raspberry to handle these operations?

 

Never Satisfied (Rick H)

WQHJ382 / W2rgh

 

 

 


Rick H

WQHJ382

W2RGH


#2 WQEJ577

WQEJ577

    Administrator

  • Administrators
  • 232 posts
  • LocationCentral Jersey
  • GMRS Callsign:WQEJ577
  • Ham Callsign:N2DLX

Posted 28 October 2020 - 10:43 AM

PHP 7 is installed on the command line by default but there's no web server (Apache or Nginx) installed by default, but it can certainly be added using apt-get.

 

I know some people have installed Allmon or Supermon on their nodes easily as well.

 

The question is can you tap into the GPIO pins of the URI device while app_rpt is using it, and I'm not sure. However, you can use the app_rpt features to toggle these pins like by DTMF command or by setting a schedule, for example.


Rich Dunajewski

Founder, myGMRS.com

 


#3 rickh

rickh

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts
  • GMRS Callsign:WQHJ382
  • Ham Callsign:W2rgh

Posted 28 October 2020 - 11:28 AM

Thanks for that bit of insight. I will investigate further into app_rpt DTMF control.

For my needs I would need an input though for a temp sensor.

May require GPIO expansion board depending on what's currently being use.

 

I have an external stand alone $6 thermal board with LED display and relay running now to control the fans on xceiver.

Rick H...


Rick H

WQHJ382

W2RGH






Also tagged with one or more of these keywords: Raspberry, Pi, Asterisk, Fan, Cooling, Repeater, Controller

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users