Skip to content
Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

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.

Parameter Env variable Default Description
mail.oauth2.refreshTokenCheckingInterval REFRESH_TOKEN_EXPIRATION_CHECKING_INTERVAL 86400 Interval for checking refresh token expiration in seconds(by default, 1 day).
mail.per_tenant_rate_limits MAIL_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”
Parameter Env variable Default Description
usage.stats.report.enabled USAGE_STATS_REPORT_ENABLED true Enable/Disable the collection of API usage statistics. Collected on a system and tenant level by default
usage.stats.report.enabled_per_customer USAGE_STATS_REPORT_PER_CUSTOMER_ENABLED false Enable/Disable the collection of API usage statistics on a customer level
usage.stats.report.interval USAGE_STATS_REPORT_INTERVAL 10 Statistics reporting interval, set to send summarized data every 10 seconds by default
usage.stats.check.cycle USAGE_STATS_CHECK_CYCLE 60000 Interval of checking the start of the next cycle and re-enabling the blocked tenants/customers
usage.stats.gauge_report_interval USAGE_STATS_GAUGE_REPORT_INTERVAL 180000 In milliseconds. The default value is 3 minutes
usage.stats.devices.report_interval DEVICES_STATS_REPORT_INTERVAL 60 In 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
Parameter Env variable Default Description
ui.dashboard.max_datapoints_limit DASHBOARD_MAX_DATAPOINTS_LIMIT 50000 Maximum allowed datapoints fetched by widgets
ui.help.base-url UI_HELP_BASE_URL https://raw.githubusercontent.com/thingsboard/thingsboard-ui-help/release-3.8 Base URL for UI help assets
Parameter Env variable Default Description
notification_system.thread_pool_size TB_NOTIFICATION_SYSTEM_THREAD_POOL_SIZE 10 Specify thread pool size for Notification System processing notification rules and notification sending. Recommend value <= 10
notification_system.rules.deduplication_durations TB_NOTIFICATION_RULES_DEDUPLICATION_DURATIONS NEW_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”
Parameter Env variable Default Description
mobileApp.domain TB_MOBILE_APP_DOMAIN demo.thingsboard.io Server domain name for Thingsboard Live mobile application
mobileApp.googlePlayLink TB_MOBILE_APP_GOOGLE_PLAY_LINK https://play.google.com/store/apps/details?id=org.thingsboard.demo.app Link to Google Play store for Thingsboard Live mobile application
mobileApp.appStoreLink TB_MOBILE_APP_APP_STORE_LINK https://apps.apple.com/us/app/thingsboard-live/id1594355695 Link to App Store for Thingsboard Live mobile application