Ambient Weather Support
How Can I Pull Live Data From My ObserverIP Module Without Going Through The Internet?
The ObserverIP serves up web pages. The Live Data panel updates real time data:
You can reach this panel via the devices IP address. An example would be as follows:
http://192.168.0.99/livedata.htm
where the IP address http://192.168.0.99/ is different for each network.
If you are a programmer and wish to parse the data, an example of the html code that this web page generates is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>LiveData</title> <link href="axcss0.css" rel="stylesheet" type="text/css" /> </head> <body> <table width="800" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" align="right" bgcolor="#0088F7"> </td> </tr> <tr> <td colspan="2" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20" height = "80"> </td> <td ><img src="img/1.jpg" width="74" height="80" ></td> <td width="10"> </td> <td class="txtstyle_1" >ambient weather observerIP 4.3 </td> </tr> </table></td> </tr> <tr> <td colspan="2" align="right" bgcolor="#60B7FF"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="120" align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><em>Version:4.3.6</em></font></td> </tr> </table></td> </tr> <tr> <td colspan="2" align="left" bgcolor="#C0C0C0"> <table width="20" border="0" cellpadding="0" cellspacing="0"> <tr> <td bgcolor="#C0C0C0"><div class="menuitem_1"><a href="bscsetting.htm">Local Network</a></div></td> <td bgcolor="#C0C0C0"><div class="menuitem_1"><a href="weather.htm">Weather Network</a></div></td> <td bgcolor="#C0C0C0"><div class="menuitem_1"><a href="station.htm">Station Settings</a></div></td> <td bgcolor="#EDEFEF"><div class="menuitem_1"><a href="livedata.htm">Live Data</a></div></td> <td bgcolor="#C0C0C0"><div class="menuitem_1"><a href="correction.htm">Calibration</a></div></td> </tr> </table> </td> </tr> <form name="livedata" method="POST" onsubmit="return chkForm(0);"> <tr> <td colspan="2" bgcolor="#EDEFEF"> </td> </tr> <tr> <td colspan="2" bgcolor="#EDEFEF"><div class="subitem_1">Live Data</div></td> </tr> <tr> <td width="448" bgcolor="#EDEFEF"><div class="item_1">Receiver Time:</div></td> <td width="352" bgcolor="#EDEFEF"> <input name="CurrTime" disabled="disabled" type="text" class="item_2" style="WIDTH: 120px" value="16:59 04/09/2018" maxlength="20"/></td> </tr> <tr> <td width="448" bgcolor="#EDEFEF"><div class="item_1">Indoor Sensor ID and Battery </div></td> <td width="352" bgcolor="#EDEFEF"> <input name="IndoorID" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="0x1f" maxlength="5" /> <input name="inBattSta" disabled="disabled" type="text" class="item_2" style="WIDTH: 100px" value="Normal" maxlength="12" /> </td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Outdoor Sensor ID and Battery</div></td> <td bgcolor="#EDEFEF"> <input name="Outdoor1ID" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="0x0d" maxlength="5" /> <input name="outBattSta1" disabled="disabled" type="text" class="item_2" style="WIDTH: 100px" value="Normal" maxlength="12" /> </td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Outdoor2 Sensor ID and Battery</div></td> <td bgcolor="#EDEFEF"> <input name="Outdoor2ID" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="0x--" maxlength="5" /> <input name="outBattSta2" disabled="disabled" type="text" class="item_2" style="WIDTH: 100px" value="- -" maxlength="12" /> </td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Indoor Temperature</div></td> <td bgcolor="#EDEFEF"><input name="inTemp" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="78.1" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Indoor Humidity</div></td> <td bgcolor="#EDEFEF"><input name="inHumi" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="26" maxlength="3" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Absolute Pressure </div></td> <td bgcolor="#EDEFEF"><input name="AbsPress" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="28.64" maxlength="6" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Relative Pressure </div></td> <td bgcolor="#EDEFEF"><input name="RelPress" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="30.05" maxlength="6" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Outdoor Temperature</div></td> <td bgcolor="#EDEFEF"><input name="outTemp" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="90.7" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Outdoor Humidity </div></td> <td bgcolor="#EDEFEF"><input name="outHumi" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="10" maxlength="3" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Wind Direction </div></td> <td bgcolor="#EDEFEF"><input name="windir" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="51" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Wind Speed </div></td> <td bgcolor="#EDEFEF"><input name="avgwind" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="6.9" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Wind Gust </div></td> <td bgcolor="#EDEFEF"><input name="gustspeed" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="7.6" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Max Daily Gust </div></td> <td bgcolor="#EDEFEF"><input name="dailygust" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="15.0" maxlength="5" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Solar Radiation </div></td> <td bgcolor="#EDEFEF"><input name="solarrad" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="681.04" maxlength="12" /></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">UV </div></td> <td bgcolor="#EDEFEF"><input name="uv" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="2292" maxlength="12"></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">UVI </div></td> <td bgcolor="#EDEFEF"><input name="uvi" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="6" maxlength="3"></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Hourly Rain Rate</div></td> <td bgcolor="#EDEFEF"><input name="rainofhourly" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="0.00" maxlength="8" /></td> </tr> <form name="Rain_1" method="POST" onsubmit="return chkForm(0);"> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Daily Rain</div></td> <td bgcolor="#EDEFEF"><input name="rainofdaily" type="text" class="item_2" style="WIDTH: 80px" value="0.00" maxlength="8" /> <span id="rainofdaily_msg" class="errMsg0"></span></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Weekly Rain</div></td> <td bgcolor="#EDEFEF"><input name="rainofweekly" type="text" class="item_2" style="WIDTH: 80px" value="0.00" maxlength="8" /> <span id="rainofweekly_msg" class="errMsg0"></span></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Monthly Rain</div></td> <td bgcolor="#EDEFEF"><input name="rainofmonthly" type="text" class="item_2" style="WIDTH: 80px" value="0.00" maxlength="8" /> <span id="rainofmonthly_msg" class="errMsg0"></span></td> </tr> <tr> <td bgcolor="#EDEFEF"><div class="item_1">Yearly Rain</div></td> <td bgcolor="#EDEFEF"><input name="rainofyearly" type="text" class="item_2" style="WIDTH: 80px" value="0.69" maxlength="8" /> <span id="rainofyearly_msg" class="errMsg0"></span></td> </tr> <tr> <td colspan="2" bgcolor="#EDEFEF"> </td> </tr> <tr align="center"> <td colspan="2" bgcolor="#EDEFEF"><input name="Apply" type="submit" class="item_2" style="WIDTH: 60px; HEIGHT: 24px;" onclick="setSubmitType(1)" value="Apply" /> <input name="Cancel" type="reset" class="item_2" style="WIDTH: 60px; HEIGHT: 24px;" value="Cancel" /></td> </tr> </form> <tr> <td colspan="2" bgcolor="#EDEFEF"> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#EDEFEF"> <input name="rain_Default" type="button" class="item_2" style="WIDTH: 110px; HEIGHT: 24px;" onclick="raindef()" value="Rain Reset"> <input id="refresh_st" type="button" class="item_4" style="WIDTH: 110px; HEIGHT: 24px;" onclick="uiCtrl(this.value);" value="Refresh" /> <input id="refresh_sp" type="button" class="item_2" style="WIDTH: 110px; HEIGHT: 24px;" onclick="uiCtrl(this.value);" value="Stop Refresh" /> </td> </tr> </form> <tr> <td colspan="2" bgcolor="#EDEFEF"> </td> </tr> <tr> <td colspan="2" bgcolor="#C0C0C0"> </td> </tr> </table> <script src="axjs0.js" type="text/javascript"></script> <script language="JavaScript" type="text/javascript"> <!-- var rfTaskRuningFlag = 0, rfTimeId; uiCtrl('Refresh'); function uiCtrl(uiCmd) { if (uiCmd=='Refresh'){ document.getElementById('refresh_st').disabled = true; document.getElementById('refresh_sp').disabled = false; rfTaskRuningFlag = 1; rfTaskState = 0; rfTimeId = setInterval("ss()", 16000); }else if (uiCmd=='Stop Refresh'){ document.getElementById('refresh_st').disabled = false; document.getElementById('refresh_sp').disabled = true; rfTaskRuningFlag = 0; clearInterval(rfTimeId); } } function ss() { if (rfTaskRuningFlag) { window.location.reload(); } } --> </script> </body> </html>