private void parseJson(String json) {
		try {
			JSONObject obj = new JSONObject(json);
			JSONArray results = obj.getJSONArray("Results");
			for (int i = 0; i < results.length(); i++) {
				JSONObject result = (JSONObject) results.get(i);
				if ("CUL_HM".equalsIgnoreCase(result.getString("list").trim())) {
					JSONArray devices = result.getJSONArray("devices");
					JSONObject device = (JSONObject) devices.get(1);
					JSONArray readings = device.getJSONArray("READINGS");
					JSONObject reading = (JSONObject) readings.get(readings.length()-1);
					this.currentTem = reading.getString("temperature");
					this.hm = ((JSONObject) readings.get(1))
							.getString("humidity");
					this.time = ((JSONObject) readings.get(1))
							.getString("measured");
					if (this.lowTem == null || lowTem.equals("")) {
						this.lowTem = this.hiTem = this.currentTem;
						//fist time when the server is starting at that time temperature and hm value
						sip.sendMessage(sipUri.getSipUri(),
						"Current Temperature is: " + currentTem
								+ " and Humidity is: " + hm + " at the time "
								+ time);
					}
					log.info("temp is:  " + currentTem + " HM value: " + hm
							+ " at " + time);
				}
			}
		} catch (JSONException e1) {
			// log.error(e1);
			e1.printStackTrace();
		} catch (ParseException e) {
			e.printStackTrace();
		} catch (SipException e) {
			e.printStackTrace();
		} catch (InvalidArgumentException e) {
			e.printStackTrace();
		}
	}