<?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]]></title><description><![CDATA[<p dir="auto">Firstoff, Thanks MichMich and all the contributors for the incredible platform - have had a lot of fun with it since set up of my first mirror on last summer.</p>
<p dir="auto">I’ve written two modules just for own fun - the FunnyHolidays one is trivial, but for the MMM-SensorGateway<br />
<strong>I’d love to hear feedback if somebody happens to reproduce the installation and setup</strong>. (since I did some<br />
hacking throughout especially the BLE and startup service setup - and haven’t done “clean install”<br />
so there might be something missing / other glitches in the instructions) . Posted this on the Utilities - category since this kind of gateway is quite generic and also would like to hear if somebody implements other use-cases / wants to build one together.  (These modules are also added to 3rd party modules list - I didn’t find a similar implementation there yet)</p>
<p dir="auto">Here are the links (images and installation instructions in the <a href="http://README.md" target="_blank" rel="noopener noreferrer nofollow ugc">README.md</a>)<br />
<a href="https://github.com/mattileh/MMM-FunnyHolidays" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mattileh/MMM-FunnyHolidays</a><br />
<a href="https://github.com/mattileh/MMM-SensorGateway" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mattileh/MMM-SensorGateway</a></p>
<p dir="auto">Disclaimer:<br />
I’m not a frontend developer - so the javascript included might not be look really “sane one” :)</p>
<p dir="auto">Disclaimer2:<br />
Movesense firmware source code is not available. Binaries can be found under firmwares/<br />
If someone would be interested in that the Movesense is rather open environment - and has several example sources available<br />
<a href="https://bitbucket.org/suunto/movesense-device-lib/src/master/samples/custom_bleadv_app/" target="_blank" rel="noopener noreferrer nofollow ugc">https://bitbucket.org/suunto/movesense-device-lib/src/master/samples/custom_bleadv_app/</a><br />
is for the beaconing software.</p>
]]></description><link>https://forum.magicmirror.builders/topic/11397/mmm-sensorgateway</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 14:05:29 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11397.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Oct 2019 07:41:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-SensorGateway on Tue, 14 Jul 2020 15:35:11 GMT]]></title><description><![CDATA[<p dir="auto">Did a clean install and it works like a charm now, thank you very much for all the effort taken…</p>
]]></description><link>https://forum.magicmirror.builders/post/78475</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78475</guid><dc:creator><![CDATA[Jo-Rien]]></dc:creator><pubDate>Tue, 14 Jul 2020 15:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Tue, 14 Jul 2020 07:38:27 GMT]]></title><description><![CDATA[<p dir="auto">I’m going to try if it works now, will let you know.</p>
]]></description><link>https://forum.magicmirror.builders/post/78441</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78441</guid><dc:creator><![CDATA[Jo-Rien]]></dc:creator><pubDate>Tue, 14 Jul 2020 07:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Tue, 14 Jul 2020 05:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jo-rien" aria-label="Profile: Jo-Rien">@<bdi>Jo-Rien</bdi></a> thanks!, yep its most likely about the missing modules - I did a “clean install” with the latest master (see merged PR#1 for details) and it seemed to install all related dependencies now with the install - script, could you try again now?</p>
<p dir="auto">In case its still not working, would you like to debug this together for example in Discord?</p>
]]></description><link>https://forum.magicmirror.builders/post/78440</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78440</guid><dc:creator><![CDATA[mattileh]]></dc:creator><pubDate>Tue, 14 Jul 2020 05:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Wed, 17 Jun 2020 22:13:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattileh" aria-label="Profile: mattileh">@<bdi>mattileh</bdi></a><br />
I followed your <a href="http://reame.md" target="_blank" rel="noopener noreferrer nofollow ugc">reame.md</a> and everything is going according the readme until i start up the ble service and check the status. It is giving me a error on the local_blegatewaykickstart.sh status is 1/Failure.<br />
When running ruuvitag -f it will show all ruuvitags just fine, digging in the code a little and the error it seems there is a problem with websocket and codeparser i get this as missing modules, maybe this helps to solve the problem?</p>
]]></description><link>https://forum.magicmirror.builders/post/77246</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/77246</guid><dc:creator><![CDATA[Jo-Rien]]></dc:creator><pubDate>Wed, 17 Jun 2020 22:13:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Wed, 17 Jun 2020 15:10:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jo-rien" aria-label="Profile: Jo-Rien">@<bdi>Jo-Rien</bdi></a> I’m not quite sure yet what are the problems, as sdetweil mentioned the module has quite extensive setup part elaborated in the <a href="http://readme.md" target="_blank" rel="noopener noreferrer nofollow ugc">readme.md</a>. and also that one issue I’d like to see answered if the sudo fixed it.</p>
<p dir="auto">I could probably try to do a “clean install” during July’s time and update the instructions if found something.</p>
]]></description><link>https://forum.magicmirror.builders/post/77212</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/77212</guid><dc:creator><![CDATA[mattileh]]></dc:creator><pubDate>Wed, 17 Jun 2020 15:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Tue, 16 Jun 2020 10:45:21 GMT]]></title><description><![CDATA[<p dir="auto">Is there a fix to the before mentioned errors?</p>
]]></description><link>https://forum.magicmirror.builders/post/77161</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/77161</guid><dc:creator><![CDATA[Jo-Rien]]></dc:creator><pubDate>Tue, 16 Jun 2020 10:45:21 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Mon, 10 Feb 2020 05:51:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stickymongoose" aria-label="Profile: stickymongoose">@<bdi>stickymongoose</bdi></a> Hi! the websocket module is installed in the gateway module installation - can you double check you’ve ran <a href="http://README.md:41" target="_blank" rel="noopener noreferrer nofollow ugc">README.md:41</a></p>
<pre><code>* run `npm install` in module's directory to install websocket and exec modules.
</code></pre>
<p dir="auto">also the local run of advSocket needs root access so please run it with the snippet above (e.g. with <code> sudo</code> in front, or from root user)</p>
]]></description><link>https://forum.magicmirror.builders/post/69358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/69358</guid><dc:creator><![CDATA[mattileh]]></dc:creator><pubDate>Mon, 10 Feb 2020 05:51:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Fri, 24 Jan 2020 22:08:37 GMT]]></title><description><![CDATA[<p dir="auto">There is a lot of install work for this module. Did u guys run the install script per the readme?</p>
]]></description><link>https://forum.magicmirror.builders/post/68590</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68590</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 24 Jan 2020 22:08:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Fri, 24 Jan 2020 21:39:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattileh" aria-label="Profile: mattileh">@<bdi>mattileh</bdi></a> I gt exactly the same error as <a class="plugin-mentions-user plugin-mentions-a" href="/user/dmd" aria-label="Profile: dmd">@<bdi>dmd</bdi></a>.  When I run <a href="http://bleAdvWebSocket.py" target="_blank" rel="noopener noreferrer nofollow ugc">bleAdvWebSocket.py</a> manually I get the following:</p>
<pre><code>pi@mirror-pi:~/MagicMirror/modules/MMM-SensorGateway/gateway $ python bleAdvWebSocket.py 
Traceback (most recent call last):
  File "bleAdvWebSocket.py", line 13, in module
    import websocket
ImportError: No module named websocket
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/68589</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68589</guid><dc:creator><![CDATA[stickymongoose]]></dc:creator><pubDate>Fri, 24 Jan 2020 21:39:30 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Wed, 01 Jan 2020 15:06:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dmd" aria-label="Profile: dmd">@<bdi>dmd</bdi></a> Hi!, Python 2.7.16 is the exact python version I’ve used.</p>
<p dir="auto">the exec module warning is expected, is there something in the snippet you sent that indicates that something went wrong in the module installation?</p>
<p dir="auto">btw, how did the service installation itself go? (there is an expected output in the instructions) <strong>and can you try running the gateway python script directly?</strong> e.g. :</p>
<pre><code>sudo python bleAdvWebSocket.py
</code></pre>
<p dir="auto">and post the results here.</p>
]]></description><link>https://forum.magicmirror.builders/post/66923</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66923</guid><dc:creator><![CDATA[mattileh]]></dc:creator><pubDate>Wed, 01 Jan 2020 15:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Fri, 20 Dec 2019 15:06:47 GMT]]></title><description><![CDATA[<p dir="auto">Tried this with 3b/3b+ (python 2.7/3.6), when installing module I get the following error:</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules/MMM-SensorGateway $ npm install
npm WARN deprecated exec@0.2.1: deprecated in favor of builtin child_process.exe                                                                             cFile

&gt; websocket@1.0.31 install /home/pi/MagicMirror/modules/MMM-SensorGateway/node_m                                                                             odules/websocket
&gt; (node-gyp rebuild 2&gt; builderror.log) || (exit 0)

make: Entering directory '/home/pi/MagicMirror/modules/MMM-SensorGateway/node_mo                                                                             dules/websocket/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/home/pi/MagicMirror/modules/MMM-SensorGateway/node_mod                                                                             ules/websocket/build'
MMM-SensorGateway@1.0.0 /home/pi/MagicMirror/modules/MMM-SensorGateway
├── exec@0.2.1
└─┬ websocket@1.0.31
  ├─┬ debug@2.6.9
  │ └── ms@2.0.0
  ├─┬ es5-ext@0.10.53
  │ ├─┬ es6-iterator@2.0.3
  │ │ └─┬ d@1.0.1
  │ │   └── type@1.2.0
  │ ├─┬ es6-symbol@3.1.3
  │ │ └─┬ ext@1.4.0
  │ │   └── type@2.0.0
  │ └── next-tick@1.0.0
  ├── nan@2.14.0
  ├─┬ typedarray-to-buffer@3.1.5
  │ └── is-typedarray@1.0.0
  └── yaeti@0.0.6

npm WARN MMM-SensorGateway@1.0.0 No repository field.


</code></pre>
<p dir="auto">I can see the temperature with “ruuvitag -f” in console. If I try to see the status with “sudo service local_blegateway status” I get:</p>
<pre><code>pi@raspberrypi:~ $ sudo service local_blegateway status
● local_blegateway.service - local_blegateway, Movesense and RuuviTag BLE advertisement message gateway to websocket interface
   Loaded: loaded (/lib/systemd/system/local_blegateway.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2019-12-20 17:04:04 EET; 1s ago
  Process: 1972 ExecStart=/usr/share/local_blegateway/local_blegatewaykickstart.sh (code=exited, status=1/FAILURE)
 Main PID: 1972 (code=exited, status=1/FAILURE)

joulu 20 17:04:04 raspberrypi systemd[1]: local_blegateway.service: Unit entered failed state.
joulu 20 17:04:04 raspberrypi systemd[1]: local_blegateway.service: Failed with result 'exit-code'.

</code></pre>
<p dir="auto">Any hints?</p>
]]></description><link>https://forum.magicmirror.builders/post/65773</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65773</guid><dc:creator><![CDATA[dmd]]></dc:creator><pubDate>Fri, 20 Dec 2019 15:06:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Sun, 01 Dec 2019 07:24:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thap" aria-label="Profile: thap">@<bdi>thap</bdi></a> Hi!, great to hear that you found the module usefull as well.<br />
Please let me know if there was any problems in replicating the gateway setup or any other changes required to the instructions.</p>
]]></description><link>https://forum.magicmirror.builders/post/65294</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65294</guid><dc:creator><![CDATA[mattileh]]></dc:creator><pubDate>Sun, 01 Dec 2019 07:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Sat, 30 Nov 2019 12:29:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! This was something what I was wishing for to happen. Previously I used influx+grafana setup to get info to MM and it was quite keen setup to corrupt memory cards. I dont need data to be stored anywhere so this was more than good solution to get info from <a href="https://ruuvi.com/" target="_blank" rel="noopener noreferrer nofollow ugc">ruuvitags</a> to MM.</p>
]]></description><link>https://forum.magicmirror.builders/post/65265</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65265</guid><dc:creator><![CDATA[thap]]></dc:creator><pubDate>Sat, 30 Nov 2019 12:29:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-SensorGateway on Sat, 19 Oct 2019 11:33:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattileh" aria-label="Profile: mattileh">@<bdi>mattileh</bdi></a> maybe you could give a few more words about SensorGateway…  What do you need to make the module work?  what sensors?</p>
]]></description><link>https://forum.magicmirror.builders/post/62973</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/62973</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 19 Oct 2019 11:33:19 GMT</pubDate></item></channel></rss>