Git Product home page Git Product logo

homebridge-open-sesame's Introduction

homebridge-open-sesame

GitHub Release npm Release

Lint & Build npm Download Total

verified-by-homebridge

Homebridge plugin for SESAME3, SESAME4, SESAME5 and SESAME bot.

Features

  • Real time status update support(even when manual lock/unlock).
  • No status polling(Limit Exceeded avoidance)
  • SESAME bot and SESAME5 support.

Install

npm install -g homebridge-open-sesame

Configuration

Configure with UI

Configure with Homebridge Config UI X is recommended.

config-ui

Configure with config.json

{
  "platforms": [
    {
      "platform": "OpenSesame",
      "name": "Open Sesame",
      "apiKey": "API_KEY from candyhouse developer site",
      "locks": [
        {
          "name": "SESAME4 name",
          "uuid": "UUID from Sesame.app",
          "secret": "Key Secret"
        }
      ]
    }
  ]
}

Credits

  • Cognito integration code based on pysesame3.

homebridge-open-sesame's People

Contributors

dependabot[bot] avatar renovate-bot avatar renovate[bot] avatar yasuoza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-open-sesame's Issues

Cannot control Sesame

Since few days ago, the plugin cannot open/lock Sesame.
It can fetch status of Sesame if it is locked or opened, but when try to open/lock Sesame in the Home app(or Homebridge menu), it is said that the lock could not be controlled.
Any idea?

Failed to getMechStatus.

Wondering if you can help me solve an issue. I have a new install of Hoobs and have installed your Sesame plug-in. However, I keep getting the following error in my logs:
"21/03/2022, 15:42:38Open Sesame BridgeOpen SesameERRORFailed to getMechStatus."

Webhooks is enabled on my Candyhouse dashboard:
Webhook Enabled POST URL: http://XXXXXX:33892

The plug-in is configured as follows:
{
"platform": "OpenSesame",
"name": "Open Sesame",
"port": 33892,
"apiKey": "XXXXXY",
"locks": [
{
"name": "Backdoor",
"uuid": "XXXXXXXXX",
"port": 33892,
"battery": 100,
"debug": true
},
{
"name": "Frontdoor",
"uuid": "XXXXXX",
"port": 33892,
"battery": 100,
"debug": true
}
]
}

Real-time status update without CLIENT_ID

In 0.4.0-beta.0, real-time status update are supported.
but, CLIENT_ID was already removed.
According to Sesame support, "CLIENT_ID is no longer needed by developing via Sesame SDK."

mail

Is it possible to update real-time status without CLIENT_ID?

Jammed

I have the lock setup in my HomeKit app. When trying to operate (lock/unlock) the status changes to Jammed. I was unable to figure out what the secret key is. The QR reader needs an image but what QR am I using?

QR code

Everything is clear to me, except how to get a QR code to submit to the QR website in order to get a KEY Secret. Anything you can provide there would be helpful.

Client ID is no longer used

It seems Client ID is no longer used for SESAME 3 and 4, so it should not be required.

The URL to get Candyhouse's API Key is changed to https://partners.candyhouse.co/, and it shows only API Key, and not Client ID anymore.

According to Candyhouse, they have deleted Client ID because their Web API does not use Client ID anymore.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/aws-iot-device-sdk to v2.2.8
  • Update dependency @types/jest to v29.5.12
  • Update dependency @types/node to v16.18.96
  • Update dependency @types/uuid to v9.0.8
  • Update dependency aws-iot-device-sdk to v2.2.13
  • Update dependency ts-jest to v29.1.2
  • Update dependency ts-node to v10.9.2
  • Update dependency @aws-sdk/client-cognito-identity to v3.568.0
  • Update dependency @trivago/prettier-plugin-sort-imports to v4.3.0
  • Update dependency async-mutex to ^0.5.0
  • Update dependency eslint to v8.57.0
  • Update dependency homebridge to v1.8.1
  • Update actions/setup-node action to v4
  • Update dependency @types/node to v20
  • Update dependency eslint to v9
  • Update dependency eslint-config-prettier to v9
  • Update dependency nodemon to v3
  • Update dependency release-it to v17
  • Update github/codeql-action action to v3
  • Update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/build.yml
  • actions/checkout v3.6.0
  • actions/setup-node v3.8.2
.github/workflows/codeql-analysis.yml
  • actions/checkout v3.6.0
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/npm.yml
  • actions/checkout v3.6.0
  • actions/setup-node v3.8.2
.github/workflows/pr_build.yml
  • actions/checkout v3.6.0
  • actions/setup-node v3.8.2
npm
homebridge/package.json
  • homebridge 1.6.1
package.json
  • @aws-sdk/client-cognito-identity ^3.18.0
  • async-mutex ^0.4.0
  • aws-iot-device-sdk ^2.2.8
  • aws4-axios ^2.4.9
  • axios ^0.27.2
  • node-aes-cmac ^0.1.1
  • uuid ^9.0.0
  • @trivago/prettier-plugin-sort-imports 4.2.1
  • @types/aws-iot-device-sdk 2.2.7
  • @types/jest 29.5.6
  • @types/node 16.18.59
  • @types/uuid 9.0.6
  • @typescript-eslint/eslint-plugin 5.62.0
  • @typescript-eslint/parser 5.62.0
  • eslint 8.52.0
  • eslint-config-prettier 8.10.0
  • homebridge 1.6.1
  • jest 29.7.0
  • nodemon 2.0.22
  • prettier 2.8.8
  • release-it 15.11.0
  • rimraf 3.0.2
  • ts-jest 29.1.1
  • ts-node 10.9.1
  • typescript 4.9.5
  • node >=12

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.