Hi Robin, Try this attached file out. I took the CRT extension that everyone mentioned and just made it so that only outTemp is written to the file.
If your LOOP is like mine, it doesn't always have outTemp, so I added the
Cache system found in some other weewx extensions. This way once your LOOP
provides outTemp, it'll save that to the cache and write to file. If your
LOOP does not have outTemp, then the cached value will be written to the
file. This way your file always has the outTemp value and not NULL.
This install is a complete fork with renamed files and functions so it
should not interfere with CRT if installed. (Hopefully)
How to install:
1. Have a backup in case something goes wrong.
3. Download the attachment in this thread to your weewx machine and run
wee_extension
--install weewx-crt-0.18_outTemp_only.tgz
4. Edit your weewx.conf's new CumulusRealTime_outTemp section. I used the
below in my testing:
[CumulusRealTime_outTemp]
filename = /var/www/weewx/temperature.txt
temperature_units = degree_F
4. Don't forget to disable your skin Cheetah Generator so that doesn't
write old outTemp
5. Restart weewx and see if it works out for you.
Hope this helps.
On Friday, August 2, 2019 at 1:24:21 AM UTC-4, Robin wrote:
>
> Good morning Pat,
>
> Location /var/www/weewx/temperature.txt
>
> The template for Cheetah generator to produce the file has a single line
>
> $current.outTemp.string
>
> That's it.
>
> On Thursday, 1 August 2019 15:31:27 UTC+3, Pat wrote:
>>
>> Robin,
>>
>> Some questions
>>
>> > from a txt file generated using cheetah generator
>>
>> Where is this file located? What text is inside this file? Is it just the
>> temperature or is it a full sentence?
>>
>>
>> On Wednesday, July 31, 2019 at 3:16:03 PM UTC-4, Robin wrote:
>>>
>>> I did think about running the script after weewx updates, but the ease
>>> of saving the image to the web page folder so it gets uploaded using rsync
>>> was too appealing.
>>>
>>> I am not a programmer and my Linux knowledge is at the 'just enough to
>>> survive' (most of the time) level.
>>>
>>> I have had a look at the wiki and now realise that this is way beyond my
>>> current skill level.
>>>
>>> Thank you, Gary and RobbH for your tips. I have a lot of learning to do
>>> before I can take this on.
>>>
>>>
>>>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/24971362-5a4d-4093-96e0-5bbd17bb975b%40googlegroups.com.
weewx-crt-0.18_outTemp_only.tgz
Description: GNU Unix tar archive
