planetk / homebridge-netatmo

This is a homebridge plugin for several netatmo devices
Apache License 2.0
108 stars 24 forks source link

Support for Netatmo Presence #37

Closed nicktmro closed 7 years ago

nicktmro commented 7 years ago

Hi,

Can you please confirm if you plan to add support for Netatmo Presence? I own one, so I'd be glad to help you test :)

Cheers, Nick

adekka commented 7 years ago

Yes, let us know! +1

planetk commented 7 years ago

Hi,

thank you for your input. Well, there is good news and bad news about this.

Good news is: There are plans to add support. There is already very basic Welcome support and Presence devices seem to be quite similar.

Bad news is: There are a couple of things on the agenda for this project:

And I guess most of these things are necessary to add a useful presence/welcome support.

But... currently I do not make good progress, since the time I can spent on this is very limited. I hope this gets better very soon.

How could you help: If you know how to access the netatmo API, it would be good to have some real world netatmo JSON responses for the getHomeData call. (of course replacing your personal data like name and auth info with dummy data).

Kind regards Stefan

nicktmro commented 7 years ago

@planetk the good news is that I got a sample app going and I am getting back homedata API responses. The better news is that Welcome and Presence seem to be using the same API.

I have the API response in BBEdit and I'm going to sanitise it (remove duplicate events, etc). What is the best way to send it to you?

planetk commented 7 years ago

Hi, @nicktmro thanks for your comment and your effort!

I have done some major progress on refactoring and event notification. So next is welcome and presence.

If you could provide the response, this would be great. Also if anybody else owning a welcome or presence could provide the (anonymized) response of a "gethomedata" call, that would be great.

You could post it as a comment here, or use slack (homebridgeteam.slack.com) and send me a direct message (@planetk)

Thanx for your support!

nicktmro commented 7 years ago

Sure thing. I'll slack you shortly with a pretty comprehensive (sanitised) API response for my Presence camera.

planetk commented 7 years ago

at least simple motion sensor should work for now.