Commit graph

550 commits

Author SHA1 Message Date
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