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

Ability to configure lock/unlock mqtt actions #212

Closed
JesusRo opened this issue Jul 24, 2023 · 1 comment · Fixed by #296
Closed

Ability to configure lock/unlock mqtt actions #212

JesusRo opened this issue Jul 24, 2023 · 1 comment · Fixed by #296

Comments

@JesusRo
Copy link

JesusRo commented Jul 24, 2023

Hi,

When calling unlock service on homeassistant (mqtt integration), it enables RTO which cannot be configured longer than 60m.
It automatically "locks" after that time.

I´ve modified the definition at homeassistant/lock/id/smartlock/config

{
  "dev": {
    "ids": [
      "nuki_ID"
    ],
    "mf": "Nuki",
    "mdl": "Opener",
    "name": "NukiOpener"
  },
  "~": "nukiopener",
  "name": "NukiOpener",
  "unique_id": "2c181e9a_lock",
  "cmd_t": "~/lock/action",
-   "pl_lock": "deactivateRTO",
-   "pl_unlk": "activateRTO",
+   "pl_lock": "deactivateCM",
+   "pl_unlk": "activateCM",
  "pl_open": "electricStrikeActuation",
  "stat_t": "~/lock/binaryState",
  "stat_locked": "locked",
  "stat_unlocked": "unlocked",
  "opt": "false"
}

To enable/disable ContinuousMode which has no timeout.
Working fine so far.

Could be possible to configure this behaviour via web interface?

Thanks in advance.

@technyon
Copy link
Owner

Hi,

It should be possible to make this configurable, I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants