Paulus Schoutsen
fe794d7fd8
Access camera images using access token
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
5aa0158761
Add url validators
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
4d7555957c
Fix camera
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
15e329a588
Tons of fixes - WIP
2016-05-21 15:01:33 -07:00
Paulus Schoutsen
5baa98b79f
Add initial config validation
2016-03-28 23:46:12 -07:00
Paulus Schoutsen
e989c8a24a
Merge pull request #1624 from balloob/http-11
...
Use HTTP 1.1
2016-03-27 23:21:52 -07:00
Paulus Schoutsen
7cb69ae9d9
Make sure we always sent content-length header
2016-03-27 12:15:41 -07:00
Luca Soldi
d0503cc021
Add feature
...
√ add file_path config
√ changed subprocess call
2016-03-27 20:49:04 +02:00
Luca Soldi
65ef836313
Check raspistill exisance and check parameters in setup_platform
2016-03-22 22:35:09 +01:00
Luca Soldi
bf915cf3b4
Added Raspberry Pi Camera Component
2016-03-22 08:33:56 +01:00
Fabian Affolter
cd5b5c55e2
Fix PEP257 issues
2016-03-07 20:29:54 +01:00
Fabian Affolter
032f06e015
Modify docstrings to match PEP257
2016-03-07 18:50:30 +01:00
Paulus Schoutsen
57ac6cd76f
Merge branch 'extract-entity-picture' into dev
...
Conflicts:
homeassistant/components/sensor/steam_online.py
2016-02-24 22:00:58 -08:00
Fabian Affolter
4563c54a3e
Add link to docs and modify docstrings to match PEP257
2016-02-24 10:38:06 +01:00
Paulus Schoutsen
967a751da1
Add entity_picture property
2016-02-23 22:41:24 -08:00
Dan Smith
05a1e11db2
Filter out AirCam models in UVC camera platform
...
The older (unsupported AirCam) models behave differently and also apparently
suffer some under the last release of the NVR that supported them. Since they
are EOL and not supported by current software, filter them out so we don't
break while trying to extract an image from them.
2016-02-23 12:01:51 -08:00
Dan Smith
590512916a
Add tests for camera.uvc and fix bugs found in the process
...
This adds tests for the uvc camera module. It's a good thing too,
because I found a few bugs which are fixed here as well:
- Graceful handling of non-integer port
- Failure to take the first host that works when probing host,internalHost
- Failure to detect if neither of them actually work
This also converts the code to only call add_devices once with a listcomp.
2016-02-22 14:37:57 -08:00
Dan Smith
d398832112
Make UVC cameras honor the local camera password store, if set
...
The NVR tells us the admin username, but not the password for the
camera. Right now, we assume the default password, which obviously
doesn't work for people that have changed it. The uvcclient library
provides a way to set the cached admin password for a camera, which
is stored in a client-specific location. We can utilize that to
grab the password, falling back to the default if it's unset. With
this, people just need to run a command per camera to set the
admin password on their systems, if it has changed.
2016-02-22 13:17:53 -08:00
Paulus Schoutsen
fb9d8c79b5
Bloomsky main component to load its platforms
2016-02-19 23:22:23 -08:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
30e1569b21
Fix bloomsky component importing
2016-02-18 13:10:25 -08:00
Paulus Schoutsen
aea0598805
Clean up camera component
2016-02-16 23:52:05 -08:00
Dan Smith
885b61a750
Implement brand and model for UVC cameras
2016-02-14 17:27:29 +00:00
Dan Smith
0ba7fb40a4
Improve UVC performance by not logging in on each image fetch
...
This makes the UVC camera_image() method not log into the camera on
every single image fetch, which reduces load on hass and the camera,
and lowers the latency to get an actual image fetched.
2016-02-14 17:27:29 +00:00
Dan Smith
263839a336
Handle connection errors talking to UVC cameras during image fetch
...
This requires uvcclient==0.6 which breaks out exceptions for us.
Fixes #1244
2016-02-14 17:27:26 +00:00
Paulus Schoutsen
2e164e519a
Merge pull request #1160 from stjohnjohnson/live-camera-stream
...
Fixes #1062 - If supported, directly stream the MJPEG from the remote camera
2016-02-07 14:43:00 -08:00
St. John Johnson
f700635445
Add support for mjpeg component to proxy it's own stream
2016-02-07 12:02:52 -08:00
Fabian Affolter
757946293e
Move configuration details to docs
2016-02-07 11:52:17 +01:00
Paulus Schoutsen
7eef831ff3
Merge pull request #1141 from kk7ds/add-uvc-cameras
...
Add Ubiquiti Unifi Video Camera support
2016-02-06 18:21:44 -08:00
Dan Smith
cab1100a51
Add Ubiquiti Unifi Video Camera support
...
This adds support for Ubiquiti's UniFi Video cameras via their
NVR device (or service). By configuring just the address of the
NVR and a valid API key, all cameras are discovered and enabled,
including direct-to-camera image snapshot-based video support.
2016-02-06 22:57:44 +00:00
Fabian Affolter
614034d196
Update docstrings
2016-02-06 08:23:30 +01:00
Harald Nagel
b6a32098d1
Add BloomSky weather station support
2016-02-06 01:37:32 +00:00
Paulus Schoutsen
7ba9fb90f1
More PyLint fixes
2015-11-29 14:04:44 -08:00
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08:00
Paulus Schoutsen
70698f7ab0
Update demo camera images
2015-11-28 23:16:20 -08:00
Paulus Schoutsen
546377e80a
Throttle camera stream to 2fps
2015-11-28 18:59:59 -08:00
Fabian Affolter
ca32c81612
Camera demo
2015-11-19 19:27:28 +01:00
Fabian Affolter
ab9e173179
Update docstrings
2015-11-18 08:42:49 +01:00
Nolan Gilley
df264f2ec0
remove unnecessary else
2015-11-14 15:49:39 -05:00
Nolan Gilley
9acb341b96
remove break
2015-11-14 10:51:07 -05:00
Nolan Gilley
85e0db6ade
add exception handling to generic camera requests function.
2015-11-13 13:55:22 -05:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Ryan Turner
a36b315927
Fixed indentations hopefully
2015-11-09 00:11:11 -06:00
Ryan Turner
f3352546c6
More lint fixes
2015-11-09 00:00:31 -06:00
Ryan Turner
3a6aa8f3d1
Fixed line length issues to make lint happy. Still bummed that I decreased test coverage :(
2015-11-08 23:51:01 -06:00
Ryan Turner
dfa81b0117
Changed camera.mjpeg to use Response and Closing; cleaned up a number of code-clarity issues near that
2015-11-08 23:41:21 -06:00
Ryan Turner
8541fdb112
Fixed style issue related to failing build
2015-11-08 22:26:27 -06:00
Ryan Turner
e078ab53ca
Initial implementation of mjpeg camera
2015-11-08 22:15:06 -06:00
Jeff Schroeder
0f292e8fa6
Remove unused import for re
2015-11-08 20:37:29 -06:00
Jeff Schroeder
137cadb59c
Make a single request to get the foscam camera image
...
This uses the `snapPicture2` command, which is documented in their
cgi sdk to return raw jpeg data instead of html containing the image
2015-11-07 20:18:46 -06:00
Fabian Affolter
0874cb364f
Move configuration details to docs
2015-10-13 21:00:44 +02:00
Fabian Affolter
44418b509c
Move configuration details to docs
2015-10-13 21:00:28 +02:00
Fabian Affolter
e90dbad37e
Update docstrings
2015-09-17 08:34:10 +02:00
Paulus Schoutsen
6de04d78ed
Merge pull request #381 from heathbar/foscam-support
...
Foscam support
2015-09-15 23:37:33 -07:00
Heath Paddock
98feb3cd93
Fixed pylint errors
2015-09-16 00:40:51 -05:00
Heath Paddock
3dcd18af9e
Fixed flake8 errors
2015-09-16 00:09:16 -05:00
Heath Paddock
2fd7b98cab
minor code cleanup
2015-09-15 23:45:12 -05:00
Heath Paddock
90e21791f6
Removed obsolete code
2015-09-15 23:39:03 -05:00
Heath Paddock
9678613a13
foscam: made 'port' configurable and added additional documentation
2015-09-15 23:32:55 -05:00
Heath Paddock
5de89316b2
Initial implementation of Foscam FI9821W support
2015-09-15 22:58:46 -05:00
Fabian Affolter
e196c136c1
Update docstring (config file) and attempt to honor PEP0257
2015-09-07 18:38:49 +02:00
Paulus Schoutsen
c4a4aceeeb
Frontend: Minor UI tweaks for Camera
2015-07-11 11:55:25 -07:00
Paulus Schoutsen
2cbfc60679
Add camera to demo
2015-07-10 23:24:05 -07:00
Paulus Schoutsen
aec25c88b4
Clean up camera component
2015-07-10 23:17:12 -07:00
jamespcole
bf2b06880e
Fixed some linting errors
2015-07-10 20:10:23 +10:00
jamespcole
0ca836d7ed
Another frontend rebuild
2015-07-10 19:42:22 +10:00
jamespcole
c231a349c7
Updates from pull request feedback
2015-07-10 18:03:46 +10:00
jamespcole
7a4d40a8fd
Fixed some linting errors
2015-06-05 23:04:52 +10:00
jamespcole
aaf0ca2105
Very simple IP Camera support
2015-06-05 22:51:29 +10:00