# GLUE lock working in Homey

**URL:** <https://community.homey.app/t/glue-lock-working-in-homey/47204>\
**Category:** Devices\
**Tags:** app, homeyscript\
**Created:** [May 8, 2021, 11:28am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204 "2021-05-08T11:28:39Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Kjetil\_Vert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjetil_vert/32/16770_2.png) [@Kjetil\_Vert](https://community.homey.app/u/Kjetil_Vert)\
**Post date:** [October 4, 2023, 7:13am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/22 "2023-10-04T07:13:28Z")

</div>

Great to hear this and good that you where able to locate the error 👍

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [November 19, 2023, 7:14pm UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/23 "2023-11-19T19:14:26Z")

</div>

Hello fellow Homies!

Please check out my app submission: [GlueLock App til Homey | Homey](https://homey.app/da-dk/app/com.gluelock.lock/GlueLock/)

Feedback appreciated.

---

<div class="post-metadata">

**Author:** ![Kjetil\_Vert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjetil_vert/32/16770_2.png) [@Kjetil\_Vert](https://community.homey.app/u/Kjetil_Vert)\
**Post date:** [November 19, 2023, 7:57pm UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/24 "2023-11-19T19:57:36Z")

</div>

Great i Will test this directly 🤘

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [November 19, 2023, 8:08pm UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/25 "2023-11-19T20:08:08Z")

</div>

Please do this.

You probaly know GlueLock and with Homey app as “lock”, it is a bit … cumbersome.

With GlueLock, we cannot get the last know state of the lock, only last known state of the app/GlueLock-action.

Also Homey dictates: always locked and more, which cannot be assured thorugh the api - if you know what I’m referencing to 🙂

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [November 24, 2023, 11:20pm UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/26 "2023-11-24T23:20:35Z")

</div>

@Kjetil_Vert How is the test going so far?

---

<div class="post-metadata">

**Author:** ![Kjetil\_Vert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjetil_vert/32/16770_2.png) [@Kjetil\_Vert](https://community.homey.app/u/Kjetil_Vert)\
**Post date:** [November 25, 2023, 7:35am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/27 "2023-11-25T07:35:21Z")

</div>

@Kim_Kokholm the test is working really great and the big benefit of getting this in as an app was that now I also have the locks in HomeKit and can now control them there.

I agree the only problem is the lock status as this is not reported.  
But I am not using your app instead of my script.

One issue  
I don’t know if it was stated but you have to restart the app after you have added the api key.

But all in all great work and big thanks from me on this 🤘

Now only I need some one to make an app for my Balboa Spa.

Like this at home assistant [https://www.home-assistant.io/integrations/balboa/](https://www.home-assistant.io/integrations/balboa/) Hint Hint 😁

As the app here at homey is for the old version of the balboa spa

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [July 27, 2024, 8:38am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/28 "2024-07-27T08:38:58Z")

</div>

Edit: My bad, after I tried everything I could and posting here, I realised that Kjetil posted that you have to restart the app. I did and now everything is working 🙂

Hi! I would like to test your app but I do not understand the instructions on Github.

I got the API key using Kjetil\_Vert’s method from the first post but when I paste it in your app, the lock cannot be discovered.

Maybe I am doing this wrong all along? Do I need to somehow activate the lock? I currently have the hub and the lock set up with the Glue app and everything is working.

Could you please explain the steps needed to add the lock to Homey?

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [August 7, 2024, 9:03am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/29 "2024-08-07T09:03:56Z")

</div>

Hi @Krzysiek , do you still need assistance?

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [September 18, 2024, 12:49pm UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/30 "2024-09-18T12:49:01Z")

</div>

Thank you for asking. No assistance needed.

I only have a question. I noticed that Homey will randomly send me notifications saying that the lock was locked/unlocked. Those are not related to the physical state of the lock. No one is touching it, no one is even opening the door but I will still get those notifications. At the same time, when the lock’s state actually changes because someone unlocks it, there is no notification.  
Do you know what might be causing this?

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [September 19, 2024, 6:09am UTC](https://community.homey.app/t/glue-lock-working-in-homey/47204/31 "2024-09-19T06:09:45Z")

</div>

Hi @Krzysiek , one reason could be if your Homey is restarting quite often, maybe state can get lost.

Do you see anything in the timeline, maybe events are pushed to timeline, matching the timestamps of notification.

The device vs the lock statement. If you purely use the device, the state in the app should be correct. If you use the lock itself, without the Gluelock, the state will then get “off”.

Gluelock cannot “detect” if you are using the lock on the door - it can only register state-change when using the app/device. Does this make sense?

[Previous page](https://community.homey.app/t/glue-lock-working-in-homey/47204.md?page=1)
