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.9k 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.
    • elmatttE Offline
      elmattt
      last edited by yawns

      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
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        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
        • idoodlerI Offline
          idoodler Module Developer
          last edited by

          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
          • idoodlerI Offline
            idoodler Module Developer
            last edited by

            I just published my module MMM-Loxone:)

            [card:idoodler/MMM-Loxone]

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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