Open webfrank opened 4 years ago
The fact that you receive "something"is an indication that the PIR is/was triggered by motion (or initialisation). In addition, I see clearly the "MQTT Binary Sensor 'PIR Motion" message in your status message.
Note: the PIR sensor itself is monitored by an onboard (low-power operated) Micro-controller that will power-on the esp8266-chips which boots into Wifi and sending MQTT messages. The MCU will only do this at (first) initialization and at motion detected after an period of at least 60 seconds absence of movement. Hence. the Wifi is only active if there was a motion trigger. FWIW: The battery-state message is only send by the MCU (to esp8266) during first initialization, after inserting the batteries and/or doing a long-press reset.
Hi, I have a tuya WiFi Smart PIR Motion Sensor flashed with latest esphome.
This is my esphome config:
And this is my VERBOSE log output: