2021-02-07 18:43:05 -05:00
|
|
|
# allmon2-last-heard
|
2020-07-31 00:42:05 -04:00
|
|
|
|
2021-03-21 20:19:09 -04:00
|
|
|
Shows which Ham Radio nodes are keyed up at one time by consuming data from Allmon/Supermon's server.php
|
2020-07-31 00:42:05 -04:00
|
|
|
|
|
|
|
Just plop in a directory that has a PHP web server pointing at it!
|
|
|
|
|
2021-01-11 02:54:21 -05:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
* Edit streamServer.php and add your hubs to $hubs (line 20, separated by comma)
|
|
|
|
* Change user= and group= in stream-server.service to fit your environment
|
|
|
|
* Copy stream-server.service to /etc/systemd/system
|
2021-03-21 20:19:09 -04:00
|
|
|
* Make sure /srv/http/allmon2/astdb.txt or /var/www/allmon2/astdb.txt exists or is a symlink to a working astdb.txt
|
2021-01-11 02:54:21 -05:00
|
|
|
* Make sure hideNodeURL=no in allmon.ini.php for the node stanza that's being monitored
|
2021-01-11 03:24:48 -05:00
|
|
|
* Make sure storage/ directory is writable by the PHP user (usually www-data)
|
2021-01-11 02:54:21 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
./composer.phar install
|
|
|
|
systemctl enable stream-server
|
|
|
|
systemctl start stream-server
|
|
|
|
```
|