Re: Youw8 Easy at 1dayfly
Posted: Mon Jan 04, 2010 8:35 pm
I've blocked the https port on my router and used the scale two times. No measurements where showing up on the website. Then I enabled the https port and did another measurement. This time it did show up. So the bridge can't post your weight if you have https disabled. The measurements do show up on the internal website of the bridge. Even after 10 minutes the numbers weren't online, so I guess the bridge only tries to post data when it recieves them from the scale.
Below is the source code of the bridge internal website:
My view on this is that you have a internal webserver that shows you the latest values and when they were received. Using a scraper to insert that values into your home automation server not only is a cheap way to do this, but it also doesn't cost any extra energy as you don't need another device (providing you have an internal server for your home automation).
Below is the source code of the bridge internal website:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN" "DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Youw8 Internet Body Monitor page</title>
<link href="mchp.css" rel="stylesheet" type="text/css" />
<script src="mchp.js" type="text/javascript"></script>
</head>
<body onLoad="allowAJAX=true;" onUnload="allowAJAX=false;">
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">
<div style="padding:0 0 5px 5px"><img src="youw8logo.gif" /></div>
<div id="title"><div class="left">Youw8 Internet Body Monitor page</div></div>
<div id="content">
<form method="post" action="index.htm" name="index">
<fieldset>
<div>
<input type="checkbox" class="sm" name="dhcpenabled" value="1" onclick="configIPBoxes()" checked /> Enable DHCP</div>
<div><label>IP Address:</label>
<td><input type="text" name="ip" value="192.168.50.102" /></div>
<div><label>Gateway:</label>
<td><input type="text" name="gw" value="192.168.50.1" /></div>
<div><label>Subnet Mask:</label>
<td><input type="text" name="subnet" value="255.255.255.0" /></div>
<div><label>Primary DNS:</label>
<td><input type="text" name="dns1" value="192.168.50.1" /></div>
<div><label>Secondary DNS:</label>
<input type="text" name="dns2" value="8.8.8.8" /></div>
<div> </div>
<div><input type="submit" class="sm" value="Save Config" /></div>
<div> </div>
</fieldset>
</form>
<p><table style="padding-left: 10px;">
<tr><td><b>Firmware Revision:</b></td><td> </td><td>FW_V1.0.0 R201</td></tr>
<tr><td><b>Release Date:</b></td><td> </td><td>May 08 2009 16:53:38</td></tr>
<tr><td><b>HW Revision:</b></td><td> </td><td>HW_V1.20</td></tr>
<tr><td><b>Bridge SN:</b></td><td> </td><td>---------------</td></tr>
<tr><td><b>Scale SN:</b></td><td> </td><td>---------------</td></tr>
<tr><td><b>Last received </b></td><td> </td><td> </td></tr>
<tr><td><b>Weight:</b></td><td> </td><td>84.2</td></tr>
<tr><td><b>Last received </b></td><td> </td><td> </td></tr>
<tr><td><b>Impedance:</b></td><td> </td><td>4686</td></tr>
<tr><td><b>Working units:</b></td><td> </td><td>kg</td></tr>
</table></p>
</div>
<script language="javascript">
function configIPBoxes() {
var st = document.forms.index.dhcpenabled.checked;
e = document.forms.index;
e.ip.disabled = st;
e.gw.disabled = st;
e.subnet.disabled = st;
e.dns1.disabled = st;
e.dns2.disabled = st;
}
configIPBoxes();
</script>
<div class="spacer"> </div>
<div id="footer">Copyright © 2008 http://www.youw8.com</div>
</div></div></div></div></div>
</body>
</html>