Neo coolcam pir motion sensor with tasmota

almost a week now been trying to figure out how to make this thing function:


i tried esphome first:


but wasn’t able to connect to it on HA.

then i have managed to flash tasmota on to it. but got stuck.
i can’t figure out which gpio does what.
and it doesn’t help that the damn thing goes to sleep every 30s.

any help?

Here, this one did it for me: (SOLVED) Neo Coolcam PIR motion Sensor

forgot to mention, mine is a wifi, not z-wave.

Hi,

I also managed to flash tasmota on my neo coolcam PIR motion sensor wifi.
Do you manage to make it work since you writed this post ?
Thx.
jm

nope, gave up and moved back to esphome.
it has something to do with the tuya mcu communication but i don’t know how to do it.

Thx. I’ll tell if I find something to make it work.

This thread will save your time:


It works all the way in HA.
https://templates.blakadder.com/TYMC-1.html is the template you are looking for. It is about door sensor but it works without change for the PIR sensor too.

i actualy have this door sensor so i know about the tuyamcu process and i did try to do it with the same process but i didn’t get the fnid messages (weblog 4), triggering the pir resulted nothing on the console, maybe it’s just my device but i did got it to work with esphome.
i have another coolcam pir to play with i will try it again and report

well as i suspected, the other one is behaving the same.

21:00:00 MQT: tele/PIR_WiFi/RESULT = {“TuyaReceived”:{“Data”:“55AA00050005660400010074”,“Cmnd”:5,“CmndData”:“6604000100”}}
21:00:00 MQT: tele/PIR_WiFi/RESULT = {“TuyaReceived”:{“Data”:“55AA00050005650100010171”,“Cmnd”:5,“CmndData”:“6501000101”}}

These are the two MQTT messages I see in console when it senses any motion.
After setting up the MQTT server details inside Tasmota, it works fine.

what gpio is your tuya rx and tx?

1 TX
3 RX

just like the template.

i think i found where i got it wrong.
i enabled the template and it didn’t work.
after resetting and choosing the tuyamcu module (54) i got it working.
the template page says: (or apply the provided template, result is the same).
but it didn’t work in my case.
well anyway… next is to see if i can get the battery stats.