Tasmota: Reduce time for sensor report

Created on 3 May 2017  Â·  12Comments  Â·  Source: arendst/Tasmota

define TELE_PERIOD 300 // [TelePeriod] Telemetry (0 = disable, 10 - 3600 seconds).

I have tried to reduce this value to update the sensor reporting time. Is this the correct paramater to have a temp sensor report temp changes via MQTT?

Most helpful comment

@mrohner Check out this page: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands

Specifically, entering this command in the web console:

TelePeriod 60

...will change the telemetry period to 60 seconds (from the default 300).

All 12 comments

yes, reducing this number will generate the tele/ reports more frequently

This defined only in the user_config.h file?
I have set the value to 30 but still see messages after 5 min after flashing.

`// -- MQTT - Telemetry ----------------------------

define TELE_PERIOD 30 // [TelePeriod] Telemetry (0 = disable, 10 - 3600 seconds)`

no, you can configure it via a command or in the web page (configuration ->
logging)

look in troubleshooting for why your change to user_config.h didn't get applied.

David Lang

That did the trick. Thanks.


From: David Lang notifications@github.com
Sent: Tuesday, May 2, 2017 7:55:47 PM
To: arendst/Sonoff-Tasmota
Cc: Mike; Author
Subject: Re: [arendst/Sonoff-Tasmota] Reduce time for sensor report (#405)

no, you can configure it via a command or in the web page (configuration ->
logging)

look in troubleshooting for why your change to user_config.h didn't get applied.

David Lang

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arendst/Sonoff-Tasmota/issues/405#issuecomment-298793459, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AP7BbIytzNDo3Bcfuc6pcDpEVbYUhZBsks5r18KDgaJpZM4NOx4D.

wHAT DID THE TRICK?

@mrohner Check out this page: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands

Specifically, entering this command in the web console:

TelePeriod 60

...will change the telemetry period to 60 seconds (from the default 300).

Can the telemetrie be changed via mqtt command?

Yes.

Explained in wiki at commands:

cmnd/yourtasmotatopic/teleperiod 60

Where 60 are seconds

I gather from the console and the commandslist that the smallest value of Teleperiod is 10 seconds? Is there a way to shorten this? I'd like to switch a dustcollector using something like current or voltage going through a smartplug (or eventually shelly) as a trigger. It would be ideal to have that switch on after 1 or 2 seconds.

If you want a mqtt message when a sensor reaches a value or a threshold, you need to use rules. Please, check the docs at rules. There are examples of exactly that. Thanks.

If you need further assistant on that, please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you.

Thanks.


Support Information

See Wiki for more information.
See FAQ for common questions/answers and links if none of your question is in the list
See Chat for more user experience.
See Community for forum.
See Code of Conduct

Thank you for pointing me in the right direction. So much to learn! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

esp32x picture esp32x  Â·  3Comments

smadds picture smadds  Â·  3Comments

wirelesssolution picture wirelesssolution  Â·  3Comments

Joeyhza picture Joeyhza  Â·  3Comments

luisfpinto picture luisfpinto  Â·  3Comments