robertklep / nefit-easy-core

Core functionality to implementation communications with Nefit/Bosch backend.
MIT License
21 stars 4 forks source link

Presence detection endpoint #16

Closed TomMini closed 6 years ago

TomMini commented 6 years ago

Hi Robert,

During your reverse engineering of the nefit XMPP communications, did you find some endpoints regarding the presence detection (home/away)? I'm looking at integrating this in my home-assistant installation but can't find endpoint to let the nefit know I've left home or came back. Hope you can point me in the right direction. Thanx in advance!

robertklep commented 6 years ago

There's an endpoint /ecus/rrc/homeentrancedetection/userprofile that suggests it has something to do with presence detection, but since I don't use that feature, I haven't looked at it at all.

Looking at this page, it seems that that endpoint will return new endpoints that are related to each defined user.

TomMini commented 6 years ago

Excellent, that's exactly what I was looking for!!! Thanx very much.

PS. this repo is what it's going to end up in.

robertklep commented 6 years ago

Nice! I've been playing with HA for a while now, nothing serious at the moment but if I want to start using it more, your component is certainly going to be on the list of needs ;)

Closing this issue, but feel free to ask question if any pop up.