Just a few ideas, using other sensors, if your wanting to keep the size small. The DHT22 can be replaced with a BMP280 that’s a 3rd the size, uses I2C protocol and provides pressure, temp and humidity. If using Esp Easy firmware it also gives the the dry bulb temp. For light sensing a small photocell with two resistors takes up very little room. Not much you can do with the PIR sensor, their just plane bulky, but you could maybe use an RCWL motion sensor see here for the specs.