TB

@tb

ThingsBoard IoT Club

Public team

Joined on Jul 1, 2021

  • [!Note] 試著從 3.8.0 開始部署, 逐步升級至 3.9.0 (切勿直接跳升到最終目標版本) Environment OS debian-12.9.0-amd64-netinst.iso $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
     Like  Bookmark
  • 此文件是關於 https://github.com/5giotlead/bsmi-spx-vc 這個Thingsboard version control內的物件。 並且建置進去另一個Thingsboard環境。 原有環境 Asset Profiles BSMI Xizhi Rule Chain
     Like  Bookmark
  • Environment ::: spoiler env OS debian-12.9.0-amd64-netinst.iso $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12"
     Like  Bookmark
  • MikroTikMQTT and ThingsBoard configuration Bluetooth tag-tracking using MQTT and ThingsBoard GPS-tracking using MQTT and ThingsBoard Container - ThingsBoard MQTT/HTTP server Sending temperature readings from the TG-BT5-OUT tag to ThingsBoard Yobiiq B.V. SD-1001 ThingsBoard Integration
     Like  Bookmark
  • Overview goal 假設說有tenant的某幾個dashboard被刪除, 或是消失 透過TB的備份.sql檔案, 在uptime直接回復。 (如果要回檔效果, 可能要更改merge的條件) step 前置, 你一定要有時常備份的.sql檔案 create temp db (temp_database)
     Like  Bookmark
  • :::info Aim: Definition and explanation of proper nouns ::: Tenants and Customers Tenants A separate business-entity: it’s an individual or an organization who owns or produce devices and assets; Tenant may have multiple tenant administrator users and millions of customers, devices and assets Customers Also a separate business-entity: individual or organization who purchase or uses tenant devices and/or assets; Customer may have multiple users and millions of devices and/or assets
     Like  Bookmark
  •  Like  Bookmark
  • ThingsBoard Overview (02/11) PPT link: https://app.presentations.ai/view/xPDh1j (pwd: null) Youtube link:https://youtube.com/live/8eqcYGCFuK4?feature=share Devices in ThingsBoard (02/21) PPT link: https://app.presentations.ai/view/ms7B8G Youtube link: https://youtube.com/live/F9EKg8kep10 UI visulization - Dashboards & widgets (02/27) PPT link: https://app.presentations.ai/view/lZbQxk
     Like 1 Bookmark
  • [!Note] 本文主要目的在說明如何使用 ThingsBoard 的翻譯功能 以及 ThingsBoard 的翻譯方式是採用 ngx-translate/core Translation in ThingsBoard custom widget 使用 ngx-translate/core 吃的到 ThingsBoard Community Edition src 中 json 檔的設定 <div>{{ 'account.notification-settings' | translate }}</div> <!-- return Notification settings -->
     Like  Bookmark
  • Backend extend :::info 使用 Maven 編譯後端原始碼,並經由 Spring Data JPA (Java Persistence API) 進行數據處理與擴展的技術指引。 ::: 建立 Spring Boot Project ( https://start.spring.io/ || 透過 IDE ) 建立功能所需 MVC 並執行確認功能是否正常使用 在 org.thingsboard.server.config package 底下建立 IoC 管理檔案路徑設定(com.fgiotlead.signage) package org.thingsboard.server.config;
     Like  Bookmark
  • TB-Edge VM: edge/edge-jul (ip not set) Docker tb-edge docker-compose.yml (/home/swae/docker-containers/tb-edge/docker-compose.yml) services: mytbedge: restart: always
     Like  Bookmark
  • :::info TB Architecture image ::: 目錄結構 version: tb 3.9.0
     Like  Bookmark
  • Getting started with ThingsBoard IoT Gateway :::info What is Thingsboard IoT Gateway? Devices > --- modbus --- > converter / connector > ... ::: Installation Docker + Linux
     Like  Bookmark
  • Widgets Hands-on Guide Getting started Introduction of Key Concepts Rule of thumb :gear: System Widget Bundle Analogue gauges Digital gauges GPIO gauges Date
     Like  Bookmark
  • Create Time-Series type Widget Add time display in HTML <!-- an example --> <div class="timestamp">From {{timeStart}} to {{timeEnd}}</div> Use self.ctx .timeWindow.maxTime and self.ctx .timeWindow.minTime to get timeWindow data self.onInit = function() { self.ctx.$scope.timeEnd = transferToDate(self.ctx .timeWindow.maxTime);
     Like  Bookmark
  • PE White Labeling White Labeling Login White Labeling Advanced CSS Custom background image .mat-app-background, .tb-dark.mat-app-background { background-image: url("https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg"); }
     Like  Bookmark
  • Originator Alarm originator is an entity that causes the alarm. Type Alarm type helps to identify the root cause of the alarm. ex: High Humidity Severity Level Critical Major Minor
     Like  Bookmark
  • Open source projects in TB Kafka Apache Kafka is an open-source stream-processing software platform. ThingsBoard uses Kafka to persist incoming telemetry from HTTP/MQTT/CoAP transpots until it is processed by the rule engine. ThingsBoard also uses Kafka for some API calls between micro-services. Redis Redis is an open source (BSD licensed), in-memory data structure store used by ThingsBoard for caching. ThingsBoard caches assets, entity views, devices, device credentials, device sessions and entity relations. Zookeeper Zookeeper is an open-source server which enables highly reliable distributed coordination. ThingsBoard uses Zookeeper to address requests processing from a single entity (device,asset,tenant) to a certain ThingsBoard server and guarantee that only one server process data from particular device at a single point in time.
     Like  Bookmark
  • Essential Features [x] Dashboard [x] Reports [x] Notification [x] Authentication [x] Authorization DashboardWhite LabelingTheme color can be adjusted by clients Login Page can change, but limited (only alter color and no html edit) Tenant main menu can edit
     Like  Bookmark
  • Steps Create alarm rule chain - via email test a. script_under Threshold (filter in yellow) b. script_under Threshold (transformation in blue) c. create alarm d. clear alarm
     Like  Bookmark