| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:7378fb46-b2bb-29c3-1452-81cf8e367426 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 92C6:0D3B:3E15C5:55D5F2:6AEDB547 |
| html-safe-nonce | f124ba0b62b883d64dc711d1b10ac60cb900e7f73e1297baff452d04d24e3a86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkM2OjBEM0I6M0UxNUM1OjU1RDVGMjo2QUVEQjU0NyIsInZpc2l0b3JfaWQiOiIyODY3MjUyMjE3OTI1OTczMzE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 42a687002f09bf9aa44cf52aad865ed7ee469b62a8edc6652ac87cd1e70d629d |
| hovercard-subject-tag | repository:487142121 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md |
| twitter:image | https://opengraph.githubassets.com/c5c3964865cc021ba189ea731112434cbf305e7e4b895eb05d43e381487077c5/OpenWonderLabs/SwitchBotAPI-BLE |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5c3964865cc021ba189ea731112434cbf305e7e4b895eb05d43e381487077c5/OpenWonderLabs/SwitchBotAPI-BLE |
| og:image:alt | SwitchBot BLE open API. Contribute to OpenWonderLabs/SwitchBotAPI-BLE development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e40242599af5e7da0f281843dec7492c322688d4a48caeea85f9fb8e41c8ea53 |
| turbo-cache-control | no-cache |
| go-import | github.com/OpenWonderLabs/SwitchBotAPI-BLE git https://github.com/OpenWonderLabs/SwitchBotAPI-BLE.git |
| octolytics-dimension-user_id | 25906480 |
| octolytics-dimension-user_login | OpenWonderLabs |
| octolytics-dimension-repository_id | 487142121 |
| octolytics-dimension-repository_nwo | OpenWonderLabs/SwitchBotAPI-BLE |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 487142121 |
| octolytics-dimension-repository_network_root_nwo | OpenWonderLabs/SwitchBotAPI-BLE |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 89cbf2bb52a24fc179bf5925abba0ba574b262ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenWonderLabs%2FSwitchBotAPI-BLE%2Fblob%2Flatest%2Fdevicetypes%2Fcontactsensor.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenWonderLabs%2FSwitchBotAPI-BLE%2Fblob%2Flatest%2Fdevicetypes%2Fcontactsensor.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=OpenWonderLabs%2FSwitchBotAPI-BLE |
| Reload | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md |
| Reload | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md |
| Reload | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md |
| OpenWonderLabs | https://github.com/OpenWonderLabs |
| SwitchBotAPI-BLE | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE |
| Code | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE |
| Issues6 (6) | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/issues |
| Pull requests | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/pulls |
| Discussions | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/discussions |
| Actions | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/actions |
| Security and quality | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/security |
| Insights | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/pulse |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE |
| SwitchBotAPI-BLE | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest |
| devicetypes | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest/devicetypes |
| History | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/commits/latest/devicetypes/contactsensor.md |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/commits/latest/devicetypes/contactsensor.md |
| SwitchBotAPI-BLE | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest |
| devicetypes | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest/devicetypes |
| Raw | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/raw/refs/heads/latest/devicetypes/contactsensor.md |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#contact-sensor-ble-open-api |
| Contact Sensor Broadcast Message | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#contact-sensor-broadcast-message |
| BLE communication packet basic format | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#ble-communication-packet-basic-format |
| 0x00 General Command | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x00-general-command |
| 0x11 Get device status data | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x11-get-device-status-data |
| 0x02 Get device basic information command | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x02-get-device-basic-information-command |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#contact-sensor-broadcast-message |
| https://camo.githubusercontent.com/1a13b27f177fbe6b834b7a832cf5ce3a783610bb671d392bc8adfb782a4b082c/68747470733a2f2f737769746368626f742d6f70656e2d6170692e73332e616d617a6f6e6177732e636f6d2f436f6e746163742b53656e736f722b6f70656e2b6170692f626f617264636173745f312e706e67 |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#ble-communication-packet-basic-format |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#rx-characteristic-uuid-of-the-message-from-the-terminal-to-the-device |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#tx-characteristic-uuid-of-the-message-from-the-device-to-the-terminal |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x00-general-command |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x11-get-device-status-data |
| https://camo.githubusercontent.com/87814971d14503b34d396a805437f636cc2e45241cbb259fc634414a5e3397a2/68747470733a2f2f737769746368626f742d6f70656e2d6170692e73332e616d617a6f6e6177732e636f6d2f436f6e746163742b53656e736f722b6f70656e2b6170692f3537303031312e706e67 |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#0x02-get-device-basic-information-command |
| https://camo.githubusercontent.com/c9853dcc3eb9ed7b9424312a12b9d5f6a541f3025f834feefd15d57e256417b0/68747470733a2f2f737769746368626f742d6f70656e2d6170692e73332e616d617a6f6e6177732e636f6d2f436f6e746163742b53656e736f722b6f70656e2b6170692f353730322e706e67 |
| Home | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/ |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#back-to-home |
| Device Types | https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/README.md |
| https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#back-to-device-types |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |