# Npm error - mobius-flow-base, Tasmota, EnOcean PTM215B

**URL:** <https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611>\
**Category:** General\
**Created:** [1 June 2020 10:29 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611 "2020-06-01T10:29:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![beginner\_2020](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@beginner\_2020](https://discourse.nodered.org/u/beginner_2020)\
**Post date:** [1 June 2020 10:29 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/1 "2020-06-01T10:29:58Z")

</div>

Hi,  
I'm completly new to nodered, but my goal is ambitious.

I have several Sonoff devices in my flat (basic, pow, 1-gang, 2-gang, 4ch, S20).  
For the beginning I flashed Tasmoty on a Sonoff basic. Looks like it's running more stable any way faster than the original firmware.

And I have an EnOcean PTM215B self-powered bluetooth switch right here, I wanted to use with NodeRed and the Tasmota devices. This one:

> **[Bluetooth® systems (worldwide): 2,4 GHz - PTM 215B](https://www.enocean.com/en/products/enocean_modules_24ghz_ble/ptm-215b/)**
>
> Battery-free wireless sensor modules in 2.4 GHz for Bluetooth® systems

Well, what I need to do is:

1. enable NodeRed autostart (as crontab or something other). I'm sure there's an easy way for this - any tutorials welcome 😉

2. install all dependencies for  
-bluetooth  
-enocean  
-mqtt  
-tasmota

3. install  
-my bluetooth dongle

```auto
root@nanopineo:~# lsusb
Bus 008 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

```

1. connect a tasmotified defvice to NodeRed (there seem to be several tutorials - so after installing all the dependencies, I'll try this myself, first, before asking another question ;)).

While I'm working on the EnOcean-, and Tasmota-support, I got those errors/warnings:

> **[nodered-npm-errors-and-warnings](https://ibb.co/c1h70vB)**
>
> Image nodered-npm-errors-and-warnings hosted in ImgBB

  
(screenshot of my terminal)

As I'm new to NodeRed and not really a linux user, I wonder how to get things up and running right.

What can I do now?

---

<div class="post-metadata">

**Author:** ![beginner\_2020](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@beginner\_2020](https://discourse.nodered.org/u/beginner_2020)\
**Post date:** [1 June 2020 10:31 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/2 "2020-06-01T10:31:07Z")

</div>

Here is the info for the EnOcean-part:

> **[node-red-contrib-mobius-flow-enocean-switches](https://flows.nodered.org/node/node-red-contrib-mobius-flow-enocean-switches)**
>
> Mobius Flow EnOcean switch nodes for Node-RED

Here we go for the Tasmota-part:

> **[node-red-contrib-sonoff-tasmota](https://flows.nodered.org/node/node-red-contrib-sonoff-tasmota)**
>
> Connect Sonoff Devices running the Sonoff-Tasmota firmware easy to node red

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [1 June 2020 18:01 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/3 "2020-06-01T18:01:17Z")

</div>

Welcome to the forum!

1. from [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

### Autostart on boot

If you want Node-RED to run when the Pi is turned on, or re-booted, you can enable the service to autostart by running the command:

```auto
sudo systemctl enable nodered.service

```

1. install your tasmota devices and the Enocean / bluetooth button seperately. However I had problems with the enocean node and the tasmota node at the same time. see [Tasmota node not working after Tasmota 8.30 firmware update?](https://discourse.nodered.org/t/tasmota-node-not-working-after-tasmota-8-30-firmware-update/26740)  
Finally I used the tasmota plugs via MQTT and could use a Enocean based Hoppe door handle with my Enocean USB 300 stick and the enocean node.

I do not understand if that PTM 215B uses Enocean or bluetooth or both and whether it can be integrated in Node-RED at all.

Your screenshots indicate, that you may be not in the right directory when installing the additional nodes. If you installed Node-RED with the script from [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi), you should change the directory to ~/.node-red, before you start `npm install ...`

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 June 2020 05:58 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/4 "2020-06-02T05:58:18Z")

</div>

> you should change the directory to ~/.node-red, before you start `npm install ...`

To eliminate more issues: use the gui, hamburger menu \> manage palette \> install tab \> search the node \> install.

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [2 June 2020 11:31 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/5 "2020-06-02T11:31:28Z")

</div>

You are right, but until now I had system language = German, and did not know, how the menu structure was in english. I just switched to english 😊

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 August 2020 11:31 UTC](https://discourse.nodered.org/t/npm-error-mobius-flow-base-tasmota-enocean-ptm215b/27611/6 "2020-08-01T11:31:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
