# Receive image from remote raspberry pi

**URL:** <https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938>\
**Category:** General\
**Created:** [30 August 2019 12:01 UTC](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938 "2019-08-30T12:01:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinschki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/martinschki/32/737_2.png) [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Post date:** [30 August 2019 12:01 UTC](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938/1 "2019-08-30T12:01:15Z")

</div>

Hi all,

I just finished part one of my doorbell project.  
I'm using a Raspberry with a push button connected to publish a MQTT topic to my MQTT server which also runs my node red install. For that I'm using [https://github.com/flyte/pi-mqtt-gpio](https://github.com/flyte/pi-mqtt-gpio) which works quite well and is simple enough (for me to understand).

Part two is the picture. I have a camera connected to the remote Raspberry and want to send the picture and ideally a short videoclip to my main node red raspberry for further processing e.g. displaying in dashboard and sending it via telegram or email.

Did anyone of try that before? raspistill and raspivid are both working locally...

Ideally I would like to trigger a still or vid via MQTT and then publish the result to the MQTT server.

I though about using node-red also on the doorbell device but I want to keep it very simple...once this doorbell device is running I want to forget about it and not touch it again.

Thanks for any tips/advice/script

Martin

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [30 August 2019 12:08 UTC](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938/2 "2019-08-30T12:08:42Z")

</div>

There are flows on [flows.nodered.org](http://flows.nodered.org) such as this [https://flows.nodered.org/flow/2b6c2f0d7a316f1a6831782d33a0d40c](https://flows.nodered.org/flow/2b6c2f0d7a316f1a6831782d33a0d40c)

which shows an example of using raspistill and then sending to the dashboard.  
You can also base64 the image once in Node-RED and then send via MQTT.

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [31 August 2019 10:30 UTC](https://discourse.nodered.org/t/receive-image-from-remote-raspberry-pi/14938/3 "2019-08-31T10:30:49Z")

</div>

You can also use something like MotionEyeOS [https://github.com/ccrisan/motioneyeos/wiki](https://github.com/ccrisan/motioneyeos/wiki) for the backend, connect that "directly" to NR, then the trigger/notification world is your oyster by using Telegram etc.

This is the way I have done it.
