Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-23 Thread G Hammer
I am running 0.9r6. Working fine after removing the 2 skin directories and
installing Belchertown fresh.

On Sat, Feb 23, 2019 at 9:27 PM Pat  wrote:

> Hi all, in Belchertown skin version 0.8.2 and older, the about.inc
> inclusion did not allow for weewx variables (at least I don't think so). I
> was over-thinking it which made it complicated. Oops :)
>
> In 0.9 (which is in beta now) I changed a lot, and the about.inc was one
> of the changes to simplify it - which also allows for built in weewx
> variables to work. Sorta like how I should have done it months ago!
>
> I've been testing 0.9 and think it's ready for release. I'll probably do
> that next week sometime.
>
>
> On Saturday, February 23, 2019 at 10:44:09 AM UTC-5, G Hammer wrote:
>>
>> I have 'solved' the issue.
>> I deleted the skin directories for Belchertown, installed the skin again,
>> cycled WeeWX, run wee_reports.
>> All is well with variables and about.inc.
>>
>> Something indeed was missing in the skin directories.
>>
>> Thanks all.
>>
>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/e_rC4K6Zeyk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-23 Thread Colin Larsen
Ah yes, hadn't thought of that.

On Sun, 24 Feb 2019, 15:27 Pat,  wrote:

> Hi all, in Belchertown skin version 0.8.2 and older, the about.inc
> inclusion did not allow for weewx variables (at least I don't think so). I
> was over-thinking it which made it complicated. Oops :)
>
> In 0.9 (which is in beta now) I changed a lot, and the about.inc was one
> of the changes to simplify it - which also allows for built in weewx
> variables to work. Sorta like how I should have done it months ago!
>
> I've been testing 0.9 and think it's ready for release. I'll probably do
> that next week sometime.
>
>
> On Saturday, February 23, 2019 at 10:44:09 AM UTC-5, G Hammer wrote:
>>
>> I have 'solved' the issue.
>> I deleted the skin directories for Belchertown, installed the skin again,
>> cycled WeeWX, run wee_reports.
>> All is well with variables and about.inc.
>>
>> Something indeed was missing in the skin directories.
>>
>> Thanks all.
>>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-23 Thread Pat
Hi all, in Belchertown skin version 0.8.2 and older, the about.inc 
inclusion did not allow for weewx variables (at least I don't think so). I 
was over-thinking it which made it complicated. Oops :) 

In 0.9 (which is in beta now) I changed a lot, and the about.inc was one of 
the changes to simplify it - which also allows for built in weewx variables 
to work. Sorta like how I should have done it months ago!

I've been testing 0.9 and think it's ready for release. I'll probably do 
that next week sometime. 


On Saturday, February 23, 2019 at 10:44:09 AM UTC-5, G Hammer wrote:
>
> I have 'solved' the issue.
> I deleted the skin directories for Belchertown, installed the skin again, 
> cycled WeeWX, run wee_reports.
> All is well with variables and about.inc.
>
> Something indeed was missing in the skin directories.
>
> Thanks all.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-23 Thread G Hammer
I have 'solved' the issue.
I deleted the skin directories for Belchertown, installed the skin again, 
cycled WeeWX, run wee_reports.
All is well with variables and about.inc.

Something indeed was missing in the skin directories.

Thanks all.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-23 Thread G Hammer
I have followed the outlined steps, about.inc, etc.
I enabled debug logging and started weewx, ran wee_reports, stopped weewx.
I've attached the resulting logs.

There are errors, but they seem to relate to the sdr driver.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


WeeWXLogs
Description: Binary data


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Colin Larsen
I'm pretty sure my (very basic) about.inc file is about the same as yours.
I've added consBatteryVoltage which works fine too. If you follow what Gary
has mentioned I'm sure a clue will turn up to help us help you :)

Welcome to the 41South weather site. This site uses a WeatherDuino Arduino
weather station




Station hardware: WeatherDuino emulating a $station.hardware

Transmitter battery voltage: $current.consBatteryVoltage

Server uptime: $station.os_uptime

WeeWX uptime: $station.uptime

WeeWX version: $station.version

Belchertown Skin Version: $belchertown_version




On Sat, Feb 23, 2019 at 8:48 PM gjr80  wrote:

> It's nothing to do with PHP - there is no PHP in the Belchertown extension
> nor does WeeWX/Cheetah use it, simply put a #include will cause Cheetah
> to appropriately display any search list entries it encounters. If it is
> not and it is displaying the tags as literal text it is because the tags
> concerned don't exist in the search list being used. Colin's success would
> indicate the issue is not with the Belchertown skin but rather a missing
> file or config setting. You may get some clues by running with debug=1 and
> looking at the log during report generation. It would certainly pay to look
> at the contents of the relevant Belchertown skin directories to verify
> everything is where it should be.
>
> Gary
>
> On Saturday, 23 February 2019 16:29:27 UTC+10, tor...@torrin.org wrote:
>>
>> Yes, clearly, and the variables would not show up on the about page as G
>> Hammer show unless there was actually an about.inc.  Mine works fine, but I
>> am not passing any variables into it.  I suspect there is a PHP wrapper
>> that is needed  - are you using your about.inc to display variables?  If
>> so, could you please post it up?
>>
>> On Saturday, February 23, 2019 at 12:09:22 AM UTC-6, Colin Larsen wrote:
>>>
>>> You need to remove the .example off the end so it is just about.inc
>>>
>>> On Sat, 23 Feb 2019, 19:07 ,  wrote:
>>>
 Yup, and I drop those variables in there and they do not render
 either.  (I just tried it).   I do not think the about.inc.example supports
 dropping variables into it as it seems to be straight html.

 On Friday, February 22, 2019 at 11:18:54 PM UTC-6, Colin Larsen wrote:
>
> Hmm, not quite sure what you are doing different to me, but if you
> edit the file as per instructions it certainly works. Can you confirm that
> your file is just called about.inc and it resides in the skins/Belchertown
> directory?
>
> On Sat, Feb 23, 2019 at 5:33 PM  wrote:
>
>> All answers are correct, yet if you put those variables into
>> about.inc, the do not work.  I am wondering if you need to have the page
>> PHP like.  Maybe Pat can post the source for his?
>>
>> On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>>>
>>> Creating About Page and Records Page
>>>
>>> The About Page and Records Page offer some areas for custom HTML to
>>> be run. To create or edit these pages, go to the skins/Belchertown 
>>> folder.
>>> These files should not be overwritten during skin upgrdades, but it's
>>> always best to have a backup just in case!
>>>
>>>- Create (or edit) the skins/Belchertown/about.inc and
>>>skins/Belchertown/records.inc files with your text editor, such
>>>as Notepad or Nano.
>>>   - These files take full HTML, so you can get fancy if you
>>>   want.
>>>   - You can view, and use the sample file about.inc.example
>>>   
>>> 
>>>and records.inc.example
>>>   
>>> .
>>>   Just rename to remove the .example, edit and you should be
>>>   good to go.
>>>- Wait for an archive interval for the pages to be generated.
>>>
>>>
>>> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen 
>>> wrote:
>>>
 You should just edit the Inc file, about.inc

 On Sat, 23 Feb 2019, 17:04 Andrew Milner, 
 wrote:

> which file did you edit??  looks as though you perhaps changed the
> .html file instead of the .html.tmpl file
>
>
>
>
>
>
> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>
>> I'd like to include some WeeWX variables in the About page, but
>> when I use the HTML sample I get the variable names as output.
>>
>> This:
>> 
>> Station hardware: $station.hardware
>> Server uptime: $station.os_uptime
>> WeeWX uptime: $station.uptime
>> WeeWX version: $station.version
>> Belchertown Skin Version: 

Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread torrin
Yes, clearly, and the variables would not show up on the about page as G 
Hammer show unless there was actually an about.inc.  Mine works fine, but I 
am not passing any variables into it.  I suspect there is a PHP wrapper 
that is needed  - are you using your about.inc to display variables?  If 
so, could you please post it up?

On Saturday, February 23, 2019 at 12:09:22 AM UTC-6, Colin Larsen wrote:
>
> You need to remove the .example off the end so it is just about.inc
>
> On Sat, 23 Feb 2019, 19:07 , > wrote:
>
>> Yup, and I drop those variables in there and they do not render either.  
>> (I just tried it).   I do not think the about.inc.example supports dropping 
>> variables into it as it seems to be straight html.
>>
>> On Friday, February 22, 2019 at 11:18:54 PM UTC-6, Colin Larsen wrote:
>>>
>>> Hmm, not quite sure what you are doing different to me, but if you edit 
>>> the file as per instructions it certainly works. Can you confirm that your 
>>> file is just called about.inc and it resides in the skins/Belchertown 
>>> directory?
>>>
>>> On Sat, Feb 23, 2019 at 5:33 PM  wrote:
>>>
 All answers are correct, yet if you put those variables into about.inc, 
 the do not work.  I am wondering if you need to have the page PHP like.  
 Maybe Pat can post the source for his?

 On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>
> Creating About Page and Records Page
>
> The About Page and Records Page offer some areas for custom HTML to be 
> run. To create or edit these pages, go to the skins/Belchertown folder. 
> These files should not be overwritten during skin upgrdades, but it's 
> always best to have a backup just in case!
>
>- Create (or edit) the skins/Belchertown/about.inc and 
>skins/Belchertown/records.inc files with your text editor, such as 
>Notepad or Nano.
>   - These files take full HTML, so you can get fancy if you want.
>   - You can view, and use the sample file about.inc.example 
>   
> 
>and records.inc.example 
>   
> .
>  
>   Just rename to remove the .example, edit and you should be good 
>   to go.
>- Wait for an archive interval for the pages to be generated.
>
>
> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen  
> wrote:
>
>> You should just edit the Inc file, about.inc
>>
>> On Sat, 23 Feb 2019, 17:04 Andrew Milner,  
>> wrote:
>>
>>> which file did you edit??  looks as though you perhaps changed the 
>>> .html file instead of the .html.tmpl file
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:

 I'd like to include some WeeWX variables in the About page, but 
 when I use the HTML sample I get the variable names as output.

 This:
 
 Station hardware: $station.hardware
 Server uptime: $station.os_uptime
 WeeWX uptime: $station.uptime
 WeeWX version: $station.version
 Belchertown Skin Version: $belchertown_version
 
   

 Results in this:


- Station hardware: $station.hardware
- Server uptime: $station.os_uptime
- WeeWX uptime: $station.uptime
- WeeWX version: $station.version
- Belchertown Skin Version: $belchertown_version

 As long as I'm on the topic, is there a list of inbuilt variables?

 -- 
>>> 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 weewx-user+...@googlegroups.com.
>>> 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 weewx-user+...@googlegroups.com.
 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 weewx-user+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more 

Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Colin Larsen
You need to remove the .example off the end so it is just about.inc

On Sat, 23 Feb 2019, 19:07 ,  wrote:

> Yup, and I drop those variables in there and they do not render either.
> (I just tried it).   I do not think the about.inc.example supports dropping
> variables into it as it seems to be straight html.
>
> On Friday, February 22, 2019 at 11:18:54 PM UTC-6, Colin Larsen wrote:
>>
>> Hmm, not quite sure what you are doing different to me, but if you edit
>> the file as per instructions it certainly works. Can you confirm that your
>> file is just called about.inc and it resides in the skins/Belchertown
>> directory?
>>
>> On Sat, Feb 23, 2019 at 5:33 PM  wrote:
>>
>>> All answers are correct, yet if you put those variables into about.inc,
>>> the do not work.  I am wondering if you need to have the page PHP like.
>>> Maybe Pat can post the source for his?
>>>
>>> On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:

 Creating About Page and Records Page

 The About Page and Records Page offer some areas for custom HTML to be
 run. To create or edit these pages, go to the skins/Belchertown folder.
 These files should not be overwritten during skin upgrdades, but it's
 always best to have a backup just in case!

- Create (or edit) the skins/Belchertown/about.inc and
skins/Belchertown/records.inc files with your text editor, such as
Notepad or Nano.
   - These files take full HTML, so you can get fancy if you want.
   - You can view, and use the sample file about.inc.example
   
 
and records.inc.example
   
 .
   Just rename to remove the .example, edit and you should be good
   to go.
- Wait for an archive interval for the pages to be generated.


 On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen 
 wrote:

> You should just edit the Inc file, about.inc
>
> On Sat, 23 Feb 2019, 17:04 Andrew Milner, 
> wrote:
>
>> which file did you edit??  looks as though you perhaps changed the
>> .html file instead of the .html.tmpl file
>>
>>
>>
>>
>>
>>
>> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>>
>>> I'd like to include some WeeWX variables in the About page, but when
>>> I use the HTML sample I get the variable names as output.
>>>
>>> This:
>>> 
>>> Station hardware: $station.hardware
>>> Server uptime: $station.os_uptime
>>> WeeWX uptime: $station.uptime
>>> WeeWX version: $station.version
>>> Belchertown Skin Version: $belchertown_version
>>> 
>>>
>>>
>>> Results in this:
>>>
>>>
>>>- Station hardware: $station.hardware
>>>- Server uptime: $station.os_uptime
>>>- WeeWX uptime: $station.uptime
>>>- WeeWX version: $station.version
>>>- Belchertown Skin Version: $belchertown_version
>>>
>>> As long as I'm on the topic, is there a list of inbuilt variables?
>>>
>>> --
>> 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 weewx-user+...@googlegroups.com.
>> 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 weewx-user+...@googlegroups.com.
>>> 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread torrin
Yup, and I drop those variables in there and they do not render either.  (I 
just tried it).   I do not think the about.inc.example supports dropping 
variables into it as it seems to be straight html.

On Friday, February 22, 2019 at 11:18:54 PM UTC-6, Colin Larsen wrote:
>
> Hmm, not quite sure what you are doing different to me, but if you edit 
> the file as per instructions it certainly works. Can you confirm that your 
> file is just called about.inc and it resides in the skins/Belchertown 
> directory?
>
> On Sat, Feb 23, 2019 at 5:33 PM > wrote:
>
>> All answers are correct, yet if you put those variables into about.inc, 
>> the do not work.  I am wondering if you need to have the page PHP like.  
>> Maybe Pat can post the source for his?
>>
>> On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>>>
>>> Creating About Page and Records Page
>>>
>>> The About Page and Records Page offer some areas for custom HTML to be 
>>> run. To create or edit these pages, go to the skins/Belchertown folder. 
>>> These files should not be overwritten during skin upgrdades, but it's 
>>> always best to have a backup just in case!
>>>
>>>- Create (or edit) the skins/Belchertown/about.inc and 
>>>skins/Belchertown/records.inc files with your text editor, such as 
>>>Notepad or Nano.
>>>   - These files take full HTML, so you can get fancy if you want.
>>>   - You can view, and use the sample file about.inc.example 
>>>   
>>> 
>>>and records.inc.example 
>>>   
>>> .
>>>  
>>>   Just rename to remove the .example, edit and you should be good 
>>>   to go.
>>>- Wait for an archive interval for the pages to be generated.
>>>
>>>
>>> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen  
>>> wrote:
>>>
 You should just edit the Inc file, about.inc

 On Sat, 23 Feb 2019, 17:04 Andrew Milner,  
 wrote:

> which file did you edit??  looks as though you perhaps changed the 
> .html file instead of the .html.tmpl file
>
>
>
>
>
>
> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>
>> I'd like to include some WeeWX variables in the About page, but when 
>> I use the HTML sample I get the variable names as output.
>>
>> This:
>> 
>> Station hardware: $station.hardware
>> Server uptime: $station.os_uptime
>> WeeWX uptime: $station.uptime
>> WeeWX version: $station.version
>> Belchertown Skin Version: $belchertown_version
>> 
>>   
>>
>> Results in this:
>>
>>
>>- Station hardware: $station.hardware
>>- Server uptime: $station.os_uptime
>>- WeeWX uptime: $station.uptime
>>- WeeWX version: $station.version
>>- Belchertown Skin Version: $belchertown_version
>>
>> As long as I'm on the topic, is there a list of inbuilt variables?
>>
>> -- 
> 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 weewx-user+...@googlegroups.com.
> 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 weewx-user+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Colin Larsen
Hmm, not quite sure what you are doing different to me, but if you edit the
file as per instructions it certainly works. Can you confirm that your file
is just called about.inc and it resides in the skins/Belchertown directory?

On Sat, Feb 23, 2019 at 5:33 PM  wrote:

> All answers are correct, yet if you put those variables into about.inc,
> the do not work.  I am wondering if you need to have the page PHP like.
> Maybe Pat can post the source for his?
>
> On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>>
>> Creating About Page and Records Page
>>
>> The About Page and Records Page offer some areas for custom HTML to be
>> run. To create or edit these pages, go to the skins/Belchertown folder.
>> These files should not be overwritten during skin upgrdades, but it's
>> always best to have a backup just in case!
>>
>>- Create (or edit) the skins/Belchertown/about.inc and
>>skins/Belchertown/records.inc files with your text editor, such as
>>Notepad or Nano.
>>   - These files take full HTML, so you can get fancy if you want.
>>   - You can view, and use the sample file about.inc.example
>>   
>> 
>>and records.inc.example
>>   
>> .
>>   Just rename to remove the .example, edit and you should be good to
>>   go.
>>- Wait for an archive interval for the pages to be generated.
>>
>>
>> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen  wrote:
>>
>>> You should just edit the Inc file, about.inc
>>>
>>> On Sat, 23 Feb 2019, 17:04 Andrew Milner,  wrote:
>>>
 which file did you edit??  looks as though you perhaps changed the
 .html file instead of the .html.tmpl file






 On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>
> I'd like to include some WeeWX variables in the About page, but when I
> use the HTML sample I get the variable names as output.
>
> This:
> 
> Station hardware: $station.hardware
> Server uptime: $station.os_uptime
> WeeWX uptime: $station.uptime
> WeeWX version: $station.version
> Belchertown Skin Version: $belchertown_version
> 
>
>
> Results in this:
>
>
>- Station hardware: $station.hardware
>- Server uptime: $station.os_uptime
>- WeeWX uptime: $station.uptime
>- WeeWX version: $station.version
>- Belchertown Skin Version: $belchertown_version
>
> As long as I'm on the topic, is there a list of inbuilt variables?
>
> --
 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 weewx-user+...@googlegroups.com.
 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread torrin
All answers are correct, yet if you put those variables into about.inc, the 
do not work.  I am wondering if you need to have the page PHP like.  Maybe 
Pat can post the source for his?

On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>
> Creating About Page and Records Page
>
> The About Page and Records Page offer some areas for custom HTML to be 
> run. To create or edit these pages, go to the skins/Belchertown folder. 
> These files should not be overwritten during skin upgrdades, but it's 
> always best to have a backup just in case!
>
>- Create (or edit) the skins/Belchertown/about.inc and 
>skins/Belchertown/records.inc files with your text editor, such as 
>Notepad or Nano.
>   - These files take full HTML, so you can get fancy if you want.
>   - You can view, and use the sample file about.inc.example 
>   
> 
>and records.inc.example 
>   
> .
>  
>   Just rename to remove the .example, edit and you should be good to 
>   go.
>- Wait for an archive interval for the pages to be generated.
>
>
> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen  > wrote:
>
>> You should just edit the Inc file, about.inc
>>
>> On Sat, 23 Feb 2019, 17:04 Andrew Milner, > > wrote:
>>
>>> which file did you edit??  looks as though you perhaps changed the .html 
>>> file instead of the .html.tmpl file
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:

 I'd like to include some WeeWX variables in the About page, but when I 
 use the HTML sample I get the variable names as output.

 This:
 
 Station hardware: $station.hardware
 Server uptime: $station.os_uptime
 WeeWX uptime: $station.uptime
 WeeWX version: $station.version
 Belchertown Skin Version: $belchertown_version
 
   

 Results in this:


- Station hardware: $station.hardware
- Server uptime: $station.os_uptime
- WeeWX uptime: $station.uptime
- WeeWX version: $station.version
- Belchertown Skin Version: $belchertown_version

 As long as I'm on the topic, is there a list of inbuilt variables?

 -- 
>>> 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 weewx-user+...@googlegroups.com .
>>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Colin Larsen
Creating About Page and Records Page

The About Page and Records Page offer some areas for custom HTML to be run.
To create or edit these pages, go to the skins/Belchertown folder. These
files should not be overwritten during skin upgrdades, but it's always best
to have a backup just in case!

   - Create (or edit) the skins/Belchertown/about.inc and
   skins/Belchertown/records.inc files with your text editor, such as
   Notepad or Nano.
  - These files take full HTML, so you can get fancy if you want.
  - You can view, and use the sample file about.inc.example
  

   and records.inc.example
  
.
  Just rename to remove the .example, edit and you should be good to go.
   - Wait for an archive interval for the pages to be generated.


On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen  wrote:

> You should just edit the Inc file, about.inc
>
> On Sat, 23 Feb 2019, 17:04 Andrew Milner, 
> wrote:
>
>> which file did you edit??  looks as though you perhaps changed the .html
>> file instead of the .html.tmpl file
>>
>>
>>
>>
>>
>>
>> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>>
>>> I'd like to include some WeeWX variables in the About page, but when I
>>> use the HTML sample I get the variable names as output.
>>>
>>> This:
>>> 
>>> Station hardware: $station.hardware
>>> Server uptime: $station.os_uptime
>>> WeeWX uptime: $station.uptime
>>> WeeWX version: $station.version
>>> Belchertown Skin Version: $belchertown_version
>>> 
>>>
>>>
>>> Results in this:
>>>
>>>
>>>- Station hardware: $station.hardware
>>>- Server uptime: $station.os_uptime
>>>- WeeWX uptime: $station.uptime
>>>- WeeWX version: $station.version
>>>- Belchertown Skin Version: $belchertown_version
>>>
>>> As long as I'm on the topic, is there a list of inbuilt variables?
>>>
>>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Colin Larsen
You should just edit the Inc file, about.inc

On Sat, 23 Feb 2019, 17:04 Andrew Milner, 
wrote:

> which file did you edit??  looks as though you perhaps changed the .html
> file instead of the .html.tmpl file
>
>
>
>
>
>
> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>
>> I'd like to include some WeeWX variables in the About page, but when I
>> use the HTML sample I get the variable names as output.
>>
>> This:
>> 
>> Station hardware: $station.hardware
>> Server uptime: $station.os_uptime
>> WeeWX uptime: $station.uptime
>> WeeWX version: $station.version
>> Belchertown Skin Version: $belchertown_version
>> 
>>
>>
>> Results in this:
>>
>>
>>- Station hardware: $station.hardware
>>- Server uptime: $station.os_uptime
>>- WeeWX uptime: $station.uptime
>>- WeeWX version: $station.version
>>- Belchertown Skin Version: $belchertown_version
>>
>> As long as I'm on the topic, is there a list of inbuilt variables?
>>
>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown About Page WeeWx Variables

2019-02-22 Thread Andrew Milner
which file did you edit??  looks as though you perhaps changed the .html 
file instead of the .html.tmpl file






On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>
> I'd like to include some WeeWX variables in the About page, but when I use 
> the HTML sample I get the variable names as output.
>
> This:
> 
> Station hardware: $station.hardware
> Server uptime: $station.os_uptime
> WeeWX uptime: $station.uptime
> WeeWX version: $station.version
> Belchertown Skin Version: $belchertown_version
> 
>   
>
> Results in this:
>
>
>- Station hardware: $station.hardware
>- Server uptime: $station.os_uptime
>- WeeWX uptime: $station.uptime
>- WeeWX version: $station.version
>- Belchertown Skin Version: $belchertown_version
>
> As long as I'm on the topic, is there a list of inbuilt variables?
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.