Skip to content

Conversation

CrappyTan
Copy link

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"}

Gatt files to enable support for soma blinds.
Support for Soma blinds
@vkolotov
Copy link
Collaborator

vkolotov commented Sep 16, 2018

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...

@CrappyTan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants