How to add Xiaomi Mijia scale S400 (model: MJTZC01YM) into Home Assisstant

Does anyone find solutions for the new Xiaomi Scale S400 yet? My old Scale 2 was out of order so I bought a new Xiaomi S400 Scale but unable to add into HA via BLE, ESPhome, Xiaomi BLE. None of these integrations got broadcast from this scale.
Here’s its information

4 Likes

Same situation here. I was using Xiaomi Scale 2 with [ESPHome Integration] but will need to replace it (Xiaomi Miscale Sensors — ESPHome)

As this is a new scale, maybe a feature request can be done on ESPHome’s GitHub page?

1 Like

Sadly, no progress yet

Any news about this? I’m also interested :slightly_smiling_face:

1 Like

Does the S400 (MJTZC01YM( broadcasts Bluetooth BLE advertising data which might contain encoded weighing data, as did all the other previous Xiaomi scales?

Somebody figured out how to make sense of the payload the scale reports:

Maybe this will help you:
{“name”:“Mijia Scale S400 CD5B”,“address”:“8C:D0:B2:A0:CD:5B”,“rssi”:-83,“manufacturer_data”:{},“service_data”:{“0000fe95-0000-1000-8000-00805f9b34fb”:“1059d930a65bcda0b2d08c”},“service_uuids”:,“source”:“43:39:00:00:1F:AC”,“connectable”:true,“time”:1738812461.4566422,“tx_power”:null}

Any other broadcasts with possible “service_data”:{“0000181d … or it would require more samples with additional readings from the app at the same time.

Here is another service data example:

{
"name":"Mijia Scale S400 7250",
"address":"CC:4D:75:C8:XX:XX",
"rssi":-70,
"manufacturer_data":{},
"service_data":
  {
     "0000fe95-0000-1000-8000-00805f9b34fb":"3058d930005072c8754dcc08"
  },
"service_uuids":["0000fe95-0000-1000-8000-00805f9b34fb"],
"source":"34:13:E8:23:19:95",
"connectable":true,
"time":1739746371.3725517,
"tx_power":null
}

Hi, my noob question
Where to put this code? I am not a developer and have no expreriences on coding.
Thank you

Any chance of getting such samples along with the actual weight, impedance and unit setting of the scale at the very same time?

It actually appears that the Xiaomi Mijia scale S400 does not send its weighing properties through Bluetooth BLE advertising broadcasts, as the previous scale models did. If you find otherwise and that the

“service_data”:
{
“0000fe95-0000-1000-8000-00805f9b34fb”:“3058d930005072c8754dcc08
},

changes at all with different weighings, let me know.

Any updates on this? I have same issue

Support is in!
I already tried it out in the beta :slight_smile:
You don’t even need a Gateway, just a Bluetooth module.

You still need Bodymiscale and Bodymiscale Card from HACS.

Finally, I can toss the Xiaomi app—this was the only thing I still used it for.

2025.5: Beta release notes for this QoL release - Home Assistant

  • [xiaomi_ble] Support Body Composition Scale S400 ([@zry98] - [#142705])
1 Like

I got the scale and the latest update but it says that it has not been broadcasting for awhile bla bla bal. I stepped in on the scale, tried again still no luck. I got the Bodymiscale integration but it ask for the scale sensor entity which I dont have. The only entity I get is for the signal strength

Can you please give step by step how to get it working? thanks

Thanks for the work!

With HA Core 2025.5.0, the scale (a MJTZC01YM) started reporting its signal strength. Had to then add a bindkey which it took from my Xiaomi account nicely.

When I weighed, the low impedance and profile ID 1 were also reported. No weight or other values, though.

I was too fast, sorry! Well done! Seems time for another BT proxy here… :wink: It was a reception problem. When I moved the scale nearer to another BT proxy, all values showed up:

Now for the Bodymiscale…

Mine does not show the bluetooth of the scales, update to the newest version already
So sad

Can you tell me how and where to add this? My noob questrion.
Thank you

How? Can you tell me the steps?

Blockquote

When trying to weigh for the first time, HA told me there was a Repair: Authorization for the Xiaomi BLE Scale was “expired”.

So I simply clicked the repair, which had two options, I took the recommended “get from your Xiaomi account”, entered my credentials, and it immediately integrated and started working.

(The scale must be registered in the Xiaomi Home app for this to work. After getting the key, the integration works completely locally.)