I have firmware that works fine with the original Photon, Electron and Argon to read from a DHT22, but I cannot get this working on the Photon2. It is using the PietteTech_DHT library.
I see the migration page mentions the SHTx not being compatible due to the slower GPIO pins, does the DHT fall into the same category?
Is the DHT22 known to be incompatible with the P2s now? That would be a real disapointment!
I've had good luck with the Sensiron SHT3x I2C sensors, like the SHT30. It's available in a variety of form-factors including chip, a plastic package that looks like a DHT22, and probe.
I got my hands on some DHT30's and honestly they were easier to get working than the DHT20's which I always found to be a bit temperamental.
I was frustrated that something that has worked since the original Spark Core broke all of the sudden, but happy to say it was an easy change for new devices, and the benefits clearly outweigh the cons!