If anyone has heard of HomeAssistant then you would know that is is a an open-source home automation/control platform.
I will be getting the Vivokey Spark 2 installed sometime shortly but I would like to end up using it to login to the web frontend. I will have the NeXT implant installed first and would like to incorporate that into my home automation server also.
Once you have your Spark 2 installed you will have access to the Vivokey Forum @torynfarr was working on / looking at something similar around setting up a voice phrase trigger with Alexa / Google Assistant / Cortana, I imagine this would be the same principle.
Checking out the Home Assistant github repo, it looks like itâs all in Python. If they have plugins a la Wordpress, Iâm sure you could write a Vivokey authentication plugin and have it play nicely. If Home Automation does not support plugins, youâll have to fork it and change the base code itself. If they already support another OAuth method (especially if it uses OpenID Connect), it shouldnât be too hard to copy and paste and change a couple of URLs. If Home Automation doesnât support plugins or any current OAuth logins, thatâll be more of a chore but Iâm sure thereâs some drop-in-ready Python library that handles OpenID Connect authentication that you should be able to drop in. I donât have time to dig into their code right now, so sorry for the generalities. Iâm not so much a Python guy, but I have set up Vivokey auth in Node a few times and will be working on it in PHP soonish, so Iâm happy to share any insight that might be useful.
I found this while searching openID connect in the forum.
I think it would it be possible to make just a few modifications and get this to work. Could any one help me with testing as I donât have the vivokey implanted yet. I may be able setup a test home assistant server for someone to try and login to.
Iâm not sure that would work. That appears to have the user type their third party username and password into the commandline, but of course Vivokey doesnât have a password like Google, Twitter, or another OAuth provider would.
Appear that theyâre grabbing the credentials from STDIN when the user manually runs the python program (e.g. py auth.py username=thunderblaster password=MySecretPassword).
I believe you would need to get the client browser to present the Vivokey login page to prompt the user to scan their implant (or else be doing some pretty next level hacks). Reading between the lines on their thread, I take it that the ânew auth provider systemâ would allow flexibility maybe meaning plugins but youâd have to write the OpenID stuff âfrom scratchâ. That might not be too bad as Iâm sure somebody has implemented OpenID Connect in Python and itâd just be a matter of linking that up to Home Automation and dropping in the Vivokey API endpoints.
Howâs this project going? I develop smart home stuff at work and my whole house is controlled by home assistant so this definitely interests me. I also might be useful if you have any questions.
I work on Alexa devices for Amazon. Well more integrating other devices into the ecosystem. My team worked on the Alexa Xbox integration most recently!
When will we be able to actually have a human-like conversation with Alexa, with context awareness and all that? Talking to voice assistants still feels like trying to use 1998 Dragon Dictate at times.
Can you run your own instance locally or does all your info and data go to their servers? For example, I want an AI assistant I can ask âwhatâs my schedule todayâ and have it be able to tell me and even remind me, but not need to open my calendar up to Mycroft or anyone else⌠is that what Mycroft is about? The reason Iâm concerned about this level of separation is I also want an assistant to be able to dive into my files and content of those files so I can ask things like âhow much hard drive space is being used by images?â or âcan you find a microsoft word file on my file server that talks about the history of implantsâ⌠and I donât want an outside company combing through my data, with ToCs that basically give it âownershipâ to do whatever it wants with what it finds in those filesâŚ
Yeah, multi-turn dialog (what we call a conversation) is not great on any of the assistants. But I use her quite a lot. like I say âgoodnightâ to her and all my lights in the house go out and it reminds me if I have no alarm set for some reason. Shes also great to pause the TV when someone calls calls (easier than finding the remote) etc. Basically my house is automated as possible and I use her for exception handling, alarms, reminders etc. All the smart home stuff runs internally on my own hardware.
I am not sure how much of there service is cloud based, I know you need an account for licencing at least.
I did have a look at https://jasperproject.github.io/ a while ago. it is all local last I checked but local ones can be a fair amount of work for sub par gains.
There are also some limited hardware modules like this Arduino shield
Sure if you want to spend the time to strip the âphone homeâ features out of Mycroft. Iâm no lawyer but it seems they collect information just like the rest. The difference is theyâre vary transparent about it and you get the option of either they own your data or it becomes public domain for everyone.
Really with the way voice assistants are currently thatâs just what you have to expect. Theyâve come so far over a handful of years because of that data, and if you check out the ones that donât collect data youâll notice theyâre substantially worse. Maybe in 20 years though your wildest dreams will come true.