Skip to content

Releases: sroemer/scale-communication

scale-communication 0.3.0

12 Sep 12:36
c95e6e4
Compare
Choose a tag to compare
Pre-release

This version after waiting for a stable weight from the 'FFB2' notifications also waits for BIA to be finished, which is detected based on an 'FFB3' indication. So far in the 'FFB3' indication data only the weight but no BIA data was found. Therefore no additional data is provided, but a verification of matching weight values was added.

Sample output:

 - INFO 	Discovering BLE devices
 - INFO 	Connecting to scale 'Crenot Gofit S2'
 - INFO 	Connection to scale 'Crenot Gofit S2' established
 - INFO 	Waiting for weight measurement (uuid:ffb2 timeout:15s)
 - INFO 	Waiting for BIA (uuid:ffb3 timeout:15s)
 - INFO 	 - Weight:  94.30kg

scale-communication 0.2.0

12 Sep 05:00
0171a87
Compare
Choose a tag to compare
Pre-release

This version adds a timeout when waiting for the weight to stabilize.
Additionally a command line parser is added and following command line arguments are available by now:

  • --print_dev_info enable output of device information
  • --print_svc_info enable output of service information
  • --timeout TIMEOUT timeout when waiting for weight to stabilize

scale-communication 0.1.1

11 Sep 12:21
41f3706
Compare
Choose a tag to compare
Pre-release

Previous version used frequent requests of the device information data from the scale for this purpose, which was just a dirty quirk.
This version now uses asyncio.sleep() instead of requests for device information.

scale-communication 0.1.0

11 Sep 11:25
18b6456
Compare
Choose a tag to compare
Pre-release

This is the initial version of my approach to implement a client software and understand the protocol for communication with my 'Crenot Gofit S2' scale. This version only gets the weight value from the scale by

  1. Discovering BLE devices
  2. Connecting to the scale
  3. Triggering the scale to send notifications containing the weight value (characteristic 'FFB2')
  4. Waiting until the weight stabilizes
  5. Printing the measured weight

It uses a dirty quirk to keep the scale sending its notifications by frequently requesting device information from the scale.

Sample output:

 - INFO 	Discovering BLE devices
 - INFO 	Connecting to scale 'Crenot Gofit S2'
 - INFO 	Connection to scale 'Crenot Gofit S2' established
 - INFO 	Starting notifications for uuid FFB2
 - INFO 	Waiting for weight to stabilize
 - INFO 	 - Weight:  95.10kg