Lyr3x / Roode

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

Vl53l0x bugfix #6

Closed Lyr3x closed 5 years ago

Lyr3x commented 5 years ago

Removed the static VL53L0X objects and changed the readSensorData() functions signature to

readSensorData(VL53L0X ROOM_SENSOR, VL53L0X CORRIDOR_SENSOR);

This is just a hotfix, because we now have a lot of redundant code. Maybe a template function is useful here.