The weewx report generator processes temp.txt.tmpl to produce a file
temp.txt, which will contain the current temperature as a string.

It has nothing to do with the shell.

Take a look in /var/www/html/weewx/temp.txt

-tk


On Thu, Nov 3, 2016 at 4:35 PM, Jim W. <[email protected]> wrote:

> As I understand it, $current.outTemp represents a string variable the
> value of which should be the outside temperature.  When I try to view the
> value (echo $current.outTemp )  I dose't work. I've tried a few other
> schemes as well, like making a shell script that does this:
> #!/bin/bash
> current_outTemp=$current.outTemp
> echo $current_outTemp
>
>
> Can you give me an idea of how to accomplish this?
>
>
>
>
> On Thursday, November 3, 2016 at 5:45:26 PM UTC-4, Tom Keffer wrote:
>>
>> On Thu, Nov 3, 2016 at 2:35 PM, Jim W. <[email protected]> wrote:
>>
>>>
>>> Does the temp.txt.tmpl file require special formatting? Right now this
>>> is what it contains:
>>> $current.outTemp
>>>
>>>
>> ​It should contain just text. Why do you ask?
>>
>> -tk​
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to