Page 2 of 2

Re: Youw8 Easy at 1dayfly

Posted: Mon Jan 04, 2010 8:35 pm
by pietervanharen
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:

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>&nbsp;</div>
<div><input type="submit" class="sm" value="Save Config" /></div>
<div>&nbsp;</div>
</fieldset>
</form>

<p><table style="padding-left: 10px;">
<tr><td><b>Firmware Revision:</b></td><td>&nbsp;</td><td>FW_V1.0.0 R201</td></tr>
<tr><td><b>Release Date:</b></td><td>&nbsp;</td><td>May 08 2009 16:53:38</td></tr>

<tr><td><b>HW Revision:</b></td><td>&nbsp;</td><td>HW_V1.20</td></tr>
<tr><td><b>Bridge SN:</b></td><td>&nbsp;</td><td>---------------</td></tr>
<tr><td><b>Scale SN:</b></td><td>&nbsp;</td><td>---------------</td></tr>
<tr><td><b>Last received </b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td><b>Weight:</b></td><td>&nbsp;</td><td>84.2</td></tr>
<tr><td><b>Last received </b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td><b>Impedance:</b></td><td>&nbsp;</td><td>4686</td></tr>

<tr><td><b>Working units:</b></td><td>&nbsp;</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">&nbsp;</div>
<div id="footer">Copyright &copy; 2008 http://www.youw8.com</div>

</div></div></div></div></div>

</body>
</html>
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).

Re: Youw8 Easy at 1dayfly

Posted: Mon Jan 04, 2010 9:09 pm
by pietervanharen
I opened up the bridge and took a picture

Image

Maybe someone recognizes the board or chips

Re: Youw8 Easy at 1dayfly

Posted: Mon Jan 04, 2010 9:42 pm
by Bwired
Hi Pieter

Lets see if I'm connected :)
So you took this of the internal webserver of the 868mHz receiver?
so can you get to it with your browser as well?
This is a start and an options, but you have to poll it every minute to see if you where in the scale, I'm a right?

Guys I'm gonna split this topic and move this part to the Initial topic.......OK?

Re: Youw8 Easy at 1dayfly

Posted: Mon Jan 04, 2010 11:54 pm
by Mdamen
The board uses ISCP (In Circuit Serial Programming) ww1.microchip.com/downloads/en/DeviceDo ... 30277d.pdf
Anyone familiair with this?

Re: Youw8 Easy at 1dayfly

Posted: Tue Jan 05, 2010 10:03 am
by pietervanharen
Lets see if I'm connected :)
So you took this of the internal webserver of the 868mHz receiver?
so can you get to it with your browser as well?
This is a start and an options, but you have to poll it every minute to see if you where in the scale, I'm a right?
You're right. The bridge has an internal webserver which you can visit through it's ipaddress with your browser. Unfortunately there is no timestamp or something that shows you when the measurements were received so you have to solve that on the database end. I guess a check if the value has changed could work, but it's not failsafe.
Guys I'm gonna split this topic and move this part to the Initial topic.......OK?
That's fine :)

Re: Youw8 Easy at 1dayfly

Posted: Wed Jan 13, 2010 1:55 pm
by phoenixb
Hi,

I have just spoken with the supplier of this product, and who could tell
me that their are mading the following codes for it
- IPhone application
- Twitter link
They indicated that through the Twitter interface it is possible for us to get information through
an XML code.

I let it know when i know more of this interface

Grtz,

Re: Youw8 Easy at 1dayfly

Posted: Wed Jan 13, 2010 2:08 pm
by Bwired
Thats good News, same did Withings with there weightscale, they have Twitter, Iphone and IP notification.
An XML with Ip Notification would be nice....
But like PieterH is telling that polling the 868 bridge (inhouse)is also an option.
Personally I don't like polling so much, being notified is better, but if there no other option :-)

Re: Youw8 Easy at 1dayfly

Posted: Thu Jan 14, 2010 1:03 pm
by Vullisbak
For those interested in a wireless weight scale, a BWR102 with an interesting price tag:
At meteoworld.nl

Works with RFXCom receivers. But you need to work out the graphs and Twitter yourself.

Re: Youw8 Easy at 1dayfly

Posted: Thu Jan 14, 2010 3:41 pm
by RDNZL
Is it possible to get the BMI from the Withings or Youw8 weighscale into your HA?

Thats not possible with the BWR102 as far as I know.

Re: Youw8 Easy at 1dayfly

Posted: Thu Jan 14, 2010 4:01 pm
by phoenixb
Hi,

I have now get some OAUTH/XML interface information from them, I have not much experience with programming in OAUTH/XML.
But if someone have a similar scale and whant to help just send me a PM.
Grtz,

Re: Youw8 Easy at 1dayfly

Posted: Thu Jan 14, 2010 5:04 pm
by Vullisbak
RDNZL wrote:Is it possible to get the BMI from the Withings or Youw8 weighscale into your HA?
Thats not possible with the BWR102 as far as I know.
I'm still trying to work out the exact message format the BMI transmits, but since the person's length is set at the remote module I don't think the scale itself calculates the BMI.
Since my weight clearly differs from my girlfriend's weight I can figure out who is standing on the scale when a new message is received. The database holds our length and the BMI is calculated on the server.

Again, I'm still working on decoding the messages. There seems to be no shared documentation about the Oregon Scientific protocol, so I might be wrong in assuming the module doesn't communicate with the scale.

Re: Youw8 Easy at 1dayfly

Posted: Thu Jan 14, 2010 5:41 pm
by RDNZL
Vullisbak wrote: I'm still trying to work out the exact message format the BMI transmits, but since the person's length is set at the remote module I don't think the scale itself calculates the BMI.
You are right. I mixed up BMI with fat and water % data I think, to calculate that the resistance of the skin was measured and sent...

Re: Youw8 Easy at 1dayfly

Posted: Sun Mar 28, 2010 12:23 pm
by Rene
Vandaag op ibood voor 69,95 (+5,95).

Re: Youw8 Easy at 1dayfly

Posted: Sun Mar 28, 2010 5:41 pm
by phoenixb
Geen Geld, heb er alleen helaas al één.

Re: Youw8 Easy at 1dayfly

Posted: Sun Mar 28, 2010 7:13 pm
by Rene
Ik nu ook ;-)