kokeilu SteelSeries Gauges asetukset

Aloittaja Tuffe, keskiviikko, 05.06.2013, 17:01

« edellinen - seuraava »

0 Jäsenet ja 1 Vieras katselee tätä aihetta.

Tuffe

kokeilin SteelSeries Gauges mittareitaja  jajokin vika on asetuksissa
Tein asetukset steelseriesVWSjson.php ja gauges.js SteelSeries  tiedostoihin, mutta "http request failed error retry im.."
wiki ohjeet http://wiki.sandaysoft.com/a/SteelSeries_Gauges
realtimegauges.txt-->
http://weather.wilmslowastro.com/realtimegauges.txt
tarviinko  Saratoga template's



-tuffe-

systeemi

Et tarvitse. Saan sen pelaamaan ilman saratogaakin. Etsi demo sivu ja laita se toimimaan niin siitä se lähtee.
Sääasema Nauska, Kemi

www.kemiweather.fi

Tuffe

#2
kävin demo manuaalin läpi, mutta en saannut toimimaan,?
en tiedä mikä asetuksissa vikana .
katso täältä kopio gauges.js ja steelseriesVWSjson.php asetuksista :
http://jassuweb.net/fi/copy_SteelSeries_%20Gauges_setting.txt

systeemi

Lainaus käyttäjältä: Tuffe - keskiviikko, 05.06.2013, 19:36
kävin demo manuaalin läpi, mutta en saannut toimimaan,?
en tiedä mikä asetuksissa vikana .
katso täältä kopio gauges.js ja steelseriesVWSjson.php asetuksista :
http://jassuweb.net/fi/copy_SteelSeries_%20Gauges_setting.txt


var gauges = (function () {
    var strings = LANG.EN,         //Set to your default language. Store all the strings in one object
        config = {
            // Script configuration parameters you may want to 'tweak'
            scriptVer         : '2.4.0 - 2013-06-02',
            weatherProgram    : 0,                      //Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge [font=Verdana]Tähän mikä ohjelma käytössä[/font]
            imgPathURL        : './images/',            //*** Change this to the relative path for your 'Trend' graph images [font=Verdana]Poluku jpgrapheihin[/font]
            oldGauges         : 'gauges.htm',           //*** Change this to the relative path for your 'old' gauges page. [font=Verdana]Jos vanhoja mittareita käytössä[/font]
            counter           : 60,                     //download data counter (secs, default 60)
            gaugeMobileScaling: 0.85,                   //scaling factor to apply when displaying the gauges mobile devices, set to 1 to disable
            graphUpdateTime   : 15,                     //period of popup data graph refesh, in minutes (default 15)
            stationTimeout    : 3,                      //period of no data change before we declare the station offline, in minutes (default 3)
            pageUpdateLimit   : 20,                     //period after which the page stops automatically updating, in minutes (default 20),
                                                        // - set to 0 (zero) to disable this feature
            pageUpdatePswd    : 'its-me',               //password to over ride the page updates timeout, do not set to blank even if you do not use a password
            digitalFont       : true,                   //Font control for the gauges & timer
            digitalForecast   : true,                   //Font control for the status display, set this to false for languages that use accented characters in the forecasts
            showPopupData     : true,                   //Popup data displayed
            showPopupGraphs   : true,                   //If popup data is displayed, show the graphs?
            showWindVariation : true,                   //Show variation in wind direction over the last 10 minutes on the direction gauge
            showIndoorTempHum : true,                   //Show the indoor temperature/humidity options
            showUvGauge       : true,                   //Display the UV Index gauge
            showSolarGauge    : true,                   //Display the Solar gauge
            showRoseGauge     : true,                   //Show the optional Wind Rose gauge
            showRoseGaugeOdo  : true,                   //Show the optional Wind Rose gauge Windrun Odometer
            showGaugeShadow   : true,                   //Show a drop shadow outside the gauges
                                                        // The realtime files should be absolute paths, "/xxx.txt" refers to the public root of your web server
            realTimeURL_Cumulus: 'http://weather.wilmslowastro.com/realtimegauges.txt',     //***  realtime file ***[font=Verdana]Tähän polku jos Cumulus käytössä[/font]
            realTimeURL_WD     : 'customclientraw.txt',    //*** WD Users: Change to your location of the ccr file *** [font=Verdana]Tähän polku jos WD käytössä[/font]
            realTimeURL_VWS    : 'steelseriesVWSjson.php', //*** VWS Users: Change to your location of the JSON script generator ***
            realTimeURL_WC     : 'realtimegaugesWC.txt',   //*** WeatherCat Users: Change to your location of the JSON script generator ***
            realTimeURL_MB     : 'MBrealtimegauges.txt',   //*** Meteobridge Users: Change to the location of the JSON file
            useCookies        : true,                   //Persistently store user preferences in a cookie?
            tipImages         : [],
            dewDisplayType    : 'app'                   //Initial 'scale' to display  'dew' - Dewpoint
                                                        // on the 'dewpoint' gauge.   'app' - Apparent temperature
                                                        //                            'wnd' - Wind Chill
                                                        //                            'hea' - Heat Index
                                                        //                            'hum' - Humidex
        },

        // test for canvas support before we do anything else, especially reference steelseries which will cause the script to abort!
        _canvas = (!!document.createElement("canvas").getContext ?

================================================================================================================================================
KOPIO gauges/steelseriesVWSjson.php ASETUKSISTA:

The output JSON file uses SteelSeries Weather-Display configuration
//   In the SteelSeries gauges.js file, set:
//
//      weatherProgram    : 0,                      //Set 0=Cumulus, 1=Weather Display [font=Verdana]Tähän 0 jos cumulus ja 1 jos WD käytössä[/font]
//      realTimeURL_WD    : './steeseriesVWSjson.php',
//        *** Change this to your script location if the file is not in the same folder as the gauges-ss.htm ***
//
//
// NOTE: the settings below are unnecessary if this script is run in the same directory as
//   the Saratoga template's Settings.php .. in that case, the settings below will be
//   acquired from the corresponding data in Settings.php and Settings-weather.php for VWS sites.
//
// settings ------------------------------
$wflashDir = 'wflash/Data/';  // directory for the the wflash.txt and wflash2.txt files
//                              // relative to directory location of this script
//                              // do NOT use absolute address (/ start) or http://... addressing
$uomTemp = '°C';   // ='°C', ='°F'
$uomBaro = ' hPa';    // =' hPa', =' mb', =' inHg'
$uomWind = ' mph';     // =' km/h', =' kts', =' m/s', =' mph'
$uomRain = ' mm';      // =' mm', =' in'
$WDdateMDY = true;     // =true  dates are 'month/day/year'
//                     // =false dates are 'day/month/year'
$ourTZ = "America/Los_Angeles";  //NOTE: this *MUST* be set correctly to
// translate UTC times to your LOCAL time for the displays.
$timeOnlyFormat = 'g:i a';          // USA format h:mm[am|pm\
//$timeOnlyFormat = 'H:i';          // Euro format hh:mm  (hh=00..23);

// ---------------------------------------
// end of settings -- no further changes to the source are needed below



Laita testisivun osoite niin voin käydä katsomassa jos keksisin mikä vikana.
Sääasema Nauska, Kemi

www.kemiweather.fi


systeemi

Sääasema Nauska, Kemi

www.kemiweather.fi


systeemi

Sääasema Nauska, Kemi

www.kemiweather.fi

Tuffe

#8
kokeilin toista http://*******.*****/.com, datan luku ei näytä onnistuvan.
mistä voi muuttaa ftp asetuksen,muuttaako ftp -datapolun tyypin?

( copy wiki)realtime file:-
  Local filename  = <path>\Cumulus\web\realtimegaugesT.txt
  Remote filename = <website_root_path>/realtimegauges.txt
  Process = Yes
  Realtime = Yes
  FTP = Yes (unless you are local hosting)

gauges HTML file:-
  Local filename  = <path>\Cumulus\web\gauges-ssT.htm
  Remote filename = <website_root_path>/gauges-ss.htm
  Process = Yes
  Realtime = No
  FTP = Yes (unless you are local hosing)

Tuffe

#9
Kokeiletko sinä millä saan asetuksilla SteelSeries Gauges  toimintaan?

-tuffe-