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

in home assistant the lock status of jammed cannot be shown? #163

Closed
bertybassett opened this issue Apr 1, 2023 · 7 comments · Fixed by #296
Closed

in home assistant the lock status of jammed cannot be shown? #163

bertybassett opened this issue Apr 1, 2023 · 7 comments · Fixed by #296

Comments

@bertybassett
Copy link

what am I doing wrong?

@technyon
Copy link
Owner

technyon commented Apr 2, 2023

The status only shows locked or unlocked. You can however look into the MQTT tree to see the actual status (lock/state).

@bertybassett
Copy link
Author

mqtt:
  sensor:
    - name: "nuki_motorstatus"
      unique_id: '12bAAA3asde'
      state_topic: "nuki/lock/state"

Was the answer shame the auto discovery on home assistant does not include this information

@technyon
Copy link
Owner

technyon commented Apr 2, 2023

As far as I understand, this is a HA limitation, as the smartlock device class doesn't have a jammed state (correct me if I'm wrong),

@bertybassett bertybassett reopened this Apr 2, 2023
@mundschenk-at
Copy link
Collaborator

It does:
image

@bertybassett
Copy link
Author

bertybassett commented Apr 2, 2023

https://www.home-assistant.io/integrations/lock.mqtt/

An MQTT lock can also report the intermediate states unlocking, locking or jammed if the motor reports a jammed state

Just saying there is a jammed status in the MQTT lock within Home Assistant, don't worry too much as I fixed my issue using the above but new users might appreciate this feature.

@bertybassett
Copy link
Author

bertybassett commented Apr 2, 2023

looks like my fudge work around never worked, it would fail and the app and home assistant would get out of sync.

@bertybassett bertybassett reopened this Apr 2, 2023
@leranp
Copy link

leranp commented May 12, 2023

Same here, sometimes i have jammed situations but there's no indication about this in the sensors.
What can i do ? Do i need to create a manually mqtt sensor?

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