I took the sleep and wake commands from https://github.com/ricki-z/SDS011 and they also work with the SDS018.