lelandg / Raspberry-Pi-Security-Camera

This project requires custom hardware. Schematics are included as a Fritzing file. Uses ePIR to detect motion. Emails a list of people when detected. Also is a Linphone server, so you can simultaneously connect to the camera for a live picture! (Right now is one-way on the Pi.)
MIT License
25 stars 5 forks source link

LED always ON! #24

Open toshibochan opened 8 years ago

toshibochan commented 8 years ago

Please you can make led to be always ON and when press the button the led blink and stay ON again?

lelandg commented 8 years ago

@toshibochan Can you check the latest code to see if this works on your system?

toshibochan commented 8 years ago

Hi Leland thanks for update! The led work great! But I'm still cant call from iPhone to PI, only from PI to iPhone. Look like the resolution no change. I set to 1080p but look the same. Doorbell sound no play to. I need to install something to play the sound?

lelandg commented 8 years ago

@toshibochan I had a problem with the doorbell sound because pygame would throw an error when I tried to initialize the sound system, only when running and sudo. So I commented that out in the previous check in. However, I just checked this on a fresh install of the new version of Raspbian and it is now working. So that is put back.

However the video resolution is not yet implemented on video calls. It should use default. The RESOLUTION and VIDEORESOLUTION are used for the photos and recorded video, respectively. (I hope to get to this today, but will see.)

Thanks again for your input.

toshibochan commented 8 years ago

I cannot understand why i cant make calls to the pi. I'm using original Jessie come on sd card with the raspberry pi 3. The exemple on the linphone wiki site work for receive the call but your not. Is strange :-(

lelandg commented 8 years ago

@toshibochan I do not yet understand this, either. I am working on making EVERYTHING configurable, via an actual config file(!) so you should only have to configure everything one more time, and after that just update the script and it will work. It was just getting too complicated.

After I finish this task, I'll look into this issue because it is affecting me, too. Meanwhile, if you're feeling adventurous, you could review my commit history on the main file, even pull down previous versions and see if those work for you. If you figure it out, will you please let me know? :)

toshibochan commented 8 years ago

for have access to .linphonerc need to install liphone desktop version? i did all the linphone instalation but no .linphonerc wget https://linphone.org/releases/linphone-python-raspberry/linphone4raspberry-3.9.0-cp27-none-any.whl sudo apt-get install python-setuptools sudo easy_install pip sudo pip install wheel sudo pip install --upgrade pip sudo pip install linphone4raspberry-3.9.0-cp27-none-any.whl

lelandg commented 8 years ago

@toshibochan .linphonerc is created when you install and run linphonec (command-line) or Linphone (desktop) programs.

You have to view hidden files to see it. So after you run Linphone you need to run: 💻 ls -al ~/ to see the config file (in the default location – your home directory). Or, to refer to it explicitly: ls -al ~/.linphonerc