[arm-allstar] Celcius
Luc Drolet VE2LUQ
ldrolet at cgocable.ca
Sat Oct 6 18:32:54 EDT 2018
Doug,
I just succeeded,
Thank you for everything ,
you know I learned a lot with all your commantaires
Thank you
Luc
VE2LUQ
> Le 6 oct. 2018 à 17:30, Luc Drolet VE2LUQ via ARM-allstar <arm-allstar at hamvoip.org> a écrit :
>
> Hello Doug,
>
> I can not do it !!!
> I am in /etc/asterisk/local with Putty
> I did create a file that I nome weather.ini
> subsequently I stick your comendre.
>
> # 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
>
> I take the time to change the "F" to "C"
>
>
> to finish I go in CLI and I reboot
> and my temperature is still in F ???
>
>
> Luc
>
>
>
>
>
>
>
>> Le 6 oct. 2018 à 10:10, Doug Crompton via ARM-allstar <arm-allstar at hamvoip.org> a écrit :
>>
>> 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
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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