1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-09 08:00:39 +02:00

1576 Commits

Author SHA1 Message Date
Roelf Kloppenborg
99e3f88a4c Translated using Weblate (Dutch)
Currently translated at 100.0% (215 of 215 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nl/
2018-12-10 10:09:08 +01:00
Roelf Kloppenborg
29bd8eae19 Translated using Weblate (Danish)
Currently translated at 58.6% (126 of 215 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/da/
2018-12-10 10:09:07 +01:00
Erik Johansson
2dca563982 Protocol documentation has been moved to the wiki
https://github.com/oliexdev/openScale/wiki/Beurer-Sanitas
2018-12-04 22:01:50 +01:00
Hosted Weblate
8a8dd53478 Merge branch 'origin/master' into Weblate 2018-12-03 20:29:56 +01:00
mahmut özcan
a85ad83f20 Translated using Weblate (Turkish)
Currently translated at 99.5% (214 of 215 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/tr/
2018-12-03 20:29:55 +01:00
Erik Johansson
d0f90fc05d Add thresholds after scale reset 2018-12-03 20:27:02 +01:00
Erik Johansson
74154680b8 Refactor the Beurer/Sanitas command handling
* Fetches saved measurements for all local users when connecting.
* Supports user names shorter than 3 characters.
* Introduces a new "paused" state for the state machine when waiting
  for response from the scale. I.e. a request to get a list of users
  will trigger a number of notifications from the scale. The state
  machine is now paused until all users have been received,
  simplifying the code.

Should also fix some problems reported in #319.
2018-12-01 20:02:29 +01:00
Erik Johansson
b0f8cb0cb3 Remove some unused test stuff and some minor cleanup 2018-12-01 20:00:21 +01:00
ssantos
511c0aeba7 Translated using Weblate (German)
Currently translated at 100.0% (216 of 216 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-12-01 19:09:43 +01:00
mahmut özcan
acd1f52316 Translated using Weblate (Turkish)
Currently translated at 99.1% (214 of 216 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/tr/
2018-11-29 22:08:35 +01:00
Marco Gittler
326fdc0011 changed saving issue if scale does only scan weigth and then shut down
disable BT when scan done
2018-11-28 20:50:22 +01:00
Hosted Weblate
bb9fddf18f Merge branch 'origin/master' into Weblate 2018-11-27 20:16:14 +01:00
mahmut özcan
817460272b Translated using Weblate (Turkish)
Currently translated at 98.1% (212 of 216 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/tr/
2018-11-27 20:16:14 +01:00
Erik Johansson
b29d8a1e6d Merge #358 + some cleanup 2018-11-27 20:15:59 +01:00
Erik Johansson
34baeb2296 Fix comment and some whitespace 2018-11-27 20:13:55 +01:00
Marco Gittler
65bc1f02d9 much better BT connection
dont send user data again if scale got it
save weight only after 2500ms or if all data completed
2018-11-27 19:49:53 +01:00
Hosted Weblate
9e3e592355 Merge branch 'origin/master' into Weblate 2018-11-27 12:16:31 +01:00
Juan Antonio Martín Jiménez
c76d8070a4 Translated using Weblate (Spanish)
Currently translated at 100.0% (216 of 216 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/es/
2018-11-27 12:16:31 +01:00
OliE
14c0bc97ba Update BluetoothFactory.java
Test to support YUNMAI-SIGNAL-M and YUNMAI-SIGNAL-B, see issue #316
2018-11-27 12:16:28 +01:00
Erik Johansson
d72cb640fc Merge pull request #356 from gmarco/master
fix gender sending/send on every value we get
2018-11-26 21:28:11 +01:00
Erik Johansson
8138f385cb Handle user names with (only) strange characters 2018-11-26 21:25:47 +01:00
Marco Gittler
92c2ef6d25 fix gender sending/send on every value we get 2018-11-26 21:16:49 +01:00
Erik Johansson
660af298d7 Ack data even if it has been received already 2018-11-26 21:01:02 +01:00
Erik Johansson
93ccf50cd2 Lift restriction on user name having to be longer than 3 chars
Beurer/Sanitas driver can now handle it.
2018-11-26 20:58:45 +01:00
Erik Johansson
25ebaa0c21 Minor doc update 2018-11-25 23:39:20 +01:00
Erik Johansson
5a5b615495 Only use ascii chars in name and support short names on scale 2018-11-25 23:38:41 +01:00
Erik Johansson
e158a4084a Refactor Beurer/Sanitas state machine 2018-11-25 22:29:16 +01:00
Erik Johansson
d21ebe2d10 Merged PR #355 with some clean ups 2018-11-25 19:23:18 +01:00
Erik Johansson
3b5c1e9856 Minor cleanup 2018-11-25 19:22:19 +01:00
Erik Johansson
00362865a3 Whitespace fixes 2018-11-25 19:09:20 +01:00
Erik Johansson
197c863cfd Remove unused variables 2018-11-25 19:03:25 +01:00
Erik Johansson
5833d01161 Use BluetoothGattUuid.fromShortCode 2018-11-25 19:03:05 +01:00
Marco Gittler
70581f5c24 added initial Support for Senssun 2018-11-25 16:01:07 +01:00
Erik Johansson
559d17678c Stop scan before connecting to Medisana
Fixes #353 (hopefully)
2018-11-24 22:40:41 +01:00
Erik Johansson
4d09351f4a Add inlife to list of supported scales
Also add picture from #352
2018-11-21 11:04:00 +01:00
Erik Johansson
571604ba2a Synchronize log method
To avoid interleaved log messages as seen in #352.
2018-11-21 10:56:00 +01:00
Erik Johansson
74c8697406 Factor out common expression 2018-11-21 09:10:24 +01:00
Erik Johansson
ea0c5f3679 Inlife: clamp values to valid range 2018-11-21 08:44:57 +01:00
Erik Johansson
eb6e216287 Inlife: fix wrong calculation of visceral fat for long people (#352) 2018-11-21 08:44:18 +01:00
Erik Johansson
8ab7d17d7e Inlife: use doubles when doing the calculations 2018-11-21 08:43:51 +01:00
Erik Johansson
a3e4cdb977 Fix typo 2018-11-20 23:10:20 +01:00
Erik Johansson
3f3a891271 Use varargs construct instead of byte array 2018-11-20 22:05:32 +01:00
Erik Johansson
8740d55361 Recognize later revisions of inlife scales
But don't add any measurement as we need someone that owns the scale
to test the support.
2018-11-20 20:34:32 +01:00
Erik Johansson
38b1649dd5 Minor cleanup for #352 2018-11-20 19:28:15 +01:00
Erik Johansson
4943e4b749 Add support for visceral fat (#352) 2018-11-20 19:19:10 +01:00
Erik Johansson
afa9d3425e Ignore duplicate data and save LBM
Plus some cleanups. For #352
2018-11-20 16:30:25 +01:00
Erik Johansson
38e91f94f9 Use real values in scale set up #352 2018-11-20 13:49:44 +01:00
Erik Johansson
451e5a16f4 Send user set up message 2018-11-20 12:59:54 +01:00
Erik Johansson
44773dee1f Try to calculate fat, water, muscle and bone for inlife 2018-11-20 11:34:41 +01:00
Erik Johansson
967d720478 Skeleton for inlife scale (#352) 2018-11-20 11:06:08 +01:00