<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to get Domotica info to MagicMirror]]></title><description><![CDATA[<p dir="auto">I want to know wich MagicMirror module can be used to get temperature information from my <a href="https://pimatic.org/guide/api/" target="_blank" rel="noopener noreferrer nofollow ugc">Pimatic domotica system</a> to the MagicMirror. (a few Pimatic users have MagicMirrors)</p>
<p dir="auto">For example this link can be used:<br />
<a href="http://demo:demo@demo.pimatic.org/api/variables/variable-set.temperature" target="_blank" rel="noopener noreferrer nofollow ugc">http://demo:demo@demo.pimatic.org/api/variables/variable-set.temperature</a> (buth will output all values)</p>
<p dir="auto">This script for example will pick the one value needed (Temperature: 14)</p>
<pre><code>&lt;?php
$curl = curl_init();
   curl_setopt ($curl, CURLOPT_URL, "http://demo:demo@demo.pimatic.org/api/variables/variable-set.temperature");
  curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);

$result = curl_exec ($curl);// curl to a variable
  curl_close ($curl);

$result = json_decode($result, true);// decode to associative array
$result = $result['variable']['value'];//pick desired value

print "Temperature: ".$result; 
?&gt;
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/287/how-to-get-domotica-info-to-magicmirror</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 16:42:04 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/287.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jun 2016 12:12:44 GMT</pubDate><ttl>60</ttl></channel></rss>