I believe I have now also experienced this “Panic, 14” issue with several Photons in my network, using this Piettetech_DHT library.
This is how it is in one sketch:
void ReadTempHum() {
dhtTemperature = DHT.getCelsius();
dhtHumidity = DHT.getHumidity();
dhtDewpoint = DHT.getDewPoint();
DHT.acquireAndWait(2000);
}
Or in another sketch:
void ReadTempHum() {
int result = DHT.acquireAndWait(1000);
ROOMTemp2 = DHT.getCelsius();
ROOMHumi = DHT.getHumidity();
ROOMTdf = DHT.getDewPoint();
n++;
}
None of these work!
It started after upgrading them to Device OS v. 1.4.2 (From v. 1.0.1)
Could this library be updated to work with the latest OS or is there any other idea to make this work again?
I also saw this thread , also about this library, but it’s not clear what the options for me are now…
This is a really disturbing problem for my whole home automation system as all Photons in use are going to be affected whenever I may decide to update user software on them …