<?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[MagicMirror and adruino over ethernet]]></title><description><![CDATA[<p dir="auto">Hello, everyone!<br />
I’m new here and to java programming. So I’ll have a lot of questions…</p>
<p dir="auto">I’m in process of buinding MagicMirror as a door for my electrical cabinet in my house.</p>
<p dir="auto">Anyway, I have build my own solar system using store bought solar panels and charge controller. Batteries are pulled from electrical forklift (460 kg) and as inverter, I’m using pure sine wave UPS used for powering servers in company I work at.</p>
<p dir="auto">To manage the system I’m using arduino nano wich is measuring panel voltage and current, battery voltage, battery current and current direction, inverter current, inverter temperature, and charge controller temperature.<br />
Data is transfered to arduino mega via rs485 located at my electrical cabinet. There arduino mega measures power usage and switches devices between solar and mains acording to load so battery doesent fall under 90% and maximum posible power produced by solar panels is used.</p>
<p dir="auto">Arduino mega, located at electrical cabinet, is running HTTP server to wich I can connect from my PC or mobile to view current status, statistics and errors.</p>
<p dir="auto">Now I want to make module for MagicMirror to display that data.</p>
<p dir="auto">Allso, I’m upgrading my natural gas heating system. I’m adding wood furnace and solar collectors. System will use similar management based on arduino and will probably be connected to MagicMirror.</p>
<p dir="auto">My problem is that I have no idea how to make javascript connection to arduino, nor how to send requests. But I can make responses from arduino in any format.</p>
<p dir="auto">P.S.<br />
Incidently, my surname is Magic. :smiling_face_with_sunglasses:</p>
]]></description><link>https://forum.magicmirror.builders/topic/11589/magicmirror-and-adruino-over-ethernet</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 22:38:08 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11589.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Nov 2019 18:43:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Mon, 18 Nov 2019 19:18:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> i would start slow…</p>
<p dir="auto">use my sample, send one request, get back content.  you cannot put a whole page up unless u open an iframe…</p>
<p dir="auto">MM is called a Single Page Application… (SPA)…<br />
in this model, each ‘module’ contributes a little content (a div’s worth)  and that little bit is injected into the running view of the web page (dom=document object model)  again, you can see this layout on the developers window, elements tab</p>
<p dir="auto">u can do this on your Windows PC too with chrome, press ctrl-shift-i on any page (again to turn it off)</p>
]]></description><link>https://forum.magicmirror.builders/post/64680</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64680</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 18 Nov 2019 19:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Mon, 18 Nov 2019 18:41:56 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><br />
Thank you!<br />
Ill need some time to try it out.</p>
<p dir="auto">Mechanical or should I say, woodwork is finished. I’m still waiting for short hdmi cable, PIR sensor and hinges I ordered… It looks sexy alredy! Can’t wait to see it working.</p>
]]></description><link>https://forum.magicmirror.builders/post/64676</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64676</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Mon, 18 Nov 2019 18:41:56 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Fri, 15 Nov 2019 00:01:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a>  so. the methods to get data from server (web site <a href="http://something" target="_blank" rel="noopener noreferrer nofollow ugc">http://something</a>) is request()</p>
<p dir="auto">there are different forms XMLRequest, request… XMLRequest is builtin to the browser that MM runs on (either Electron, or Chrome)</p>
<p dir="auto">the design of the MM  module is in two parts… the part that runs in the browser, and renders the data<br />
this javascript file name matches the module name.</p>
<p dir="auto">module = someModule, folder = someModule, filename = someModule.js<br />
the ‘module’. js cannot use ‘require’() to load additional scripts… but SOME can be loaded<br />
thru the mm callback at function getScripts()<br />
for builtins, you can just use them</p>
<p dir="auto">the processing model, is get your data, then call this.updateDom(somedelaytime), to tell MM that new data for your module is ready.  the MM runtime will call you modules getDom() function to allow you to construct the html object tree of content to inject into the single page DOM, in the position[modulename] div…<br />
you can see this tree in the developers windows (ctrl-shift-i, select the elements tab)</p>
<p dir="auto">in some cases the requirements of the data collection require services that are NOT builtin to the browser, serial port, database, complex api calls,  etc… so, the MM design provides for a helper for the module, filename called node_helper.js</p>
<p dir="auto">it can use require() to load service libraries to access outside datasources, or manipulate data.</p>
<p dir="auto">the module and helper talk to each other thru one api, sendSocketNotification(item_id, data)<br />
and receiveSocketNotification(item_id, data).<br />
the format of item_id is a string, and data can be any format/ totally up to you how you want to use it.</p>
<p dir="auto">the info provided in the config.js entry for a module, replaces same named items in the module ‘default{}’ object… BUT this data does NOT get sent to the helper UNLESS YOU DO IT.<br />
a convention, is that the module receives notices from the system via notificationReceived (notice no ‘socket’ in the name)… and when the moduel receives the ‘all_modules_started’ notice, the module sends a pointer to the config block to the helper… so they both have the same copy.</p>
<p dir="auto">my <a href="https://github.com/sdetweil/SampleModule" target="_blank" rel="noopener noreferrer nofollow ugc">Sample Module</a> has all the parts, in a working example… but doesn’t do much… send the config down,<br />
waits some time, and sends a configured message back up to the module, and then calls this.updated() to indicate new data is available.</p>
<p dir="auto">you can use request() in the helper, or XMLRequest() in the module (builtin) XMLRequest will process XML or a string.  request() cab be any data format (including binary)…</p>
<p dir="auto">these calls do EXACTLY the same thing as what your browser does when you put in http://some_ip_address to get the web page from your arduino</p>
]]></description><link>https://forum.magicmirror.builders/post/64458</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64458</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 15 Nov 2019 00:01:50 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 22:09:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> ok. More later. Grandson on site!</p>
]]></description><link>https://forum.magicmirror.builders/post/64451</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64451</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Nov 2019 22:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 19:33:55 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> said in <a href="/post/64389">MagicMirror and adruino over ethernet</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> cool. You could make a little change and have it return just data.</p>
<p dir="auto">If the path is sensor1, send just sensor1’s data.  Etc.</p>
<p dir="auto">Pretty easy, just a case stmt… you could make it json data pretty easy too…</p>
<p dir="auto">The request could ask for a sensor or block of sensors, and send raw data.</p>
</blockquote>
<p dir="auto">Yes! That is what i’m looking for.<br />
But discussion went to arduino side.<br />
My problem is that I don’t know how to do it at magic mirror side.</p>
]]></description><link>https://forum.magicmirror.builders/post/64444</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64444</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Thu, 14 Nov 2019 19:33:55 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 01:06:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bd0g" aria-label="Profile: BD0G">@<bdi>BD0G</bdi></a> I agree, backup is an important strategy. I found out the other day SD cards have a limited life, determined by number of writes…</p>
]]></description><link>https://forum.magicmirror.builders/post/64399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64399</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Nov 2019 01:06:22 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 00:35:01 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>  Was referring to <a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> and recommending he backup the SD card on the Arduino that is working for safe keeping.</p>
<p dir="auto">I have an 8266 as well ! Its dedicated to my smartblinds control that I control via smarthings and a custom 3 D printed  enclosure for a servo that mounts in the top rail of the blinds. Works splendidly!</p>
]]></description><link>https://forum.magicmirror.builders/post/64396</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64396</guid><dc:creator><![CDATA[BD0G]]></dc:creator><pubDate>Thu, 14 Nov 2019 00:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 00:32:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bd0g" aria-label="Profile: BD0G">@<bdi>BD0G</bdi></a> my 8266 has onboard flash ram.  No SD card required.</p>
]]></description><link>https://forum.magicmirror.builders/post/64395</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64395</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Nov 2019 00:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 00:29:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> Sounds like you need to backup the entire SD Card of your Arduino and create an image for safe keeping.  If you Download Win32 Disk Imager you can create an image of the entire SD card and write it to a hard drive. Then if catastrophe strikes simply remove the SD card and use Win 32 Disk Imager to write the working image back to the SD card.</p>
<p dir="auto">It can be downloaded here <a href="https://www.techspot.com/downloads/5361-win32-disk-imager.html" target="_blank" rel="noopener noreferrer nofollow ugc">Win32DiskImager</a></p>
]]></description><link>https://forum.magicmirror.builders/post/64393</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64393</guid><dc:creator><![CDATA[BD0G]]></dc:creator><pubDate>Thu, 14 Nov 2019 00:29:59 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 00:20:31 GMT]]></title><description><![CDATA[<p dir="auto">On my Arduino measuring water flow and water volume. I did those in interrupt and timer routines. And sent data in the main path.</p>
]]></description><link>https://forum.magicmirror.builders/post/64390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64390</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Nov 2019 00:20:31 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Thu, 14 Nov 2019 00:18:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> cool. You could make a little change and have it return just data.</p>
<p dir="auto">If the path is sensor1, send just sensor1’s data.  Etc.</p>
<p dir="auto">Pretty easy, just a case stmt… you could make it json data pretty easy too…</p>
<p dir="auto">The request could ask for a sensor or block of sensors, and send raw data.</p>
]]></description><link>https://forum.magicmirror.builders/post/64389</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64389</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Nov 2019 00:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 23:36:38 GMT]]></title><description><![CDATA[<p dir="auto">Yes. Plus, if I would want to make any modifications to webpage, first I would have to shutdown arduino and whole solar system, pull sd card out, modify page, plug sd card back in and restart sytem.</p>
<p dir="auto">If sd card gets damaged in any way or get slow for some reason (had one like that on my 3D printer), whole system running on that arduino gets slow and unuseable.</p>
]]></description><link>https://forum.magicmirror.builders/post/64388</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64388</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 23:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 23:18:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> So in a nutshell. Yes the Arduino can serve a whole webpage of data , but it will take a long time. If one just sends the data from the Arduino to the Raspberry Pi then the Raspberry Pi can display the webpage faster as its processor and potentially memory is faster.</p>
]]></description><link>https://forum.magicmirror.builders/post/64387</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64387</guid><dc:creator><![CDATA[BD0G]]></dc:creator><pubDate>Wed, 13 Nov 2019 23:18:38 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 23:16:16 GMT]]></title><description><![CDATA[<p dir="auto">It’s not stupid question.</p>
<p dir="auto">If arduino serves webpage, it should be served from sd card.<br />
To use sd card, you have to use sd card library, make decisions wether client wants whole web page or just data packets…<br />
All that takes a lot of memory and time to process. And arduino is slow and low on memory compared to RPi.<br />
For arduino is much simpler to detect “give me data” and send sensor ID and value.</p>
<p dir="auto">Plus, in my case, arduino mega has 16 amperemeters to read and 18 outputs to regulate.<br />
I wouldn’t like it if it gets stuck in code while inverter is working at full capacity. It could become fire hazard.</p>
]]></description><link>https://forum.magicmirror.builders/post/64386</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64386</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 23:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 22:59:02 GMT]]></title><description><![CDATA[<p dir="auto">This may be a stupid question , but . Why not just use the MMM-iFrame Module since the information is already provided /served from a webserver within the Arduino?  You can change the size of the iFrame that displays the Url so that it can be small and take up just a little of the magic mirror or large and fill the mirror.  Since you will not be touching the screen to change or interact with the data.</p>
]]></description><link>https://forum.magicmirror.builders/post/64385</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64385</guid><dc:creator><![CDATA[BD0G]]></dc:creator><pubDate>Wed, 13 Nov 2019 22:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 22:59:24 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><br />
That part is perfectly clear.</p>
<p dir="auto">Here is C/P of what I am using now:</p>
<pre><code>      client.println("&lt; !DOCTYPE HTML &gt;");
      client.println("&lt; html &gt;");
      client.print("Napon panela: ");
      client.print(PanelU);
      client.println(" V &lt; br/&gt;");
      client.print("Struja panela: ");
      client.print(PanelI);
      client.println(" A &lt; br/&gt;");
      client.print("Napon baterije: ");
      client.print(BatU);
      client.println(" V &lt; br/&gt;");
</code></pre>
<p dir="auto">.<br />
.<br />
.<br />
client.println(“&lt; / html &gt;”);</p>
<p dir="auto">That is slightly modified ethernet server sample program from ethernet library.</p>
<p dir="auto">Edit: had to add spaces because html wasn’t showing.</p>
]]></description><link>https://forum.magicmirror.builders/post/64380</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64380</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 22:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 21:04:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> basically the arduino sends text strings with Serial.println(“[COMMAND:NAME:DATA]”)</p>
<p dir="auto">To transmit a sensor data to the module: `[sensor:SENSOR_NAME:SENSOR_VALUE]**</p>
<p dir="auto">Example:</p>
<p dir="auto">Serial.println(“[sensor:MQ2:19]”);<br />
Serial.println(“[sensor:LM35:11]”);<br />
Serial.println(“[sensor:HCSR04:64]”);</p>
<p dir="auto">but anyhow, lots of work in the arduino code to make this work</p>
]]></description><link>https://forum.magicmirror.builders/post/64378</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64378</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 13 Nov 2019 21:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 20:19:54 GMT]]></title><description><![CDATA[<p dir="auto">I think that this is way to extensive for my knowledge. I can’t make heads or tails out of it…</p>
]]></description><link>https://forum.magicmirror.builders/post/64375</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64375</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 20:19:54 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:37:38 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> said in <a href="/post/64367">MagicMirror and adruino over ethernet</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> I would  see this module… MMM-ArduPort and how to send data from the arduino to the pi via serial</p>
<p dir="auto">I also had added an http server to my arduino ESP8266 NodeMCU and provided apis for data access as another route, which keeps the devices from having to be physically wired together</p>
</blockquote>
<p dir="auto">Your MMM-ArduPort module looks EXACTLY like what I had in mind!<br />
I’ll give it a detailed examination. :D</p>
]]></description><link>https://forum.magicmirror.builders/post/64373</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64373</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:15:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> no problem… come on back, there is all kinds of help around</p>
]]></description><link>https://forum.magicmirror.builders/post/64372</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64372</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:15:30 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:14:30 GMT]]></title><description><![CDATA[<p dir="auto">Thank you!<br />
I’ll need some time to digest all the info you have provided. :smiling_face_with_open_mouth_cold_sweat:</p>
]]></description><link>https://forum.magicmirror.builders/post/64371</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64371</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:14:30 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:06:56 GMT]]></title><description><![CDATA[<p dir="auto">Arduino sends data formated as simple HTML page. Pure text.</p>
]]></description><link>https://forum.magicmirror.builders/post/64370</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64370</guid><dc:creator><![CDATA[Kereknjek]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:06:56 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:08:42 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> if u want to send requests (in code) to the arudino web server, its just a the nodejs request  library</p>
<p dir="auto">see <a href="https://www.npmjs.com/package/request" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.npmjs.com/package/request</a></p>
<p dir="auto">you could use my sample module. <a href="https://github.com/sdetweil/SampleModule" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/SampleModule</a><br />
there are also modules that will show ae existing page, MMM-IFrame</p>
]]></description><link>https://forum.magicmirror.builders/post/64369</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64369</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror and adruino over ethernet on Wed, 13 Nov 2019 19:04:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kereknjek" aria-label="Profile: Kereknjek">@<bdi>Kereknjek</bdi></a> said in <a href="/post/64366">MagicMirror and adruino over ethernet</a>:</p>
<blockquote>
<p dir="auto">Arduino mega, located at electrical cabinet, is running HTTP server to wich I can connect from my PC or mobile to view current status, statistics and errors.<br />
Now I want to make module for MagicMirror to display that data.</p>
</blockquote>
<p dir="auto">how do you ‘view’ that</p>
]]></description><link>https://forum.magicmirror.builders/post/64368</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/64368</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 13 Nov 2019 19:04:45 GMT</pubDate></item></channel></rss>