logdir = C:/DataWise/Log/ Invalid URL specified Usage: ReqDataFromDWAPI.php url=url s=sensor [+raw] [+https] [n=ndays] [p=port] [o=offset] Where url is the url or ip address to connect to sensor is the sensor to request data for +https specifies to use an ssl connection (default is http) ndays is the number of days to request data for (default is 1) port is the port to connect on (default is 80 for http and 443 for https) offset is the number of minutes to add to reading to adjust for timezone difference (default is 0) +raw specifies to store the data in raw form (default is Calibrated)