<?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[node-red-contrib-mysensors release thread]]></title><description><![CDATA[<p dir="auto">An almost complete rewrite of the node-red-contrib-mysensors has been released.</p>
<p dir="auto">What have been done this time is:</p>
<ul>
<li>Rewritten in typescript</li>
<li>a controller node is added, allowing node-red to hand out node id's to a mysensors network.</li>
</ul>
<p dir="auto">The move to typescript should enable more test of the software, as I now have a compile time check, and also implemented the first unit tests of the code.</p>
<p dir="auto">Please note that the mysencdec node has now been removed.. If you still use it, then you should remove it before upgrading the package, or node-red might stop the flows, as it is missing nodes.</p>
<p dir="auto">Please use the issue tracker on <a href="https://github.com/tbowmo/node-red-contrib-mysensors/issues" rel="nofollow ugc">github</a>, if you find some undocumented "features" :)</p>
]]></description><link>https://forum.mysensors.org/topic/9296/node-red-contrib-mysensors-release-thread</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 18:51:08 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/9296.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Apr 2018 20:06:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Tue, 04 May 2021 10:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> said in <a href="/post/110163">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">e-assistant and their spe</p>
</blockquote>
<p dir="auto">Thanks a lot <a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a></p>
<p dir="auto">Denis</p>
]]></description><link>https://forum.mysensors.org/post/110164</link><guid isPermaLink="true">https://forum.mysensors.org/post/110164</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Tue, 04 May 2021 10:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Tue, 04 May 2021 10:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/electrik" aria-label="Profile: electrik">@<bdi>electrik</bdi></a></p>
<p dir="auto">When I said that you needed the package "build-essentials" I assumed that you where running on a barebone ubuntu distribution, and not in docker. This complicates things, but it seems that others do have the same issue with node-red and sqlite on home-assistant forum.</p>
<p dir="auto">One solution is given here: <a href="https://community.home-assistant.io/t/how-to-get-access-to-sqlite-on-hassio/241439/3" rel="nofollow ugc">https://community.home-assistant.io/t/how-to-get-access-to-sqlite-on-hassio/241439/3</a></p>
<p dir="auto">As said earlier I do not know anything about the internals in home-assistant and their specific docker / node-red setup.</p>
]]></description><link>https://forum.mysensors.org/post/110163</link><guid isPermaLink="true">https://forum.mysensors.org/post/110163</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Tue, 04 May 2021 10:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 18:19:37 GMT]]></title><description><![CDATA[<p dir="auto">No problem <a class="plugin-mentions-user plugin-mentions-a" href="/user/electrik" aria-label="Profile: electrik">@<bdi>electrik</bdi></a> I have already set the Node-Red to translate my node sensor in human leggibile data :-)<br />
<img src="/assets/uploads/files/1619806663263-d1a67cd0-fb8d-4e79-833f-a246ef208f5b-image.png" alt="d1a67cd0-fb8d-4e79-833f-a246ef208f5b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And now I can see it like this:<br />
<img src="/assets/uploads/files/1619806698288-681efe88-e2e9-4ff8-8090-835fe1763a20-image.png" alt="681efe88-e2e9-4ff8-8090-835fe1763a20-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">All ok and thanks a lot for the help<br />
Denis</p>
]]></description><link>https://forum.mysensors.org/post/110112</link><guid isPermaLink="true">https://forum.mysensors.org/post/110112</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 18:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 17:44:17 GMT]]></title><description><![CDATA[<p dir="auto">Yes I have home assistant but don't have the build essentials. I did some more reading and it seems like a package of build tools. Perhaps <a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> knows which specific one is needed?</p>
]]></description><link>https://forum.mysensors.org/post/110111</link><guid isPermaLink="true">https://forum.mysensors.org/post/110111</guid><dc:creator><![CDATA[electrik]]></dc:creator><pubDate>Fri, 30 Apr 2021 17:44:17 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 17:18:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/electrik" aria-label="Profile: electrik">@<bdi>electrik</bdi></a> said in <a href="/post/110109">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">build-essentials</p>
</blockquote>
<p dir="auto">I try it but it give me same errore.<br />
<img src="/assets/uploads/files/1619802655500-efe0a31c-b22f-4edb-b186-f4e0157e0eb4-image.png" alt="efe0a31c-b22f-4edb-b186-f4e0157e0eb4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I think that that package must be <a href="https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/" rel="nofollow ugc">here in this link</a> like the error log tell<br />
Do you have Home Assistant installed ? if yes... do you have this "essentials" installed also ?<br />
Thanks again<br />
Denis</p>
]]></description><link>https://forum.mysensors.org/post/110110</link><guid isPermaLink="true">https://forum.mysensors.org/post/110110</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 17:18:35 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 16:54:37 GMT]]></title><description><![CDATA[<p dir="auto">Shouldn't it be</p>
<pre><code>build-essentials
</code></pre>
<p dir="auto">?</p>
]]></description><link>https://forum.mysensors.org/post/110109</link><guid isPermaLink="true">https://forum.mysensors.org/post/110109</guid><dc:creator><![CDATA[electrik]]></dc:creator><pubDate>Fri, 30 Apr 2021 16:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 16:37:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/electrik" aria-label="Profile: electrik">@<bdi>electrik</bdi></a> said in <a href="/post/110105">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">system_packages<br />
I have try to insert in the system_packages like this:</p>
</blockquote>
<p dir="auto"><img src="/assets/uploads/files/1619800574756-86f16d43-4072-42b7-8a5b-a0eaf72ed908-image.png" alt="86f16d43-4072-42b7-8a5b-a0eaf72ed908-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But it give me errore when start:<br />
<img src="/assets/uploads/files/1619800328700-cff61c5d-af7d-433f-b61b-4020f2bd7858-image.png" alt="cff61c5d-af7d-433f-b61b-4020f2bd7858-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I think I'll make some translate node by my self<br />
Thanks a lot again</p>
<p dir="auto">Denis</p>
]]></description><link>https://forum.mysensors.org/post/110108</link><guid isPermaLink="true">https://forum.mysensors.org/post/110108</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 16:37:04 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 10:28:27 GMT]]></title><description><![CDATA[<p dir="auto">In Home Assistant you have the Node Red configuration (under supervisor). There you can add packages to be installed under <code>system_packages: []</code></p>
]]></description><link>https://forum.mysensors.org/post/110105</link><guid isPermaLink="true">https://forum.mysensors.org/post/110105</guid><dc:creator><![CDATA[electrik]]></dc:creator><pubDate>Fri, 30 Apr 2021 10:28:27 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 09:59:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> said in <a href="/post/110103">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">apt install build-essentials</p>
</blockquote>
<p dir="auto">I think I have not the apt inside of Node_red docker.<br />
<img src="/assets/uploads/files/1619776490541-04b55f00-fe0e-4ab0-b0a3-a2e4762158f8-image.png" alt="04b55f00-fe0e-4ab0-b0a3-a2e4762158f8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can I install it from outside in this case.<br />
Sorry but I'm very beginner so I need some basic info in this case.</p>
<p dir="auto">Thanks a lot again<br />
Denis</p>
]]></description><link>https://forum.mysensors.org/post/110104</link><guid isPermaLink="true">https://forum.mysensors.org/post/110104</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 09:59:41 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 09:27:31 GMT]]></title><description><![CDATA[<p dir="auto">What I did way back when I got it up and running in docker, was to jump into the container shell, and install the package manually (So you are using the same node.js version that node-red is using).</p>
<p dir="auto">You could also (in that docker shell) do a apt install (given that it builds upon a debian based image).</p>
<p dir="auto">something in the line of:</p>
<pre><code class="lang-bash">$ docker exec -it &lt;id of container running node-red&gt; /bin/bash
# now you are in docker..
$ apt install build-essentials
$ cd &lt;to your node-red data directory&gt;
$ npm install node-red-contrib-mysensors
$ exit
</code></pre>
<p dir="auto">Above is taken purely from what I <em>think</em> is the right commands, as I have not tried working with home-assistant for a while.</p>
]]></description><link>https://forum.mysensors.org/post/110103</link><guid isPermaLink="true">https://forum.mysensors.org/post/110103</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Fri, 30 Apr 2021 09:27:31 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 08:30:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> said in <a href="/post/110100">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">ed 1.1.2, without problem</p>
</blockquote>
<p dir="auto">Thanks for the answer.<br />
I have now Node-Red 1.3.3 under Home Assistant installed.<br />
But I must search on net how can I install the build-essentials from the docker console.</p>
<p dir="auto">Do you know if is there some other node that I can install from the palette that maybe incluse the build-essentials please ?</p>
<p dir="auto">Thanks again<br />
Denis</p>
]]></description><link>https://forum.mysensors.org/post/110101</link><guid isPermaLink="true">https://forum.mysensors.org/post/110101</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 08:30:21 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 08:13:02 GMT]]></title><description><![CDATA[<p dir="auto">NPM is trying to build sqlite, because it cannot find a suitable pre-built one for your architecture, it fails because you do not have the needed tools installed for this on your machine.</p>
<p dir="auto">Might help if you install build-essentials (<code>sudo apt-get install build-essentials</code>, assuming you are on a debian like install)</p>
<p dir="auto">I currently use it on node-red 1.1.2, without problems. But I'm using plain node-red in a docker container..</p>
]]></description><link>https://forum.mysensors.org/post/110100</link><guid isPermaLink="true">https://forum.mysensors.org/post/110100</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Fri, 30 Apr 2021 08:13:02 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 30 Apr 2021 07:21:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi there all,<br />
I just try to install the node in my Node-Red (Home Assistant)<br />
and I got error:</p>
<pre><code>-----------------------------------------------------------
2021-04-30T07:18:09.293Z Install : node-red-contrib-mysensors 3.3.1

2021-04-30T07:18:07.624Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-mysensors@3.3.1
2021-04-30T07:18:11.638Z [err] npm WARN deprecated @types/moment-timezone@0.5.30: This is a stub types definition. moment-timezone provides its own type definitions, so you do not need this installed.
2021-04-30T07:18:14.813Z [err] npm WARN
2021-04-30T07:18:14.813Z [err]  deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
2021-04-30T07:18:19.176Z [out] 
2021-04-30T07:18:19.176Z [out] &gt; sqlite3@4.2.0 install /config/node-red/node_modules/sqlite3
2021-04-30T07:18:19.176Z [out] &gt; node-pre-gyp install --fallback-to-build
2021-04-30T07:18:19.176Z [out] 
2021-04-30T07:18:19.551Z [err] node-pre-gyp
2021-04-30T07:18:19.552Z [err]  WARN Using request for node-pre-gyp https download 
2021-04-30T07:18:20.511Z [err] node-pre-gyp
2021-04-30T07:18:20.512Z [err]  WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-linux-x64.tar.gz 
2021-04-30T07:18:20.512Z [err] node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.2.0 and node@14.16.1 (node-v83 ABI, musl) (falling back to source compile with node-gyp) 
2021-04-30T07:18:21.714Z [err] gyp
2021-04-30T07:18:21.715Z [err]  
2021-04-30T07:18:21.715Z [err] ERR!
2021-04-30T07:18:21.715Z [err]  
2021-04-30T07:18:21.716Z [err] build error
2021-04-30T07:18:21.716Z [err]  
2021-04-30T07:18:21.716Z [err] gyp
2021-04-30T07:18:21.717Z [err]  
2021-04-30T07:18:21.717Z [err] ERR!
2021-04-30T07:18:21.717Z [err]  
2021-04-30T07:18:21.717Z [err] stack
2021-04-30T07:18:21.717Z [err]  Error: not found: make
2021-04-30T07:18:21.717Z [err] gyp
2021-04-30T07:18:21.717Z [err]  
2021-04-30T07:18:21.717Z [err] ERR!
2021-04-30T07:18:21.717Z [err]  
2021-04-30T07:18:21.717Z [err] stack
2021-04-30T07:18:21.717Z [err]      at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2021-04-30T07:18:21.718Z [err] gyp
2021-04-30T07:18:21.718Z [err]  
2021-04-30T07:18:21.718Z [err] ERR!
2021-04-30T07:18:21.718Z [err]  
2021-04-30T07:18:21.718Z [err] stack
2021-04-30T07:18:21.718Z [err]      at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2021-04-30T07:18:21.718Z [err] gyp
2021-04-30T07:18:21.718Z [err]  
2021-04-30T07:18:21.718Z [err] ERR!
2021-04-30T07:18:21.718Z [err]  
2021-04-30T07:18:21.718Z [err] stack
2021-04-30T07:18:21.719Z [err]      at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2021-04-30T07:18:21.719Z [err] gyp
2021-04-30T07:18:21.719Z [err]  
2021-04-30T07:18:21.719Z [err] ERR!
2021-04-30T07:18:21.719Z [err]  
2021-04-30T07:18:21.719Z [err] stack
2021-04-30T07:18:21.719Z [err]      at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2021-04-30T07:18:21.719Z [err] gyp
2021-04-30T07:18:21.719Z [err]  
2021-04-30T07:18:21.719Z [err] ERR!
2021-04-30T07:18:21.720Z [err]  
2021-04-30T07:18:21.720Z [err] stack
2021-04-30T07:18:21.720Z [err]      at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2021-04-30T07:18:21.720Z [err] gyp
2021-04-30T07:18:21.720Z [err]  
2021-04-30T07:18:21.720Z [err] ERR!
2021-04-30T07:18:21.720Z [err]  
2021-04-30T07:18:21.720Z [err] stack
2021-04-30T07:18:21.720Z [err]      at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2021-04-30T07:18:21.720Z [err] gyp
2021-04-30T07:18:21.720Z [err]  
2021-04-30T07:18:21.721Z [err] ERR!
2021-04-30T07:18:21.721Z [err]  
2021-04-30T07:18:21.721Z [err] stack
2021-04-30T07:18:21.721Z [err]      at FSReqCallback.oncomplete (fs.js:183:21)
2021-04-30T07:18:21.721Z [err] gyp
2021-04-30T07:18:21.721Z [err]  
2021-04-30T07:18:21.721Z [err] ERR!
2021-04-30T07:18:21.721Z [err]  
2021-04-30T07:18:21.721Z [err] System
2021-04-30T07:18:21.722Z [err]  Linux 5.0.0-27-generic
2021-04-30T07:18:21.722Z [err] gyp
2021-04-30T07:18:21.722Z [err]  
2021-04-30T07:18:21.722Z [err] ERR!
2021-04-30T07:18:21.722Z [err]  
2021-04-30T07:18:21.722Z [err] command
2021-04-30T07:18:21.722Z [err]  "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
2021-04-30T07:18:21.722Z [err] gyp
2021-04-30T07:18:21.722Z [err]  
2021-04-30T07:18:21.722Z [err] ERR!
2021-04-30T07:18:21.723Z [err]  
2021-04-30T07:18:21.723Z [err] cwd
2021-04-30T07:18:21.723Z [err]  /config/node-red/node_modules/sqlite3
2021-04-30T07:18:21.723Z [err] gyp
2021-04-30T07:18:21.723Z [err]  
2021-04-30T07:18:21.723Z [err] ERR!
2021-04-30T07:18:21.723Z [err]  
2021-04-30T07:18:21.723Z [err] node -v
2021-04-30T07:18:21.724Z [err]  v14.16.1
2021-04-30T07:18:21.724Z [err] gyp
2021-04-30T07:18:21.724Z [err]  
2021-04-30T07:18:21.724Z [err] ERR!
2021-04-30T07:18:21.724Z [err]  
2021-04-30T07:18:21.724Z [err] node-gyp -v
2021-04-30T07:18:21.725Z [err]  v5.1.0
2021-04-30T07:18:21.725Z [err] gyp
2021-04-30T07:18:21.725Z [err]  
2021-04-30T07:18:21.725Z [err] ERR!
2021-04-30T07:18:21.725Z [err]  
2021-04-30T07:18:21.725Z [err] not ok
2021-04-30T07:18:21.725Z [err]  
2021-04-30T07:18:21.730Z [err] node-pre-gyp
2021-04-30T07:18:21.730Z [err]  ERR! build error 
2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
2021-04-30T07:18:21.731Z [err] stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! stack     at ChildProcess.&lt;anonymous&gt; (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2021-04-30T07:18:21.731Z [err] node-pre-gyp 
2021-04-30T07:18:21.731Z [err] ERR! stack     at ChildProcess.emit (events.js:315:20)
2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
2021-04-30T07:18:21.731Z [err] stack     at maybeClose (internal/child_process.js:1048:16)
2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
2021-04-30T07:18:21.731Z [err] node-pre-gyp ERR! 
2021-04-30T07:18:21.731Z [err] System Linux 5.0.0-27-generic
2021-04-30T07:18:21.731Z [err] node-pre-gyp
2021-04-30T07:18:21.731Z [err]  ERR! command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2021-04-30T07:18:21.731Z [err] node-pre-gyp
2021-04-30T07:18:21.731Z [err]  ERR! cwd /config/node-red/node_modules/sqlite3
2021-04-30T07:18:21.731Z [err] node-pre-gyp
2021-04-30T07:18:21.731Z [err]  ERR! node -v v14.16.1
2021-04-30T07:18:21.732Z [err] node-pre-gyp ERR! node-pre-gyp -v v0.11.0
2021-04-30T07:18:21.732Z [err] node-pre-gyp ERR! not ok 
2021-04-30T07:18:21.732Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/config/node-red/node_modules/sqlite3/lib/binding/node-v83-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-04-30T07:18:22.158Z [err] npm ERR!
2021-04-30T07:18:22.158Z [err]  code ELIFECYCLE
2021-04-30T07:18:22.158Z [err] npm ERR! errno 1
2021-04-30T07:18:22.164Z [err] npm ERR!
2021-04-30T07:18:22.164Z [err]  sqlite3@4.2.0 install: `node-pre-gyp install --fallback-to-build`
2021-04-30T07:18:22.164Z [err] npm ERR! Exit status 1
2021-04-30T07:18:22.164Z [err] npm ERR! 
2021-04-30T07:18:22.164Z [err] npm 
2021-04-30T07:18:22.164Z [err] ERR! Failed at the sqlite3@4.2.0 install script.
2021-04-30T07:18:22.164Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-04-30T07:18:22.178Z [err] 
2021-04-30T07:18:22.178Z [err] npm ERR! A complete log of this run can be found in:
2021-04-30T07:18:22.178Z [err] npm ERR!     /root/.npm/_logs/2021-04-30T07_18_22_169Z-debug.log
2021-04-30T07:18:22.201Z rc=1
</code></pre>
<p dir="auto">Is there still possibility to install it please ?<br />
Thanks a lot<br />
Denis</p>
]]></description><link>https://forum.mysensors.org/post/110097</link><guid isPermaLink="true">https://forum.mysensors.org/post/110097</guid><dc:creator><![CDATA[DenisJ]]></dc:creator><pubDate>Fri, 30 Apr 2021 07:21:28 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Mon, 30 Dec 2019 19:25:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magpern" aria-label="Profile: magpern">@<bdi>magpern</bdi></a></p>
<p dir="auto">It's more or less the script below, I removed some stuff from  my utility meter, that I also handles in my script (but isn't needed for just mysensors).</p>
<pre><code>#!/usr/bin/python3

import serial
import paho.mqtt.client as mqtt
import time

mysensors = serial.serial_for_url('/dev/ttyNRF24', 115200, rtscts=0, timeout=1000)
mysensors.isOpen()
mqtt_connect = False

def mqtt_reception(client, userdata, msg):
    payload = msg.payload.decode("ascii")
    topic = msg.topic.split('/')
    topic.remove('mys-out')
    mymsg = ';'.join(topic) + ';' + payload + '\n'
    print("out &lt;- ", mymsg)
    mysensors.write(str.encode(mymsg))

def mqtt_connect(client, userdata, flags, rc):
    print('Connected')
    mqtt_connect = True
    client.subscribe('mys-out/#')

def mqtt_disconnect(client, userdata, rc):
    print(rc)
    
client = mqtt.Client('mys')
client.on_connect = mqtt_connect
client.on_message = mqtt_reception
client.on_disconnect = mqtt_disconnect

client.connect('192.168.1.64')

def handle_data(data):
    print("in -&gt; ", data)
    s = data.split(';')
    payload = s[-1]
    s.remove(payload)
    topic = 'mys-in/' + '/'.join(s)
    if mqtt_connect: 
        client.publish(topic, payload.rstrip())

if __name__ == "__main__":
    client.loop_start()
    mys_data_str = '';
    util_data_str = '';
    while (True):
        if (mysensors.inWaiting()&gt;0):
            char = mysensors.read(1).decode('ascii')
            mys_data_str += char
            if (char == '\n'):
                handle_data(mys_data_str)
                mys_data_str = ''
        time.sleep(0.01)
</code></pre>
]]></description><link>https://forum.mysensors.org/post/103012</link><guid isPermaLink="true">https://forum.mysensors.org/post/103012</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Mon, 30 Dec 2019 19:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Mon, 30 Dec 2019 17:44:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> said in <a href="/post/102997">node-red-contrib-mysensors release thread</a>:</p>
<blockquote>
<p dir="auto">That being said, if you only need to convert your serial mysensors gateway into mqtt, I do have a small python script that I use for that particular case, as my nodered instance can't access the serial Ports from my docker swarm setup. So this script is running besides everything else. I can post it tomorrow if interested, as my pc is closed for the night now.</p>
<p dir="auto">/ Thomas</p>
</blockquote>
<p dir="auto">I'd love to try the script! /Magnus</p>
]]></description><link>https://forum.mysensors.org/post/103010</link><guid isPermaLink="true">https://forum.mysensors.org/post/103010</guid><dc:creator><![CDATA[magpern]]></dc:creator><pubDate>Mon, 30 Dec 2019 17:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Mon, 30 Dec 2019 00:11:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/magpern" aria-label="Profile: magpern">@<bdi>magpern</bdi></a> this module is more if you want to only use nodered for your home automation, without <a href="http://Hass.io" rel="nofollow ugc">Hass.io</a> or the likes.</p>
<p dir="auto">Most of the standard controllers (domoticz, openhab, home assistant etc) are all able to handle the mysensors network directly (more or less), and handle the device registration for you.</p>
<p dir="auto">My module for nodered is implementing a crude controller, that only handles out node id's to the mysensors network, when asked for, and then leaves everything else up to your imagination, for how to wire things together behind the scenes.</p>
<p dir="auto">That being said, if you only need to convert your serial mysensors gateway into mqtt, I do have a small python script that I use for that particular case, as my nodered instance can't access the serial Ports from my docker swarm setup. So this script is running besides everything else. I can post it tomorrow if interested, as my pc is closed for the night now.</p>
<p dir="auto">/ Thomas</p>
]]></description><link>https://forum.mysensors.org/post/102997</link><guid isPermaLink="true">https://forum.mysensors.org/post/102997</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Mon, 30 Dec 2019 00:11:26 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Sun, 29 Dec 2019 22:57:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a> I feel a little confused on how to use this node-red plugin. Is this something like "a node-red plug-in framework", but you have to invent the wheel yourself kind of solution?</p>
<p dir="auto">I have just opted for the Home assistant (<a href="http://hass.io" rel="nofollow ugc">hass.io</a>) system as the hub for my home automation.<br />
Home assistant, according to documentation, is mysensors enabled, but compared to other add-ons, like zigbee2mqtt, zwave2mqtt, the mysensors implementaton is like a child's tricycle, while the others are sports cars.<br />
The zigbee2mqtt, you just turn on and off the IKEA light buld six times and it is added, whereas the mysensors you have to type configuration files and have limited graphical administration possibilities.</p>
<p dir="auto">So I thought, what if the mysensors could talk to mqtt and get into home assistant that way (my gateway is serial).</p>
<p dir="auto">I understand the node-red implementation enables you to decode the messages as you like, but do I really need to invent how it should decode it and send it to mqtt?</p>
<p dir="auto">Are there any ready to use implementations of the <a href="http://plug.in" rel="nofollow ugc">plug.in</a>?</p>
<p dir="auto">Could it support "auto discovery"? So you just have to turn the device on, and voila, it appears in home assistant (if mqtt auto discovery is turned on)?</p>
]]></description><link>https://forum.mysensors.org/post/102996</link><guid isPermaLink="true">https://forum.mysensors.org/post/102996</guid><dc:creator><![CDATA[magpern]]></dc:creator><pubDate>Sun, 29 Dec 2019 22:57:09 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Sun, 01 Dec 2019 11:06:20 GMT]]></title><description><![CDATA[<p dir="auto">Version 3.3.1 is now released</p>
<p dir="auto">A bug with the Encapsulate node was reported, where child sensor types didn't have the correct IDs. Also updated dependencies as a few where reported to have security vulnerabilities.</p>
]]></description><link>https://forum.mysensors.org/post/102580</link><guid isPermaLink="true">https://forum.mysensors.org/post/102580</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Sun, 01 Dec 2019 11:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Fri, 22 Mar 2019 17:37:24 GMT]]></title><description><![CDATA[<p dir="auto">Today I have released version 3.3.0</p>
<p dir="auto">New in this release is that battery level messages is now stored in the database by myscontroller, and are also shown in the table of mysensors nodes, when you open the myscontroller node.</p>
]]></description><link>https://forum.mysensors.org/post/98147</link><guid isPermaLink="true">https://forum.mysensors.org/post/98147</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Fri, 22 Mar 2019 17:37:24 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Sun, 17 Mar 2019 22:40:37 GMT]]></title><description><![CDATA[<p dir="auto">New release: 3.2.1</p>
<p dir="auto">It's a minor update, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/pansen" aria-label="Profile: pansen">@<bdi>pansen</bdi></a> discovered that node IDs wasn't shown correctly in the controller view.</p>
<p dir="auto">Also behind the scenes a couple of module dependencies have been updated to mitigate a couple of (low-risk) security issues that has been reported against some of the npm packages that was used.</p>
]]></description><link>https://forum.mysensors.org/post/98082</link><guid isPermaLink="true">https://forum.mysensors.org/post/98082</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Sun, 17 Mar 2019 22:40:37 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Wed, 08 Aug 2018 06:13:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maschler" aria-label="Profile: Maschler">@<bdi>Maschler</bdi></a></p>
<p dir="auto">It's not necessary to have an arduino to make the gateway. You can configure the linux variant as a MQTT gateway (which I recommend), and then have mosquitto as a broker and nodered listening for mqtt messages.</p>
<p dir="auto"><a href="https://www.mysensors.org/build/raspberry#configure" rel="nofollow ugc">https://www.mysensors.org/build/raspberry#configure</a></p>
]]></description><link>https://forum.mysensors.org/post/92304</link><guid isPermaLink="true">https://forum.mysensors.org/post/92304</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Wed, 08 Aug 2018 06:13:12 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Tue, 07 Aug 2018 17:22:01 GMT]]></title><description><![CDATA[<p dir="auto">hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/tbowmo" aria-label="Profile: tbowmo">@<bdi>tbowmo</bdi></a></p>
<p dir="auto">I found my mistake in /home/openhabian/.npm/_logs<br />
I had to use sudo ....</p>
<p dir="auto">But I have another Question. Do I need an Arduino in-between or can I connect the modul directly to the Raspberry pi like it is <a href="https://www.mysensors.org/build/raspberry#wiring" rel="nofollow ugc">done here.</a></p>
<p dir="auto">Thank you very much for your help!! :)</p>
]]></description><link>https://forum.mysensors.org/post/92299</link><guid isPermaLink="true">https://forum.mysensors.org/post/92299</guid><dc:creator><![CDATA[Maschler]]></dc:creator><pubDate>Tue, 07 Aug 2018 17:22:01 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Tue, 07 Aug 2018 06:09:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maschler" aria-label="Profile: Maschler">@<bdi>Maschler</bdi></a></p>
<p dir="auto">Which version of node-red, nodejs and npm are you using?</p>
<p dir="auto">And what does /home/openhabian/.node-red/npm-debug.log tell you?</p>
]]></description><link>https://forum.mysensors.org/post/92288</link><guid isPermaLink="true">https://forum.mysensors.org/post/92288</guid><dc:creator><![CDATA[tbowmo]]></dc:creator><pubDate>Tue, 07 Aug 2018 06:09:30 GMT</pubDate></item><item><title><![CDATA[Reply to node-red-contrib-mysensors release thread on Mon, 06 Aug 2018 18:39:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
great work. I tried to install it, without success. First I installed <a href="https://nodered.org/docs/hardware/raspberrypi" rel="nofollow ugc">node-red und npm</a>. As operation system I use <a href="https://github.com/openhab/openhabian/releases" rel="nofollow ugc">openHABian v1.4.1</a>.</p>
<p dir="auto">This is the output:</p>
<pre><code>npm install node-red-contrib-mysensors
(node:4359) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json node-red-project@0.0.1 No repository field.
npm WARN package.json node-red-project@0.0.1 No README data
npm WARN package.json node-red-project@0.0.1 No license field.
npm WARN package.json copy-descriptor@0.1.1 No README data
npm WARN package.json log-ok@0.1.1 No README data
npm WARN package.json log-utils@0.2.1 No README data
npm WARN package.json object-copy@0.1.0 No README data
npm WARN package.json static-extend@0.1.2 No README data
npm WARN package.json ansi-wrap@0.1.0 license should be a valid SPDX license expression
npm WARN package.json events@1.1.1 events is also the name of a node core module.
npm WARN package.json format@0.2.2 No license field.
npm WARN package.json jsonify@0.0.0 license should be a valid SPDX license expression
npm WARN package.json string_decoder@1.1.1 string_decoder is also the name of a node core module.
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     &lt;http://github.com/npm/npm/issues&gt;

npm ERR! System Linux 4.14.52+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-mysensors"
npm ERR! cwd /home/openhabian/.node-red
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/openhabian/.node-red/npm-debug.log
npm ERR! not ok code 0

</code></pre>
]]></description><link>https://forum.mysensors.org/post/92275</link><guid isPermaLink="true">https://forum.mysensors.org/post/92275</guid><dc:creator><![CDATA[Maschler]]></dc:creator><pubDate>Mon, 06 Aug 2018 18:39:23 GMT</pubDate></item></channel></rss>