[arm-allstar] Celcius

Doug Crompton wa3dsp at gmail.com
Sat Oct 6 10:10:16 EDT 2018


Luc,

 In the weather.sh script there is info on how to do this. I repeat it
here. You need to create a weather.ini file in /etc/asterisk/local that
contains the parameter  - Temperature_mode="C"

# 6/27/2018 - added test for /etc/asterisk/local/weather.ini file
#
#  weather.ini file should be in /etc/asterisk/local and contain the
following
#
#  Uncomment the process_condition and Temperature_mode
#  and set accordingly.
# Set this to use current WX condition. If "NO" then just temperature.
# wunderground is always no condition
# process_condition="YES"
# Set this to "C" or "F" depending on your location
# Temperature_mode="F"
# End of weather.ini file


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Sat, Oct 6, 2018 at 9:56 AM "Luc Drolet VE2LUQ via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Hello everyone,
>
> I have the temperature at any time of the day thanks to "cron job"
> and I would like to have this temperature in Celcius if possible
>
>
> here is my command line in "cron job »
> 00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19
> /usr/bin/perl /usr/local/sbin/saytime.pl g6g7x6 $NODE1 > /dev/null)
>
> I read that I had to have in the file /etc/asterisk/local, that I had to
> have weather.ini to have the temperature in degrees Celsius
>
> and I can not get this temperature in Celcius after several tests in a
> different way
>
> Thank you and have a good weekend to you all
>
> Luc
> Ve2luq
> _______________________________________________
>
> 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