114

Sauron: DIY home security with Ruby!

  • Upload
    1337807

  • View
    368

  • Download
    1

Embed Size (px)

Citation preview

I’m Jonanalso @1337807

I’m from Portland

They call me

Webmaster

Also New Relic

One of us

bit.ly/nerdlife

?

The Solution™

Sauron(the gem)

Sauron All Seeing Eye

(the gem)

Sauron All Seeing Eye Pi

(the gem)

THE CLOUDS

Queue!

API

Keep it simple

Keep it simple everything

What is a perceptual hash?

A perceptual hash is a fingerprint of a multimedia file derived from various features from its content.

- phash.org

A number.- Jonan

16393111612461007871

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

16393111612461007871

to_i(2)

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

Detecting change

In information theory, the Hamming distance between two strings of equal

length is the number of positions at which the corresponding symbols are different.

- Wikipedia

Differentiness.-Jonan

00000000 00001000

=> 1

00000000 01001100

=> 3

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

AllSeeingPi Responsibilities

Palantir Responsibilities

UI

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

00000010 11111100 00001000 00101000 00111000 00010001 00111101 00000000

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111 !

00000010 11111100 00001000 00101000 00111000 00010001 00111101 00000000

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111 ! !

00000010 11111100 00001000 00101000 00111000 00010001 00111101 00000000

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111 !

11100011 10000000 00001000 00101000 00111000 00010001 11000011 11111111

X

Cloud Responsibilities

I can do stuff!

No.

- the cloud

- me

aws-sdk

aws-sdk fog

vcr mock

fabrication

faker

1 THING

2 THINGS!

No.

1 THING

API

APIGrape!

APIGrape!

APIGrape!

Everything

Keep it simple

Rails callbacks

New Image

Create event

New image

(sometimes)Create event

New Image

(sometimes)Create event

New Image

Copy to event

New Image

Delete old image

New Image

Create event

New Image

New Event

!

Name

New Event

!

Name

New Event

!

Create directory

New Event

!

Create directory

New Event

!

!

Create directory

New Event

!

Copy images

New Event

!

Assign last image

New Event

!

Send notification

New Event

!

Send notification

New Event

!

Send notification

New Event

!

Keep it simple

Keep it simple

Anything else.

Want one?

40$

Demo?

The Future!

Faster setup

AI

Fix everything

raspifastcamd

multiple cameras

thanks :)