isothermalsection

Author Topic: Steel series gauges  (Read 4509 times)

Offline gabba

  • Administrator
  • Hero Member
  • *****
  • Posts: 2133
  • Karma: 213
  • Gender: Male
    • Hutt Weather
Steel series gauges
« on: December 30, 2014, 08:58:54 AM »
hi

Has anyone managed to set up the steel series gauges, preferably with wd?

I have the file create and upload working okay, but the template I'm using ( Leuven) returns an error.

Text file download corrupted

Hunting around it looks like it is an error with the customclientraw.txt file that is generated. But I've checked the format, and it is UTF8 and no units of measure.

The sample file has everything included in curly brackets, so as a starting point it might be useful if someone was able to post a copy of their file, or pm a link to me?

Other option I thought about was that the script was actually pointing at the wrong file, but I've been through everything I can see and configured it as best I can, so that might be the second place to look if the file looks fine

Thanks in advance


Cheers, Andrew

Vantage Vue, Weather Display, Webcam.
www.huttweather.co.nz

Maungaraki, Lower Hutt, New Zealand

Offline JennyLeez

  • Administrator
  • Hero Member
  • *****
  • Posts: 9865
  • Country: nz
  • Karma: 646
  • Gender: Female
  • Wairoa
    • Wairoa, Hawkes Bay Weather
Re: Steel series gauges
« Reply #1 on: December 30, 2014, 11:34:07 AM »
Hi Gabba,

In case you have not seen this wiki it may help.
http://wiki.leuven-template.eu/doku.php?id=uploadwd

That customclientrawlocal.txt needs to be processed and upload as customclientraw.txt to the folder
weather2/uploadWD/

I guess this would be a custom entry in WD as is in Cumulus.

This is just a demo template so only half of it is configured and working. Here are the gauges which are live and working.
http://wairoaweather.net/weather2/index.php?p=25&lang=en
« Last Edit: December 30, 2014, 11:36:35 AM by JennyLeez »
Living in Wairoa, Northern Hawkes Bay
Website: wairoa.net/weather

Offline gabba

  • Administrator
  • Hero Member
  • *****
  • Posts: 2133
  • Karma: 213
  • Gender: Male
    • Hutt Weather
Re: Steel series gauges
« Reply #2 on: December 30, 2014, 06:45:19 PM »
Yep seen that. Mine is going to a ../data folder. The file gets there okay and seems to update but I'm not entirely sure it is the right format. A customclientraw from a site that is working would help confirm if I have the format right, and then I can go from there.

Offline gabba

  • Administrator
  • Hero Member
  • *****
  • Posts: 2133
  • Karma: 213
  • Gender: Male
    • Hutt Weather
Re: Steel series gauges
« Reply #3 on: December 30, 2014, 07:31:21 PM »
Here's my file attached:

Offline PaulMy

  • Hero Member
  • *****
  • Posts: 1485
  • Country: ca
  • Karma: 130
  • Gender: Male
  • Enjoy!
    • KomokaWeather
Re: Steel series gauges
« Reply #4 on: December 31, 2014, 10:53:42 AM »
I use Cumulus and not WD so not sure if this will help you.  But since the gauges-ss were originally developed by Mark to work with Cumulus I have compared my Cumulus processed realtimegauges.txt and your WD customclientraw.txt and these are quite similar with just 5 extra data lines in realtimegauges.txt - see attached.

I have also attached the Cumulus realtimegaugesT.txt template file used for processing and upload.

Enjoy,
Paul

Offline PaulMy

  • Hero Member
  • *****
  • Posts: 1485
  • Country: ca
  • Karma: 130
  • Gender: Male
  • Enjoy!
    • KomokaWeather
Re: Steel series gauges
« Reply #5 on: December 31, 2014, 11:07:58 AM »
That realtimegauges.txt did not come out very well so try this .pdf

Paul

Offline JennyLeez

  • Administrator
  • Hero Member
  • *****
  • Posts: 9865
  • Country: nz
  • Karma: 646
  • Gender: Female
  • Wairoa
    • Wairoa, Hawkes Bay Weather
Re: Steel series gauges
« Reply #6 on: December 31, 2014, 11:22:09 AM »
Thought on this while I slept :)
The customclientraw.txt file included in the leuven package should be 100% correct. I doubt this is the problem.

When I tried to hide this template in a folder and not in root/weather2/ as suggested, it mucked everything up. I suggest do as I did even if temporary to see if it fixes it. Put it in your root directory in a folder called /weather2/
Copy across the package as downloaded. Redo the settings file and put the paths back to the defaults. Might even be safer to do a new copy and dont touch paths. Reset those 3 or 4 files in WD to upload to weather2/uploadWD/ and see what happens. As you see that template has a lot of include files, some what confusing. It would only take one path in one of those files to be incorrect to trash things.

I am not saying this will fix it but at least you will know all the paths in the files will be correct as the author has written.

*shrug*, grasping at straws somewhat, but this is what fixed mine :)

Offline PaulMy

  • Hero Member
  • *****
  • Posts: 1485
  • Country: ca
  • Karma: 130
  • Gender: Male
  • Enjoy!
    • KomokaWeather
Re: Steel series gauges
« Reply #7 on: December 31, 2014, 12:13:00 PM »
Jenny's post refreshed my memory of when I first installed the Leuven template back in 2012 http://www.komokaweather.com/weather2/index.php?p=25
That is a very early version of the template set that I haven't updated for a couple of years but I do recall now that I also had been told to put it in root /weather2/ and a couple of other files in root /

Again, mine is based on Cumulus so some minor differences.

Enjoy,
Paul


Offline wvdkuil

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Gender: Male
    • Leuven-Template support site
Re: Steel series gauges
« Reply #8 on: January 05, 2015, 05:18:19 AM »
Fisrt: thanks for testing the leuven-Template.

The script which creates the realtime file on the server and which is called by the javascript-gauges can be set in debug mode:
http://www.huttweather.co.nz/weather2/gauges/realtimeWD.php?debug[/url]
You see you get some irrelevant errors now, that is because the opening and closing {} are missing from what should be a json string.

If you run into a problem you can always check if the demo system has the same "problem"
http://www.weerstation-leuven.be/weather2/gauges/realtimeWD.php?debug

So please use a correct customclientraw.txt and let WD upload it to your upload folder.

Hope this helps.

WiKi at http://wiki.leuven-template.eu/doku.php
Support at:http://leuven-template.eu/index.php  were you can ask all questions, due to the time difference between NZ and BE not as fast answered as for local users.
At the support site there is a list of known "problems" and also the download area.


Wim
« Last Edit: January 05, 2015, 08:39:42 AM by JennyLeez »
Meteohub / Meteobridge with Vantage Pro2+
welkom - weerstation wilsele   and   www.weerstation-leuven.be
WeatherDisplay Cumulus Weatherlink using VVP and WeatherCat on a Mac Mini for development
consoleWD on a raspberry PI

Offline gabba

  • Administrator
  • Hero Member
  • *****
  • Posts: 2133
  • Karma: 213
  • Gender: Male
    • Hutt Weather
Re: Steel series gauges
« Reply #9 on: January 05, 2015, 12:53:02 PM »
Hi Wim

Thanks for tracking this down and responding. It's and awesome template by the way. I gave up on the steel series guages and went off to configure the rest of the template. I had changed a few things in the code in an attempt to get everything pointing in the right place (Very naughty!), so that caused a few problems.

I took the brackets off the JSON string because I saw here in the help file (under uploads) that the brackets weren't there. I thought I had put them back on again, but maybe I only did it in the server file, and not the local file, so I can check it tonight

Thanks for the debug command - that will be a big help!

 I now get a "downloading..." message only, so I will check the above and if not, will work my way back through the files again. Back at work now (sigh!), so this hasn't got the same focus as it had last week!

Cheers and thanks again

Offline gabba

  • Administrator
  • Hero Member
  • *****
  • Posts: 2133
  • Karma: 213
  • Gender: Male
    • Hutt Weather
Re: Steel series gauges
« Reply #10 on: January 05, 2015, 09:56:33 PM »
Yep - that fixed it. Had forgotten to change the local file back! All working now. Just need to tidy up the rest of the template. Thanks again

Offline choc-a-holic

  • Full Member
  • ***
  • Posts: 102
  • Karma: 9
    • Worlds Our Oyster
Re: Steel series gauges
« Reply #11 on: July 07, 2015, 05:08:22 PM »
I just discovered this post.  I have steel gauges working with WD if you decide to revisit this.  http://www.worldsouroyster.com/cms/weather/mahana-weather-uses-java
Mahana, Tasman - WMR200


Share via twitter

xx
Frost Gauges with WD

Started by Hank13

2 Replies
1619 Views
Last post November 22, 2012, 03:06:46 PM
by Hank13
xx
NO EVIDENCE OF CTV STEEL REINFORCING

Started by Suezy

2 Replies
993 Views
Last post July 25, 2012, 07:18:58 AM
by TokWW
xx
Intel ships new SSD 330 series, but limits it to 180GB storage

Started by OhauitiWeather

0 Replies
1390 Views
Last post April 17, 2012, 06:19:22 PM
by OhauitiWeather