bluetooth-gatt-parser icon indicating copy to clipboard operation
bluetooth-gatt-parser copied to clipboard

Support for Soma blinds

Open CrappyTan opened this issue 7 years ago • 2 comments

Support added for Soma blinds with gatt files.

Examples:

Number FrontRoomBlindsRight_Battery             "Front room blinds - Right - Battery [%.0f %]"                            {channel="bluetooth:ble:C1037491056C:180F-2A19-level"}
Switch FrontRoomBlindsRight_Connected           "Front room blinds - Right - Connected"                          {channel="bluetooth:ble:C1037491056C:connected"}
Switch FrontRoomBlindsRight_Online              "Front room blinds - Right - Online"                             {channel="bluetooth:ble:C1037491056C:online"}
Number FrontRoomBlindsRight_Position            "Front room blinds - Right - Position [%.0f %]"                           {channel="bluetooth:ble:C1037491056C:1861-1525-position"}
Number FrontRoomBlindsRight_Target              "Front room blinds - Right - Target"                             {channel="bluetooth:ble:C1037491056C:1861-1526-target"}
Number FrontRoomBlindsRight_MotorControl        "Front room blinds - Right - Motor"                              {channel="bluetooth:ble:C1037491056C:1861-1530-target"}
Number FrontRoomBlindsRight_RSSI        "Front room blinds - Right - RSSI"                              {channel="bluetooth:ble:C1037491056C:rssi"}

CrappyTan avatar Sep 16 '18 19:09 CrappyTan

Hi @CrispinP, you are nearly there. The build fails because 'type' attribute does not match to file name:

type="org.bluetooth.characteristic.somablind"

I'd suggest to name it (files and 'type' attribute) like

com.somasmarthome.blind.<char_name/or service_name>

This is just to prevent a big mess when ppl start to contribute more...

vkolotov avatar Sep 16 '18 20:09 vkolotov

Ok, I'll get this changed asap and resubmit them. #FirstTimeOnGitHub :)

CrappyTan avatar Sep 18 '18 22:09 CrappyTan