Giter Club home page Giter Club logo

portero's Introduction

Portero

Raspberry Pi Python Door bell

Features

Powered by PoE Wide angle video camera Allows opening door lock from remote device Comunicate video and audio with a smartphone using VoIP library

BOM

1 x Rapasberry Pi model 3 1 x Raspberry Pi Camera 1 x PoE Splitter 12v 2A Output 1 x Metalic button with led 2 x LM2596 DC-DC variable voltage regulator 1 x SRD-05VDC-SL-C Relay board 1 x 2N2222A transistor 1 x 1k resistor 1 x Raspberry Pi prototype board

Powering the Portero

Portero

portero's People

Contributors

mr3188 avatar

Watchers

 avatar

portero's Issues

Play ring tone even when remote target is not available

When someone pushes the ring button and there is no remote target connected to sip proxy nothing happens on the portero side. The guest don't know if it works or not.
A sound should be played every time the ring button is pushed.

Error on message received

Error when sending message from client to portero

Traceback (most recent call last):
File "portero.py", line 121, in message_received
msg = room.create_message("received " +message)
TypeError: cannot concatenate 'str' and 'linphone.ChatMessage' objects

Error sending chat message

Traceback (most recent call last):
File "portero.py", line 142, in message_received
room.send_chat_message(msg=responseMsg)
AttributeError: 'linphone.ChatRoom' object has no attribute 'send_chat_message'

Configuration for door lock

The configuration of the door lock should be included in the config.rc file with the following parameters:

#if the door lock has memory:
# True: door lock remains open until the door is opened and closed.
# False: door lock is open only while powered. 
door_lock_memory=true/false

# time (in seconds) the lock door must be powered to open
# if door_lock_memory=true just a second should be enough.
# if door_lock_memory=false more time must be given to the visitor to open the door 
door_lock_time= 1

Add MQTT support

Add MQTT support to turn On/Off light based on external day/night sensor.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.