Display MQTT Data On A Web Page



  • Version
  • Download 3673
  • File Size 1.89 KB
  • File Count 1
  • Create Date March 4, 2021
  • Last Updated August 31, 2022
Please rate? And use Comments to let me know more

9 comments

  1. Downloaed it on raspberry 3B. Used apache2 for the webserver. MQTT broker running on the sameraspberry. Broker works fine and I can get data on ios MQTTAnalyzer app. I open the webpage in chrome on another mac. Fill in the form but get this response in the console:
    ‘Websocket connection to ‘ws://192.168.1.33:8083/mqtt’ mqttws31.js:979 failed:

    what am I doing wrong?

  2. I am trying to publish som mqtt data on a webpage and looked into your examples.
    Your script require Websockets (SSL) ?
    Can Websockets use username and password or must we use Certificate?

    1. Bart… be kind… Yes, it maybe full of errors… but you should appreciate his effort and the time he put into this to teach the world how one can go about doing this. I am sure there are plenty of websites out there that has more complete or working web pages on DISPLAYING DATA on webpages using MQTT. To be honest, I like his no nonsense and straight the point web page on this subject; Short and SWEET. Some self-help websites have 20 page long article on doing some simple task which can be condensed down to 1 page. lol… So, give him a break and thank him…

      Keep up the good work, Steveo… Cheers!!! and Thank you for website… 🙂

  3. I believe there is an error in web-page-monitor2.htm
    Original:
    Outside Light:
    Outside Temperature:
    Corrected:
    Outside Light:
    Outside Temperature:

Leave a Reply

Your email address will not be published. Required fields are marked *