npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

meshblu-connector-raspicam

v1.0.0

Published

[![Build Status](https://travis-ci.org/octoblu/meshblu-raspicam.svg?branch=master)](https://travis-ci.org/octoblu/meshblu-raspicam) [![Code Climate](https://codeclimate.com/github/octoblu/meshblu-raspicam/badges/gpa.svg)](https://codeclimate.com/github/oc

Downloads

72

Readme

meshblu-raspicam

Build Status Code Climate Test Coverage npm version Gitter

Meshblu Connector for the Raspberry Pi Camera for use in Octoblu and other services.

This is a Meshblu Connector for the Raspberry Pi Camera, it uses node-raspicam (https://github.com/troyth/node-raspicam) which is a node wrapper for raspistill - the default software for taking images on the RPi Camera.

For more information about Octoblu visit http://www.octoblu.com and connect all the things!

meshblu-raspicam sends a JPG image or a Base64 encoded message (for use with Twitter) to your Octoblu flow! This connector is still under testing so expect bugs.

Whilst node-raspicam outputs all the things, this meshblu connector only outputs a single JPG image at the moment, but can be easily modified to output all the image formats and video. The connector is a script you need to run on your RPi, it is not a gateblu pluggin (at the moment!).

Pre-Reqs:

  1. Raspberry Pi, Raspberry Pi Camera ;-)
  2. Configured Raspberry Pi for Octoblu - the simplest thing to do is configure your RPi as a Gateblu (https://gateblu.readme.io/docs/raspberry-pi)

Usage:

  1. Git Clone this repo to your RPi
  2. npm install meshblu-raspicam
  3. Create a Generic Device, grab the UUID and Token and add to meshblu.json
  4. From the meshblu-raspicam directory, do: npm start
  5. meshblu-raspicam will then connect to Octoblu.
  6. Create your flow, add in your new connector
  7. Take photos!

Options

The vast majority of the options provided with node-raspicam are included. You can configure these from within your flow.
There are lots of options and image effects you can apply to your image.
For a break down of the options, this document is useful: https://www.raspberrypi.org/wp-content/uploads/2013/07/RaspiCam-Documentation.pdf

Notes

Based in part on https://github.com/octoblu/meshblu-cam by @virgilvox Uses node-raspicam https://github.com/troyth/node-raspicam

Auto generated instructions below

Setup Instructions

Travis

  1. gem install travis
  2. travis login

Travis (S3)

For use if you need to push your browserified version

  1. travis encrypt [S3_ACCESS_KEY_SECRET]
  2. add the generated key to the .travis.yml file under secret_access_key in the s3 deploy section.
  3. also add the s3 access_key_id to the same section

End result should look like this:

deploy:
  - provider: s3
    access_key_id: [S3_ACCESS_KEY]
    secret_access_key:
      secure: [S3_ACCESS_KEY_SECRET]
    bucket: [UPLOAD_BUCKET] # octoblu-cdn
    region: us-west-2
    skip_cleanup: true
    detect_encoding: true
    local-dir: deploy
    upload-dir: [UPLOAD_FOLDER] # js
    on:
      tags: true
      all_branches: true
      node: '0.10'

Travis (NPM Deploy)[http://docs.travis-ci.com/user/deployment/npm/]

  1. travis encrypt [NPM_ACCESS_KEY] - this key is found in ~/.npmrc
  2. add the generated key to the .travis.yml file under api_key in the npm deploy section.
  3. also add the npm email to the same section

End result should look like this:

deploy:
  - provider: npm
    skip_cleanup: true
    clean_up: false
    email: [NPM_EMAIL]
    api_key:
      secure: [NPM_ACCESS_KEY]
    on:
      tags: true
      all_branches: true
      node: '0.11'

Usage

Gateblu Installation

Use (gateblu)[https://gateblu.octoblu.com/] to run this as a device.

Manual Installation

  1. npm install meshblu-util -g
  2. npm install meshblu-raspicam or git clone [GIT_URL]
  3. go into connector folder
  4. meshblu-util register -t device:meshblu-raspicam > meshblu.json
  5. meshblu-util claim
  6. npm start or to start with debug DEBUG='meshblu-raspicam*' npm start

Platform Dependencies

Edit the package.json to change the platformDependencies. This will show up when installing the connector in Octoblu and Gateblu.

7521555bf46f4af1c12ff19520968da17fa5ebf4