Netatmo: Expose NACamDoorTag as sensors

Hello,

Netatmo Security bundle includes those nice Door tags. I use them for automation as they do trigger events we receive from the webhook. Still, I would also love to be able to know their status at a given time (i.e. is the door open or closed). This information is not part of the event that Netatmo sends, but it is possible to get it from the “get homestatus” API for device type NACamera. Example answer with one camera ans one NACamDoorTag is shown here:

{
status:"ok"
time_server:1678187239
body:{
home:{
id:"XXXXXXXXX"
modules:[
0:{
id:"XXXXXXXXX"
type:"NACamera"
firmware_revision:5014000
wifi_state:"high"
wifi_strength:57
sd_status:4
alim_status:2
vpn_url:"XXXXXX"
is_local:true
monitoring:"on"
}
1:{
id:"XXXXXXXX"
type:"NACamDoorTag"
battery_state:"low"
battery_level:4520
firmware_revision:58
rf_state:"low"
rf_strength:76
last_seen:1678187149
last_activity:1678109349
reachable:true
bridge:"XXXXXXXXX"
status:"closed"
}

Would be happy to help if I can.

Thanks!

I would like that indeed. I have webhooks for the changes, but ideally the Sensors are sensors in HA and wel can just have the current state.

Any progress, or is that somewhere on a Roadmap?

2 Likes

Hello, I think it is being taken care of:

Fingers crossed!