Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Soma blinds #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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