Creating an MQTT (IOT) Dashboard Using Thingsboard

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024

Комментарии • 58

  • @rafaeloliva8930
    @rafaeloliva8930 4 года назад +1

    Excellent! very helpful!

  • @sinrenxiang
    @sinrenxiang 3 года назад +2

    Hi Steve how do you configure the python script for thingsboard Professional instead of demo? Thank you

  • @AniketManjare
    @AniketManjare 3 года назад

    Great Work!! I have been watching your videos and they really helped me,
    Can you please tell me how can I see the data from things board into an android app.

  • @abdulhaseeb4980
    @abdulhaseeb4980 2 года назад

    Hi Steve, I have replaced the username with my device access token. I'm getting this error
    Bad connection Returned code= 5
    Can you let me know what can be the possible reason?

  • @joseroberto-jk9hh
    @joseroberto-jk9hh 2 года назад

    Good morning Steve, congratulations for the video.
    If I install the community version, do I need to remove the LOGO from the things board?
    Thanks!

    • @stevecope
      @stevecope  2 года назад

      I wouldn't have thought so but that is a question you should ask thingsboard if you are concerned about it.

  • @dilanlol6046
    @dilanlol6046 4 года назад

    but how do you put sensors in your dashboard? we must use mqtt from our teacher

  • @jilshah2990
    @jilshah2990 3 года назад

    Hi.. how to embedding thingsboard with webUI?

  • @thaisonvu4306
    @thaisonvu4306 3 года назад

    Dear sir, I have tried several times to run thingsboard-1 with my private access token as your instruction. But, unfortunately, it's not successful and throwing error "Bad connection Returned code= 5
    client disconnected ok". I don't know if something is incorrect or something became obsolete in this tutorial at this moment. Hope to see your reply. Thanks!

    • @stevecope
      @stevecope  3 года назад

      Returned code of 5 is an authentication error check that you are using the correct key as the username it should look like this:
      username="t73aQaiUAtTxq3aUO2aw" #test house 2
      password is blank

  • @sumitrathod9046
    @sumitrathod9046 6 лет назад

    Nice Explanation and demo..But what is need to be done if i want same thing local host..installed Thingsboard on my laptop..

    • @stevecope
      @stevecope  6 лет назад

      Haven't done that yet but will give it a try

  • @sarangworld7602
    @sarangworld7602 4 года назад

    Hello community, I have a problem, when I run the python code, I have got the message "client disconnected ok" and I didn't see the results at the telemetry zone. Do you know what might be the reason for this non connectivity ?

    • @stevecope
      @stevecope  4 года назад

      Check that you are using the correct device code in the username field.
      Rgds Steve

  • @ashmikaballamudi4046
    @ashmikaballamudi4046 2 года назад

    Hello, is there any way we can read the Telemetry data and store it in a local database?

    • @stevecope
      @stevecope  2 года назад

      Yes you can store it in sqlite
      ruclips.net/video/d8eeNROMTv0/видео.html
      rgds
      Steve

  • @wimverlinden4577
    @wimverlinden4577 4 года назад

    Hi Steve, did you manage to send a message from Thingsboard to a device like ESP or to a solution like Node Red by MQTT?

    • @stevecope
      @stevecope  4 года назад

      Yes I did I will dig it out and get back to you. Contact me on the website using the ask steve page.
      www.steves-internet-guide.com/ask-steve/

    • @jrgenster4997
      @jrgenster4997 4 года назад

      @@stevecope are you going to post a video about this?

  • @jilshah2990
    @jilshah2990 3 года назад

    Hi.. i am new on Thingsboard. i added device as gateway type.this device has relation to another Devices. How to publish telemetry real data on Thingsboard dashboard.i am user of Community Edition. Can you help me share script or coding?

    • @stevecope
      @stevecope  3 года назад

      Hi
      The scripts I used in the video are at the bottom of this page
      www.steves-internet-guide.com/thingsboard-mqtt-dashboard/

  • @hapra2000
    @hapra2000 4 года назад

    Thank you @steve for this tutorial and I am beginner.
    My OS Windows 10 and I just follow this instruction but when execute thingsboard-1.py, there is an error:
    C:\Users\abc\AppData\Local\Programs\Python\Python38>thingsboard-1.py
    Requested Python version (3.4) is not installed
    I change #! python3.4 becomes #! python3.8 at first line of thingsboard-1.py, then try again but still error:
    C:\Users\abc\AppData\Local\Programs\Python\Python38>thingsboard-1.py
    Traceback (most recent call last):
    File "C:\Users\hapra\AppData\Local\Programs\Python\Python38\thingsboard-1.py", line 3, in
    import paho.mqtt.client as mqtt
    ModuleNotFoundError: No module named 'paho'
    So how can I solve it ?

    • @stevecope
      @stevecope  4 года назад +1

      Hi
      You need to install the paho client use
      pip install paho-mqtt
      see here for more details
      www.steves-internet-guide.com/into-mqtt-python-client/
      rgds
      steve

    • @hapra2000
      @hapra2000 4 года назад

      @@stevecope Okay, done. Thank you for your help.

  • @mondmask6185
    @mondmask6185 4 года назад

    Hi Steve! If I connect my device by MQTT to the thingsboard by using a fixed string for the topic, how can thingsboard then publish my payload to other devices? It seems that there is no normal Mqtt broker activity here anymore publishing payloads to devices with the same interest? Or is that possible? Thx.

    • @stevecope
      @stevecope  4 года назад

      That is my understanding as well. Thingsboard doesn't provide s standard MQTT broker.
      Rgds
      Steve

    • @mondmask6185
      @mondmask6185 4 года назад

      @@stevecope So they just use the MQTT protocol to connect to their server :-) but not use the MQTT general idea that makes it so interesting and unique...that is disappointing. Thx

  • @habiyaremyejoseph7216
    @habiyaremyejoseph7216 5 лет назад

    =thank you, i am doing the same but , nothing is displayed in telemetry what can be the issue?

    • @kevalthakker9928
      @kevalthakker9928 4 года назад

      Please make sure the topic name is correctly entered. My mistake was there..

  • @dcarl661
    @dcarl661 6 лет назад

    I've searched your downloads but I can't tell which download is the python thingsboard-1.py. Which download archive link contains this?

    • @dcarl661
      @dcarl661 6 лет назад

      I finally found which link has the example py scripts.
      Creating an MQTT Dashboard Using Thingsboard -download

    • @stevecope
      @stevecope  6 лет назад +1

      Here is the link
      www.steves-internet-guide.com/wp-content/uploads/thingsboard.7z

  • @shivamdeshpande1959
    @shivamdeshpande1959 4 года назад

    Hi, thanks for the video. Can you guide me about how to send the telemetry data from thingsboard to the thingsboard cloud for its storage

    • @stevecope
      @stevecope  4 года назад

      Sorry but I haven't used the thingsboard cloud. Maybe try their support.
      Rgds
      Steve

    • @shivamdeshpande1959
      @shivamdeshpande1959 4 года назад

      Okay. Thanks again for the video

  • @kevalthakker9928
    @kevalthakker9928 4 года назад

    Thank you @steve.
    Can you please guide me how I can add an alert on my dashboard when one of the value is beyond a range or not received from publisher for a long duration (like an hour)?

    • @stevecope
      @stevecope  4 года назад

      Sorry not sure as I've never configured alerts on thingsboard

    • @kevalthakker9928
      @kevalthakker9928 4 года назад

      @@stevecope can you please suggest any other platform where I can check alerts?

  • @norazuraz
    @norazuraz 4 года назад

    do you know how to link thingsboars to google assistant via IFFT

    • @stevecope
      @stevecope  4 года назад

      Sorry I don't
      Rgds
      Steve

  • @saiyidahidris7937
    @saiyidahidris7937 5 лет назад

    Hi, I would like to ask you about could you please show and teach me on how to make a script in C source code. Above is using in python.

    • @stevecope
      @stevecope  5 лет назад +1

      ji
      Sorry But I haven't written any C code for a long time .
      Rgds
      Steve

    • @saiyidahidris7937
      @saiyidahidris7937 5 лет назад

      @@stevecope Ok, thanks Steve.

    • @kevalthakker9928
      @kevalthakker9928 4 года назад

      I did it with paho mqtt c and c++ libraries.
      You just need to use correct username, client id and topic while connecting.
      The libraries can be downloaded from github.
      Thanks..

  • @PeterScargill
    @PeterScargill 6 лет назад

    Hi - please enlighten me - so I'm following the whole thing including the strange use of MQTT and using the same topic - but the login for MQTT using a token and no password - I'm not following AT ALL. I have Mosquitto in all my setups - with username and password.... if you elect to use a username and password - you can't get in without a password.. If you chose not to require username and password... well, the username is pointless. Clearly I'm missing something here. Care to elaborate please. I'd rather host this on a RPI3 than use the online version but I'm conceptually stuck at the MQTT stage.

    • @stevecope
      @stevecope  6 лет назад

      Peter
      If you take a look at my article here
      www.steves-internet-guide.com/mqtt-username-password-example/
      it covers passwords and usernames on Mosquitto
      The client can send a username/password even though the broker doesn't require authentication (broker setting) .
      Usernames are also used for topic restrictions and don't require a password.
      www.steves-internet-guide.com/topic-restriction-mosquitto-configuration/
      I don't know what thingsboard use as a broker, but how it uses the username is a broker setting not a client setting. The client just needs to comply with what the broker requires.
      I agree that the way they use the username as effectively a device ID is different as to what most setups with MQTT look like.
      They also only use a single topic which again is different, but makes it very easy to setup. I also did an article on multiple topics vs single topic and JSON data and I think single topic with combined sensor data will be the way most people go.
      www.steves-internet-guide.com/mqtt-sensors-traffic-observations/

    • @valeriisosliuk
      @valeriisosliuk 6 лет назад

      ThingsBoard provides two authentication methods - Access Token, which is username-only and X.509 certificates. Access Token authentication is very basic and it is intended to be used for testing and demo purposes only. For production use two-way ssl authentication using X.509 certificates is recommended.

  • @mitkosokolov9382
    @mitkosokolov9382 4 года назад

    Hi, can Thingsboard work with Xbee?

    • @stevecope
      @stevecope  4 года назад

      Thingboard is a platform that supports http and MQTT so if the device uses those protocols then yes.

  • @ishachaudhari7534
    @ishachaudhari7534 6 лет назад

    Hi, how can we create a new widget in thingsboard?

    • @stevecope
      @stevecope  6 лет назад

      Open a dashboard. Click in the pencil icon (bottom right) and click the + icon to add a new widget

    • @ishachaudhari7534
      @ishachaudhari7534 6 лет назад

      Okay thank you!

  • @Asifiqbal138
    @Asifiqbal138 5 лет назад

    how to make dashborad for LAN Connected PLC?

    • @kevalthakker9928
      @kevalthakker9928 4 года назад

      I think the dashboard will be formed in the same way but the problem will be at PLC side.
      You will need an MQTT library to be installed in your PLC based device, which is generally not available.
      If you can somehow install mqtt libraries and python with PLC then the rest will be the same.
      I think you need to work with a microprocessor based device.

  • @ti1001ra
    @ti1001ra 2 года назад

    Grafana ruclips.net/video/mCqbzVYJyVs/видео.html and zero touch updates running on locally or in any cloud provider of your choice, sweet!