• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Add an external output to Dash Board from an html or Xml file.

Scheduled Pinned Locked Moved Custom CSS
3 Posts 2 Posters 1.3k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    ooskay
    last edited by Jul 30, 2018, 8:07 AM

    Hello,
    I would like to display content in an html file on the dashboard.
    http://serverip/mirror.hmtl or http://serverip/mirror.xml
    content in it will be looks like :
    TotalSales:100
    TopSeller:Jhon
    TopItem:Book

    how i can able to do that?
    thanks advance…

    1 Reply Last reply Reply Quote 0
    • C Offline
      Charley Module Developer
      last edited by Charley Jul 30, 2018, 3:59 PM Jul 30, 2018, 3:58 PM

      You try to get the data in JSON format and with a node_helper make a small module that reads the data and displays it. There are several modules where you can see how to retrieve data. You can look at the code from my Domoticz module

      MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

      1 Reply Last reply Reply Quote 0
      • O Offline
        ooskay
        last edited by Jul 30, 2018, 8:16 PM

        @charley said in Add an external output to Dash Board from an html or Xml file.:

        Domoticz module

        Hi,
        Thanks for the reply. Yes, i think JSON is best solution at this moment. Thanks again for your kindly respond…

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy