[arm-allstar] Update V1.5.3-45
John David Azbill
k5nx at hotmail.com
Wed Nov 14 20:53:02 EST 2018
Doug,
I performed your most recent update on 27378, about 4 days ago. Now for some strange reason, I've been noticing evening time, around 6pm or so everyone seems to be disconnected? Since this is a HUB, I'm curious do you have any thoughts?
I'll probably need to give you more info?
David K5NX
Sent from my Verizon Motorola Smartphone
On Nov 12, 2018 2:03 AM, Doug Crompton via ARM-allstar <arm-allstar at hamvoip.org> wrote:
Update V1.5.3-45 is out. Update 44 was Alpha only. Please use the ADMIN
menu item 1 to update. This is a major update of the code resulting in
improved efficiency and reliability. Here is a synopsis of the changes.
Supermon users please read down to the last item for your changes.
*Major Update* of telemetry lock code. Originally there was one mutex lock
for everything. This could easily lead to race conditions. A new read/write
lock has been added which can give just read locks that do not block. These
new locks have been added at many places where it was done improperly
before. Much of Allstar was written when we had single core processors and
the entire process is extremely different and requires much more care in
multi core environments like we now have on the Pi. The next update will
have this fixed in the link code. Ultimately we will be updating ALL of the
Allstar locks systems. This will result in a much more efficient and stable
system with lower latency.
*Syntax Change*
The syntax has been changed or better said fixed in both the event system
and commands such as ilink and cop. There has been a long standing bug
which required an additional and needless parameter when specifying a
command that only had one parameter. The extra parameter is no longer
needed. The commands can now take up to 6 parameters if needed but any
additional parameters than are needed are ignored. So any existing code is
not effected but the additional unnecessary parameter could be removed on
existing code and not used in any new code.
Additionally the events parameters had a bug that prevented them from ever
working if a command needed more than one parameter. So for instance this
event -
[events]
asterisk -rx "rpt cmd 1998 cop 62 GPIO1:1" = s|t|RPT_RXKEYED
can now be replaced much more efficiently by this event -
[events]
cop,62,GPIO1:1" = c|t|RPT_RXKEYED
Calling the command directly. Prior to this fix and the one allowing a ':'
in the GPIO statement the only way to do this was to call a script outside
of Asterisk. This is an exciting change which will allow much more creative
events. Our next update will include a built-in fan control event.
*Supermon Changes*
Some minor fixes and three additional features have been added to Supermon
V6.1+
You can now display the local temperature and weather condition using your
zip code. If $LOCALZIP = "zip"; is defined in global.inc the weather will
appear below the display configuration and CPU temperature line. Add -
*$LOCALZIP = "your-zip"; *
to your /srv/http/supermon/global.inc file. The line will not display if
you omit or comment this variable. The line will look like this. Hopefully
your temperature will be a little warmer!
[ Weather conditions for Richboro, PA 18954: 31°F, -1°C / Clear ]
For AutoSky users alerts now display in text in Supermon. This is displayed
in red after the display configuration line or weather line if activated.
You will see or hopefully won't see things like this - *[ Tornado
Warning ]*
The refresh time of the screen is now settable. This is necessary to update
the CPU, weather, and AutoSky displays. The normal node updates which are
immediate are not effected by this. Recommended refresh is 600 or 5
minutes. Add this to global.inc
*$REFRESH_DELAY = "600";*
You can now specify the server name. The name that appears in browser tabs
and the title bar. This makes it easier to identify when you have many
different Supermons opened in a browser.
*$SMSERVERNAME = "My Server";*
These changes are reflected in the Supermon howto at hamvoip.org
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
_______________________________________________
ARM-allstar mailing list
ARM-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list