Netatmo Smoke Alarm HA support

There is no separate webhook for smoke detectors.

It would look like:

{
    "event_type": "netatmo_event",
    "data": {
        "type": "smoke",
        "data": {
            "user_id": "123",
            "event_type": "smoke",
            "device_id": "12:34:56:78:90:ab",
            "home_id": "5851438b2b2b468cee8bbbd3",
            "home_name": "Some room",
            "camera_id": "12:34:56:78:90:aa",
            "event_id": "987",
            "sub_type": 1,
            "push_type": "NSD-smoke"
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-09-27T15:41:10.134078+00:00",
    "context": {
        "id": "123abc",
        "parent_id": null,
        "user_id": null
    }
}
1 Like

Ok, so maybe the reason I have never seen any such smoke detector events is simply because the detector hasnā€™t sent any yet? (it only sends events in case of a fire/smoke detection?)
Of so, is it possible to make it send test events?

I donā€™t own one of those but according to the documentation there is an event called sound_test for sound test. But I canā€™t tell how to trigger that.

That sounds like just pressing the sound test button on the unit itself ? I assume there is such a button. When I get back home later this week, Iā€™ll test that and report back.

Hi all,
is there any progess on this? Was anyone able to receive any event, e.g. sound test, from the smoke alarm? In the HA wiki the smoke alarm isnā€™t mentioned at all.
Thanks

There is no push-button the unit itself, so it has to be perhaps an API command if a sound-test at all is possible to trigger.

I managed to fire an event from the Netatmo Smoke detector and pick it up in Home Assistant, by using the Netatmo Android App to do the Sound test;

{
    "event_type": "netatmo_event",
    "data": {
        "type": "sound_test",
        "data": {
            "user_id": "XXXXXXXXXXXXXXXXXX",
            "event_type": "sound_test",
            "device_id": "XXXXXXXXXX",
            "home_id": "XXXXXXXXXXXXXXXX",
            "home_name": "XXXXXXX",
            "camera_id": "XXXXXXXXXXXX",
            "event_id": "5fd68536dd5aba54033e4e70",
            "sub_type": 0,
            "push_type": "NSD-sound_test"
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-12-13T21:18:45.443026+00:00",
    "context": {
        "id": "a3297691e3bf1618655fecbcf043df59",
        "parent_id": null,
        "user_id": null
    }
}

(I Xā€™ed out some of the IDā€™s in the event for privacy reasons).

1 Like

Hi Viking,
I recently purchased a Netatmo smoke alarm. Got it installed and setup via the Netatmo App.
I used the native HA Netatmo integration and Nabu Casa as well - but I only get 1 device and 1 entity in HA - thats ā€œMy Homeā€. No Smoke Alarm device or entity, hence no sensor.
I can see and test the smoke alarm via the Netatmo app as I should - its just, that it does not show in HA.
I was wondering, that since you got an event in HA - you must have the smoke alarm integrated.
Any chance you can guide me to uderstand what Iā€™m missing/do not understand about the integration?
Thanks in advance :slight_smile:

1 Like

At the moment Netatmo smoke alarms are only supported via webhook events. Those can be used in HA. Beyond that there is no real API to be used. This is why there is no device in HA.

Exactly, but webhook is ok (if you can get it working). It took me a long time to solve the certificate issues I had, but eventually I came through, and now itā€™s working OK.
@cgtobi provided valuable assistance in my webhoook quest. :slightly_smiling_face:

1 Like

Hi Tobi, IĀ“m new to the forum as well as Home Assistant. Just installed the system and have onboarded my devices, but can not find my 3 smoke alarms from Netatmo. Tried to read up on the forums here and found this thread. I also found some other threads indicating that the device should be detected at least using the homekit integration, but that does not seem to be the case. Has there been any progress on the integration or is webhooks the only option still?

Smoke alarms wonā€™t show up as entities and only work via webhook events.

They also get picked up by the esphome BT proxy and can be added as a homekit device
image

2 Likes

Thanks, then I just need to get some more skills :-)!

Thanks for the suggestion, any pointers on how to set up ESPHome? The project pages on .io are unavailible and the integration in HA just asks for a host and a port, is ESPHome something I need to run on another system?

ESPHome Bluetooth Proxy works fine use that to create a bt proxy, you will need an esp32 not esp8266.

Hey Mikael,

please see Home Assistant Bluetooth Proxy - How To | digiblurDIY for more information on how to set this up.

Kind regards,
Lieven

webhook

type: smoke
data:
  sub_type: 1

or

type: smoke
data:
  sub_type: 2

Hi did you succeed by integration the netatmo smoke sensor through the HA Homekit Controller integration?

Nope, currently struggling to get the bluetooth integration to work, do not get any identified devices, just the temp mac:s of multiple devices, not sure how this is supposed to work, but will start by fixing this.