kylemanna / sniffer

ESP32 Air Quality Sensor with PMSA003 + BME680 and 1.14" LCD
Other
121 stars 15 forks source link

RecursionError: maximum recursion depth exceeded while calling a Python object #13

Closed PureRandomGit closed 1 year ago

PureRandomGit commented 1 year ago

When I run esphome run sniffer0.yaml I get this error: RecursionError: maximum recursion depth exceeded while calling a Python object. I have done all the steps as you have instructed in the README but it still doesn't work I have tried this on windows and Linux but to no avail. I also tried using the web UI, the manual installation, and ESPhome in homeassistant but none worked.

PureRandomGit commented 1 year ago

The problem was solved by trying a fresh install and by using esphome through the command line. For anyone else having problems installing/compiling this first make sure that the esp board is flashed with the correct drivers, then if you receive an error about font or temp2 comment out the font and display section in sniffer_common (this makes the screen useless but I couldn't figure out what was wrong, if someone knows please let me know.)