Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    MichelleHusbands
    @MichelleHusbands
    I upgraded postgres from 10 to 11 following the instructions attached on here
    kanishka13
    @kanishka13
    Force Kill the process and start again.
    MichelleHusbands
    @MichelleHusbands
    I tried that @kanishka13, but I got a message that the process does not exist, I tried killing the process that block, both of them and same message.
    MichelleHusbands
    @MichelleHusbands
    Do you guys think that upgrading to the next version will fix the error?
    MichelleHusbands
    @MichelleHusbands
    Okay, tried restoring the database from previous backup and, it restored correctly but it did not fix the 503 error I get when accessing my server from the browser... so it is not the database?
    osquillar570
    @osquillar570
    Hi all, I have a problem with thingsboard and teltonika GPS connected through flespi. The issue is that somehow the incomming message is splitted and one message generate several outputs. That leads in same alarm triggering few times. Does any one experienced problems like this?
    Seiko Santana
    @seikosantana

    Have anyone ever made a dashboard using the ThingsBoard HTTP API? I keep getting bad request with this request:
    {
    "id": {
    "id": "new-id"
    },
    "tenantId": {
    "id": "c157c070-54a6-11eb-a8d3-39dcdb19ff25"
    },
    "title": "Test Dashboard",
    "name": "TDB",
    "configuration": ""
    }

    what am i doing wrong?

    roclaw
    @roclaw
    Hello, how can I set the value of a knob control via RPC?
    Roni Beitelmajer
    @Shedaim
    Has anyone ever made a widget that get input and sends it to a specific rule-chain?
    Yuva86
    @Yuva86
    Hi, Is it possible to connect to another server from thingsboard via websockets. From Thingsboard, I want to subscribe to topics hosted by 3rd party server and once thingsboard started receiving data from subscribed topics, i want to have a data converter logic applied to it before displaying it in dashboard. Is it possible?
    Roni Beitelmajer
    @Shedaim
    I guess you need to create an MQTT integration and and respective uplink and downlink converters. Sounds possible out-of-the-box.
    Paruchuri S V N Roy
    @kickstart530_twitter
    Hi All, We are working on Project where we need to relay data to the server when Gateway end point receives an update.
    Any ideas around this use case?
    Saif Alani
    @SaifAlani94
    Hi dears
    I need a little bit of help, I am trying to forward the incoming telemetry data saved in a device to specified assets.
    • I made a relation between the device and the asset.
    • I made a rule node to change the originator and save time series
    • I add the rule node to the root rule node.
    but it not working I think there is a problem but I cannot find where it is.
    bilirubina
    @bilirubina

    I get errorCode 31 "Device name should be specified" when I try to add a device using rest API. Actually I specified the name with -d 'DeviceD'. Why do I get this error?
    This is my command:

    curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"username":"tenant@thingsboard.org", "password":"tenant"}' --header 'X-Authorization: Bearer TOKEN' -d 'DeviceD' 'http://localhost:8080/api/device'

    melkio95
    @melkio95
    Hi guys, this may be a stupid question, but i am trying to use a public certificate (public.cer) and CA certificate (ca.cer) given my private.key Can someone explain me how to use them? i got them in volume /sslcerts.
    Can someone explain me how to setup the environment variables (i watched at this list https://thingsboard.io/docs/user-guide/install/config/ ) btw i need only https
    Paruchuri S V N Roy
    @kickstart530_twitter

    Hi guys, this may be a stupid question, but i am trying to use a public certificate (public.cer) and CA certificate (ca.cer) given my private.key Can someone explain me how to use them? i got them in volume /sslcerts.
    Can someone explain me how to setup the environment variables (i watched at this list https://thingsboard.io/docs/user-guide/install/config/ ) btw i need only https

    did you set server.ssl.enabled to true?

    I get errorCode 31 "Device name should be specified" when I try to add a device using rest API. Actually I specified the name with -d 'DeviceD'. Why do I get this error?
    This is my command:

    curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"username":"tenant@thingsboard.org", "password":"tenant"}' --header 'X-Authorization: Bearer TOKEN' -d 'DeviceD' 'http://localhost:8080/api/device'

    This could be to the permission level of the admin. check with the customer user/operator login

    Has anyone ever made a widget that get input and sends it to a specific rule-chain?

    you can use attribute update on the widget and monitor the rule chain for attribute updated.

    melkio95
    @melkio95

    Hi guys, this may be a stupid question, but i am trying to use a public certificate (public.cer) and CA certificate (ca.cer) given my private.key Can someone explain me how to use them? i got them in volume /sslcerts.
    Can someone explain me how to setup the environment variables (i watched at this list https://thingsboard.io/docs/user-guide/install/config/ ) btw i need only https

    did you set server.ssl.enabled to true?

    Yeah but i don't understand how to config thingsboard with .cer and .key file to allow him read them

    Roni Beitelmajer
    @Shedaim
    Does anyone have some custom widgets to share?
    1 reply
    Mathieu Hallé
    @m67_gitlab
    Hi all, any of you ever used attributeService.saveEntityAttributes in a widget ? I can't get it to save anything.
    I often get this error: No enum constant org.thingsboard.server.common.data.EntityType.undefined
    this is my code attributeService.saveEntityAttributes( '61871f10-2dc3-11eb-976f-c7fabdd2ed91', 'SHARED_SCOPE', [ {key: 'someAttr', value: '123456789'} ] ) .subscribe((res) => { console.log("OK ", res); }, (res) => { console.log("Faild", res); });
    Thanks in advance !
    Mathieu Hallé
    @m67_gitlab
    Ok, I just figured it out. When you pass the id in the first parameter, you have to sen an object. Not just the id itself.
    {
        entityType: "DEVICE",
        id: '61871f10-2dc3-11eb-976f-c7fabdd2ed91'
    }
    jostor
    @jostor
    Hi, I am trying to figure out how the MQTT SSL setup works in Thingsboard. I have successfully used the scripts as described here: https://thingsboard.io/docs/user-guide/certificates/ But I don't understand how this is working. As I understand you first generate a serverside public certificate and private key. Then you generate the client key and the client certificate. Doing this you need the server public certificate, but not the private server key. So the client certificate is not signed by the server? How can the server thrust the client? I guess there is something I haven't understood. Hopefully some of you can explain it to me. Thanks for your help!
    3 replies
    Engelbrekt39
    @Engelbrekt39
    Hi. I want to be able to reset password of users without knowing the old password or using the email reset function. I think this does just that: /api/noauth/resetPassword body: {"resetToken": "", "password": ""}. My problem is getting the reset token. The only place I have seen that generated is in the link in the reset password email. Is there anyway to directly generate the the resettoken with an api? Generating the reset link would also work
    melkio95
    @melkio95

    Hi guys again, now i am working with thingsbaord-gw on docker. I configured all copy-paste by https://thingsboard.io/docs/iot-gateway/config/mqtt/ i got my config volume with:

    • mqtt.json (copy pasted changing just <MosquittoBrokerName> , host of mqtt-broker and port is 1883)
    • tb-gateway.yml
      thingsboard:
      host: <mytbhost>
      port: <my_mqtt_port_on_tb>
      security:
      accessToken: <gwAccessToken>
      storage:
      type: memory
      read_records_count: 100
      max_records_count: 100000
      connectors:
      -
      name: <MosquittoBrokerName>
      type: mqtt
      configuration: mqtt.json
      ------------------------------------------ LOG ERROR ------------------------------
      ""2021-02-19 11:36:14" - INFO - [mqtt_connector.py] - mqtt_connector - 157 - Number of rejected connectRequests handlers: 0"
      ""2021-02-19 11:36:14" - INFO - [mqtt_connector.py] - mqtt_connector - 153 - Number of accepted disconnectRequests handlers: 2"
      ""2021-02-19 11:36:14" - INFO - [mqtt_connector.py] - mqtt_connector - 157 - Number of rejected disconnectRequests handlers: 0"
      ""2021-02-19 11:36:14" - ERROR - [mqtt_connector.py] - mqtt_connector - 130 - 'attributeRequests' section missing from configuration"
      ""2021-02-19 11:36:14" - INFO - [mqtt_connector.py] - mqtt_connector - 153 - Number of accepted attributeUpdates handlers: 1"
      ""2021-02-19 11:36:14" - INFO - [mqtt_connector.py] - mqtt_connector - 157 - Number of rejected attributeUpdates handlers: 0"
      ""2021-02-19 11:36:14" - INFO - [tb_gateway_service.py] - tb_gateway_service - 135 - Gateway started."
      ""2021-02-19 11:36:14" - ERROR - [mqtt_connector.py] - mqtt_connector - 193 - [Errno 111] Connection refused"
      ""2021-02-19 11:36:16" - ERROR - [tb_device_mqtt.py] - tb_device_mqtt - 148 - connection FAIL with error 5 not authorised"
      ""2021-02-19 11:36:17" - ERROR - [tb_device_mqtt.py] - tb_device_mqtt - 148 - connection FAIL with error 5 not authorised"

    Can someone help me?

    Mike Mitchell
    @Panometric
    New to TB, and this seems to be the only active forum. A few have thread replies, but probably 90% of the questions seem to have NO reply. Am I missing something?
    hadoopdk
    @hadoopdk
    I am free this week ler
    T
    Just now helped a person who was struggling to install thingsboard community edition.
    Malcolm
    @MalcolmAtNitec
    Hello. I am new to TB and have an application which sends voltage and power data to my TB dashboard and displays as expected. I have now added a second sensor with voltage and power. I now have two identical sensors with identical values of voltage and power. The values from the two sensor are now being displayed in the same time series plot. I want them to be in 2 different plots. I have tried working with assets an entities, but without any luck. Any links/tips to help with this would be wonderful!
    Shalahuddin Al Ayyubi
    @udin1_gitlab
    Hi, I would like to create a unique trip id for my telemetry data, how do I do it?
    simonsaysjake
    @simonsaysjake
    Anyone figured out how to update a customer attribute based on a user’s attributes? Rule chain relationship node wont work because it only takes the first return of a search (ie user A only instead of users A-E). Example is aggregating phone numbers or emails from users to send mass alerts.
    MichelleHusbands
    @MichelleHusbands
    Does anyone has a phone number or a quick response channle from TB? Im located in UTC+10 and they always reply to me really late at night and we need to solve an issue ASAP (less than 5 hours).
    Lich Mac
    @lich_mac_twitter

    Hi everyone,

    I'm a newbie. I have a mobile app to send my telemetry data via the api:
    curl --location --request POST 'https://thingsboard.cloud/api/v1/$ACCESS_TOKEN/telemetry?timeout=20000' \
    --header 'Content-Type: application/json' \
    --data-raw '
    {
    "temp": 37
    }'
    The API works fine. $ACCESS_TOKEN is device token in thingsboard
    Mobile app save the telemetry data, then the device needs to update the telemetry data in realtime to the device screen. The device used MQTT to subscribe topics:
    'v1/devices/me/rpc/request/+',
    'v1/devices/me/rpc/response/+',
    'v1/devices/me/attributes',
    'v1/devices/me/telemetry'
    (auth with username = $ACCESS_TOKEN of the device to connect to MQTT ==> successfully).

    I tried to use the RPC API, but the API needs $JWT_TOKEN to auth

    curl --location --request POST 'https://thingsboard.cloud/api/plugins/rpc/oneway/${deviceId}' \
    --header 'Content-Type: application/json' \
    --header 'X-Authorization: Bearer $JWT_TOKEN' \
    --data-raw '{
    "method": "setTemp",
    "params": {
    "value": temp
    },
    "timeout": 60000
    }'

    The RPC API works. My device receives the telemetry data from MQTT.

    My Question: How to my device receive real-time telemetry data from my mobile app saved to thingsboard server and don't need to use RPC API or $JWT_TOKEN ?

    Sorry, my English is not good.

    Can someone help me?

    Thank you very much

    Paul Ruddlesdin
    @paul.ruddlesdin_gitlab
    Does anybody know how to use attributes in a timeseries widget. I have seen a solution by alexsmartens here thingsboard/thingsboard#1737, but I don't where to put this code. My idea is to use timeseries table Card but with Attributes instead of telemetry.
    hadoopdk
    @hadoopdk
    PM me if anyone stuck on issue, i can try to fix.
    ksemmler519
    @ksemmler519
    Hello,
    We are installing smart electricity meters and would appreciate any guidance on the type of integration that is most suitable to visualize our data in ThingsBoard. The devices have the following communication protocols: M-Bus, Modbus and e.g. RS485 interface. Thanks in advance.
    1 reply
    Shalahuddin Al Ayyubi
    @udin1_gitlab
    Hello, anybody know the example of using geofence node?
    I got org.locationtech.spatial4j.exception.InvalidShapeException: Self-intersection at or near point (116.87305749999999, -0.6548885, NaN)
    1 reply
    AKhan
    @A7Khan
    Hey guys, id just like to know how to disable the automatic directory lookup while creating a tenant under admin profile. Altho the tenants profile is being created, im prompted that error everytime and id like to know if there is a workaround, searched everywhere and no result so i figured this might be the best place
    Shalahuddin Al Ayyubi
    @udin1_gitlab
    what is the different between main queue and SEQUENTIAL_WITHIN_ORIGINATOR ?
    iw2lsi
    @iw2lsi

    Hi... is there a way to retrieve the deviceType in RPC when using mqtt connector ?

    so far ${deviceName} and ${methodName} are resolved... but not ${deviceType}

    "serverSideRpc": [
    {
    "deviceNameFilter": ".*",
    "methodFilter": "val",
    "requestTopicExpression": "cmnd/${deviceType}/${deviceName}/${methodName}",
    "valueExpression": "${params}"
    }
    ]

    microsegur-engenharia
    @microsegur-engenharia
    Hi, how can i start thingsboard inside Docker shell?
    I get an error when I do this command: sudo service postgresql start