• 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.

[Smart Home] loxone - XML - show temperature via http

Scheduled Pinned Locked Moved Requests
4 Posts 3 Posters 2.6k Views 3 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.
  • E Offline
    elmattt
    last edited by yawns Jan 22, 2017, 8:53 PM Jan 22, 2017, 7:30 PM

    Hi Guys !
    got a magic mirror since end 2015, and now upgrading the software here ^^

    i use a loxone smarthome server, and i want to show the temperature on my mirror :

    before i was using php like this :

    php   //température intérieur loxone
    $fichier = 'http://admin:XXXXXXXXXX@192.168.0.15/dev/sps/io/tempsalon';
    $xml = simplexml_load_file($fichier);
    echo $xml["value"];
    
    

    how can i simply use this with a existing module ??
    as you can see: there is an authentification in the URL !!!

    the xml generated is :

    LL control="dev/sps/io/tempsalon" value="21.0°" Code="200"/
    

    thanks by advance and sorry for my bad english (frenchie here :) )

    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer
      last edited by Jan 23, 2017, 11:54 PM

      Going to have to convert that to js…

      Take a look at the module development. I do not know enough about js to help you but I know that it’s how the system runs…

      Turn it into a module… :)

      I too am fluent in php not so much in js…

      1 Reply Last reply Reply Quote 0
      • I Offline
        idoodler Module Developer
        last edited by Apr 22, 2018, 10:13 AM

        I am just working on MMM-Loxone, which enables exactly what you want.

        Check my post for updates!

        1 Reply Last reply Reply Quote 0
        • I Offline
          idoodler Module Developer
          last edited by Apr 23, 2018, 8:10 PM

          I just published my module MMM-Loxone:)

          [card:idoodler/MMM-Loxone]

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            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