somehow I am not able to figure out how to setup the Netatmo Video Doorbell with the netatmo binding.
What I have:
installed netatmo binding
I did setup an app on
dev.netatmo.com and used the clientid and secret to configure the bridge (which is online) I added the doorbell thing, which is online as well.
I added a couple of items to the channels of the doorbell
I can use the snaphot image in my sitemap
I can see timestamps for event and subevent
What I don’t have:
When I stand in front of the camera or ring the bell, nothing happens. the event type or sub event type is not updated, it’s always “outdoor”. (I suppose, this should update if someone rings the bell)
Do I have to configure the webhook? Is there documentation of what features only work with the webhook?
Maybe it’s just me, but I don’t get it. Maybee someone is kind enough to shed some light on this.
help is greatly appreciated!
March 17, 2023, 7:50am
Look at this issue
12:27PM - 17 Jan 23 UTC
The home thing has a trigger channel which is triggered by web hook events ("wel
… comeHomeEvent"). I would like to react on such an event and sent a live picture / snapshot of the camera via mail or telegram message. But I have 2 cameras (one doorbell and one outdoor camera). How can the rule know which live picture is required?
I solved that by extending the old binding (< OpenHAB 3.3) with new trigger channels on camera device thing level (not home thing level). I think it would be a good solution for the current binding.
More problems regarding the web hook events:
- The documentation of the current binding is outdated. I don't see a "cameraEvent" trigger channel and the "welcomeHomeEvent" trigger channel is displayed as "security#home-event" within in MainUI.
- I can't get the "security#home-event" to work. For testing I'm also sending events via the tool "Postman" and getting a response with status code 200, but my rule isn't triggered. What is a correct channel id for this trigger channel? An example within the documentation for such a rule would be useful.
- The trigger channel options "HUMAN", "ANIMAL", "VEHICLE" and "MOVEMENT" aren't existing (anymore). It would be useful when the "welcomeHomeEvent" channel or the new camera thing trigger channels are supporting these types/options. Maybe that is also my problem of point 2.
- There are no trigger channel options for the new doorbell events like incoming call. This is required for a useful integration of the doorbell device.
There is an enhancement not yet merged.
11:23AM - 21 Jan 23 UTC
This pull-request fixes issue #14237, see issue #14237 for more information.
March 17, 2023, 7:52am
What is for sure is that without webhooks, you can’t achieve real time notification : Channels will get updated on next refresh run.
But with configured webhook the event should update right away? How can I verify a correctly working webhook?
Do I have to add the webhook URL to the dev.netatmo site as well or just in the binding?
What is the best practice for the webhook url? I do not expose my openhab to the internet, I am using myopenhab for remote access. I assume, that I cant use the
myopenhab.org url for that purpose.
March 17, 2023, 2:52pm
You don’t have to change it in the Netatmo Dev console, the binding will do it for you.
IIRW you can not go through myopenhab.org because you need credentials to connect to your instance and Netatmo will not accept such a webhook url.
I do not use webhooks right now but started to setup desired infra with a nginx exposed to the Internet, proxying webhook payloads to openhab. This is not finished on my side. I’m sure some other are using webhooks on the forum.
March 18, 2023, 3:01am
I setup webhook and nginx with the doorbell and it works fine for instant notification. I use the httplistener binding. I do not have access easly atm because I‘m travelling.
Here you find the details:
Here is my thing configuration (replace the xxxxxxxxxx with your thingId)
label: Doorbell Webhook
The netatmo binding also have a bug regarding delivering the correct values for some channels. There is an open issue in github for that.
11:59AM - 24 Jun 22 UTC
Issue came-up during the webhook investigations in :
### Expected Behavior
Periodical polling should deliver the values from /getevents
### Current Behavior
Polling does update the following channels with NULL:
### Possible Solution
Values must be taken from /getevents call.
Example (I left 1 event in, but all the follwowing events also contain the same attributes and all with values):
message: "Person erfasst"
.. around 40 entries, all with the same attributtes and values are present in all ..
If required, I can also post examples from:
According to the documentation, all other GET API's are deprecated
### Steps to Reproduce (for Bugs)
1. Install/configure netatmo binding incl. webhook
2. add all available channels
3. add item to the channels
4. check the values after polling
March 18, 2023, 12:21pm
My doorbell does not even come online anymore. I think it did before but now it only says:
Status: OFFLINE, SD_CARD_WORKING, UNKNOWN
March 18, 2023, 2:04pm
If your doorbell is offline (this happens to me from time to time also), check its status with the Netatmo App. You may have to power cycle it.
March 18, 2023, 2:14pm
The status in the app is fine. I sometimes loose connectivity there as well due to the known wifi problems the doorbell has. But right now everything seems fine. If I didn’t have to cut power for the whole floor to restart it I would do so but this is not a good solution for me. Unfortunately I don’t have a switch just to reboot the doorbell.
March 18, 2023, 2:18pm
If the status is fine in the app, it should get back to normal on next refresh in the binding then.
March 18, 2023, 9:11pm
It’s been offline for days if not weeks or even months. I haven’t built any automatons based on the doorbell yet so I don’t know since when it stopped working. Maybe I will power cycle it at some point but right now it does not bother me too much. Would still be nice to know how to get it working again
I set up an nginx to reverse proxy my netatmo/webhook to the internet. As far as I am concerned it is working with the netatmo binding. Only thing I could test ist standing in front of the camera, which got notified right away to openhab. I can not test ringing the bell right now, family is asleep
I continue testing tomorrow.