Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Christian Lehmann
    @ChristianLehmann_gitlab
    Hi, I'm trying to install thingsboard on Fedora 31 but get an error message when I try to install the rpm package "error: thingsboard-2.4.3.rpm: tag[42]: BAD, tag 1096 type 5 offset 6336 count 59 len 236
    error: thingsboard-2.4.3.rpm cannot be installed" --> I tried older versions of thingsboard as well --> same issue --> does anyone have an idea what could be the reason for this?
    DouglasRudd
    @DouglasRudd
    I still have not been able to resolve this issue. Error creating bean with name 'MqttTransportService': Invocation of init method failed; nested exception is java.net.BindException: Address already in use: bind. I have the mqtt port set to 1885 in the config file, I have used netstat to identify if the port is currently used and what application is using the port and identified that the port is not used by any application. the system has been working flawless up untill last week when the computer had to do a restart. there has been no new software installed on this computer in the last 2 years other then installing and updating thingsboard. I have tried changing the mqtt port to several different ports with the same results. BTW this is a windows 10 system.
    Gelmi
    @WojciechGelmuda_twitter
    Hi, I can't seem to build from source now. I am getting dependencies errors. Does anyone have the same issue?
    Fresh, updated 18.04, TB v2.4.3 cloned, jdk8, maven installed.
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Thingsboard ........................................ SUCCESS [ 1.417 s]
    [INFO] Netty MQTT Client .................................. SUCCESS [ 3.806 s]
    [INFO] Thingsboard Server Commons ......................... SUCCESS [ 0.084 s]
    [INFO] Thingsboard Server Common Data ..................... FAILURE [ 1.125 s]
    [INFO] Thingsboard Server Common Utils .................... SKIPPED
    [INFO] Thingsboard Server Common Messages ................. SKIPPED
    [INFO] Thingsboard Server Queue components ................ SKIPPED
    [INFO] Thingsboard Server Commons ......................... SKIPPED
    [INFO] Thingsboard Server Common Transport components ..... SKIPPED
    [INFO] Thingsboard MQTT Transport Common .................. SKIPPED
    [INFO] Thingsboard HTTP Transport Common .................. SKIPPED
    [INFO] Thingsboard CoAP Transport Common .................. SKIPPED
    [INFO] Thingsboard Server Common DAO API .................. SKIPPED
    [INFO] Thingsboard Extensions ............................. SKIPPED
    [INFO] Thingsboard Rule Engine API ........................ SKIPPED
    [INFO] Thingsboard Server DAO Layer ....................... SKIPPED
    [INFO] Thingsboard Rule Engine Components ................. SKIPPED
    [INFO] Thingsboard Server Transport Modules ............... SKIPPED
    [INFO] Thingsboard HTTP Transport Service ................. SKIPPED
    [INFO] Thingsboard MQTT Transport Service ................. SKIPPED
    [INFO] Thingsboard CoAP Transport Service ................. SKIPPED
    [INFO] Thingsboard Server UI .............................. SKIPPED
    [INFO] Thingsboard Server Tools ........................... SKIPPED
    [INFO] ThingsBoard Server Application ..................... SKIPPED
    [INFO] ThingsBoard Microservices .......................... SKIPPED
    [INFO] ThingsBoard Docker Images .......................... SKIPPED
    [INFO] ThingsBoard JavaScript Executor Microservice ....... SKIPPED
    [INFO] ThingsBoard Web UI Microservice .................... SKIPPED
    [INFO] ThingsBoard Node Microservice ...................... SKIPPED
    [INFO] ThingsBoard Transport Microservices ................ SKIPPED
    [INFO] ThingsBoard MQTT Transport Microservice ............ SKIPPED
    [INFO] ThingsBoard HTTP Transport Microservice ............ SKIPPED
    [INFO] ThingsBoard COAP Transport Microservice ............ SKIPPED
    [INFO] ThingsBoard Black Box Tests ........................ SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7.894 s
    [INFO] Finished at: 2020-03-20T23:27:07+01:00
    [INFO] Final Memory: 35M/83M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project data: Could not resolve dependencies for project org.thingsboard.common:data:jar:2.4.1: Failed to collect dependencies at com.datastax.cassandra:cassandra-driver-core:jar:3.6.0 -> com.github.jnr:jnr-ffi:jar:2.1.7 -> org.ow2.asm:asm:jar:5.0.3: Failed to read artifact descriptor for org.ow2.asm:asm:jar:5.0.3: Could not transfer artifact org.ow2.asm:asm:pom:5.0.3 from/to central (http://repo1.maven.org/maven2/): Failed to transfer file: http://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn <goals> -rf :data
    Gelmi
    @WojciechGelmuda_twitter

    sudo apt update
    sudo apt dist-upgrade

    sudo apt install openjdk-8-jdk
    sudo update-alternatives --config java
    java -version

    sudo apt-get install maven
    git clone https://github.com/thingsboard/thingsboard.git
    cd thingsboard
    git checkout release-2.4

    mvn clean install

    also tried
    mvn clean install -DskipTests
    Gelmi
    @WojciechGelmuda_twitter
    tries this with 16.04 and 18.04
    Adam Webb
    @webby448_gitlab
    Hi, I am building some custom widgets for TB but can't figure out how to access locally stored image files. Anyone tried this or have any clues how to access them?
    Sorry should have mentioned- Locally hosted on Ubuntu 18.04LTS, using apache2 web redirect with SSL.
    Image files are .png and .gif files.
    hossein jalili
    @hossein_h73_twitter
    Hi, how can i customize thingsboard ui. what language and technology i should learn for doing this?
    thanks, have nice.
    grators
    @grators
    hi any way to keep headers fixed in timeseries table ?
    when scrolling down the table headers /column title is disappears
    @hossein_h73_twitter thingsboard ui is based on native JS + html and anjular - so you should use/learn them both
    Gelmi
    @WojciechGelmuda_twitter
    Anyone can build 2.4.3 now?
    Gelmi
    @WojciechGelmuda_twitter
    Or any other 2.x release?
    Gelmi
    @WojciechGelmuda_twitter
    I am changing Maven Central mirrors, but I cannot successfully built TB. Could you check this from your side. Something changed in the repositories?\
    Andrew Barber
    @Dewieinns
    I am attempting to create an "End User" dashboard where a customer can see only select telemetry/attribute data (and does not have permission/access to modify) for their particular device(s). From what I can tell this can be accomplished using an "Entity View" - but I'm not finding any great examples to help guide me in the right direction. Does anyone have any suggestions where I might find information to assist me with this task?
    grators
    @grators

    I am attempting to create an "End User" dashboard where a customer can see only select telemetry/attribute data (and does not have permission/access to modify) for their particular device(s). From what I can tell this can be accomplished using an "Entity View" - but I'm not finding any great examples to help guide me in the right direction. Does anyone have any suggestions where I might find information to assist me with this task?

    you can start with this - https://thingsboard.io/docs/user-guide/rbac/ - if you need any more help you can send me message

    suyashmathema
    @suyashmathema
    Hello,
    Hello how can I use a single dashboard for multiple customers having the same device type?
    Andrew Barber
    @Dewieinns
    @grators ah - so it appears what I am looking for is only available in Thingsboard PE
    Andrew Barber
    @Dewieinns
    What about viewing Telemetry data of devices belonging to nested customers? (Thingsboard CE)
    If I have:
    Asset A which is assigned to Company A
    Company 1 contains Device 1
    Company 2 contains Device 2
    Company 1 and 2 are related to Company A. As a Tenant Administrator I can view everything in an Entity Hierarchy chart and it is what I would expect. I can not figure out how to make Company A list Company 1 and 2, much less see their devices. When I try to access the Entity Hierarchy as a user of Customer A I can see the customer only and am presented with an error indicating Access is Forbidden and to sign in as a different user.
    Geir Andersen
    @GeirFrimann
    I would like to send notifications if a device within a given Asset hasn't sent any telemetry data within a give time. Any ideas?
    Damian Exequiel Garcia
    @dexequiel87
    @IoTopenTech Thank you!
    TonAbs
    @TonAbs
    Hello! I just followed the thingsboard docs and installed the thingsboard PE on AWS. I was wondering what kind of database it is using by default. The docs say HSQLDB but I cannot find this anywhere in the thingsboard.yml . It looks like its a postgresql since this is the only configuration in the config file.
    blackprincess88
    @blackprincess88

    Hello everyone!I have some problems using MQTT Integration and Data Converters for receiving data via MQTT by an external broker. I have followed the video tutorial https://youtu.be/BeN5bsDQbdo where only temperature data is sent and everything works.

    Then I modified both Uplink Data Converter and MQTT Integration module in order to receive a JSON with more than one key-value pair, but I receveid errors or only temperature data is showed in the telemetry of the device. I used debug mode and the funny things is that when I use Uplink test decoder it seems to work (i.e. I found my second key-value pair in the telemetry data). Hence the problem should relies on the MQTT Integration (in fact in the general block scheme it is placed before the data converter block).

    I tried also removing the last part of the default topic as it seems to affect the name of the telemetry variable ("/temperature"). In addition, for my application, I would like to use a custom different topic (i.e. not including tb/mqtt-integration-tutorial) but when I tried to change this field (both in Data Converter and in MQTT Integration) it did not work.

    For example, this the simple message that I would like to send by mosquitto_pub: {"temp":30, "hum":15}. What should I have to modify in the MQTT Integration module?

    Thanks in advance for the help! :)

    calluminfra
    @calluminfra
    Hi All.
    Can anyone offer some advice on roles in the professional edition? I'm trying to get it so that I have a read only and read/write dashboard accessible to two types of user (Read only and read/write user). I've created a group role for the read only user of type 'Dashboards', however when I try and access the dashboard as a user I can only access the export function and can't click through to see the telemetry data I've created.
    Am I miss-understanding something fundamental? I've had a read through of the Advanced role page a few times, but am coming up short on how to configure this kind of scenario.
    calluminfra
    @calluminfra
    Basically:
    Read only user -> Can only access a read only dashboards for each of their devices
    Read/Write user -> Can access both read only dashboard and another dashboard where they can write attributes to their assigned devices
    harithazam14
    @harithazam14

    hello. sorry. I am new here using ThingsBoard. I just want to ask simple question yet problematic to me , how to change the marker using marker image function? Here is my current function.

    var deviceType = dsData[dsIndex]['deviceID'];
    var res;
    if (deviceType == "XXXXXXX") {
    res = {
    url: images[1],
    size: 30,
    }
    }
    return res;

    Robert Bakelaar
    @robert137_gitlab
    Question: I have a device that retrieves all the data from various assets. Is there a way to push telemetry data to a specific asset based on the value of a field in the payload? So I have a central gateway always sending the same payload: say {"DeviceName": "X", "Value": 1} and {"DeviceName":"Y", "Value":0}. From the device I want to route message one to Asset X and message 2 to Asset Y. I cannot find this in the rules. I am able o rout all data to one asset based on change originator and a relation, but not to specific assets. Anybody got an idea?
    skuppens
    @skuppens

    Hi all,... I've got a question about installing TB in docker on ubuntu....
    I followed the instructions except I changed the port of the physical machine.... in stead of: docker run -it -p 9090:9090 -p 1883:1883 -p 5683:5683/udp -v ~/.mytb-data:/data -v ~/.mytb-logs:/var/logs/thingsboard --name mytb --restart always thingsboard/tb-postgres
    I used
    docker run -it -p 8082:9090 -p 1883:1883 -p 5683:5683/udp -v ~/.mytb-data:/data -v ~/.mytb-logs:/var/logs/thingsboard --name mytb --restart always thingsboard/tb-postgres

    It starts, no errors, but I can not connect... Any idea's?
    Thanks for the help!

    skuppens
    @skuppens
    @skuppens reminder to myself: make sure the sysadmins open the port before you test! :-D
    Ondrej Rehacek
    @olirehacek

    hi, i am trying to build latest thingsboard but it constantly failing at

    org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.13-bin.zip'.

    while building HTTP Transport.

    Can somebody help me with it, i have no more ideas how to fix it.

    [ERROR] Failed to execute goal org.fortasoft:gradle-maven-plugin:1.0.8:invoke (default) on project http: org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.13-bin.zip'. -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.fortasoft:gradle-maven-plugin:1.0.8:invoke (default) on project http: org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.13-bin.zip'.
    Ondrej Rehacek
    @olirehacek
    fyi setting up alternative mirror to aliyun doesn't help
    ahmed wahdan
    @ahmedwahdan
    Hello,
    I have a website for users to add, configure, see the status of their devices.
    The devices push the data to the server using TCP sockets.
    I want to use the features of Thingsboard like MQTT, Certificates, ruls, etc, but also I need to keep my current website desing.
    I thought of sharing the database of the platform, but I don't if this is possible or not and whether there are other better solutions, maybe redesign the user interface in Thingsboard itself.
    What do you think?
    @suyashmathema I believe you can found this in one of the tutorials videos. As I remember the Alias will define that.
    JacksonBowe
    @JacksonBowe
    Hello, just joined this board. I've set up an instance of TB PE and I'm having some issues with dashboards. I read in the documentation that you can assign one dashboard to multiple customers as a "template". The process followed in the video is not possible for me as I'm missing some action bar icons. Has anyone encountered this issue?
    Video for reference: https://www.youtube.com/watch?v=L_geyNzS7tM
    Akshay Pilane
    @AkshayPilane
    hii everyone,
    using RPC,
    in switch control we can change the state on/off, and it will also reflect in device.
    i want to change the state of switch control from device, when device is turn on/off
    Any assistance would be greatly appreciated.
    bskrt
    @bskrt
    Hi all, already did a search, but want to double check if my assumptions are correct. Being a Tenant, once I assign a device to a customer (Change owner), I can't see the device anymore in my Tenant device groups? This feels pretty counter-intuitive and almost like a bug, or is it working as intended and am I just missing something. (TB PE version)
    PhyPass
    @phypass_gitlab
    I want to build a solution like Fleet Tracking ( https://demo.thingsboard.io/dashboard/3d0bf910-ee09-11e6-b619-bb0136cc33d0?publicId=963ab470-34c9-11e7-a7ce-bb0136cc33d0 ). Has anyone built a sample like that yet?
    Mehedi Hassan
    @mehedi.hassan_gitlab
    image.png
    how to create package.json ?
    affoltep
    @affoltep

    I don't know how to access json object with new tb-gateway mqtt.json:
    Here is my structure (Thingsnetwork)

    {
      "app_id": "my-app-id",              // Same as in the topic
      "dev_id": "my-dev-id",              // Same as in the topic
      "hardware_serial": "0102030405060708", // In case of LoRaWAN: the DevEUI
      "port": 1,                          // LoRaWAN FPort
      "counter": 2,                       // LoRaWAN frame counter
      "is_retry": false,                  // Is set to true if this message is a retry (you could also detect this from the counter)
      "confirmed": false,                 // Is set to true if this message was a confirmed message
      "payload_raw": "AQIDBA==",          // Base64 encoded payload: [0x01, 0x02, 0x03, 0x04]
      "payload_fields": {},               // Object containing the results from the payload functions - left out when empty
      "metadata": {
        "airtime": 46336000,              // Airtime in nanoseconds
        "time": "1970-01-01T00:00:00Z",   // Time when the server received the message
        "frequency": 868.1,               // Frequency at which the message was sent
        "modulation": "LORA",             // Modulation that was used - LORA or FSK
        "data_rate": "SF7BW125",          // Data rate that was used - if LORA modulation
        "bit_rate": 50000,                // Bit rate that was used - if FSK modulation
        "coding_rate": "4/5",             // Coding rate that was used
        "gateways": [
          {
            "gtw_id": "ttn-herengracht-ams", // EUI of the gateway
            "timestamp": 12345,              // Timestamp when the gateway received the message
            "time": "1970-01-01T00:00:00Z",  // Time when the gateway received the message - left out when gateway does not have synchronized time
            "channel": 0,                    // Channel where the gateway received the message
            "rssi": -25,                     // Signal strength of the received message
            "snr": 5,                        // Signal to noise ratio of the received message
            "rf_chain": 0,                   // RF chain where the gateway received the message
            "latitude": 52.1234,             // Latitude of the gateway reported in its status updates
            "longitude": 6.1234,             // Longitude of the gateway
            "altitude": 6                    // Altitude of the gateway
          },
          //...more if received by more gateways...
        ],
        "latitude": 52.2345,              // Latitude of the device
        "longitude": 6.2345,              // Longitude of the device
        "altitude": 2                     // Altitude of the device
      }
    }

    in the past you could use:

     "mapping": [
            {
              "topicFilter": "<AppID>/devices/+/up",
              "converter": {
                "type": "json",
                "filterExpression": "",
                "deviceNameJsonExpression": "${$.hardware_serial}",
                "attributes": [
                  {
                    "type": "string",
                    "key": "modulation",
                    "value": "${$.metadata.modulation}"
                  }
                ],

    Today it does not work anymore with:
    ...
    "value":${$.metadata.modulation}"
    ...
    What ist the syntax for the new tb-gateway mqtt.json config file, if you want to get access to metadata.xyz?

    calluminfra
    @calluminfra

    Basically:
    Read only user -> Can only access a read only dashboards for each of their devices
    Read/Write user -> Can access both read only dashboard and another dashboard where they can write attributes to their assigned devices

    The Fix for this was to include read perms to 'widget type' and 'widget bundle' in the generic group

    shubhamwade
    @shubhamwade
    how I can change the other widget data when i click on my entity name in entity table.
    bskrt
    @bskrt
    Anyone know if it's possible to assign a dashboard to an entire customer group? Instead of giving permissions to each customer individually? (adding them one-by-one with a Read All group role on the dashboard group)
    bskrt
    @bskrt
    I made a dashboard as an customer administrator, but want to share it with all customers from a specific customer group.