Skip to content
Stand with Ukraine flag

Notifications and UI Configuration

All parameters listed here correspond to settings in tb-edge.yml (or tb-edge.conf on Linux). Set them as environment variables in /etc/tb-edge/conf/tb-edge.conf (Linux) or as container environment variables (Docker / Kubernetes). For instructions on applying changes, see How to change configuration.

ParameterEnv variableDefaultDescription
mail.oauth2.refreshTokenCheckingIntervalREFRESH_TOKEN_EXPIRATION_CHECKING_INTERVAL86400Interval for checking refresh token expiration in seconds(by default, 1 day).
mail.per_tenant_rate_limitsMAIL_PER_TENANT_RATE_LIMITS_(empty)_Rate limits for sending mails per tenant. As example for 1000 per minute and 10000 per hour is “1000:60,10000:3600”
ParameterEnv variableDefaultDescription
usage.stats.report.enabledUSAGE_STATS_REPORT_ENABLEDtrueEnable/Disable the collection of API usage statistics. Collected on a system and tenant level by default
usage.stats.report.enabled_per_customerUSAGE_STATS_REPORT_PER_CUSTOMER_ENABLEDfalseEnable/Disable the collection of API usage statistics on a customer level
usage.stats.report.intervalUSAGE_STATS_REPORT_INTERVAL10Statistics reporting interval, set to send summarized data every 10 seconds by default
usage.stats.check.cycleUSAGE_STATS_CHECK_CYCLE60000Interval of checking the start of the next cycle and re-enabling the blocked tenants/customers
usage.stats.gauge_report_intervalUSAGE_STATS_GAUGE_REPORT_INTERVAL180000In milliseconds. The default value is 3 minutes
usage.stats.devices.report_intervalDEVICES_STATS_REPORT_INTERVAL60In seconds, the default value is 1 minute. When changing, in cluster mode, make sure usage.stats.gauge_report_interval is set to x2-x3 of this value
ParameterEnv variableDefaultDescription
ui.dashboard.max_datapoints_limitDASHBOARD_MAX_DATAPOINTS_LIMIT50000Maximum allowed datapoints fetched by widgets
ui.help.base-urlUI_HELP_BASE_URLhttps://raw.githubusercontent.com/thingsboard/thingsboard-ui-help/release-3.8Base URL for UI help assets
ParameterEnv variableDefaultDescription
notification_system.thread_pool_sizeTB_NOTIFICATION_SYSTEM_THREAD_POOL_SIZE10Specify thread pool size for Notification System processing notification rules and notification sending. Recommend value <= 10
notification_system.rules.deduplication_durationsTB_NOTIFICATION_RULES_DEDUPLICATION_DURATIONSNEW_PLATFORM_VERSION:0;RATE_LIMITS:14400000;Semicolon-separated deduplication durations (in millis) for trigger types. Format: ‘NotificationRuleTriggerType1:123;NotificationRuleTriggerType2:456’

Mobile application settings for Thingsboard mobile application

Section titled “Mobile application settings for Thingsboard mobile application”
ParameterEnv variableDefaultDescription
mobileApp.domainTB_MOBILE_APP_DOMAINdemo.thingsboard.ioServer domain name for Thingsboard Live mobile application
mobileApp.googlePlayLinkTB_MOBILE_APP_GOOGLE_PLAY_LINKhttps://play.google.com/store/apps/details?id=org.thingsboard.demo.appLink to Google Play store for Thingsboard Live mobile application
mobileApp.appStoreLinkTB_MOBILE_APP_APP_STORE_LINKhttps://apps.apple.com/us/app/thingsboard-live/id1594355695Link to App Store for Thingsboard Live mobile application