MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. acdacd2
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 64
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: http request

      I’m using that code in php

      $xml = simplexml_load_file('XML/status1.xml');
      echo "<br>--------------<br>XML parsing <br>--------------<br>";
      $result = array();
      
      foreach($xml->children() as $child){
      $result[$child->getName()] = trim($child);
      posted in Development
      A
      acdacd2
    • RE: http request

      with a browser on the pi, it’s also ok

      posted in Development
      A
      acdacd2
    • RE: http request

      I have the same message with my environment.
      In a browse it’s ok

      posted in Development
      A
      acdacd2
    • RE: http request

      no problemo,

      with this config, black screen

      modules: [
      	{
      		module: 'MMM-HTTPRequestDisplay',
      		position: 'bottom_bar',	// This can be any of the regions. Best results in left or right regions.
      		header: 'MMM-HTTPRequestDisplay', // This is optional
      		config: {
      			httpRequestURL: 'http://192.168.1.248:8889/status.xml',
      			// See 'Configuration options' for more information.
      		}
      	},
      
      posted in Development
      A
      acdacd2
    • RE: http request

      is that correct ?

      {
      		module: 'MMM-HTTPRequestDisplay',
      		position: 'bottom_bar',	// This can be any of the regions. Best results in left or right regions.
      		header: 'MMM-HTTPRequestDisplay', // This is optional
      		config: {
      			accessToken: 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&mode=xml',
      			// See 'Configuration options' for more information.
      		}
      	},
      

      Note from Moderator: Please use Markdown on code snippets for easier reading.

      posted in Development
      A
      acdacd2
    • 1 / 1