Skip to content

Releases

v0.7.0

Choose a tag to compare

@bobtekkk bobtekkk released this 24 Nov 12:15
7585706

Fixed

  • Moving or still on sensor firmware 0060 and later: a zone's activity (sensor.<fp400>_software_zone_N_activity) works again; on newer firmware it stayed unknown almost all the time. Firmware 0060 changed what the sensor sends for each dot. Up to 0051 it said "moving" or "still"; from 0060 it sends how many of the dot's radar points move, and 0 means the person only breathes. The converter now reads the sensor's firmware version, again after an update, and understands both. On newer firmware someone fidgeting or waving in place counts as moving, and someone sitting or lying quietly as still. The meaning of the new fields comes from Aqara's notes in matter-js/matterjs-server#1298.

Added

  • What each dot is. The sensor says whether a dot is a person, a child, a pet, a robot vacuum, a fan, a curtain, a plant or an air purifier. The card colours dots that are not people amber and labels them, for example "2 · pet", and says it when you click the dot. So far our test sensor has only ever said "person", so tell us how it does with your pets and vacuums.
  • Zones count only people in ⚙ Settings (switch.<fp400>_people_only, off by default): software zones leave out dots the sensor marks as a pet, robot vacuum, fan, curtain, plant, air purifier or other object. People, children and dots of unknown type still count. The card shows the left-out dots faded.
  • Moving or still on the map: a still dot is drawn as a ring, a moving one filled, and clicking a dot says which.
  • Bed zones for native sensor zones: tick Bed zone on a sensor zone. Aqara's notes say firmware 0062 and later watches a bed more closely for someone asleep; that has not been measured yet. The converter checks that the sensor kept the zone as a bed where it can read the sensor's zone list, and on firmware 0063 it does.

Changed

  • Each dot in tracking_targets (in the MQTT state, not a Home Assistant entity) now carries moving, type and, when the sensor sends one, posture, plus the raw fields under names that match the firmware: cell, activity and fall up to 0051, moving_points, micro_points and tracking_state from 0060. The old posture, zone and in_zone were misnamed and are gone: zone is now the native zone the dot is in. targets_xy is unchanged.

To update, get the new card through HACS (called Marketplace from Home Assistant 2026.11) and copy the new z2m/aqara-fp400.mjs into Zigbee2MQTT, then restart Zigbee2MQTT.

v0.6.4

Choose a tag to compare

@bobtekkk bobtekkk released this 18 Nov 08:22
81ab47c

Fixed

  • Sensor on the ceiling: ignore spots, doorways and outside-room areas are drawn and painted where the sensor uses them. On the ceiling the sensor's area grid is centred on it, from 5 m behind to 5 m ahead, so these areas can go behind it too. They used to be drawn 5 m too far ahead, and since 0.6.3 some were not drawn at all. Thanks to @markomartinec7-stack for measuring it (#19).

To update, get the new card through HACS and copy the new z2m/aqara-fp400.mjs into Zigbee2MQTT, then restart Zigbee2MQTT.

v0.6.3

Choose a tag to compare

@bobtekkk bobtekkk released this 08 Nov 09:56

Added

  • Sensor on the ceiling: with Mounted on set to Ceiling in ⚙ Settings, the map puts the sensor in the middle and reaches 6 m all around it, so zones can go behind it too, for example to leave out a hallway the sensor can see. Fit keeps the sensor in the middle. The sensor's own areas still only reach the side its arrow points to. Thanks to @mattrhurst (#16).

To update, get the new card through HACS and copy the new z2m/aqara-fp400.mjs into Zigbee2MQTT, then restart Zigbee2MQTT.

v0.6.2

Choose a tag to compare

@bobtekkk bobtekkk released this 06 Nov 10:02

Changed

  • The people count reaches Home Assistant as soon as it changes, instead of up to 30 s later. The converter now sends the sensor the same setup message Aqara's hub sends when pairing, after which the sensor reports the count by itself. Zigbee2MQTT sends it once when you update to this version, and again whenever the sensor is paired or interviewed. Thanks to @makleso6 (#17).

To update, get the new card through HACS and copy the new z2m/aqara-fp400.mjs into Zigbee2MQTT, then restart Zigbee2MQTT.

v0.6.1

Choose a tag to compare

@bobtekkk bobtekkk released this 03 Nov 07:43

Changed

  • Zigbee2MQTT's device page shows the converter's release version (v0.6.1; it said v0.0.2), so you can see which one is loaded. Zigbee2MQTT now sets the sensor up again once after each update, which takes a few seconds (#4). Thanks to @satmandu.

To update, get the new card through HACS and copy the new z2m/aqara-fp400.mjs into Zigbee2MQTT, then restart Zigbee2MQTT.

v0.6.0

Choose a tag to compare

@bobtekkk bobtekkk released this 02 Nov 20:22

Added

  • Native zones, the sensor's own detection zones (optional). Turn on native_zones in the FP400's Zigbee2MQTT device options, then switch the card to Native zones and paint them in 0.5 m cells. The sensor works out who is in them itself, so they don't depend on position reports, which Ember coordinators cut short when there are 3 or more targets. Each one gets an occupancy sensor, a people count and its own empty delay, and they stay on the sensor through a power cut. Off by default, so nothing changes unless you turn it on. Thanks to @makleso6 (#9).
  • restore_status and restore_error (off by default) show whether the settings a sensor lost were put back.

Fixed

  • Settings in ⚙ Settings save again after Home Assistant renamed the sensor's entities (#10).
  • Learn the empty room no longer says it finished as soon as it starts. It now waits for the sensor's answer (#11).
  • A zone could empty while a target that dropped out of a cut report might still be in it. Its countdown now stops until every target is accounted for (#12).
  • Reports from the sensor's zone endpoints no longer overwrite the room's people count, activity and settings (#13).
  • If putting back lost settings only partly works, the converter tries again after 10 s, 30 s, 1 min and 5 min, and a setting you change meanwhile can't be overwritten by it (#14).
  • While Zigbee2MQTT was offline, the card told users without admin rights to turn on entities that were already on.

Thanks to @Mattieug for #10 to #15.

Changed

  • Much less history in Home Assistant. The four busiest tracking entities (targets_xy, tracking_last_update, tracking_last_frame, motion_last_frame) are now off by default on new installs, and the card gets its live dots straight from MQTT instead. That needs a Home Assistant admin user; for anyone else the card names the two entities to turn on. Sensors you already have keep their entities, and the README shows how to keep them out of the history. Thanks to @monosoul (#7).

v0.5.0

Choose a tag to compare

@bobtekkk bobtekkk released this 29 Oct 09:05

Added

  • Forget still dots after (⚙ Settings, forget_still_targets): the sensor is told to forget a target whose dot hasn't moved at all for the minutes you choose, usually a ghost that keeps a zone occupied (#4). A real person is picked up again. It's off (0) until you set it. People asleep can lie that still for over an hour, so use a long time in a bedroom. Thanks to @satmandu for the idea.
  • Firmware updates through Zigbee2MQTT. When Aqara's newer FP400 firmware is in Zigbee2MQTT's update list (0060 is, from September), Zigbee2MQTT shows it as an update you can install from Home Assistant or the OTA page. The update takes a while over Zigbee, and the sensor restarts at the end. Thanks to @lutyjj (#8).

Fixed

  • Areas and settings survive a power cut. The FP400 forgets its ignore spots, doorways, outside-room areas and mounting (wall or ceiling, wall position, height) when it loses power; a Zigbee2MQTT restart doesn't affect them. The converter now keeps every setting you save with the sensor and puts back whatever the sensor lost when it comes back. Settings made with an older version are taken over from the sensor the first time Zigbee2MQTT starts with this one. An area the sensor changed itself (for example with Find fake-target spots itself) is left alone; only an empty one is filled in again. A sensor that already lost them before you update has nothing to take over: after updating, check ⚙ Settings, and if Mounted on says unknown, set your mounting and areas once more.
  • A native zone's own timeout (zone_N_absence_timeout) can be set to 0 seconds, like the room's since 0.4.1.

Changed

  • The sensor can only send updates on its own for five things. The converter used four of them on built-in zone slots that are empty unless you drew zones in the Aqara app. Now they go to room presence, the zones the sensor really has, and then the light level, so on most sensors the light level updates as soon as it changes instead of once a minute. The converter only asks about the rest, once a minute, and checks the light level first. Zigbee2MQTT sets this up once by itself the first time it starts with this version.

Update: get the new card through HACS, replace aqara-fp400.mjs in Zigbee2MQTT's external_converters folder and restart Zigbee2MQTT. Zigbee2MQTT then sets the sensor up once more by itself.

v0.4.1

Choose a tag to compare

@bobtekkk bobtekkk released this 05 Oct 18:38

Fixed

  • The sensor's own Empty after time (absence_timeout) can now be set to 0 seconds (#3). The sensor reports 10 s as its minimum but stores 0, and the Aqara app allows it too. Thanks to @satmandu for the report.

Update: replace aqara-fp400.mjs in Zigbee2MQTT's external_converters folder and restart Zigbee2MQTT. The card only changed its version number.

v0.4.0

Choose a tag to compare

@bobtekkk bobtekkk released this 04 Oct 18:45

Fixed

  • Zones no longer flip to "unknown" whenever positions pause (#2). Some sensors only send positions while someone moves. Now, when positions pause, zones follow the sensor's own presence: an empty room empties every zone (with leave events), and while someone is there, zones keep their last state. They are only "unknown" when the sensor has sent neither. tracking_status then shows held, and the card says Positions paused.
  • The card finds its entities even after Home Assistant renamed them, for example when you rename the sensor in Home Assistant and let it update entity IDs (#2). It now looks them up by Zigbee2MQTT's fixed unique IDs.
  • A movement value other than 1 (moving) or 2 (still) — one sensor sent 11 — now leaves the zone's activity unknown instead of reporting "still". Thanks to @vize69 for the report, the analysis and the regression tests.

Changed

  • tracking_status has two new values: partial (the coordinator cut the last report, so missing targets are kept where they were last seen) and held (no new positions; zones follow the sensor's own presence).

Update: update the card in HACS, then replace aqara-fp400.mjs in Zigbee2MQTT's external_converters folder and restart Zigbee2MQTT. The zone fixes are in the converter, so both are needed.

v0.3.0

Choose a tag to compare

@bobtekkk bobtekkk released this 02 Oct 13:34

Added

  • Turn the map for a sensor mounted in a corner (#1). Set it in ⚙ Settings (try 45 or -45) and the room looks square on the map. Zones drawn after that follow the room's walls, and areas painted on the turned map cover the cells under the shape. The turn is stored with the sensor, so every dashboard agrees.
  • Converter: zones accept a rotation, area controls accept a turned shape as {"points": [[x, y], ...]}, and the new map_rotation setting.

Changed

  • Adding the card from the card picker no longer writes device: into its settings. The card finds the FP400 itself, so renaming the sensor later can't break it (#2).

Fixed

  • Zones no longer look deleted while they can't be shown (#2). Instead of an empty room, the card says why: Zigbee2MQTT or the sensor is offline, the zones haven't arrived yet, or the converter is missing.
  • A card still set to a sensor's old name now uses the only FP400 in Home Assistant and says which name to put in device: (#2).
  • When positions are missing, hovering the Positions unavailable badge explains what to check.

Update: update the card in HACS, then replace aqara-fp400.mjs in Zigbee2MQTT's external_converters folder and restart Zigbee2MQTT. Turning the map needs this converter; everything else also works with 0.2.x.