https://github.com/ricki-z/SDS011 is working on ESP32 but lacks features like query mode or setting custom working periods. so try and make this one work: https://github.com/lewapek/sds-dust-sensors-arduino-library