How I got it working - WZ-M100 Tuya Presence Sensor (TS0601 _TZE204_7gclukjs)

Absolutely brilliant! Instantly turned two pieces of plastic (albeit cheap!) junk into great presence sensors. How can I buy you a cup of coffee (or two!)? :smiley: :clap:

[New device support]: TS0601 _TZE204_7gclukjs · Issue #21738 · Koenkk/zigbee2mqtt · GitHub here you’ll find the answer to your question! code 104 is presence while 1 is movement!

Works like a charm, in combination with Fixt’s guide for default settings, thanks!

Damn… I threw mine away a couple months ago :frowning: hehe
Nice work all!

1 Like

Can someone convert this to zigbbe2mqtt?

There are a couple good resources available, this one is probably a good place to start - [New device support]: TS0601 _TZE204_7gclukjs · Issue #21738 · Koenkk/zigbee2mqtt · GitHub

There are some other resources I’ve linked to in my original post which you can use for context and guidance.

Did you guys figure out how the fading time works?

We have a similar sensor model in this thread and we couldn’t exactly identify how the fading time works. It’s set to a minimum of 30 seconds by default and this can’t be changed. But I was able to configure a slider which should affect the timing yet I couldn’t see any difference changing the settings.

Hi all … have someone done replacement for esp8266 and esphome?

I didn’t spend much time on the fading time attribute as it seemed to work basically out of the box. I spent time figuring out which configuration of values worked best for reliability in my setup but nothing more than that. I have fading time set to the minimum and this works great for me. Note my sensor is used in a bathroom not a living space.

Thanks for your reply.
So what’s the minimum fading time after you leave the room?

On mine it seems to have a minimum of 30 seconds by default.

With fading time set to 1000ms, the total fading time is around 15-20 seconds. I just increased the fading time to 10000ms which increased the total fading time to 1 minute and 50 seconds, far longer than I was expecting.

It seems the fading time may not be linear. I was expecting to see 10 seconds of additional fading time on top of the base 15-20 seconds.

Anyone can tell me which ones of the shared quirks in this thread is the besto working one with most available entitys?

Hi Ben, I’ve had previous success, as you know, including adding another presence sensor to your code but just tried to add 2 more, both of which are
“_TZE284_iadro9bf” “TS0601” so the “MODELS_INFO” line now reads:

        MODELS_INFO: [
            ("_TZE204_7gclukjs", "TS0601"),("_TZE204_dapwryy7", "TS0601"),("_TZE284_iadro9bf", "TS0601")
            ],

but all I get is the Firmware entity (which was the only thing at initial install. Did I miss something?
Cheers
Mike