<?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[MMM-SensorGateway installation issue.]]></title><description><![CDATA[<p dir="auto">About year ago I did had some issues with this module also, but I don’t recall it was this kind of.<br />
Previously it was related to “sudo” (and SSL) If my memory serves me right. (guide said “blahblah-command” and it didn’t work, but when I added “sudo” before it, it started to work… but anyway, enough with the old stuff…</p>
<p dir="auto">I’m not good with linux, but I manage with guide… sometimes though I get confused.<br />
I’ll show you an example: (I’ll bold the confusing part)</p>
<ul>
<li>
<p dir="auto">Clone and configure module<br />
Clone MMM-SensorGateway under modules in the MM2 platform as all 3rd party modules<br />
<strong>run npm install in module’s directory to install websocket and exec modules.</strong><br />
Configuration (into config/config.js)</p>
</li>
<li>
<p dir="auto">Install script for Gateway<br />
run install script with root priviledges : MMM-SensorGateway $ sudo ./install.sh<br />
<strong>This will install required bluetooth, Ruuvi and websocket related packages</strong> (see the script for details)<br />
This will also setup an service that will kick in during RasPi boot-up<br />
Expected final output</p>
</li>
</ul>
<p dir="auto">Why there is a websocket twice?<br />
And why it installs python 2.7, do I need to install 2.7 when 3.9 is already preinstalled?</p>
<p dir="auto">Another thing which is confusing me is: which guide I should follow or both?<br />
<a href="https://github.com/mattileh/MMM-SensorGateway#clone-and-configure-module" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mattileh/MMM-SensorGateway#clone-and-configure-module</a><br />
or this<br />
<a href="https://github.com/ttu/ruuvitag-sensor/blob/master/install_guide_pi.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ttu/ruuvitag-sensor/blob/master/install_guide_pi.md</a></p>
<p dir="auto">Am I making this more diffucult for me than necessary?</p>
<p dir="auto">following problems are related to what I’ve mentioned above.<br />
(cannot make ruuvitag -f command to work without alias…)</p>
<p dir="auto">So please if some could guide me/explain what I’m doing wrong this time.<br />
I would appreciate it greatly.</p>
<p dir="auto">I’ll add installation log link.<br />
<a href="https://we.tl/t-AS6hvNTvjt" target="_blank" rel="noopener noreferrer nofollow ugc">https://we.tl/t-AS6hvNTvjt</a> (wetransfer)</p>
<p dir="auto">(and it’s not a problem that I’ve had few hours, I’ve been trying to solve it about a week now. ;))</p>
]]></description><link>https://forum.magicmirror.builders/topic/16273/mmm-sensorgateway-installation-issue</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 21:47:35 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16273.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 29 Jan 2022 07:18:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 16:19:38 GMT]]></title><description><![CDATA[<p dir="auto">I got old version running.<br />
<img src="/assets/uploads/files/1643473143036-rpiosmm.png" alt="rpiosMM.png" class=" img-fluid img-markdown" /><br />
Found an old image.<br />
(I didn’t get that to work because SDCard extension/adapter didn’t accept all the cards)<br />
But I don’t stop trying to get newer version to work.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thank you for your help.</p>
]]></description><link>https://forum.magicmirror.builders/post/99143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99143</guid><dc:creator><![CDATA[Jaanzter]]></dc:creator><pubDate>Sat, 29 Jan 2022 16:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 14:20:03 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></p>
<p dir="auto">Yup.<br />
This was the exact thread I also looked.<br />
<a href="https://forum.magicmirror.builders/topic/11397/mmm-sensorgateway/7">https://forum.magicmirror.builders/topic/11397/mmm-sensorgateway/7</a></p>
<p dir="auto">Let’s see… <em>crossing fingers</em></p>
]]></description><link>https://forum.magicmirror.builders/post/99139</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99139</guid><dc:creator><![CDATA[Jaanzter]]></dc:creator><pubDate>Sat, 29 Jan 2022 14:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 14:12:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jaanzter" aria-label="Profile: jaanzter">@<bdi>jaanzter</bdi></a> and there is the problem</p>
<p dir="auto">ImportError: No module named websocket</p>
<p dir="auto">the install of that part failed  or the setup has changed</p>
]]></description><link>https://forum.magicmirror.builders/post/99138</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99138</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 29 Jan 2022 14:12:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 14:07:41 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 />
Traceback (most recent call last):<br />
File “<a href="http://bleAdvWebSocket.py" target="_blank" rel="noopener noreferrer nofollow ugc">bleAdvWebSocket.py</a>”, line 13, in <br />
import websocket<br />
ImportError: No module named websocket</p>
<p dir="auto">Edit:<br />
I followed that path “/usr/share/local_blegateway/local_blegatewaykickstart.sh”<br />
and looked inside of a file.</p>
<p dir="auto">cd /home/pi/MagicMirror/modules/MMM-SensorGateway/gateway/<br />
sudo /usr/bin/env python <a href="http://bleAdvWebSocket.py" target="_blank" rel="noopener noreferrer nofollow ugc">bleAdvWebSocket.py</a></p>
<p dir="auto">Edit2:<br />
then tried that “sudo /usr/bin/env python <a href="http://bleAdvWebSocket.py" target="_blank" rel="noopener noreferrer nofollow ugc">bleAdvWebSocket.py</a>”<br />
python: can’t open file ‘<a href="http://bleAdvWebSocket.py" target="_blank" rel="noopener noreferrer nofollow ugc">bleAdvWebSocket.py</a>’: [Errno 2] No such file or directory</p>
]]></description><link>https://forum.magicmirror.builders/post/99137</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99137</guid><dc:creator><![CDATA[Jaanzter]]></dc:creator><pubDate>Sat, 29 Jan 2022 14:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 13:31:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jaanzter" aria-label="Profile: jaanzter">@<bdi>jaanzter</bdi></a> said in <a href="/post/99135">MMM-SensorGateway installation issue.</a>:</p>
<blockquote>
<p dir="auto">/usr/share/local_blegateway/local_blegatewaykickstart.sh</p>
</blockquote>
<p dir="auto">what happens when u try to run that from the command line?</p>
]]></description><link>https://forum.magicmirror.builders/post/99136</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99136</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 29 Jan 2022 13:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 13:27:03 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> Thanks for replying…<br />
I should have wrote a note “how to” when I first time got it working.<br />
(this time I’m going to do it, if/when…)</p>
<p dir="auto">This is what should be expected:</p>
<ul>
<li>sudo service local_blegateway status</li>
</ul>
<p dir="auto">–&gt; you should expect seeing the packets routed:</p>
<p dir="auto">Oct 16 19:45:40 raspberrypi local_blegatewaykickstart.sh[962]: {‘temp’: 22, ‘battery’: 0, ‘state’: 1, ‘packet’: 189, ‘MAC’: ‘0A:1C:1C:12:18:04’, ‘type’: ‘movesense’}<br />
Oct 16 19:45:40 raspberrypi local_blegatewaykickstart.sh[962]: {‘acceleration’: 1003.0807544759296, ‘pressure’: 1008.86, ‘temperature’: 20.17, ‘acceleration_y’: -9, ‘acceleration_x’: -9, ‘battery’: 3043, ‘acceleration_z’: 1003, 'data_for</p>
<p dir="auto">This is what I get:</p>
<ul>
<li>sudo service local_blegateway status<br />
local_blegateway.service - local_blegateway, Movesense and RuuviTag BLE advertisement message gateway to websocket interface<br />
Loaded: loaded (/lib/systemd/system/local_blegateway.service; enabled; vendor preset: enabled)<br />
Active: activating (auto-restart) (Result: exit-code) since Sat 2022-01-29 15:16:15 EET; 1s ago<br />
Process: 4693 ExecStart=/usr/share/local_blegateway/local_blegatewaykickstart.sh <strong>(code=exited, status=1/FAILURE)</strong><br />
<strong>Main PID: 4693 (code=exited, status=1/FAILURE)</strong><br />
CPU: 186ms</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/99135</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99135</guid><dc:creator><![CDATA[Jaanzter]]></dc:creator><pubDate>Sat, 29 Jan 2022 13:27:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway installation issue. on Sat, 29 Jan 2022 12:30:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jaanzter" aria-label="Profile: jaanzter">@<bdi>jaanzter</bdi></a> the internet keeps moving on, and this module hasn’t changed in 2 years .</p>
<p dir="auto">maybe what worked before doesn’t anymore.<br />
the conflict between python 2 and 3 is not new.</p>
<p dir="auto">maybe the author will look at it if u post an issue to the module GitHub page, and maybe not.</p>
]]></description><link>https://forum.magicmirror.builders/post/99131</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99131</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 29 Jan 2022 12:30:42 GMT</pubDate></item></channel></rss>