Raspberry pi Camera


#1

Can you use the raspberry pi camera with cayenne? I can see it listed in the settings page but can’t find any way of using it.

Thanks


#2

The settings that you are seeing are a read-only right now. We have work to do for actually allowing you to change the Pi settings through the Configuration page in Cayenne.

Although what I think would be cool is if we allow the Pi camera module to export pics directly to a camera widget in Cayenne.

-B


#3

YES !
Web cam in trigger or shced etc wayyyyy cool.
~ Andrew


#4

PS…
Post image to e-mail
~ Andrew


#5

This would be a great feature.

What I currently have is my camera takes a picture each time 3000 pixels change then it uploads in to a dropbox folder. However this would be better with Cayenne. Especially if you can also view a live stream.


#6

@will.brett.design This is a planned upcoming feature :slight_smile:

@picaxe Exactly! Video streaming widget planned as well…only a matter of time.


#7

I’m just leaving this here…

A camera widget would be a great place to toss in some SimpleCV integration.


#8

I have two raspberry Pi’s, a B+ and 3. Pi 3 has a camera connected to it :camera: (all of the software is installed and I can control the camera from terminal and Python :snake:) and in the Configure Raspberry Pi section the camera switch is switched on, but how do you see the physical footage streaming from the camera? Thank you for your help! :sweat_smile:


#9

It’s not possible yet. But, since you asked, at a high level what will happen is the camera pictures will be stored in a specific folder on the Raspberry Pi. The Cayenne agent lives on the Raspberry Pi and will be able to gather any pictures stored in that folder on the Raspberry Pi, push them up into the Cayenne cloud, and then bring them into the Cayenne dashboard through the means of a photo gallery widget.

This is a big feature that we are excited to start working on.

-B


#10

Can’t wait! When should the widget be out?


#11

Not for some months :frowning:

-B


#12

Man. That is too bad. Can’t wait though! :relaxed:


#13

any news on the camera feature yet? thanks


#14

@bestes I’d be happy to beta test some camera features! :smile: Can’t wait for these features either way & also wanting to drop - Will camera motion be able to be used as a trigger? As will.brett.design said, maybe based on how many pixels have changed?


#15

Now that MQTT is released, I suggest you follow the tutorial for using Raspberry Pi with Cayenne and MQTT.

Then, you can follow this guide to install OpenCV.

OpenCV lets you write code for any sort of trigger and feed it to Cayenne using mqtt.

I wish there was a widget to display video on the dashboard, but I haven’t seen it yet.

You can use the Mjpg-streamer though and port forward your router so it shows up on your public IP.

Here’s how you install mjpg-streamer https://www.raspberrypi.org/forums/viewtopic.php?t=48597

Once you have all this setup, the MyDevices team would just have to open a browser object window on the dashboard and point it to your stream.

Cheers,

Craig