# Node-Red on Raspberry pi and Team-viewer-IoT

**URL:** <https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400>\
**Category:** General\
**Created:** [21 March 2020 10:11 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400 "2020-03-21T10:11:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MainulMahin](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MainulMahin](https://discourse.nodered.org/u/MainulMahin)\
**Post date:** [21 March 2020 10:11 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/1 "2020-03-21T10:11:26Z")

</div>

Hello Everyone,  
I am trying to push the value from my sensors to Teamviewer-IoT by using MQTT node, as soon as I start the privet key which provided from Teamviewer, then the Raspberry pi goes hang. It does not work anymore and needs to restart the pi.  
But if I push the value by using python script then it works fine.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 March 2020 10:45 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/2 "2020-03-21T10:45:29Z")

</div>

Restart node red by using

```auto
node-red-stop
node-red

```

which will start node-red in the terminal. When it hangs then with luck you will be able to stop node-red by hitting Ctrl-C and can then copy/paste the output here. Copy/paste if possible please rather than screenshot.

---

<div class="post-metadata">

**Author:** ![MainulMahin](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MainulMahin](https://discourse.nodered.org/u/MainulMahin)\
**Post date:** [22 March 2020 06:46 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/3 "2020-03-22T06:46:24Z")

</div>

Thank you very much for your kind,  
In that moment, It is impossible to move the cursor or work by the keybord.  
After restarting by manual power off, it looks good but if I do the same thing it goes hang again.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 March 2020 08:33 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/4 "2020-03-22T08:33:17Z")

</div>

In that case instead of starting with `node-red` use  
`node-red --safe`  
which will start it without running the flows. Post the resulting output.

---

<div class="post-metadata">

**Author:** ![MainulMahin](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MainulMahin](https://discourse.nodered.org/u/MainulMahin)\
**Post date:** [22 March 2020 09:09 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/5 "2020-03-22T09:09:16Z")

</div>

I did that, But the result is same as before, May be the problem is not with Node-red, it is related with privet key file which is provided by Teamviewer, because of node-red is working fine for other applications such as modbus or gpio.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 March 2020 10:12 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/6 "2020-03-22T10:12:22Z")

</div>

The purpose of starting with --safe is not to make it work but so you can get the startup log and post it here in order to see more about your environment.

---

<div class="post-metadata">

**Author:** ![MainulMahin](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MainulMahin](https://discourse.nodered.org/u/MainulMahin)\
**Post date:** [23 March 2020 09:27 UTC](https://discourse.nodered.org/t/node-red-on-raspberry-pi-and-team-viewer-iot/23400/7 "2020-03-23T09:27:53Z")

</div>

Thank you very much for your kind. I already find a specific node for team viewer, so I am playing with that, now node-red is behaving good.
