hi
here is the current WS1001( Clones) output dumped when using the updateweatherstation.php to a file called ws1001.json on your server
{ “timestamp”:1467623507,“updated”:“12:11:47”,“outsideTemp”:“83.8”,“outsideHumidity”:“53”,“humiditytrend”:“53”,“dewpoint”:“64.9”, “dewpointtrend”:“64.9”,“windchill”:“83.8”,“heatindex”:85.5,“realfeel”:84.4,“windDir”:“240”,“windSpeed”:“5.8”,“windGust”:“12.3”, “rainrate”:“0.00”,“raintoday”:“0.00”,“rainweek”:“0.00”,“rainmonth”:“0.00”,“rainyear”:“17.63”,“radiation”:“623.82”,“UV”:“7”, “UVtrend”:“7”,“indoorTemp”:“83.7”,“indoorfeel”:84.5,“indoorHumidity”:“58”,“barometer”:“29.94”,“absbarometer”:“29.68”, “indoortrendTemp”:“83.7”,“indoortrendHumidity”:“58”,“trendTemp”:“83.8”,“windtrend”:“5.8”,“windgusttrend”:“12.3”, “trendbarometer”:“29.94”,“solartrend”:“623.82”,“softwaretype”:“ISTANBUL161 V2.2.5”,“month”:“July”,“year”:“2016”, “day”:“Monday”,“realtime”:“1”,“rtfreq”:“5”,“status”:“updateraw”,“timeutc”:“2016-7-4 9:11:46”,“power”:true }
the ws1001 (clones) only require a simple console file edit called server.ini it basically takes the weather underground upload protocol , using the updateweatherstation.php it also forwards the data directly to weather underground and simultaneously dumps the data to a file called ws1001.json .
the console does not have to be permanently connected to pc/mac it simply does everything for you .
it would a real bonus and benefit if weather display was able to read the file ws1001.json from a server or locally .
the updateweatherstation.php can be adapted to weather display tags (if thats correct phrase)
server.ini file
[Menu]
default=www.wunderground.com
web=1
web1=www.yourserver.com
web2=www.yourserver.com
[www.wunderground.com]
Server=yourserver.com
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true
[www.yourserver.com]
Server=yourserver.com
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true
updateweatherstation.php sample code
“updated” => date(“G:i:s”),
“outsideTemp” => $_GET[‘tempf’],
“outsideHumidity” => $_GET[‘humidity’],
“humiditytrend” => $_GET[‘humidity’],
“dewpoint” => $_GET[‘dewptf’],
“dewpointtrend” => $_GET[‘dewptf’],
“windchill” => $_GET[‘windchillf’],
“heatindex” => $_GET[‘heatindex’],
“realfeel” => $_GET[‘realfeel’],
“windDir” => $_GET[‘winddir’],
“windSpeed” => $_GET[‘windspeedmph’],
“windGust” => $_GET[‘windgustmph’],
“rainrate” => $_GET[‘rainin’],
“raintoday” => $_GET[‘dailyrainin’],
“rainweek” => $_GET[‘weeklyrainin’],
“rainmonth” => $_GET[‘monthlyrainin’],
“rainyear” => $_GET[‘yearlyrainin’],
“radiation” => $_GET[‘solarradiation’],
“UV” => $_GET[‘UV’],
“UVtrend” => $_GET[‘UV’],
“indoorTemp” => $_GET[‘indoortempf’],
“indoorfeel” => $_GET[‘indoorfeel’],
“indoorHumidity” => $_GET[‘indoorhumidity’],
“barometer” => $_GET[‘baromin’],
“absbarometer” => $_GET[‘absbaromin’],
“indoortrendTemp” => $_GET[‘indoortempf’],
“indoortrendHumidity” => $_GET[‘indoorhumidity’],
“trendTemp” => $_GET[‘tempf’],
“windtrend” => $_GET[‘windspeedmph’],
“windgusttrend” => $_GET[‘windgustmph’],
“trendbarometer” => $_GET[‘baromin’],
“solartrend” => $_GET[‘solarradiation’],
“softwaretype” => $_GET[‘softwaretype’],
“month”=> date(“F”),
“year”=> date(“Y”),
“day”=> date(“l”),
“realtime” => $_GET[‘realtime’],
“rtfreq” => $_GET[‘rtfreq’],
“status” => $_GET[‘action’],
“timeutc”=> $_GET[‘dateutc’],
“power” => $_GET[‘action’]== “updateraw”,
);
if you would like further info or a ws1001.json to work with realtime drop us a line i can provide a realtime working file updated every 16 seconds.
brian