Schlage Encode Wifi

Has anyone revisited this? WOuld be nice to control this directly though HASS

1 Like

Agreed. I need to make a decision to buy this or the connect soon. Iā€™m hoping to buy this one so I donā€™t have to deal with z-wave at all in my setup

It sounds like Schlage wants to stay in their own little silo. I have one of these and regret it. Purchase from a different vendor.

How did you expose the alexa device integrations back into the HA devices / entities?

I didnā€™tā€¦

1: My Schlage Lock is integrated and controllable by Alexa
2: Alexa has no way of knowing if I and my wife are home or not
3: I use person.vinny and person.faith and assigned my trackers to them, I use bluetooth and nmap to increase accuracy
4: I made a binary sensor called people_home using the person.vinny & faith

binary_sensor:
  - platform: template
    sensors:
      people_home:
        value_template: >-
          {{ is_state('person.faith', 'home')
             or is_state('person.vinny', 'home') }}

5: I went into Customization and changed the entity people_home binary sensor device class to window
6: I then exposed that entity to Alexa. It seeā€™s it as people_home ā€œwindowā€ is ā€œopenā€ when we both are home or ā€œclosedā€ when we both are gone.
7: I wrote an Alexa routine to lock my schlage lock when it seeā€™s the ā€œwindowā€ goes from open to closed

Unfortunately Alexa will not automatically open the lock so you cannot run a routine to unlock when you return but at least I know Iā€™m not forgetting to lock up.

Itā€™s a bit of work, probably took an hour but it has been working perfectly. Whenever we go out my schlage app notifies me the door has locked within a minute or 2 of us leaving if I forget it.

Schlage Encode has support for Yonomi

So if can get this integration, we should be able to get the lock in home assistant in a easy and feasible way.

Any devs who could implement it? :grin:

2 Likes

I would pay to have this integration done properly.

2 Likes

Same here. Itā€™s one of the only things missing from my integrations.

4 Likes

Count me in as someone that would pay for an integration

2 Likes

Count me in as another interested member

Assuming it is just a simple http based api it should be fairly simple to reverse engineer. I donā€™t own one yet or I would do it.

Iā€™ll put some money in the donation box if somebody would make an integration :heart_eyes:
Also, homekit isnā€™t working right? I must have not done enough research, because I wanted to open the door using a shortcut with my iPhone triggered by a NFC sensor by the doorā€¦ :tired_face:

I have an Encode, it woks pretty well with the phone app, and it shows up in wifi clients for my router. It took me two tries to get it working, probably because of user error in setting up. I had to delete it from the app and reset the lock and start over.

I need to be able to work the lock when the house is not online so i really need HA integration

Hey guys any update on this?

Hey guysā€¦

Iā€™ve spent the last couple days reverse engineering their app and some of the API calls and Iā€™m closeā€¦

Here is what Iā€™ve foundā€¦

The auth uses Amazon Cognito and SRPā€¦ I was able to find the identity pool ID, app secret from the iOS app hard coded.

The one issue Iā€™m running into now is the secret hash validation for the SRPā€¦ everything after that SRP uses bearer authorization and should be smooth sailing.

If there are any really developers who want to take a crack Iā€™m happy to share what I got to.

I believe the only issue is something missing from the hash calculation for the SRP but that seems like something not too hard to figure out but itā€™s beyond the time and skill I haveā€¦

Going to shift my focus to making this brine tank sensor HA enabled

5 Likes

great man! that lock is the only smart device not compatible with my home assistant set up.
I canā€™t wait to be able to use a NFC tag to open the door with :heart_eyes:

Thanks for the work, and updates!

Just need someone who is able to develop thisā€¦ I can help with the findings but Iā€™m no programmer capable of making this an integration.

1 Like

Can you share your findings?
Any bash or powershell scripts you can share?

I have not looked inside the lock but Iā€™m tempted to consider replacing the original control board with an ESP32 or equivalent and a small servo controller. Consider that a lock is a very simple device. It moves a bar back and forth and senses the movement.

I would also like to add a solar panel on the door. I expect that unless the doorway is used a lot, or us in a dark location, a solar panel should be able to keep batteries charged.