Good evening all,
First off, I’m going to apologize for my litany of noob questions.
I’ve spent the better part of the evening reading through the openLuup topics and I’m left more confused. I’m not 100% sure it will do what I want it to do. It might not be the right tool, but I’m not sure what is.
I’ve got OpenLuup installed on a raspberry Pi 3 today, along with a python script that I want to call.
What the python script does, is acts as an API to a Kwickset Kevo deadbolt, since no official API exists, some individuals reverse engineered what was needed. Basically, there are a few scripts that reference the library, and combined with your user credentials and the lock’s UUID, get the device state (locked or unlocked), or direct the deadbolt to either lock or unlock. Those are the only commands it does.
The python script works. I can sit there at the cli and run the scripts all day, however, I need a way to translate that into Vera. People have already done it with SmartThings and
Home Assistant, but I’m a bit a noob as far as programming in Vera, and I’m not sure where to begin.
What I want is a toggle device in the main Vera console that can make calls out to my Pi, using the python scripts. I want to be able to set the interval that it checks the status (every minute, every 5, every 10, whatever), so it keeps it relatively up to date. I also want to be able to use Reactor or scences to lock the deadbolt if it goes into Night or Away mode.
It doesn’t sound like much, but again, not sure where to begin, I think SiteSensor would give me the state, were I to set up a Webserver to run the state function, but it can’t actually interact more than that.
Is openLuup the app for me? Is there something easier, something I’m missing? Am I overthinking this? Advice?