This is a port of Netatmo Security, from smartthings, for Netatmo Welcome and Presence cameras.
I can't claim the hard work here but it did take a couple of hours to get it up and running.
The Netatmo Security app and drivers was originally adapted from the Netatmo Connect app, written for smartthings. I've ported Netatmo Security to Hubitat, using the work done for Netatmo Connect by @cybrmage
Thanks to @tony.fleisher for helping me to understand why webhooks weren't working.
Webhooks are now working.
These are my last devices on ST. I will be removing them from ST today.
I'd always planned to look at the way that 'person seen' events were handled in this app but when ST dev changed I never got to it. I'm going to re-visit this soon. I'll also attempt to add app versioning as well.
Thanks patrick! I am not sure how to use it however. I just created an app on the dev section of netatmo, but what should i enter at the redirect url and the webhook url?
The re-direct is sent up during the auth process and the webhook url is set during the addwebhook method.
Let me know how you get on. It was extremely fiddly when I set it up. I struggled to get past the oauth flow page. In the end I figured out that saving the app code, after seeing the 'connected' page, did the trick.
I've been running the devices for a day now and I can see there is an issue with one of the camera methods. I'll take a look over the week and see if I can work out what's wrong. So far it doesn't appear to be affecting operation.
Ok so the app installed after enabling oauth and withouth filling in the urls. It even detects my presence cameras. do i need to add the camera devices as a virtual device, or do they auto discover somehow?
Ahh, I haven't ported the Presence driver. Sorry, I don't have a Presence so I realised I hadn't uploaded and put it there for you quickly.
Give me half an hour and I'll sort it.
I'm in the middle of looking at the webhook events. I've worked out why the person seen event is failing from the Welcome camera. The event_type is being sent to the wrong driver.
ah ok so you put in in the Person folder. Code looks ok, I added it to the drivers.. The device doesnt appear after clicking done unfortunately. I think something is wrong in the app
The Presence camera driver is now ported and uploaded
I've adjusted the webhook event, on the main app, so the person event_type is pushed to the person device rather than the camera - new app version uploaded
I double checked the naming of all the files and adjusted accordingly.