[weewx-user] Re: tooltip chart error

2018-02-28 Thread k_herriage via weewx-user

8:47 AM (less than a minute ago)
Gary,

Thanks again for you expert help and for explaining copy_once and always. 

I had always thought that command + reload worked. I checked around on the 
web and found a comment about that and it said that key sequence reloaded a 
CACHED version of the page which is not like it used to be.
Keith




-- 
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: tooltip chart error

2018-02-28 Thread k_herriage via weewx-user
Gary,

Thanks again for you expert help and for explaining copy_once and always. 
I had always thought that command + reload worked. I checked around on the 
web and found a comment about that and it said that key sequence reloaded a 

-- 
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: tooltip chart error

2018-02-28 Thread gjr80
Keith,

I just looked at your gauges page just now and all seems as it should; 
gauges, updating and mouseover plots all seem to be workings. There is one 
possibility as to why gauges.js seemingly changed itself. The SteelSeries 
Gauges skin is set to 'copy once' a number of files (including gauges.js) 
from the skins/ss/scripts directory to the public_html directory. 'copy 
once' means that when weeWX is started and the first report cycle is run 
all of the files that match the [CopyGenerator] copy_once setting (in 
skins/ss/skin.conf) are copied to the destination directory. There is also 
a copy_always setting that will copy the matching files every report cycle. 
This 'copy once' or 'copy always' behaviour woudl result in there being 2 
copies of gauges.js on your system; 1 in the skins/ss/scripts directory and 
one in public_html. If you want to change a setting in gauges.js and you 
make the change in public_html, the change will work but the next time 
weeWX is started that file will be overwritten by the 'copy once' behaviour 
and any changes lost. That is why I suggested you make the change to 
gauges.js in skins/ss/scripts rather than in public_html. So it could be 
that you may have previously changed the public_html gauges.js, things 
worked, but those changes were overwriiten sometime later when weeWX was 
restarted. It was just bad luck that the chnage was the setting for the 
location of gauge-data.txt and there happended to be an old copy of 
gauge-data.txt in the default location.

As for browser cache issues, I don't know. There seems to have been a lot 
of issues coming up of late that have been fixed with by forcing a refresh 
or clearing a browser cache. I can't rememebr the last time I cleared a 
browser cache, maybe I have been lucky. In any case it appears to be 
working now so I guess that is the main thing.

Gary

On Wednesday, 28 February 2018 19:42:50 UTC+10, k_her...@yahoo.com wrote:
>
> Gary,
>
> That got it to working again. I know we had already change that before! 
>  Don't know how that got changed. But however it happened,  it did. I stop 
> weewx and restarted, waited about 15 mins and it still didn't change. So I 
> checked everything again and is was fine, but the web page wasn't 
> reloading. I deleted history again and then the page reloaded. I have never 
> had the problem with Safari  that I couldn't force a page to reload without 
> deleting history. Strange.
>  
>
> Thanks again,
>
> Keith
>

-- 
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: tooltip chart error

2018-02-28 Thread k_herriage via weewx-user
Gary,

That got it to working again. I know we had already change that before! 
 Don't know how that got changed. But however it happened,  it did. I stop 
weewx and restarted, waited about 15 mins and it still didn't change. So I 
checked everything again and is was fine, but the web page wasn't 
reloading. I deleted history again and then the page reloaded. I have never 
had the problem with Safari  that I couldn't force a page to reload without 
deleting history. Strange.
 

Thanks again,

Keith




-- 
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: tooltip chart error

2018-02-27 Thread gjr80
Keith,

I just looked at your site and I can see gauge-data.txt being generated 
every few seconds. It is in the same directory as the html files for your 
weeWX site. So rtgd is working fine, definitely no need to reinstall. The ss 
skin generated gauge-data.txt (the one that is 36 odd days old) is sitting 
in the ss directory.

as an outsider looking at your site from the internet the issue is that 
gauges.js is telling the SteelSeries gauges to use the gauge-data.txt in 
the ss directory (ie the old one), we need to change that to the rtgd 
generated gauge-data.txt. To do this you need to edit 
skins/ss/scripts/gauges.js and change the line (circ line 74):

   realTimeUrlWeewx : 'gauge-data.txt', // *** WeeWX Users: Change to your 
location of the gauge data file ***

to

   realTimeUrlWeewx : '../gauge-data.txt', // *** WeeWX Users: Change to 
your location of the gauge data file ***

Save gauges.js then stop/start weeWX. Whilst gauge-data.txt will be updated 
almost instantaeously it will take until the first report generation cycle for 
gauges.js to be updated. See how that goes.


Gary

On Wednesday, 28 February 2018 06:26:51 UTC+10, gjr80 wrote:
>
> No Keith, don't re-install. gauge-data.txt is being generated and the 
> gauges were updating so the issue is not the generation, it is likely where 
> something is (or is not going). Let me think some more.
>
> Gary
>

-- 
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: tooltip chart error

2018-02-27 Thread gjr80
No Keith, don't re-install. gauge-data.txt is being generated and the gauges 
were updating so the issue is not the generation, it is likely where something 
is (or is not going). Let me think some more.

Gary

-- 
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: tooltip chart error

2018-02-27 Thread k_herriage via weewx-user

>
> Ok, Gary.


Different deal. I cleared all of my browsers  history and now the gauges 
don't work on any system. I'm thinking about reinstalling gauges.  

-- 
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: tooltip chart error

2018-02-27 Thread k_herriage via weewx-user
Gary,

I noticed that 36 day but we know that can't be since it was working when 
we started looking at the charts not updating. I do host my own site and it 
is on this machine. website, weewx and gauges are all here. Now this is the 
only machine that can see the gages running.
When I call the page, I use the link from the main web page on all of my 
devices. I actually go out to the web to get to www.herriage.com.

 Keith

On Monday, February 26, 2018 at 4:07:59 PM UTC-6, gjr80 wrote:
>
> Keith,
>
> I just looked at www.herriage.com and the gauges page says the station 
> has been offline for 36 days. I had a look at the copy of gauge-data.txt 
> being used by the gauges page at www.herriage.com and it is time stamped 
> 0240 21 January ie about 36 days ago. I am guessing here that your weeWX 
> machine is running a web server and you have external hosting for 
> www.herriage.com? I suspect that what is going on is that those devices 
> that are seeing the station online are on your LAN and are in fact being 
> served pages from your weeWX machine and those devices that are seeing the 
> station offline are being served pages from another web server (an external 
> web host perhaps). If this is the case we need to get the rtgd version of 
> gauge-data.txt onto this other server, easy enough to do with a bit of PHP, 
> but first could you confirm whether www.herriage.com is externally hosted 
> or do you host it locally (ie from your weeWX machine or another server on 
> your LAN).
>
> Gary
>
>

-- 
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: tooltip chart error

2018-02-26 Thread gjr80
Keith,

I just looked at www.herriage.com and the gauges page says the station has been 
offline for 36 days. I had a look at the copy of gauge-data.txt being used by 
the gauges page at www.herriage.com and it is time stamped 0240 21 January ie 
about 36 days ago. I am guessing here that your weeWX machine is running a web 
server and you have external hosting for www.herriage.com? I suspect that what 
is going on is that those devices that are seeing the station online are on 
your LAN and are in fact being served pages from your weeWX machine and those 
devices that are seeing the station offline are being served pages from another 
web server (an external web host perhaps). If this is the case we need to get 
the rtgd version of gauge-data.txt onto this other server, easy enough to do 
with a bit of PHP, but first could you confirm whether www.herriage.com is 
externally hosted or do you host it locally (ie from your weeWX machine or 
another server on your LAN).

Gary

-- 
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: tooltip chart error

2018-02-26 Thread k_herriage via weewx-user
Just looked today and the old iPad isn't working now. My iMac still is.


On Monday, February 26, 2018 at 7:13:18 AM UTC-6, k_her...@yahoo.com wrote:
>
>
> Gary,
>>
>>
> Take a look at my gauges page and tell me if it works for you. I have ran 
> into a strange problem. On my iMac (that the weather station is  running 
> on.) I can see everything working fine. On my iPhone, Pi and all of wifes 
> iMac, iPhone and iPad it says the server is off line.
> HOWEVER, I have an old iPad that gauges work fine. Of course all of these 
> are on the local network but go to the web address. I've had a friend call 
> last week and said he couldn't get the page to come up but we thought is 
> was a problem on his end.
>
> I am at a loss at what is wrong here. Weewx main page works fine, just the 
> gauges page. Other than what we did to get the charts to work I haven't 
> touched it since we fixed Pillow.
>
> let me know what you see and what system your using.
>
> thanks,
> Keith 
>

-- 
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: tooltip chart error

2018-02-26 Thread k_herriage via weewx-user

Gary,
>
>
Take a look at my gauges page and tell me if it works for you. I have ran 
into a strange problem. On my iMac (that the weather station is  running 
on.) I can see everything working fine. On my iPhone, Pi and all of wifes 
iMac, iPhone and iPad it says the server is off line.
HOWEVER, I have an old iPad that gauges work fine. Of course all of these 
are on the local network but go to the web address. I've had a friend call 
last week and said he couldn't get the page to come up but we thought is 
was a problem on his end.

I am at a loss at what is wrong here. Weewx main page works fine, just the 
gauges page. Other than what we did to get the charts to work I haven't 
touched it since we fixed Pillow.

let me know what you see and what system your using.

thanks,
Keith 

-- 
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: tooltip chart error

2018-02-24 Thread k_herriage via weewx-user
thanks Gary,

That took care of the problem.

And I just found some of the files I altered to add those gauges. Now I'm 
going to start trying to add them to this except I think I'll install 
simulator on my little Raspberry Pi. and go from there. :-)

keith

On Saturday, February 24, 2018 at 8:21:12 AM UTC-6, gjr80 wrote:
>
> Keith,
>
> Ok, I think I know what is going on. When you installed the rtgd extension 
> you now had gauge-data.txt being produced by two sources; one the original 
> SteelSeries Gauges skin and the second is rtgd. I think I told you to 
> disable the SteelSeries skin when you installed rtgd. When you disable the 
> SteelSeries skin in weewx.conf not only do you disable the generation of 
> gauge-data.txt by the skin but you also disable the image generator run by 
> the skin that produces the plots. Hence you have old plots. What you need 
> to do is go into the SteelSeries skin.conf and disable (comment) out the 
> entry that generates gauge-data.txt (it will be under [CheetahGenerator]). 
> The lines you need to comment out look something like:
>
> [[[data]]]
> template = gauge-data.txt.tmpl
>
> Save skin.conf. Now edit weewx.conf and re-enable the SteelSeries skin. 
> Save weewx.conf, stop/start weeWX or do a config reload and the next report 
> cycle should see the plots re-generated.
>
> Gary
>
>

-- 
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: tooltip chart error

2018-02-24 Thread gjr80
Keith,

Ok, I think I know what is going on. When you installed the rtgd extension you 
now had gauge-data.txt being produced by two sources; one the original 
SteelSeries Gauges skin and the second is rtgd. I think I told you to disable 
the SteelSeries skin when you installed rtgd. When you disable the SteelSeries 
skin in weewx.conf not only do you disable the generation of gauge-data.txt by 
the skin but you also disable the image generator run by the skin that produces 
the plots. Hence you have old plots. What you need to do is go into the 
SteelSeries skin.conf and disable (comment) out the entry that generates 
gauge-data.txt (it will be under [CheetahGenerator]). The lines you need to 
comment out look something like:

[[[data]]]
template = gauge-data.txt.tmpl

Save skin.conf. Now edit weewx.conf and re-enable the SteelSeries skin. Save 
weewx.conf, stop/start weeWX or do a config reload and the next report cycle 
should see the plots re-generated.

Gary

-- 
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: tooltip chart error

2018-02-24 Thread k_herriage via weewx-user
Gary,

I looked at the conf file and it all looks correct.
However as I was looking at the charts I noticed that ALL of the charts 
have old data and date on them. That had just slipped by me. The ss 
directory had old data dating back to 1-21-2018. That was about the time I 
finally got RTG working or the day after. I know I have something wrong. 
Looked at the weewx.conf file and that's pointing to the correct directory 
but it's not getting updates.

I found this incorrect chart while I was looking at adding an extra gauge 
for Monthly Rain. I had done this when I was using wview and have lost my 
notes I had on what I had to change to get that working. Still looking for 
them.

Keith

-- 
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: tooltip chart error

2018-02-23 Thread gjr80
Keith,

The SteelSeries Gauges skin 
 is the source of the 
mouseover plots. In your Skins directory you should have a directory named 
ss and in that directory there should be a skin config file skin.conf. In 
skin.conf there should be a [ImageGenerator] stanza that determines the 
plots that are generated for the mouseover, rain and rainRate are covered 
by the following:

[ImageGenerator]

[[images]]

[[[dayrain]]]
yscale = None, None, 0.02
plot_type = bar
rain
aggregate_type = sum
aggregate_interval = 3600
label = Rain (hourly total)
[[[dayrainrate]]]
rainrate


I looked at your site and I see what you mean, it is intertesting to note 
that your day rain and rainRate plots look fine on your main page, the 
SteelSeries plots should be using almost identical settings to what is in 
your Standard skin.conf (you might want to compare them). Since you 
Standard skin is working fine clearly the data is in your archive. I am at 
a bit of a loss as to where to point you.

Gary

On Saturday, 24 February 2018 00:26:02 UTC+10, k_her...@yahoo.com wrote:
>
> I just noticed yesterday in the SS gauges that the  tool tip charts for 
> Rainfall and Rain Rate are just flat lines. Haven't noticed it because we 
> have had little rain in the last few months.
>
> Gary, where is this generated? I'll check to see if some files are askew.
>
> Keith
>

-- 
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.