jerrod-lankford / HAGearS3

Home Assistant user interface for the Samsung Gear S3/S2 (tizen os)
138 stars 45 forks source link

New Authentication Methods #6

Closed jgrob1 closed 4 years ago

jgrob1 commented 6 years ago

This app is absolutely brilliant and really useful. Works perfectly at the moment but... Do you have any plans to update it with the new HA auth methods?

jerrod-lankford commented 6 years ago

Im a little out of touch with home assistant currently. What new auth methods?

Edit: That being said i do get the new galaxy watch this week so i may pick this back up and add some things.

jgrob1 commented 6 years ago

Thanks for getting back to me. And thanks again for your app.

So they I have just implemented a user based login system (https://www.home-assistant.io/docs/authentication/). While the "legacy" API password still works for now I can imagine that it wont forever and I was just checking whether you had plans to keep up development.

Get Outlook for Androidhttps://aka.ms/ghei36

From: Jerrod Lankford Sent: Wednesday 5 September, 02:58 Subject: Re: [Jerrkawz/HAGearS3] New Authentication Methods (#6) To: Jerrkawz/HAGearS3 Cc: jgrob1, Author

Im a little out of touch with home assistant currently. What new auth methods? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJerrkawz%2FHAGearS3%2Fissues%2F6%23issuecomment-418574225&data=02%7C01%7C%7Cce576b11d5d242bab9e808d612d30339%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636717094829908051&sdata=xMccA8TeNOBG1lX4ctDJhmjwxhQl4n1%2FvYPO6a78RQs%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADqxOO5YlaSJ_h9_MaABv_6MU0p6zuO-ks5uXy-pgaJpZM4WYCj6&data=02%7C01%7C%7Cce576b11d5d242bab9e808d612d30339%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636717094830064315&sdata=9CZ6xNjGMK1MsCDLFIFj%2BRdyslDBlyOkLi12DQq1r7M%3D&reserved=0.

jacques24681 commented 6 years ago

I've just added a username input field to the setup form so it will access HA with the new login. forked this project @ https://github.com/jacques24681/HAGearS3. I just dont know if I can upload it to the samsung apps store?

jerrod-lankford commented 6 years ago

Hi, thanks that's awesome. What happens if you dont use the username field? Will it still work with just the old api password? Also you can just issue a pull request and I can merge and redeploy

jacques24681 commented 6 years ago

Hi Thanks for your great work on this app, I've tried it but it doesn't want to authenticate without a username. I'll issue a pull request.

manuel983 commented 6 years ago

is it possible to have the modified apk? I'm not very experienced, I downloaded the code and Tizen Studio but I can not fill it out

derekgdicamillo commented 5 years ago

I downloaded the one from app store doesnt have username field. Can I ask how to install from the github zip? I would love to add this to my phone.

starkillerOG commented 5 years ago

@jacques24681 would be awesom if you could make the PR in order to get the new autentication in the samsung app store.

foldingarmchair commented 5 years ago

i installed the app onto my s3 frontier without issue but am using user authentication in hass. Any chance it can be added? I'd need to supply a username and password.

Thanks

overb1 commented 5 years ago

I got the same problem with new Auth system, possible to update the apk on galaxy store?

mclaudiopt commented 5 years ago

hello to all. i am just requested to enter a password. is there anyway to enter the username also so that i can login to my system? thanks

kriss1427 commented 5 years ago

Any idea if the updated app with the option to include username will be available in the Samsung store?

sclub commented 5 years ago

Using username and password is not the prefered way to use third party applications with Home assistant. The prefered way is to use a long lived access token. Unfortunately the token is so long that is does not make sense to enter it using the watch. I've added a way to paste it shortly to cl1pr.net and then retrieve it from there to get access. Is anyone interested in doing a short beta test and give feedback afterwards?

jgrob1 commented 5 years ago

Have you rewritten the App already. Keen to know more. Do you have a working Beta for testing already?

Sent from my Samsung Galaxy smartphone.

-------- Original message -------- From: sclub notifications@github.com Date: 01/05/2019 09:18 (GMT+00:00) To: Jerrkawz/HAGearS3 HAGearS3@noreply.github.com Cc: jgrob1 jgroberts@hotmail.co.uk, Author author@noreply.github.com Subject: Re: [Jerrkawz/HAGearS3] New Authentication Methods (#6)

Using username and password is not the prefered way to use third party applications with Home assistant. The prefered way is to use a long lived access token. Unfortunately the token is so long that is does not make sense to enter it using the watch. I've added a way to paste it shortly to cl1pr.net and then retrieve it from there to get access. Is anyone interested in doing a short beta test and give feedback afterwards?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJerrkawz%2FHAGearS3%2Fissues%2F6%23issuecomment-488233405&data=02%7C01%7C%7Ca67560f4b70d426900c908d6ce0d9f2c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636922955224025374&sdata=cq55F2kh7H70ANl07mmXTG%2F6%2FE%2FS2cVJy2Ucs%2BnaR%2BY%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA5LCOC24DI2E5PLSDVOGD3PTFG6BANCNFSM4FTAFD5A&data=02%7C01%7C%7Ca67560f4b70d426900c908d6ce0d9f2c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636922955224025374&sdata=HyB6zgSEdai%2FgKrQZmJwSRalLyPZcqJ5HUQAraJ9%2FNo%3D&reserved=0.

sclub commented 5 years ago

Yes, I forked the project and already did the necessary changes. Beta Samsung app is deployed, I just need E-Mails of beta testers to add them.

dclobato commented 5 years ago

@sclub me :)

jerrod-lankford commented 5 years ago

@sclub Thats great. You should submit a pr and I can merge and replace my version in the app store with yours

sclub commented 5 years ago

@Jerrkawz Great, had the feeling that you were not actively maintaining the project. But if you deploy a new version, thats even better. Pull request is already waiting for you :)

SamKr commented 5 years ago

That sounds great, looking forward to the new version. If you need beta testers, I'm up for it.

sclub commented 5 years ago

@Jerrkawz Did you had some time to check the merge request? I have a version for release in the samsung store ready, but don't want to interfer if you release it anyway.

SamKr commented 5 years ago

I'd really appreciate it if a release (of either version) could be pushed to the store. Waiting for this to start using it, since enabling legacy login isn't an option in my setup :(

SamKr commented 5 years ago

@sclub, could you please release yours?

cwi-vvatsos commented 5 years ago

@Jerrkawz Any change of merging the pr and pushing this to the store? thanks

SamKr commented 5 years ago

Guessing this is dead in the water?

Aygotori commented 5 years ago

@Jerrkawz @sclub Do you have the new version of this app? Thanks ^^

pinonpierre commented 4 years ago

@Jerrkawz it works now! Thanks!