As the Netatmo App isn’t suporting the module “Smart Door and Window Sensors” (product type: NACamDoorTag, product ID: DTG-01) which are connected to the Netatmo indoor camera “Welcome” through an internal radio signal, I would like to receive the state of each tag (windows and doors: I’ve installed 24 tag in 2 Welcome camera (2x 12)) via the Netatmo webhook process.
I would like to know how I can parse in the code of the webhook the data I’ll receive from Netatmo and copy some data into some variables that I can re-use in flow or script, or better, directly update some virtual devices (I can create a virtual device (sensor) for each door and window tag in order to have its state and battery state).
As I solved this question in another manner, I’ll reply to you. I use webhookrelay to trap the webhook from Netatmo devices for example. Depending of number of webhooks you’ve to treat par day / month, may be you can use for free or to pay a fee.
It works fine for me and I forget to deal with the Homey webhook as I never find a post to explain how to deal with it.
You will need to create a Homey app to handle the webhook. As far as I know, the Homey webhook can only handle JSON data so if your webhook is not firing then it could be the data being received is in the wrong format.
Webhooks are not the easiest of things to get working.