Closed afreisinger closed 3 years ago
@squix78 WDYT?
Again, thanks for your contributions.
For this to stand a chance getting included I see a number of necessary changes:
dht.h
or even dht22.h
<my-sensor-type.h>
, it will contain all the same (public) function signatures as the dht.h
settings.h
or the .ino
you would then include your specific sensor header file.ino
will have no idea whether it's talking to a DHT22 or something else as will only call something like sensor.getTemperature()
Nothing to thank for. I will shuffle and give again !
Fixes #134
[x] This PR is compliant with the other contributing guidelines as well (if not, please describe why).
[x] I have thoroughly tested my contribution.
[x] Should this code require changes to documentation I will contribute those to https://github.com/ThingPulse/docs.
Add optional temperature and humidity sensor
Add screens and icons.
Modified settings.h with GPIO and TYPE SENSOR and IS_PRESENT conditional.