No description, website, or topics provided.
Branch: master
Clone or download
Latest commit aab10c6 Jun 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jun 29, 2018 initial code Jun 29, 2018
pushCam.go initial code Jun 29, 2018


Simple go script that is used with motionEyeOS to send push notifications using pushbullet.

I didn't make a config file so you have to edit the code directly, maybe something in the future.


Under the main func there are a couple of variables that need to be set. You need your access toke which you can get under Account Settings on pushbullet.

set your link you want to send with push bullet (ie. the browser address of your camera)


  • GOOS=linux GOARCH=arm GOARM=5 go build pushCam.go
  • upload to \data\
  • make excutable
    • chmod +x pushCam

Under motioneye web interface

  1. Under General Settings turn on Advanced Settings
  2. Under Motion Notifications Turn on run a command
  3. Enter \data\pushCam
  4. Optional Argument you can pass is the folder for it to watch such as Camera1 or Camera2. This is usefull if you have more than one camera and want to watch for images in those cameras, otherwise it will send the first new image it finds on any camera.
    • ie \data\pushCam Camera1


Pushbullet limits its api usage (at least with the free version) so if the camera goes off a lot, it will probably block it at some point.

It is also setup to send a picture in a second message, since I notice motioneyeos doesn't make the jpeg until after its done recording. So this may not work if your only doing recording.

Sorry for the mess of coding, its something I put together quickly and haven't got around to cleaning up.