mirror of https://github.com/arendst/Tasmota.git
Updated Sensor API (markdown)
parent
e7b35de0d2
commit
4768ef9fad
|
@ -102,7 +102,7 @@ This callback ID is called every 50 milliseconds, e.g. for near real-time operat
|
|||
This callback ID is called every second.
|
||||
|
||||
### FUNC_PREP_BEFORE_TELEPERIOD
|
||||
This callback ID is called before TELEPERIOD and is intended.
|
||||
This callback ID is called before TELEPERIOD and is intended to make provision for your sensor to be ready for polling during FUNC_JSON_APPEND or FUNC_WEB_APPEND for example, amongst the other function call options used by your sensor in the boolean Xsns<driverID>(byte callback_id) function as referenced above.
|
||||
|
||||
You would normally want to make sure you've detected and initialised before it is used by JSON_APPEND etc so that its ready to serve data.
|
||||
|
||||
|
|
Loading…
Reference in New Issue