{"action":"created","issue":{"url":"https://api.github.com/repos/oliexdev/openScale/issues/74","repository_url":"https://api.github.com/repos/oliexdev/openScale","labels_url":"https://api.github.com/repos/oliexdev/openScale/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/oliexdev/openScale/issues/74/comments","events_url":"https://api.github.com/repos/oliexdev/openScale/issues/74/events","html_url":"https://github.com/oliexdev/openScale/issues/74","id":260751658,"number":74,"title":"Help to add support for lumsing SmartScale","user":{"login":"chemstar","id":1132739,"avatar_url":"https://avatars0.githubusercontent.com/u/1132739?v=4","gravatar_id":"","url":"https://api.github.com/users/chemstar","html_url":"https://github.com/chemstar","followers_url":"https://api.github.com/users/chemstar/followers","following_url":"https://api.github.com/users/chemstar/following{/other_user}","gists_url":"https://api.github.com/users/chemstar/gists{/gist_id}","starred_url":"https://api.github.com/users/chemstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemstar/subscriptions","organizations_url":"https://api.github.com/users/chemstar/orgs","repos_url":"https://api.github.com/users/chemstar/repos","events_url":"https://api.github.com/users/chemstar/events{/privacy}","received_events_url":"https://api.github.com/users/chemstar/received_events","type":"User","site_admin":false},"labels":[{"id":157090072,"url":"https://api.github.com/repos/oliexdev/openScale/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-09-26T20:03:29Z","updated_at":"2017-10-03T11:30:15Z","closed_at":null,"author_association":"NONE","body":"Hi, following the wiki tutorial from this page i've re engineered some informations from my own bt scale.  so far i've discovered following:\r\n\r\n**lumsing SmartScale CF369BLE**\r\nhttp://en.lefu.cc/intelligent/22.html\r\n\r\n**BT-Description:**\r\nName: Electronic Scale\r\nUUIDs:  65520\r\n             Custom Service: f000ffc0-0451-4000-b000-000000000000 ?\r\n**BLE-Apps:**\r\nConnection: fail\r\nType: LE only\r\nFlags: LimitedDiscoverable\r\n          BrEdrNotSupported\r\nIncomplete List of 16-bis Service UUIDs:\r\n  0xFFF0\r\n  0000FFF0-0000-1000-8000-00805f9b34fb\r\n**Reversed from Orig. Scale-App (some readable UUIDs):**\r\n        \"%08x-0000-1000-8000-00805f9b34fb\"\r\n \"00001101-0000-1000-8000-00805F9B34FB\"\r\n \"0000\" + var2 + \"-0000-1000-8000-00805f9b34fb\"\r\n\r\n**Wireshark:**\r\n[localhost] \r\n_Write Request  \t\t       0x0012\r\n_Handle         \t\t\t       0x0012\r\n_Value          \t\t\t       fe 01 01 01 b8 26 01 9e  (check EXP. A)\r\n[scale]\t\t\r\n_Write Response \t\t       0x0013 \r\n_Handle \t\t \t\t       0x0012\r\n_Value\t\t\t \t       no data\r\n[localhost] \r\n_Write Request  \t\t        0x0012\r\n_Handle \t\t \t\t        0x0015 \r\n_Value \t\t \t\t        01 00\r\n[scale]\t\t\r\n_Write Response \t\t\t0x0013\r\n_Handle \t\t \t\t\t0x0015\r\n_Value\t\t\t \t\tno data\r\n[scale]\t\t\r\n_Handle Value Notification     0x1b\r\n_Handle \t\t \t\t\t0x0014\r\n_Value\t\t\t\t\tcf 11 a6 b8 03 ad 00 b0 20 02 8c 0e 02 0d 07 64 (check EXP. B)\r\n[scale] - 1xrepeated\t\t\r\n_Handle Value Notofication\t0x1b\r\n_Handle \t\t \t\t\t0x0014\r\n_Value\t\t\t\t\tcf 11 a6 b8 03 ad 00 b0 20 02 8c 0e 02 0d 07 64 (check EXP. B)\r\n\r\n_EXP. A_\r\nfe 01 01 01 b8 26 01 9e\r\nfe - always set\r\n01 - Ugroup\t ,P0-P9\r\n01 - sex \t\t ,00/01 \t        women/men\r\n01 - level \t ,00/01/02 \tordinary/amateur/professional\r\nb8 - height\r\n26 - age\r\n01 - unit\t\t ,01/02/04\tkg/lb/st:lb/st \r\n9e - checksum 8 xor\r\n\r\n_EXP. B_\r\ncf 11 a6 b8 03 ad 00 b0 20 02 8c 0e 02 0d 07 64\r\n      cf - sclae type \t        ,cf/cb/ce BODY_SCALE/BABY_SCALE/BATHROOM_SCALE\r\n       1 - level\r\n       1 - Ugroup\r\n     a6 - sex/age combined (1010 0110, first bit from left sex, rest age 0x26)\r\n     b8 - height\t\t\t (cm)\r\n03 ad - weight\t\t\t (kg)\r\n00 b0 - body fat\t\t (%)\r\n     20 - bone\t\t\t (kg)\r\n02 82 - muscle mass\t (kg)\r\n     0e - visceral fat\t ()\r\n02 0d - body water\t\t (%)\r\n07 64 - bmr \t\t\t (kcal) \r\n\r\ni hope the device can get be supported by the app.  thx"},"comment":{"url":"https://api.github.com/repos/oliexdev/openScale/issues/comments/333814437","html_url":"https://github.com/oliexdev/openScale/issues/74#issuecomment-333814437","issue_url":"https://api.github.com/repos/oliexdev/openScale/issues/74","id":333814437,"user":{"login":"chemstar","id":1132739,"avatar_url":"https://avatars0.githubusercontent.com/u/1132739?v=4","gravatar_id":"","url":"https://api.github.com/users/chemstar","html_url":"https://github.com/chemstar","followers_url":"https://api.github.com/users/chemstar/followers","following_url":"https://api.github.com/users/chemstar/following{/other_user}","gists_url":"https://api.github.com/users/chemstar/gists{/gist_id}","starred_url":"https://api.github.com/users/chemstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemstar/subscriptions","organizations_url":"https://api.github.com/users/chemstar/orgs","repos_url":"https://api.github.com/users/chemstar/repos","events_url":"https://api.github.com/users/chemstar/events{/privacy}","received_events_url":"https://api.github.com/users/chemstar/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T11:30:15Z","updated_at":"2017-10-03T11:30:15Z","author_association":"NONE","body":"thx oli,\r\n\r\n> additional new data dialog would be usefull asking the user for commiting new data\r\n>>you can already add new data. Just click on the plus button on the bottom in the overview tab.\r\n\r\ni didn't mean the manual input, but input over bt. \r\non enabled \"smartUserAssign\" and selected user\"A\" the meassurement for user\"B\" will be added to the correct profile but without any visible feedback.\r\n\r\n>Support for additional informations (check iwellness4 app) like BMI scale, bone weight, bmr, visceral fat, user levels (if even possible). i can give support if needed.\r\n>>BMI, bone weight, BMR are already supported. What do you mean with user levels?\r\n\r\nin the scale app i got an option to set different user levels:\r\n01 - level ,00/01/02 ordinary/amateur/professional (fe 01 01 \"01\" (<- this one) b8 26 01 9e)\r\n\r\n**explaination:**\r\n* Ordinary: people who do exercise less than or equal to two days per week\r\n* Amatheur athletes: people who do professional exercise lass than or equal to 5 days per week\r\n* Professional athletes: people who do professional exercise evry day.\r\nDepending on this param scale does the calculation. \r\n\r\n**additional:**\r\n- gui (table view):\r\ntable view shows the last data entry even when the last entry is deleted (refresh needed). diagramm/stats doesn't show anything about this entry.\r\n\r\n- BluetoothCommunication.startSearching(...)\r\nshouldn't be better to call stopLeScan() before device.connectGatt(context, false, gattCallback)\r\n"}}
{"actor":{"display_login":"chemstar"}}