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

Integration with home assistant #179

Open
taostaos opened this issue Oct 14, 2016 · 10 comments
Open

Integration with home assistant #179

taostaos opened this issue Oct 14, 2016 · 10 comments

Comments

@taostaos
Copy link
Contributor

taostaos commented Oct 14, 2016

I'm currently thinking about how to integrate Jarvis and Home assistant.

They provide Alexa support, so I'll read a lot about how they did the integration.

The first idea of implementation I had was to just build a script to create the list of Jarvis command based on the list of service provided by the rest api of HA.
I might be interesting to push data from HA to Jarvis like "hey, your girlfriend is almost here".

Maybe they did the integration differently.

Do you think this should be a part of Jarvis?
->Yes = Maybe you can contact the HA leader, he might be interested =)
->No = I'll do it on my own ^^'

@alexylem
Copy link
Owner

alexylem commented Oct 14, 2016

Would you like to control from Jarvis or get a status any device managed by Home Assistant?

Looks like they provide a RESTful API:
https://home-assistant.io/developers/rest_api/
which allows to read states, events, history but also call for services such as turning lights on.

So I believe it is possible to use Jarvis to actually talk and hear from your Home Assistant.
The best approach I would recommend here would be to create a Jarvis plugin for HomeAssistant.

If we can get someone from HA to do it, even better 😄
They have a Github repo, we could cross ref a ticket there.

@taostaos
Copy link
Contributor Author

I think that to be able to provide the cleanest way to push data to Jarvis, you might consider to provide a little rest api. It shoud be easy as there is already jarvis -s implemented.

Should I give it a try and do a pull request?

@taostaos
Copy link
Contributor Author

Quick poc of a rest api to push notifications to jarvis, written in python, using flask framework.

https://github.com/taostaos/jarvis-rest-api-server

@alexylem
Copy link
Owner

Very nice, you can propose a pull request.
You could propose it in the root folder and it will be the starting point for a real RESTful API for adding commands, events, ...
Someone has actually asked for it here: #180

@taostaos
Copy link
Contributor Author

Doing it asap

@alexylem
Copy link
Owner

Jarvis API plugin now available allowing you to control Jarvis remotely:
http://domotiquefacile.fr/jarvis/plugins/jarvis-api

@alexylem
Copy link
Owner

Could be nice if someone proposes to create a Plugin for Home Assistant

@Sellig28
Copy link

I will do a plugin for HA as I'm migrating from openhab. When I finish my migration I do that.

@alexylem
Copy link
Owner

Thanks @Sellig28

@alexylem alexylem reopened this May 18, 2017
@alexylem alexylem assigned alexylem and unassigned alexylem May 18, 2017
@Oliv4945
Copy link
Collaborator

Oliv4945 commented Jan 2, 2018

@Sellig28 : Any news ?

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

No branches or pull requests

4 participants