Search

Showing posts with label Camera. Show all posts
Showing posts with label Camera. Show all posts

Sunday, September 21, 2014

Fibaro news.

http://zwaveforum.se/viewtopic.php?f=9&t=4876

Fibaro seems to be going all in with voice control for your home automation project. The discussion board zwaverforum has something that looks like press material from Fibaro promising several new devices. What strikes me is that it seems like most of them support voice control. And could connect to your wired burglar alarm also. Another nice device is the Player, that I hope will work in same way as Sonos different multi room audio system Play, but connected directly to your home automation z-wave network, though Sonos is supported with Vera with the app in the app-store.

Some of the new devices seems to be able to work stand-alone without any of the Fibaro controllers.

Monday, May 5, 2014

Foscam FI9805W and Micasa Vera

Purchased the Foscam FI9805W for 158€ online, no shipping cost, since I needed a good outdoor camera with IR.
It was a bit tricky to add to the Vera so I have documented it here.

First download the firmware and upgrade your cam, registration is needed.
This tutorial is based on:
System Firmware 1.4.1.9
Application Firmware 2.14.2.8
Plug-In Version 2.0.2.10

Under Port settings I changed HTTP port to 80. Seems to require a restart.
Remeber other basic stuff as changing user name, password, Camera time etc.

In Vera I had already a PTZ cam from foscam but I went ahead and installed a newer foscam app from the app store. Foscam IP Camera 2.6

The I installed the camera the "normal" way. Selecting add IP camera, select Foscam from dropbox. In the picture box I added:
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=YOURUSERNAME&pwd=YOURPASSWORD&
(don't forget the last & after the password!)

Username and Password must also be filled in into each own boxes.

When the camera is added I added also the MAC, changed timeout to 10.
impl_file I_FoscamPTZ.xml
device_file D_DigitalSecurityCamera2.xml

And there it is. Visible in Vera!
The preview icon did not work at the beginning but without actions it's now working ok, one day after. 



Monday, January 20, 2014

Android phone or Tablet as camera & Firmware 2.2.1 Renesas Haipad

If you already have a tablet or a android phone and might be looking for another cam, look no further, you can install something like:
https://play.google.com/store/apps/details?id=com.acontech.android.SmartWebCam

and then you suddenly have another network available IP cam. For nothing!

But as always it seems to be a lot what type of Android you have. So far I have not been able to get any versions working on my Haipad http://868mhz.blogspot.com/2011/10/haipad-m9-jextab-a9-time2touch-hc701a.html

I tried to go one step up with the firmware from the Renesas 2.2 to 2.3 but it seems like that comes with some nasty bugs. One of them is that some WLAN access points does not work. So it was a no go after several attempts.And then findin out to the Firmware I had previously installed and blogged about here http://868mhz.blogspot.fi/2012/07/android-tablet-haipad-m9-firmware-update.html
was not anymore available. Seems like the company behind this pad is no more. But look and behold and after the long weekend of attempts I stumbled upon this link:
http://www.bergfiles.com/i/bf45106ec5h32i0
And listing the firmware:

RENA3-FW-0616-Modded-FullMarket.zip
The installation was clearly different from the other that I tested but all side buttons work and I can select to root it if needed (still don't really know the exact reason, right now)

Still no IP cam of my Haipad :-(


Sunday, January 6, 2013

Flying camera for the blind spots

Engadget wrote a blog post of something that i'm pretty sure we will see more of soon. A un-manned in-door camera to cover the blind spots. Perfect!
http://www.engadget.com/2012/12/27/secom-offers-a-private-security-drone/
The price and the availability is a bit limiting towards residence currently. But this things usually tends to become cheaper fast. 
Secom offers a private security drone, serves as our eyes away from the office

Wednesday, September 26, 2012

Raspberry Pi Logitech QuickCam Communicate STX USB cam P/N 861223 added to micasaverde Vera

Updated, based on new motion version. And it works a lot better now!

Lets hope I’m finally able to write a tutorial how I was able to add the Logitech QuickCam Communicate STX USB cam P/N 861223 to Raspberry PI and then also connect it so I can see the video in the micasaverde vera. If this looks easy it wasn’t at all. I have spent so much time testing so many software's without any good result. Some disclaimers that this is the way I got it to work, not stating that this is the way it should be done… But here it comes….
The instructions is based on the Debian Raspian “wheezy”
The camera must be plugged into a _powered_ usb hub. I also run the Pi from the same hub.
Install the software:
sudo apt-get install webcam v4l-conf
To find the value that should be in the input field in the .webcamrc file

v4l-info | grep name
        name                    : "gspca_zc3xx"
        name                    : "Brightness"
        name                    : "Contrast"
        name                    : "Gamma"
        name                    : "Exposure"
        name                    : "Gain, Automatic"
        name                    : "Power Line Frequency"
        name                    : "Sharpness"

Create the config file
sudo nano /home/pi/.webcamrc
[ftp]
host = localhost
user = pi
pass = password
dir = /var/www
file = webcam.jpg
tmp = imageup.jpg
local = 1
[grab]
device = /dev/video0
width = 640
height = 480
delay = 1
wait = 1
input = zc3xx
#norm = pal
quality = 50
trigger = 0
once = 1

For setups where the cam is on a different system than the Web server, you'd have to: Set the local value to 0 in the config file
sudo mkdir /var/www
Test it:
sudo webcam /home/pi/.webcamrc
Stop the webcam with Ctrl+C
Install the web server
sudo apt-get install apache2 &
Remove web server logging so it does not use all your disk by remarking the lines in:
sudo nano /etc/apache2/apache2.conf
#LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\""$
#LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combi$
#LogFormat "%h %l %u %t \"%r\" %>s %O" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent
sudo nano /etc/apache2/sites-available/default
#       CustomLog ${APACHE_LOG_DIR}/access.log combined
Test the web server
http://x.x.x.x/webcam.jpg?Quality=Standard
Create a bash shell script to start it:
sudo nano /home/pi/cam.sh

#!/bin/bash
while ! sudo webcam /home/pi/.webcamrc  >> /dev/null 2>&1 &

Change the file so it can be executed:
chmod 777 /home/pi/cam.sh
Run it:
sudo nohup /home/pi/cam.sh&
This time it runs in the background until you restart the Pi. Press ENTER to get your prompt back.

If you like the app to start every time you start the Pi
This will add the cam to the right run level
update-rc.d cam.sh defaults

Add the Panasonic camera plug in to Mios.com Vera and configure the URL field with webcam.jpg?Quality=Standard
First times it might not show the picture directly. Then I had to go to the settings tab and then back.

Saturday, September 15, 2012

Raspberry Pie USB Logitech QuickCam for Notebooks

I gave it my best and almost made it. Tried for 3 evenings to get the Logitech QuickCam for Notebooks to work with the Raspberry Pie.

Started with this distribution:
012-08-16-wheezy-raspbian.zip.torrent
Then got the camera connected to the Pi.
sudo apt-get update
sudo apt-get install motion
sudo apt-get install ffmpeg
then edited motion's config file
sudo nano /etc/motion/motion.conf
change these lines to "off" in that file:
control_localhost off
webcam_localhost off
mkdir /tmp/motion
Start up motion program:
sudo motion -n
then looked at  http://1.1.1.1:8081 on the PC but the picture is very distorted.
By the way if you stop motion with Ctrl+C instead of Ctrl+X then you don’t have to find and kill the web-server all the time.
Good thing is that it seems to run without powered USB hub. Next camera…

Friday, August 3, 2012

Foscam FI8918W doubles as motion sensor

In the world of Vera Home Automation controller and things to connect to it things is going lightning fast thanks to the all the developers helping out on volunteer basis.  The OptiCam FI8918W / Foscam FI8918W camera can now also act as a motion sensor in Vera.

Write down the username and passwords of your cameras. Delete the cameras you already have installed (it's easiest to start from the begging).

If you have problem to delete the cameras use this link:
http://<your ip>:3480/data_request?id=device&action=delete&device=<camera device id>

Unplug the camera from network

Go to Apps, Install Apps, Install the Foscam IP Camera plug in


Plug in the camera, wait few seconds for the camera to be detected, press view, add user name and password if needed, save.

In the camera's Advanced tab enter I_FoscamPTZ.xml in the impl_file field.

Change device_file field and change it to D_DigitalSecurityCamera2.xml.

Then change also the settings so the camera only save video only when sensors are armed.

Save.

In the motion sensor's control panel, in the Advanced tab:
It might be good idea to change the OnTime (the value when the camera should return to untriggered) to e.g. 60= 1 minute

Then there is hint here:
http://forum.micasaverde.com/index.php/topic,11161.msg81428.html#msg81428

The manual for this plug in is here:
http://code.mios.com/trac/mios_foscam-camera


Presets support for camera mode in post 1.5.390 firmwares. Create the presets from the cameras own software.

There was a warning on the micaseverde forum that I paste here:WARNING: Do not change the device file for the camera if your MiOS firmware version is older than 1.5.390!



Saturday, September 10, 2011

Outdoor HD Camera 99$, no IR

Here is a new camera that might be interresting since it support HD and the price is 99$
http://www.balticnetworks.com/ubiquiti-aircam.html
http://www.ubnt.com/airvision

Tuesday, September 6, 2011

Foscam / Opticam 8918w luup control code

 
How to control you camera from a scene. Add this to the Luup part of the scene:
local IP_address = 'xxx.xxx.xxx.xxx'
  local username = 'username'
  local password = 'password'
  local timeout  = 5
function move_right()
luup.inet.wget( 'http://'..IP_address..'/decoder_control.cgi?command=4' , timeout, username, password )
end
function stop_right()
luup.inet.wget( 'http://'..IP_address..'/decoder_control.cgi?command=5', timeout, username, password )
end

luup.call_delay( 'move_right', 5 )
luup.call_delay( 'stop_right', 37 )
 
Center:
http://IP:port/decoder_control.cgi?command=25
Pan Up:
http://IP:port/decoder_control.cgi?command=0
Pan Down:
http://IP:port/decoder_control.cgi?command=2
Pan Right:
http://IP:port/decoder_control.cgi?command=4
Pan Left:
http://IP:port/decoder_control.cgi?command=6
Patrol Up + Down:
http://IP:Port/decoder_control.cgi?command=26
Patrol Left + Right:
http://IP:port/decoder_control.cgi?command=28
Pan right: Again?
http://IP:port/decoder_control.cgi?command=39
IR Off:
http://xxx.xxx.xxx.xx/decoder_control.cgi?command=94
IR On:
http://xxx.xxx.xxx.xx/decoder_control.cgi?command=95
 
And the presets are:
URL commands for the PRESET function:
decoder_control.cgi?command=30&user=...&pwd=.... = Set preset 0
decoder_control.cgi?command=31&user=...&pwd=.... = Go preset 0
decoder_control.cgi?command=32&user=...&pwd=.... = Set preset 1
decoder_control.cgi?command=33&user=...&pwd=.... = Go preset 1
decoder_control.cgi?command=34&user=...&pwd=.... = Set preset 2
decoder_control.cgi?command=35&user=...&pwd=.... = Go preset 2
decoder_control.cgi?command=36&user=...&pwd=.... = Set preset 3
decoder_control.cgi?command=37&user=...&pwd=.... = Go preset 3
And the list goes further until preset 16
Presets can only be set from Internet Explorer and only if the disable preset under PTZ setting in the camera is enabled.





Tuesday, August 30, 2011

OptiCam FI8918W / Foscam FI8918W

Outdated!!
See the new post of how to configure your camera and the motions sensor in it
http://868mhz.blogspot.fi/2012/08/foscam-fi8918w-doubles-as-motion-sensor.html

There is updated instructions for U15 on:
http://868mhz.blogspot.com/2012/03/vera-foscam-control-for-u15.html

Here is a sum of the instruction from the http://forum.micasaverde.com how to install the OptiCam FI8918W / Foscam FI8918W 360 Camera to the Vera2. Especially this thread does it:
http://forum.micasaverde.com/index.php?topic=3591.msg48811#msg48811
Set up the camera following the instructions with the camera.
Make sure it works and that you have the IP, Username and Password.

U14:
Download this I_Foscam8918.xml file to your computer http://forum.micasaverde.com/index.php?action=dlattach;topic=3591.0;attach=3092 that is the impl file especially for the FI8918W


Enter Vera2
Goto Mios developers => Luup files and scroll to the bottom of the page, click Browse and locate the I_Foscam8918.xml you downloaded above.
Click check box restart LUUP engine Go to upload the file and watch that the file successfully uploads. Then click SAVE and wait for the engine to restart.
Copy and paste I_Foscam8918.xml into the impl_file area located under the Advanced tab of that plugin.
The IP should contain the port like 127.0.0.1:80
DirectStreamingURL %2Fvideostream.cgi
URL /snapshot.cgi
Then click SAVE and wait for the engine to restart. You should be all set.