rddl-network / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
1 stars 2 forks source link

Set CID notarization time to 60min (default) #34

Closed eckelj closed 11 months ago

eckelj commented 12 months ago

Create a NotarizationPeriodicity Command so that this can be configured. However, we gonna set it to 60 min per default. The periodicity is currently hardcoded at https://github.com/rddl-network/Tasmota/blob/a46c1b39b2a957644da276ac1ac1fa4ec2b5156d/tasmota/tasmota_xdrv_driver/xdrv_129_rddl_network.ino#L735C26-L735C68

We should default it to 60 min and make it configurable by a command. Commands can be easily added to the following file: https://github.com/rddl-network/Tasmota/blob/rddl-development/tasmota/tasmota_support/support_command.ino This is done by:

  1. adding a void Cmnd(void) method
  2. adding the function reference to *void ( const TasmotaCommand[])(void) PROGMEM** variable: https://github.com/rddl-network/Tasmota/blob/a46c1b39b2a957644da276ac1ac1fa4ec2b5156d/tasmota/tasmota_support/support_command.ino#L88
  3. add DCMND definition to https://github.com/rddl-network/Tasmota/blob/a46c1b39b2a957644da276ac1ac1fa4ec2b5156d/tasmota/include/i18n.h#L273
  4. adding the DCMND to the other const char kTasmotaCommands[] PROGMEM variable
  5. increase the CmndStatusResponse(32); response value in your function