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

YaleApp Token Update #1

Open
mordorf opened this issue Aug 19, 2020 · 10 comments
Open

YaleApp Token Update #1

mordorf opened this issue Aug 19, 2020 · 10 comments

Comments

@mordorf
Copy link

mordorf commented Aug 19, 2020

Thanks for porting over the YaleApp from smartthings to Hubitat. Without this I doubt I would have migrated to this platform as it is integral to my smart home automation.

When I had smartthings I used tasker and the autoinput plugin to automatically navigate to the app and update the token after my phone had restarted. This kept the token valid. However now I secure my Hubitat hub with a user and password as otherwise anyone with access to my home network could access the hub without needing to login. This makes it so that I cannot update the token using this method. If the Hubitat mobile app could remember the login credentials once entered tthis obviously wouldn't be a problem but unfortunately there doesn't seem to be a way to do this.
I was wondering if there is any way to automate the process of generating a new token?

Thanks

@Mark-C-uk
Copy link
Owner

Mark-C-uk commented Aug 23, 2020 via email

@mordorf
Copy link
Author

mordorf commented Aug 24, 2020

Doesn't seem to work for me. Just had the notification stating the error so tried arming the alarm but it failed. Had to go into the app to manually update the token to get it to work.

@Mark-C-uk
Copy link
Owner

ok ive made sure these reflect my version on HE, looking at the code, give it 5 min then try again arming, there is an error handler which runs every 5. if that works i can code it to run straight away

@mordorf
Copy link
Author

mordorf commented Aug 25, 2020

I'll have to wait a few days now before I get the error again. I don't think I can force it any way.
So once I get the error should I try and arm and then if it fails wait 5 minutes and try again?

@Mark-C-uk
Copy link
Owner

Mark-C-uk commented Aug 25, 2020 via email

@mordorf
Copy link
Author

mordorf commented Aug 25, 2020 via email

@mordorf
Copy link
Author

mordorf commented Sep 7, 2020

Not had the error since so still waiting for it to happen. It seemed to do it every two or three days when I first reported it. As soon as it happens again I'll let you know.

@Catley666
Copy link

Had this working perfectly in ST but cant seem to get this to work in HE. Error code: java.lang.NullPointerException: Cannot invoke method ArmDisRef() on null object on line 193 (method on)

@Mark-C-uk
Copy link
Owner

Mark-C-uk commented Jan 2, 2022 via email

@Mark-C-uk
Copy link
Owner

ive added a dev folder, id done some code cleaning, but never tried it on a fresh install

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

No branches or pull requests

3 participants