FinWX Foorumi

Koodaus- ja rakentelunurkka => Sivustojen koodaaminen (HTML, PHP, MySQL, jne.) => Aiheen aloitti: Tuffe - torstai, 23.01.2014, 14:57

Otsikko: Saratatoga asennus wview?
Kirjoitti: Tuffe - torstai, 23.01.2014, 14:57
1.Latasin paketit Base-World.zip ja WV-plugin.tar.gz pakettit purin Base-World.zip:in ja tämän sisään WV-plugin hakemiston tiedostoineen
2. tein asetukset Base-World/WV-plugin setting.php jaSettings-weather.php  tiedostoihin
3.kopion WVtags.phpx wview ohjelmaan ,tämä lataa Base-World/WV-plugin hakemistoon WVtags.php-nimisen tiedoston Ok.
4.Mutta jokin vialla katso: http://weather.haapakorpi116.com/index.php  mitä voin tehdä asian eteen?
esim .Settings-weather.php asetukset
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-World-ML template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: Settings-weather.php
# Purpose: Provides the Site Settings Used Throughout the Site
Authors: Kevin W. Reed <kreed@tnet.com>
# TNET Services, Inc.
#               Ken True <webmaster@saratoga-weather.org>
#               Saratoga-Weather.org
#
Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
############################################################################
# This document uses Tab 4 Settings
############################################################################
global $SITE;
#---------------------------------------------------------------------------
#  required settings for wview software
#---------------------------------------------------------------------------
$SITE['WXtags'] 'WVtags.php';  // for weather variables
$SITE['graphImageDir'] = './';  // directory location for graph images with trailing /
# For NOAA reports
$SITE['NOAAdir']        = './NOAA/';   // relative location of the NOAA report files directory
#
# Weather Station sensors and options for dashboard
#
$SITE['conditionsMETAR'] = 'KSJC';  // set to nearby METAR for current conditions icon/text
#  comment out conditionsMETAR if no nearby METAR.. conditions icon/text will not be displayed
$SITE['overrideRain']   = true// =true then rain rate will set rain words instead of METAR rain words
#                               // =false - no change to METAR rain words (station rain rate not used)
#
$SITE['DavisVP'] false;  // set to false if not a Davis VP weather station
$SITE['UV'] true;  // set to false if no UV sensor
$SITE['SOLAR'] false;  // set to false if no Solar sensor
##########################################################################
# end of configurable settings
#
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftware']     = 'WV';  
$SITE['WXsoftwareURL'] = 'http://www.wviewweather.com/index.html';
$SITE['WXsoftwareLongName'] = 'wview';
$SITE['ajaxDashboard'] = './ajax-dashboard.php';
$SITE['trendsPage']     = './WV-trends-inc.php'// WL-specific trends page
?>

Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Nummika - torstai, 23.01.2014, 16:10
Pikaisella vilkaisulla ainakin sää kuvakkeet puuttuu, olisko jäänyt imuroimatta?  Olikohan ne nuo, http://saratoga-weather.org/carterlake-icons.zip
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - torstai, 23.01.2014, 16:17
Mistä filusta säädetään menu-valikkoa? menubar.php ei näytä tapahtuvan mitään
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: jamo - torstai, 23.01.2014, 16:55
Lainaus käyttäjältä: Tuffe - torstai, 23.01.2014, 16:17
Mistä filusta säädetään menu-valikkoa? menubar.php ei näytä tapahtuvan mitään

Muistelisin että flyout-menu.xml olisi sen yläosa menun säätöpaikka.

jamo
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - torstai, 23.01.2014, 18:19
Nyt lähti pelittämään
osaako kukaan auttaa miten otetaan käyttöön  http://wiki.sandaysoft.com/a/SteelSeries_Gauges mittarit eli miten asetukset tehdään
beta tiedosto http://weather.wilmslowastro.com/realtimegauges.txt
tuleeko realtimegauges.txt
näin /polku/käyttäjä/realtimegauges.txt
olen kokeillut kymmeniä kertoja asentaa mutta turhaan
mitä kohdat asetuksissa on olennaisia?
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: ahpe - torstai, 23.01.2014, 19:21
Sain itse nuo mittarit toimimaan viime vuoden tammikuussa, teetti kylläkin töitä.

Jos tarkoitat Cumulus ohj. lähettämää LocalFiles? Minulla on näin

C:\Cumulus\web\realtimegaugesT.txt

ja Remote Filenames

public_html/davis/realtimegauges.txt

http://www.sahkoheikura.com/davis/realtimegauges.txt (http://www.sahkoheikura.com/davis/realtimegauges.txt)
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: ahpe - torstai, 23.01.2014, 20:10
Lainaaos tarkoitat Cumulus ohj. lähettämää LocalFiles? Minulla on näin

C:\Cumulus\web\realtimegaugesT.txt

ja Remote Filenames

public_html/davis/realtimegauges.txt

Ja gauges.js tiedostoon tulee.

realTimeURLCumulus: './realtimegauges.txt',

//*** Cumulus Users: Change this to your download location if the realtime file is not in the same folder as the gauges-ss.htm ***
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - perjantai, 24.01.2014, 19:32
Pihalla kuin lumiukko..
Mihin tiedostoin nämä tulee
1. Extract all the file in the SteelSeries zip file to a folder on your PC.

2. Copy "realtimegaugesT.txt" to your Cumulus web folder.

3. Copy "gauges-ssT.htm" to your Cumulus web folder.

4. Configure Cumulus Internet | Files to:

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)
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Nummika - perjantai, 24.01.2014, 22:28
Lainaus käyttäjältä: Tuffe - perjantai, 24.01.2014, 19:32
Pihalla kuin lumiukko..
Mihin tiedostoin nämä tulee
1. Extract all the file in the SteelSeries zip file to a folder on your PC.

2. Copy "realtimegaugesT.txt" to your Cumulus web folder.

3. Copy "gauges-ssT.htm" to your Cumulus web folder.

4. Configure Cumulus Internet | Files to:

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)


Tuossa saattaa olla ongelma, mahtaako wviev tukea tuota steelseriestä?

Tuo ohje on cumulusta varten http://sandaysoft.com/products/cumulus
Cumuluksessa tuo toimii suurinpiirtein näin.
Tuo kansio puretaan ja nuo kaks tiedostoa realtimegaugesT.txt ja gauges-ssT.htm kopioidaan cumuluksen webfiles kansioon, oletettavasti wvievissä jonnekkin kansion missä sijaitsee kaikki tiedostot joita se uppaa sääsivustolle.

Kaikki muut puretut tiedostot kansioineen päivineen uppaat webbiservulle.

Sitten tuo vaikein osuus, jos saat wviewin jotenkin päivittämään nuo tiedostot niin ne pitäisi saada upattua nettiin siten että
realtimegaugesT.txt uudelleen nimetään uppausvaiheessa realtimegauges.txt tiedostoksi ja sama
gauges-ssT.htm uudelleen nimetään gauges-ss.htm tiedostoksi

Jos sinulla on linux niin kokeile asentaa cumulus niin saat kaiken helpommin ja löytyy paremmin apuja. Kokeilin sitä kerran muistaakseni winellä ja tomi moitteetta

Toimisiko tuo wvievissä https://groups.google.com/forum/#!topic/wview/xEbA6G7HssM
lataussivu https://github.com/HanSolo/SteelSeries-Swing
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: finilves - lauantai, 25.01.2014, 01:47
Cumulus toimii myös windows koneissa. Asensin tuon ohjeen mukaan ja lähti Cumuluksella toimimaan kertalaakista.
Ongelmat alkaa sitten mikäli koittaa istuttaa noita mittareita toisille sivuilla.
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - lauantai, 25.01.2014, 16:00
Pyytää realtimegauges.txt tiedostoa katso http://haapakorpi116.com/gauges/gauges-ss.htm
sijainti koodit viellä poikessa ,mutta kuuluko  nämä olla.Lisäksi sivun alalinkki valikon linkit ei toimi kun niitä ei viellä asetettu
Kats gauges.js asetukset alta, näyttää siltä että wview hylkii mittareita
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       : false,                   //Display the UV Index gauge
            showSolarGauge    : false,                   //Display the Solar gauge
            showRoseGauge     : false,                   //Show the optional Wind Rose gauge
            showRoseGaugeOdo  : false,                   //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: './realtimegauges.txt',     //*** Cumulus Users: Change to your location of the realtime file ***
            realTimeURL_WD     : 'customclientraw.txt',    //*** WD Users: Change to your location of the ccr file ***
            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
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: finilves - lauantai, 25.01.2014, 19:39
Oletko muuttanut asetuksen kyseiseeen tiedostoon
watherProgram on oletuksena 0 eli Cumulus ja sinulla pitää olla luultavasti 2
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - lauantai, 25.01.2014, 20:57
Nyt tapahtui jotakin..
katso http://haapakorpi116.com/gauges/gauges-ss.htm
muttei löydä steelseriesVWSjson.php tiedostoa sama näyttö vaikka poistan tiedoston
gauges.js asetuksissa  2. ja ./steelseriesVWSjson.php
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: finilves - lauantai, 25.01.2014, 21:30
Nyt pitää saada päivittämään sivuä sääasemalta. Ohjeet näkyy olevan wiki sivulla.
Enempää en osaa neuvoa, koska minulla Cumulus käytössä
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Leka - lauantai, 25.01.2014, 21:46
Lainaus käyttäjältä: Tuffe - lauantai, 25.01.2014, 20:57
Nyt tapahtui jotakin..
katso http://haapakorpi116.com/gauges/gauges-ss.htm
muttei löydä steelseriesVWSjson.php tiedostoa sama näyttö vaikka poistan tiedoston
gauges.js asetuksissa  2. ja ./steelseriesVWSjson.php

Kokeileppa muuttaa:

./steelseriesVWSjson.php

steelseriesVWSjson.php
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - sunnuntai, 26.01.2014, 14:41
Näyttää siltä että wview ei täytä kaikki takkeja,ainakaan lcrosse  saa-asemalle joka on raksutellut ulkona kohta 11-v .
,jos jokin tietää miten mittarit saa pyörimään wviewelle niin apu on  enempi kuin tervetullut.

Kiitos avusta;..
-jerry-
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Nummika - sunnuntai, 26.01.2014, 16:47
Lainaus käyttäjältä: Tuffe - sunnuntai, 26.01.2014, 14:41
Näyttää siltä että wview ei täytä kaikki takkeja,ainakaan lcrosse  saa-asemalle joka on raksutellut ulkona kohta 11-v .
,jos jokin tietää miten mittarit saa pyörimään wviewelle niin apu on  enempi kuin tervetullut.

Kiitos avusta;..
-jerry-


La-Crosse mullakin on ulkona ja ei siinä steelserieksen kans ole ongelmaa, uskoisin että syypää on tuo wview. Tuo steelseries versionhan on cumulukselle tehty.

Kuten jo edellä mainitsin, kokeile cumulusta, toimii linux ja windows järjestelmässä ja siinä toimii myöst tuo Saratoga mainiosti. Itsellä oli aiemmin cumulus+saratoga ennen kuin saratogan vaihdoin tuohon weerstation-leuven templateen
Otsikko: Vs: Saratatoga asennus wview?
Kirjoitti: Tuffe - tiistai, 28.01.2014, 11:49
sain toimimaan wviewillä  WeatherCat asetuksilla ja muokkaamalla tageja http://weather.haapakorpi116.com/live.htm.

-tuffe-