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

Switchbot Lock (and Raspbery Pi Zero) Support #232

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

brozef
Copy link

@brozef brozef commented Feb 13, 2024

Related issue: #90

based off the work in pySwitchbot

Release Notes

  • make compatible with ras pi zero w (node 12 max) by removing optional chaining operators

  • set correct manufacturerdata length for lock

  • add wolock encrypted command support

  • resolve discover even if no devices found

  • update readme

Testing

  • Tested with Switchbot Lock and node-switchbot running on Raspberry Pi Zero W
  • requires one off encryption key obtained externally see pySwitchbot for a python example. I might add a node version here in the future.

* make compatible with ras pi zero w (node 12 max)

* set correct manufacturerdata length for lock

* add wolock encrypted command support

* resolve discover even if no devices found

* update readme
@github-actions github-actions bot added enhancement New feature or request docs latest labels Feb 13, 2024
@donavanbecker donavanbecker changed the base branch from latest to beta-2.1.0 February 13, 2024 12:38
@donavanbecker
Copy link
Collaborator

donavanbecker commented Feb 13, 2024

Thank you! I have merged this into the Beta branch and will leave it in beta for a little before releasing

@donavanbecker donavanbecker merged commit 7553f11 into OpenWonderLabs:beta-2.1.0 Feb 13, 2024
6 checks passed
@donavanbecker
Copy link
Collaborator

donavanbecker commented Feb 13, 2024

@brozef can you add advertisement data for the Lock to the Readme, to a new PR?

donavanbecker added a commit that referenced this pull request Feb 13, 2024
## [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.0) (2024-04-XX)

### What's Changed
- Add Full Switchbot Lock Support [#232](#232), Thanks [@brozef](https://github.com/brozef)
- Housekeeping and update dependencies

**Full Changelog**: v2.0.3...v2.1.0
@brozef
Copy link
Author

brozef commented Feb 14, 2024

@donavanbecker no problem, just holding off as im seeing invalid service data but correct data on the info command, going look into that a bit more

@dnicolson dnicolson mentioned this pull request Apr 24, 2024
donavanbecker added a commit that referenced this pull request May 14, 2024
## [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.0) (2024-05-14)

### What's Changed
- Add Full Switchbot Lock Support [#232](#232), Thanks [@brozef](https://github.com/brozef)
- Fix TypeScript issues & warnings [#239](#239) [#240](#240) [#241](#241), Thanks [@dnicolson](https://github.com/dnicolson)
- Update Noble [#242](#242), Thanks [@dnicolson](https://github.com/dnicolson)
dnicolson
- Housekeeping and update dependencies

**Full Changelog**: v2.0.3...v2.1.0
@donavanbecker donavanbecker mentioned this pull request May 14, 2024
donavanbecker added a commit that referenced this pull request May 14, 2024
## [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.0) (2024-05-14)

### What's Changed
- Add Full Switchbot Lock Support [#232](#232), Thanks [@brozef](https://github.com/brozef)
- Fix TypeScript issues & warnings [#239](#239) [#240](#240) [#241](#241), Thanks [@dnicolson](https://github.com/dnicolson)
- Update Noble [#242](#242), Thanks [@dnicolson](https://github.com/dnicolson)
dnicolson 
- Housekeeping and update dependencies

**Full Changelog**: v2.0.3...v2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement New feature or request latest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants