<?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[Display temperature over network]]></title><description><![CDATA[<p dir="auto">Hello, at first please excuse my bad english. I build a thermometer with an Rasperry zero. The Raspi shout transmit the value over the Network. All Magic Mirror should display the temperature.<br />
Can someone help me?</p>
<p dir="auto">thank you in advance</p>
]]></description><link>https://forum.magicmirror.builders/topic/12420/display-temperature-over-network</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 15:46:34 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12420.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Mar 2020 14:20:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Display temperature over network on Sun, 29 Mar 2020 21:46:51 GMT]]></title><description><![CDATA[<p dir="auto">EDIT: Sorry, didn’t read everything.<br />
tl;dr: what <a class="plugin-mentions-user plugin-mentions-a" href="/user/stampeder" aria-label="Profile: stampeder">@<bdi>stampeder</bdi></a> said…</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a> I personally would use MQTT for that purpose. It’s a very lightweight way of regularly publishing data through your network and fetching it with any device you want to. It’s also cross platform. You could use your android mobile as well.</p>
<p dir="auto">I use MQTT to fetch data from and send controls to my tasmota plugs and it works very well.<br />
There’s a module called MMM-MQTT-Bridge already published that could be used and my soon-to-be-published MMM-Tasmota would work as well as a basis.<br />
On the Raspi’s you would need an MQTT server like mosquitto.<br />
May not sound like the easiest way but on the publisher side it’s not more than a few lines of code.</p>
]]></description><link>https://forum.magicmirror.builders/post/71416</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71416</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Sun, 29 Mar 2020 21:46:51 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Sun, 29 Mar 2020 17:05:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/piluke" aria-label="Profile: PILuke">@<bdi>PILuke</bdi></a> yep</p>
<p dir="auto">Had the same challenge</p>
<p dir="auto">3 DHT sensors on 2 different PIs</p>
<p dir="auto">solution</p>
<p dir="auto">on the PI’s I have a cron job wich runs a python program to extract temperature and send it via REST to a MMM-remote temperature</p>
<p dir="auto">pseudo code json to send</p>
<pre><code>            data = {'temp': round(temperature, 1),
                    'humidity': round(humidity, 0),
                    'sensorId': str(SensorID)}
            post_request(json.dumps(data), 'http://192.168.x.x:8080/remote-temperature', {'Content-type': 'application/json', 'Accept': 'text/plain'})
</code></pre>
<p dir="auto">installed MMM-RemoteTemperature, 3 ids</p>
<pre><code>			module: 'MMM-RemoteTemperature',
			position: 'bottom_center',
			config: {
				sensorId: '1',
				icon: 'home',
				showTime: false
			}
		},
		{
			module: 'MMM-RemoteTemperature',
			position: 'bottom_center',
			config: {
				sensorId: '2',
				icon: 'couch',
				showTime: false
			}
		},
				{
			module: 'MMM-RemoteTemperature',
			position: 'bottom_center',
			config: {
				sensorId: '3',
				icon: 'map-marker-alt',
				showTime: false
			}
		},
</code></pre>
<p dir="auto">cheers</p>
]]></description><link>https://forum.magicmirror.builders/post/71390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71390</guid><dc:creator><![CDATA[davidoesch]]></dc:creator><pubDate>Sun, 29 Mar 2020 17:05:25 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Sun, 29 Mar 2020 09:51:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a> you can use this simple module <a href="https://github.com/balassy/MMM-RemoteTemperature" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-RemoteTemperature</a> and from your termometer you only send an HTTP POST request.<br />
You choose the udate interval and all the MM, with this module, will update their value when you send the HTTP POST.<br />
I hope this help you.</p>
]]></description><link>https://forum.magicmirror.builders/post/71342</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71342</guid><dc:creator><![CDATA[PILuke]]></dc:creator><pubDate>Sun, 29 Mar 2020 09:51:43 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 18:45:01 GMT]]></title><description><![CDATA[<p dir="auto">If you are using the Raspberry Pi Zero W’s they come with wifi built in. I just finished getting the MMM-temp-DS18B20 module issue fixed and working. The next thing would be to use MMM-MQTT. This will allow you to have a broker that will collect all the readings and store them in a set of topics. Then you just need the MMM-MQTT-client to read the topics and display the readings. It sounds way more complicated than it really is. I recently wrote a blog posting on <a href="http://www.desert-home.com/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.desert-home.com/</a> called <a href="http://www.desert-home.com/2020/02/temperature-adventures-with-rasppi.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.desert-home.com/2020/02/temperature-adventures-with-rasppi.html</a>. It explains a lot of it. Then you just need to setup the MQTT-clients to read the temperatures. Good luck. Should be a fun project.</p>
]]></description><link>https://forum.magicmirror.builders/post/71208</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71208</guid><dc:creator><![CDATA[stampeder]]></dc:creator><pubDate>Thu, 26 Mar 2020 18:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:40:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> based on <a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a>  comments and questions, I think starting slow is a better choice…</p>
]]></description><link>https://forum.magicmirror.builders/post/71205</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71205</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:40:56 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:29:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Agreed. And, it would still require a method for the module to “register” with the remote thermometer of its existence when it loads so that initial temp and updates will be transmitted.</p>
]]></description><link>https://forum.magicmirror.builders/post/71204</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71204</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:29:17 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:24:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> thats another way, but takes more skill to trigger into MM…</p>
]]></description><link>https://forum.magicmirror.builders/post/71203</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71203</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:23:20 GMT]]></title><description><![CDATA[<p dir="auto">Why not write the module that goes into MM and then use a script on the thermometer to update the module when the temp changes? If your thermometer is measuring the internal temp of a home, and that changes infrequently because the heat or AC is on, there’s no point in polling the thermometer every five minutes to see what the temp is. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/71202</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71202</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:22:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a> you can write code to start the web server… node web server using express library is very short…<br />
I don’t know python that well…   I’m sure a google search will give u results…</p>
<p dir="auto">so, whatever u feel more comfortable with</p>
<p dir="auto">once u set that up you can use your browser to invoke the function on the pi0 to return the temp…</p>
<p dir="auto">once that is working, then u can build a module to do the same…<br />
using my sample module might help on the last step</p>
<p dir="auto"><a href="https://github.com/sdetweil/SampleModule" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/SampleModule</a></p>
]]></description><link>https://forum.magicmirror.builders/post/71201</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71201</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:22:37 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 16:06:00 GMT]]></title><description><![CDATA[<p dir="auto">Ok, which webserver would you prefere</p>
]]></description><link>https://forum.magicmirror.builders/post/71197</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71197</guid><dc:creator><![CDATA[linuxdxs]]></dc:creator><pubDate>Thu, 26 Mar 2020 16:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 15:25:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a> what is running on the pi 0?.. raspian and python?</p>
<p dir="auto">you could set up a little web server (using node js and express, or python)   and then a module on the Magic Mirror could call that server to get the data</p>
]]></description><link>https://forum.magicmirror.builders/post/71195</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71195</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Mar 2020 15:25:43 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 15:21:46 GMT]]></title><description><![CDATA[<p dir="auto">So far I have no idea how to transfer the data. Maybe over udp and phyton?</p>
]]></description><link>https://forum.magicmirror.builders/post/71194</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71194</guid><dc:creator><![CDATA[linuxdxs]]></dc:creator><pubDate>Thu, 26 Mar 2020 15:21:46 GMT</pubDate></item><item><title><![CDATA[Reply to Display temperature over network on Thu, 26 Mar 2020 14:23:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/linuxdxs" aria-label="Profile: linuxdxs">@<bdi>linuxdxs</bdi></a> how transmit over network?</p>
]]></description><link>https://forum.magicmirror.builders/post/71189</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71189</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Mar 2020 14:23:22 GMT</pubDate></item></channel></rss>