Lyr3x / Roode

A reliable smart home people counter based on VL53L1X and ESPHome
The Unlicense
149 stars 41 forks source link

Provide Recalibration as button #66

Closed Lyr3x closed 2 years ago

Lyr3x commented 2 years ago

As of 2021.12 ESPHome and HA support button entities which do a certain action on press. That is something that were missing to implement a proper recalibration, our counter reset button.

Lyr3x commented 2 years ago
- platform: template
    name: $friendly_name Recalibrate
    on_press:
      - lambda: id(roode_platform)->recalibration();

This is working for now but it should be a -platform: roode button

sunshine-hass commented 2 years ago

Hello, have you actually tested this project? I tested https://github.com/Andrea-Fox/peopleCounter before, and it can meet my needs. Now the home is being renovated and I need to integrate the ESPhome version.

Lyr3x commented 2 years ago

I don't get your question. Andreas Version is a very basic Version and not really comparable anymore.