{"action":"created","issue":{"url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/8","repository_url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser","labels_url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/8/comments","events_url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/8/events","html_url":"https://github.com/sputnikdev/bluetooth-gatt-parser/issues/8","id":357845948,"node_id":"MDU6SXNzdWUzNTc4NDU5NDg=","number":8,"title":"Soma blinds ","user":{"login":"CrispinP","id":27884877,"node_id":"MDQ6VXNlcjI3ODg0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/27884877?v=4","gravatar_id":"","url":"https://api.github.com/users/CrispinP","html_url":"https://github.com/CrispinP","followers_url":"https://api.github.com/users/CrispinP/followers","following_url":"https://api.github.com/users/CrispinP/following{/other_user}","gists_url":"https://api.github.com/users/CrispinP/gists{/gist_id}","starred_url":"https://api.github.com/users/CrispinP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrispinP/subscriptions","organizations_url":"https://api.github.com/users/CrispinP/orgs","repos_url":"https://api.github.com/users/CrispinP/repos","events_url":"https://api.github.com/users/CrispinP/events{/privacy}","received_events_url":"https://api.github.com/users/CrispinP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-06T22:06:58Z","updated_at":"2018-09-11T17:13:37Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nedit: I removed the weird copy/paste stuff above :)\r\n\r\nCould someone help with the gatt files? The binding is picking up the Soma Blinds but does not seem to be using the gatt files and showing the rest of the characteristics\r\n\r\nI’ve got it in a folder which has access by openhab user. Folder is alongside the items and things folders.\r\n\r\norg.bluetooth.characteristic.blind_position.xml\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?><!--Copyright 2011 Bluetooth SIG, Inc. All rights reserved.-->\r\n<Characteristic xsi:noNamespaceSchemaLocation=\"http://schemas.bluetooth.org/Documents/characteristic.xsd\"\r\n                xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" name=\"Blind Position\"\r\n                type=\"org.bluetooth.characteristic.blind_position\" uuid=\"1525\" last-modified=\"2011-12-05\"\r\n                approved=\"No\">\r\n    <InformativeText>\r\n        <Abstract>\r\n\t\t\tPosition of blinds\r\n        </Abstract>\r\n    </InformativeText>\r\n    <Value>\r\n        <Field name=\"Position\">\r\n            <Requirement>Mandatory</Requirement>\r\n            <Format>uint8</Format>\r\n            <Unit>org.bluetooth.unit.percentage</Unit>\r\n            <Minimum>0</Minimum>\r\n            <Maximum>100</Maximum>\r\n            <Enumerations>\r\n                <Reserved start=\"101\" end=\"255\"/>\r\n            </Enumerations>\r\n        </Field>\r\n    </Value>\r\n</Characteristic>\r\n\r\n```\r\norg.bluetooth.service.blind_position.xml\r\n\r\n```\r\n<Service xsi:noNamespaceSchemaLocation=\"http://schemas.bluetooth.org/Documents/service.xsd\"\r\n         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" name=\"Soma Blinds\"\r\n         type=\"org.bluetooth.service.blind_position\" uuid=\"1861\" last-modified=\"2018-09-06\">\r\n<InformativeText>\r\n    <Abstract>\r\n        Soma Blinds control\r\n    </Abstract>\r\n    <Summary>\r\n        Controller for Soma Blinds\r\n    </Summary>\r\n</InformativeText>\r\n<Dependencies>\r\n    <Dependency>This service has no dependencies on other GATT-based services.</Dependency>\r\n</Dependencies>\r\n<GATTRequirements>\r\n    <Requirement subProcedure=\"Write Characteristic Value\">Mandatory</Requirement>\r\n    <Requirement subProcedure=\"Notification\">Mandatory</Requirement>\r\n    <Requirement subProcedure=\"Read Characteristic Descriptors\">Mandatory</Requirement>\r\n    <Requirement subProcedure=\"Write Characteristic Descriptors\">Mandatory</Requirement>\r\n</GATTRequirements>\r\n<Transports>\r\n    <Classic>false</Classic>\r\n    <LowEnergy>true</LowEnergy>\r\n</Transports>\r\n<ErrorCodes>\r\n</ErrorCodes>\r\n<Characteristics>\r\n    <Characteristic name=\"Blind Position\"\r\n                    type=\"org.bluetooth.characteristic.blind_position\">\r\n        <InformativeText>Blind control\r\n        </InformativeText>\r\n        <Requirement>Mandatory</Requirement>\r\n        <Properties>\r\n            <Read>Excluded</Read>\r\n            <Write>Excluded</Write>\r\n            <WriteWithoutResponse>Excluded</WriteWithoutResponse>\r\n            <SignedWrite>Excluded</SignedWrite>\r\n            <ReliableWrite>Excluded</ReliableWrite>\r\n            <Notify>Excluded</Notify>\r\n            <Indicate>Mandatory</Indicate>\r\n            <WritableAuxiliaries>Excluded</WritableAuxiliaries>\r\n            <Broadcast>Excluded</Broadcast>\r\n        </Properties>\r\n    </Characteristic>\r\n</Characteristics>\r\n</Service>\r\n\r\n```\r\nThe blinds have 4 characteristics - I’ve just tried to get the one working thus far.\r\nfrom a python file I currently use control.py -\r\n\r\n# battery\r\nBATTERY_SERVICE_UUID \t\t\t\t\t= \"0000180f-0000-1000-8000-00805f9b34fb\".lower()\r\nBATTERY_CHARACTERISTIC_UUID \t\t\t= \"00002a19-0000-1000-8000-00805f9b34fb\".lower()\r\n\r\n# motor control\r\nMOTOR_SERVICE_UUID \t\t\t\t\t\t= \"00001861-B87F-490C-92CB-11BA5EA5167C\".lower()\r\nMOTOR_STATE_CHARACTERISTIC_UUID \t\t= \"00001525-B87F-490C-92CB-11BA5EA5167C\".lower()\r\nMOTOR_CONTROL_CHARACTERISTIC_UUID \t\t= \"00001530-B87F-490C-92CB-11BA5EA5167C\".lower()\r\nMOTOR_TARGET_CHARACTERISTIC_UUID \t\t= \"00001526-B87F-490C-92CB-11BA5EA5167C\".lower()\r\nMOTOR_MOVE_UP = 69\r\nMOTOR_MOVE_DOWN = 96\r\n\r\nOriginal py file is here https://github.com/paolotremadio/SOMA-Smart-Shades-HTTP-API\r\n\r\nThanks \r\n"},"comment":{"url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/comments/420349657","html_url":"https://github.com/sputnikdev/bluetooth-gatt-parser/issues/8#issuecomment-420349657","issue_url":"https://api.github.com/repos/sputnikdev/bluetooth-gatt-parser/issues/8","id":420349657,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDM0OTY1Nw==","user":{"login":"CrispinP","id":27884877,"node_id":"MDQ6VXNlcjI3ODg0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/27884877?v=4","gravatar_id":"","url":"https://api.github.com/users/CrispinP","html_url":"https://github.com/CrispinP","followers_url":"https://api.github.com/users/CrispinP/followers","following_url":"https://api.github.com/users/CrispinP/following{/other_user}","gists_url":"https://api.github.com/users/CrispinP/gists{/gist_id}","starred_url":"https://api.github.com/users/CrispinP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrispinP/subscriptions","organizations_url":"https://api.github.com/users/CrispinP/orgs","repos_url":"https://api.github.com/users/CrispinP/repos","events_url":"https://api.github.com/users/CrispinP/events{/privacy}","received_events_url":"https://api.github.com/users/CrispinP/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T17:13:37Z","updated_at":"2018-09-11T17:13:37Z","author_association":"NONE","body":"I was starting to wonder ;)\r\n\r\nOk, so here is the info - \r\nMy file location\r\n`/mnt/usb/openhab/conf/GATT`\r\n\r\nI chmod' them to 777.\r\nThe GATT folder sits alongside the items and rules folders.\r\n\r\n`[17:49:50] root@homeauto:~# ls -l /mnt/usb/openhab/conf/GATT/\r\ntotal 8\r\ndrwxrwxrwx 2 openhab openhab 4096 Sep  8 06:43 characteristic\r\ndrwxrwxrwx 2 openhab openhab 4096 Sep  8 06:43 service\r\n`\r\n`18:06:00.575 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_MotionSensor_Illumination changed from 95 to 100\r\n18:06:00.663 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_MotionSensor_LastMotion changed from 2018-09-11T18:05:00.086+0100 to 2018-09-11T18:06:00.592+0100\r\n18:06:00.765 [INFO ] [smarthome.event.ItemStateChangedEvent] - Server_Radarr_Latency changed from 9.0 to 10.0\r\n18:06:00.861 [INFO ] [smarthome.event.ItemStateChangedEvent] - Server_UBNT_Latency changed from 16.0 to 19.0\r\n18:06:00.948 [INFO ] [home.event.GroupItemStateChangedEvent] - g_Servers_Latency changed from 16.0 to 19.0 through Server_UBNT_Latency\r\n18:06:01.252 [ERROR] [e.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException\r\n18:06:01.355 [ERROR] [ome.model.script.Blinds - getPosition] - null\r\n18:06:01.417 [INFO ] [ipt.Blinds - Front room - getPosition] - Unlocked\r\n18:06:01.591 [WARN ] [home.model.script.Blinds - Front room] - getPosition - Waiting on other locks. Count:1\r\n18:06:01.753 [INFO ] [ipt.Blinds - Front room - getPosition] - Locked\r\n18:06:01.795 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel online is linked although the handler was already disposed.\r\n18:06:01.781 [INFO ] [smarthome.event.InboxRemovedEvent    ] - Discovery Result with UID 'bluetooth:ble:F395303EDD4A' has been removed.\r\n18:06:02.030 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel last-updated is linked although the handler was already disposed.\r\n18:06:02.353 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel rssi is linked although the handler was already disposed.\r\n18:06:02.569 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel tx-power is linked although the handler was already disposed.\r\n18:06:02.686 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.004611 to 1.080449\r\n18:06:02.817 [ERROR] [e.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException\r\n18:06:02.795 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel estimated-distance is linked although the handler was already disposed.\r\n18:06:02.948 [ERROR] [ome.model.script.Blinds - getPosition] - null\r\n18:06:02.856 [INFO ] [home.event.GroupItemStateChangedEvent] - g_Appliances_Power_Sum changed from 84.004611 to 84.080449 through TumbleDryer_Power\r\n18:06:03.253 [INFO ] [ipt.Blinds - Front room - getPosition] - Unlocked\r\n18:06:03.196 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel adapter is linked although the handler was already disposed.\r\n18:06:03.635 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel location is linked although the handler was already disposed.\r\n18:06:03.811 [INFO ] [smarthome.event.ItemStateChangedEvent] - WashingMachine_Power changed from 0.0 to 0.287324\r\n18:06:03.886 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel connected is linked although the handler was already disposed.\r\n18:06:03.985 [INFO ] [home.event.GroupItemStateChangedEvent] - g_Appliances_Power_Sum changed from 84.080449 to 84.367773 through WashingMachine_Power\r\n18:06:04.208 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel connection-control is linked although the handler was already disposed.\r\n18:06:04.507 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel connected-adapter is linked although the handler was already disposed.\r\n18:06:04.804 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler BluetoothDeviceHandler of thing bluetooth:ble:F395303EDD4A tried checking if channel authenticated is linked although the handler was already disposed.\r\n18:06:05.035 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'bluetooth:ble:F395303EDD4A' changed from UNINITIALIZED to INITIALIZING\r\n18:06:05.057 [WARN ] [e.core.thing.binding.BaseThingHandler] - BaseThingHandler.initialize() will be removed soon, ThingStatus can be set manually via updateStatus(ThingStatus.ONLINE)\r\n18:06:05.102 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'bluetooth:ble:F395303EDD4A' has been updated.\r\n18:06:05.282 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'bluetooth:ble:F395303EDD4A' changed from INITIALIZING to ONLINE\r\n18:06:07.012 [INFO ] [ghtwaverf.internal.LightwaveRfBinding] - Update from LightwaveRf ItemName[Power_Solar_prxy], State[144]\r\n18:06:07.749 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.080449 to 4.454213\r\n18:06:07.808 [INFO ] [home.event.GroupItemStateChangedEvent] - g_Appliances_Power_Sum changed from 84.367773 to 87.741537 through TumbleDryer_Power\r\n18:06:08.863 [INFO ] [smarthome.event.ItemStateChangedEvent] - WashingMachine_Power changed from 0.287324 to 0.0\r\n18:06:08.921 [INFO ] [home.event.GroupItemStateChangedEvent] - g_Appliances_Power_Sum changed from 87.741537 to 87.454213 through WashingMachine_Power\r\n18:06:09.496 [INFO ] [ghtwaverf.internal.LightwaveRfBinding] - Update from LightwaveRf ItemName[Power_Main], State[800]\r\n18:06:09.562 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 1071 to 800\r\n18:06:09.781 [INFO ] [smarthome.event.ItemStateChangedEvent] - server_son_main_current changed from 0.524 to 0.515\r\n`\r\n\r\nI cannot see it log anything for the parser. \r\n\r\n\r\nI have the following installed - \r\n![image](https://user-images.githubusercontent.com/27884877/45375892-3ae91d80-b5ee-11e8-8f72-279b400ef050.png)\r\n\r\nConfused....\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"CrispinP"}}