{"action":"created","issue":{"url":"https://api.github.com/repos/oliexdev/openScale/issues/159","repository_url":"https://api.github.com/repos/oliexdev/openScale","labels_url":"https://api.github.com/repos/oliexdev/openScale/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/oliexdev/openScale/issues/159/comments","events_url":"https://api.github.com/repos/oliexdev/openScale/issues/159/events","html_url":"https://github.com/oliexdev/openScale/issues/159","id":290487771,"node_id":"MDU6SXNzdWUyOTA0ODc3NzE=","number":159,"title":"Add support for 1byone scale","user":{"login":"dinki","id":2521542,"node_id":"MDQ6VXNlcjI1MjE1NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/2521542?v=4","gravatar_id":"","url":"https://api.github.com/users/dinki","html_url":"https://github.com/dinki","followers_url":"https://api.github.com/users/dinki/followers","following_url":"https://api.github.com/users/dinki/following{/other_user}","gists_url":"https://api.github.com/users/dinki/gists{/gist_id}","starred_url":"https://api.github.com/users/dinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinki/subscriptions","organizations_url":"https://api.github.com/users/dinki/orgs","repos_url":"https://api.github.com/users/dinki/repos","events_url":"https://api.github.com/users/dinki/events{/privacy}","received_events_url":"https://api.github.com/users/dinki/received_events","type":"User","site_admin":false},"labels":[{"id":834987303,"node_id":"MDU6TGFiZWw4MzQ5ODczMDM=","url":"https://api.github.com/repos/oliexdev/openScale/labels/scale%20support","name":"scale support","color":"c6e055","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":125,"created_at":"2018-01-22T14:40:17Z","updated_at":"2018-08-18T06:49:26Z","closed_at":null,"author_association":"NONE","body":"I'm writing in hopes that you can add 1byone BT scale (https://www.amazon.com/1byone-Bluetooth-Wireless-Bathroom-Visceral/dp/B01FHELB56/)  to your list of supported devices.  I received this as a gift from my wife but it is tied to a proprietary app that leaves much to be desired.\r\n\r\nWhile I am much more of a hacker than a programmer, I am pretty sure that this is possible as someone has written some software that pulls the information from the scale:\r\n\r\nhttps://github.com/ec1oud/qt-ble-weightscale\r\n\r\nFurther, I was able to use BT Snoop to pull the log where the scale connects and passes the information on to the phone.  You can see the same type of information listed at the above repo here:\r\n\r\nhttps://github.com/ec1oud/qt-ble-weightscale/blob/master/doc/notes.txt\r\n\r\nHere's what it looks like:\r\n\r\n\r\n```\r\nFrame 13693: 32 bytes on wire (256 bits), 32 bytes captured (256 bits)\r\nBluetooth\r\nBluetooth HCI H4\r\nBluetooth HCI Event - LE Meta\r\n    Event Code: LE Meta (0x3e)\r\n    Parameter Total Length: 29\r\n    Sub Event: LE Advertising Report (0x02)\r\n    Num Reports: 1\r\n    Event Type: Connectable Undirected Advertising (0x00)\r\n    Peer Address Type: Public Device Address (0x00)\r\n    BD_ADDR: TexasIns_2a:8d:a6 (f0:c7:7f:2a:8d:a6)\r\n    Data Length: 17\r\n    Advertising Data\r\n        Flags\r\n            Length: 2\r\n            Type: Flags (0x01)\r\n            000. .... = Reserved: 0x0\r\n            ...0 .... = Simultaneous LE and BR/EDR to Same Device Capable (Host): false (0x0)\r\n            .... 0... = Simultaneous LE and BR/EDR to Same Device Capable (Controller): false (0x0)\r\n            .... .1.. = BR/EDR Not Supported: true (0x1)\r\n            .... ..0. = LE General Discoverable Mode: false (0x0)\r\n            .... ...1 = LE Limited Discoverable Mode: true (0x1)\r\n        16-bit Service Class UUIDs (incomplete)\r\n            Length: 3\r\n            Type: 16-bit Service Class UUIDs (incomplete) (0x02)\r\n            UUID 16: Unknown (0xfff0)\r\n        Manufacturer Specific\r\n            Length: 9\r\n            Type: Manufacturer Specific (0xff)\r\n            Company ID: Ericsson Technology Licensing (0x0000)\r\n            Data: f0c77f2a8da6\r\n    RSSI (dB): -60\r\n\r\nFrame 13694: 33 bytes on wire (264 bits), 33 bytes captured (264 bits)\r\nBluetooth\r\nBluetooth HCI H4\r\nBluetooth HCI Event - LE Meta\r\n    Event Code: LE Meta (0x3e)\r\n    Parameter Total Length: 30\r\n    Sub Event: LE Advertising Report (0x02)\r\n    Num Reports: 1\r\n    Event Type: Scan Response (0x04)\r\n    Peer Address Type: Public Device Address (0x00)\r\n    BD_ADDR: TexasIns_2a:8d:a6 (f0:c7:7f:2a:8d:a6)\r\n    Data Length: 18\r\n    Advertising Data\r\n        Device Name: Electronic Scale\r\n            Length: 17\r\n            Type: Device Name (0x09)\r\n            Device Name: Electronic Scale\r\n    RSSI (dB): -60\r\n\r\nFrame 13721: 14 bytes on wire (112 bits), 14 bytes captured (112 bits)\r\nBluetooth\r\nBluetooth HCI H4\r\nBluetooth HCI ACL Packet\r\nBluetooth L2CAP Protocol\r\nBluetooth Attribute Protocol\r\n    Opcode: Write Request (0x12)\r\n        0... .... = Authentication Signature: False\r\n        .0.. .... = Command: False\r\n        ..01 0010 = Method: Write Request (0x12)\r\n    Handle: 0x0015 (Unknown: Unknown: Client Characteristic Configuration)\r\n        [Service UUID: Unknown (0xfff0)]\r\n        [Characteristic UUID: Unknown (0xfff4)]\r\n        [UUID: Client Characteristic Configuration (0x2902)]\r\n    Characteristic Configuration Client: 0x0001, Notification\r\n        0000 0000 0000 00.. = Reseved: 0x0000\r\n        .... .... .... ..0. = Indication: False\r\n        .... .... .... ...1 = Notification: True\r\n    [Response in Frame: 13722]\r\n\r\nFrame 13722: 10 bytes on wire (80 bits), 10 bytes captured (80 bits)\r\nBluetooth\r\nBluetooth HCI H4\r\nBluetooth HCI ACL Packet\r\nBluetooth L2CAP Protocol\r\nBluetooth Attribute Protocol\r\n    Opcode: Write Response (0x13)\r\n        0... .... = Authentication Signature: False\r\n        .0.. .... = Command: False\r\n        ..01 0011 = Method: Write Response (0x13)\r\n    [Handle: 0x0015 (Unknown: Unknown: Client Characteristic Configuration)]\r\n        [Service UUID: Unknown (0xfff0)]\r\n        [Characteristic UUID: Unknown (0xfff4)]\r\n        [UUID: Client Characteristic Configuration (0x2902)]\r\n    [Request in Frame: 13721]\r\n\r\nFrame 1965: 28 bytes on wire (224 bits), 28 bytes captured (224 bits)\r\nBluetooth\r\n    [Source: TexasIns_2a:8d:a6 (f0:c7:7f:2a:8d:a6)]\r\n    [Destination: AsustekC_7e:22:04 (50:46:5d:7e:22:04)]\r\nBluetooth HCI H4\r\nBluetooth HCI ACL Packet\r\nBluetooth L2CAP Protocol\r\nBluetooth Attribute Protocol\r\n    Opcode: Handle Value Notification (0x1b)\r\n    Handle: 0x0014 (Unknown: Unknown)\r\n    Value: cf01adaa0404015b1e026c1301cd0599\r\n\r\ncf01adaa 0414 015e 1c02 7013 01ca059c\r\n104.4 kg, fat 35%, water 45.8%, muscle 62.4kg, bone 2.8kg\r\n\r\ncf01adaa 0406 015b 1e 026d 13 01cd 0599\r\n103.0 kg, fat 34.7%, water 46.1%, muscle 62.1kg, bone 3.0kg, BMR 1433 kcal\r\n\r\n0x0406: 1030  kg\r\n0x015b: 347 fat\r\n0x1e: 30 bone\r\n0x026d: 621 muscle\r\n0x13: 19 visceral fat\r\n0x01cd: 461  water\r\n0x0599: 1433  BMR\r\n```\r\n\r\n\r\nI am certainly willing to do testing on this if someone can decrypt the handshake and add the functionality to openScale.\r\n\r\nLet me know what you think!\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/oliexdev/openScale/issues/comments/414037004","html_url":"https://github.com/oliexdev/openScale/issues/159#issuecomment-414037004","issue_url":"https://api.github.com/repos/oliexdev/openScale/issues/159","id":414037004,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDAzNzAwNA==","user":{"login":"oliexdev","id":10166185,"node_id":"MDQ6VXNlcjEwMTY2MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/10166185?v=4","gravatar_id":"","url":"https://api.github.com/users/oliexdev","html_url":"https://github.com/oliexdev","followers_url":"https://api.github.com/users/oliexdev/followers","following_url":"https://api.github.com/users/oliexdev/following{/other_user}","gists_url":"https://api.github.com/users/oliexdev/gists{/gist_id}","starred_url":"https://api.github.com/users/oliexdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliexdev/subscriptions","organizations_url":"https://api.github.com/users/oliexdev/orgs","repos_url":"https://api.github.com/users/oliexdev/repos","events_url":"https://api.github.com/users/oliexdev/events{/privacy}","received_events_url":"https://api.github.com/users/oliexdev/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T06:49:26Z","updated_at":"2018-08-18T06:49:26Z","author_association":"OWNER","body":"The value changed only slightly."}}
{"actor":{"display_login":"oliexdev"}}