[New Binding] Ambient Weather WS-1400IP weather station

This is a static page and is only needed for the binding to work out what units you are using for each measurement.

/station.htm
<!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>Station</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">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="20" height = "80">&nbsp;</td>                                             
                            <td >&nbsp;</td>
                            <td width="10">&nbsp;</td>
                            <td class="txtstyle_1" >Weather Logger  2.2 </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:2.2.5</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="#EDEFEF"><div class="menuitem_1"><a href="station.htm">Station Settings</a></div></td>
                            <td bgcolor="#C0C0C0"><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="station" method="POST" onsubmit="return chkForm(0);">
                <tr>
                    <td colspan="2" bgcolor="#EDEFEF"><div class="subitem_1">Wireless Transmitter Settings</div></td>
                </tr>
                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Indoor Sensor Type</div></td>
                    <td bgcolor="#EDEFEF"><select name="WH25" class="item_2"  style="WIDTH: 80px">
                            <option value="0" selected >WH25</option>
                            <option value="1"          >None</option>
                    </select></td>
                </tr>

                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Outdoor Sensor1 Type </div></td>
                    <td bgcolor="#EDEFEF"><select name="WH24_7B" class="item_2" style="WIDTH: 80px">
                            <option value="0" selected >WH24</option>
                            <option value="1"          >WH7</option>
                            <option value="2"          >None</option>
                    </select></td>
                </tr>
                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Outdoor Sensor2 Type</div></td>
                    <td bgcolor="#EDEFEF"><select name="WH26" class="item_2" style="WIDTH: 80px">
                            <option value="0"  		   >WH26</option>
                            <option value="1" selected >None</option>
                    </select></td>
                </tr>
                <tr> 
                    <td width="419" bgcolor="#EDEFEF"><div class="item_1">Wireless Receive Frequency</div></td>
                    <td width="421" bgcolor="#EDEFEF"><select name="WRFreq" class="item_2" disabled="disabled"  style="WIDTH: 80px">
                            <option value="0" selected >434</option>
                            <option value="1"          >868</option>
                            <option value="2"          >915</option>
                            <option value="3"          >920</option>
                    </select></td>
                </tr>          
                 <tr>
                    <td colspan="2" bgcolor="#EDEFEF">&nbsp;</td>  
                </tr>     
                <tr>
                    <td colspan="2" bgcolor="#EDEFEF"><div class="subitem_1">DST and Time Zone Setting</div></td>
                </tr>
                <tr>
                    <td bgcolor="#EDEFEF"><div class="item_1">Time Zone</div></td>
                    <td bgcolor="#EDEFEF"><input name="timezone" type="text" class="item_2" style="WIDTH: 80px" value="10" maxlength="4">
                        <span id="timezone_msg" class="errMsg0"></span></td>
                </tr>
                
                <tr>
                	<td bgcolor="#EDEFEF"></td>
                    <td bgcolor="#EDEFEF"><span class="setinfo">Please enter an integer between -12~12</span>
                    </td>
                </tr>	 
                            
                <tr> 
                    <td width="419" bgcolor="#EDEFEF"><div class="item_1">Daylight Savings Time </div></td>
                    <td width="421" bgcolor="#EDEFEF"><select name="dst" class="item_2"  style="WIDTH: 80px">
                            <option value="0"					   selected>off</option>
                            <option value="1"					  >on</option>
                            <option value="2" >auto</option>
                  </select></td>
                </tr> 
                
   				<tr>
                    <td colspan="2" bgcolor="#EDEFEF">&nbsp;</td>  
                </tr>    
                               
                <tr>
                    <td colspan="2" bgcolor="#EDEFEF"><div class="subitem_1">Units of Measure</div></td>
                </tr>
                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Wind</div></td>
                    <td bgcolor="#EDEFEF"><select name="unit_Wind" class="item_2"  style="WIDTH: 80px">
                            <option value="0"  		   >m/s</option>
                            <option value="1"           selected>km/h</option>          
                            <option value="2"          >ft/s</option>
                            <option value="3"          >bft</option>
                            <option value="4" >mph</option>
                            <option value="5"          >knot</option>
                    </select></td>
                </tr>
                <tr> 
                    <td width="419" bgcolor="#EDEFEF"><div class="item_1">Rainfall</div></td>
                    <td width="421" bgcolor="#EDEFEF"><select name="u_Rainfall" class="item_2"  style="WIDTH: 80px">
                            <option value="0"  		    selected>mm</option>
                            <option value="1" >in</option>
                    </select></td>
                </tr>
                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Pressure</div></td>
                    <td bgcolor="#EDEFEF"><select name="unit_Pressure" class="item_2" style="WIDTH: 80px">                                                
                            <option value="0"           selected>hpa</option>
                            <option value="1" >inhg</option>
                            <option value="2"          >mmhg</option>
                    </select></td>
                </tr>
                <tr> 
                    <td width="419" bgcolor="#EDEFEF"><div class="item_1">Temperature</div></td>
                    <td width="421" bgcolor="#EDEFEF"><select name="u_Temperature" class="item_2"  style="WIDTH: 80px">
                            <option value="0"  		    selected>degC</option>
                            <option value="1" >degF</option>
                    </select></td>
                </tr>               
                <tr> 
                    <td bgcolor="#EDEFEF"><div class="item_1">Solar Radiation</div></td>
                    <td bgcolor="#EDEFEF"><select name="unit_Solar" class="item_2" style="WIDTH: 80px">
                            <option value="0"            >lux</option>
                            <option value="1"	selected >w/m2</option>
                            <option value="2"  		     >fc</option>
                    </select></td>
                </tr>         
 				<tr>
                    <td colspan="2" bgcolor="#EDEFEF">&nbsp;</td>  
                </tr>
                <tr>
 					<td colspan="2" bgcolor="#EDEFEF"><div class="subitem_1">Automatic Restart</div></td>                
                </tr>
                <tr>
                    <td bgcolor="#EDEFEF"><div class="item_1">System Reboot</div></td>
                    <td bgcolor="#EDEFEF"><select name="auto_reboot" class="item_2" style="WIDTH: 80px">
                            <option value="0"   >No</option>
                            <option value="1" selected>Yes</option>                       
                    </select></td>
                </tr> 
                
                 <tr>
                	<td bgcolor="#EDEFEF"></td>
                    <td bgcolor="#EDEFEF"><span class="setinfo">If server communication is lost for 20 minutes, the ObserverIP will automatically reboot.</span>
                    </td>
                </tr>	 
    
                <tr>
                    <td colspan="2" bgcolor="#EDEFEF">&nbsp;</td>  
                </tr>
                <tr><td colspan="2" align="center" 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">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" bgcolor="#C0C0C0">&nbsp;</td>
            </tr>
        </table>
        <script src="axjs0.js" type="text/javascript"></script>
    </body>
</html>

I am interested to know where you are getting the sensor readings from? Is there a way to scrape the wifi to gather the information?

EDIT: You mentioned you used @Atsz script and from reading the description of what it does in this thread, it seems that it works the same way that the wundergroundupdatereceiver binding works. I don’t know if the Wunderground packets are the same as ecowitt format. However I did another experiment on my unit here and I seem to be able to capture the outgoing data very easily and this could be automated. The non wifi unit seems to send GET requests that contain all the data in the request queries.

example is:

GET:/weatherstation/updateweatherstation.php?ID=***********&PASSWORD=********&tempf=51.4&humidity=82&dewptf=46.2&windchillf=51.4&winddir=303&windspeedmph=0.00&windgustmph=0.00&rainin=0.00&dailyrainin=0.01&weeklyrainin=0.72&monthlyrainin=0.90&yearlyrainin=28.32&solarradiation=138.21&UV=2&indoortempf=59.5&indoorhumidity=59&baromin=30.26&lowbatt=0&dateutc=2021-8-7%203:3:40&softwaretype=WH2600GEN_V2.2.5&action=updateraw&realtime=1&rtfreq=5

If the wifi version does this exact same thing, then the wundergroundupdatereceiver can replace your script and served files.

Different bindings are available and 3 out of these 4 are merged AKA built into openHAB 3.1, what each one offers is exaplined below as there is some overlap.

weatherunderground = monthly subscription (free if u give them your stations data) to source data from the cloud and can work with no weather station as you can use any in your area that someone else owns. Won’t work during a storm when your internet goes down.

wundergroundupdatereceiver = Captures the data fully locally before it is sent out to weatherunderground. No cloud connection and hence no monthly subscription needed, but you need a weather station. Hard to setup if your station does not allow redirecting the data easily, but it is very easy if your unit allows you to enter the IP of where to send the weatherunderground data. Supports a wide range of units and you won’t need an ipobserver unit if you have a screen that sends updates to WU.

Ambient Weather = only works with units of that brand and it requires their cloud and a working internet connection, which can go down during a storm. This brand only ships inside the USA so the majority of the world can’t source them. Easy setup.

Ipobserver = this binding is fully local with no clouds and is easy to setup with discovery now added, BUT you have to have the ipobserver unit which is sold world wide under many brands. Sadly the wifi version looks to not have a live data page to scrape otherwise it could be supported. Make sure it is the non wifi version.