Yes and no. If you set the Teleperiod to 900 (15 minutes) then all the sensors would send the information every 15 minutes. See
To get other sensors to send the information every 5 minutes you would need to use a Rule
A combination of a trigger of Time#Minute|5 and this Rule
Should do it.
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d1e81694-1994-4e73-a1a2-712ef7667e38n%40googlegroups.com.
AFAIK webrefresh only affect the UI updates to reduce the load on the processor and doesn’t affect the reading rates which are set in the driver(s).
As for Sensor20 the setting is the time BEFORE the next Teleperiod that it will poll the sensor so in the use case described Sensor20 35 would poll the sensor 35 seconds before the Teleperiod to get the reading for the next MQTT output. I don’t know if it switches the device on but, if it doesn’t, you could power the sensor from a GPIO and power up, say, 1 minute before Teleperiod.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d716583e-da35-4c5a-b643-edb69f7cf92en%40googlegroups.com.
Most of the drivers are on GitHub and have an associated readme or just an .ino which explain how the sensor driver works.
For the BME280 (mentioned in the thread) the advanced settings.ino has the following
/* | |
// humidity sensing | |
Serial.println("-- Humidity Sensing Scenario --"); | |
Serial.println("forced mode, 1x temperature / 1x humidity / 0x pressure oversampling"); | |
Serial.println("= pressure off, filter off"); | |
bme.setSampling(Adafruit_BME280::MODE_FORCED, | |
Adafruit_BME280::SAMPLING_X1, // temperature | |
Adafruit_BME280::SAMPLING_NONE, // pressure | |
Adafruit_BME280::SAMPLING_X1, // humidity | |
Adafruit_BME280::FILTER_OFF ); | |
| |
// suggested rate is 1Hz (1s) | |
delayTime = 1000; // in milliseconds | |
*/ |
So humidity sensing is read once a second.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7a08987b-aa9d-40b7-9797-d8c907509532n%40googlegroups.com.