This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Description
Starting a new topic here.
I used:
people_counter_esp32.ino
the name of my sensor is tof_people_ard
Changed the value 500 to 5000 for wifi timeout.
The ESP32 is succesfully conected to WiFi and MQTT. I can see the topic realtime changing for:
people_counter/tof_people_ard/distance
I do not see any updates for the counter in topic:
people_counter/tof_people_ard/counter
It did work 1 time hower.

In above image you can see the MQTT realtime going and on some moment I place my hand before the sensor.
the standard config as in the ino is in my compiled upload. And no matter what I try to place the sensor it counts 2... so the home assistant counter is never updated.
Any help appreciated!