Rohan Kapoor
c2525bede2
Filter urllib3.connectionpool warnings in camera.axis and camera.zoneminder ( #19641 )
...
* Filter urllib3.connectionpool warnings in camera.axis and camera.zoneminder
* Lint
2019-01-03 11:56:36 -07:00
Rohan Kapoor
6c64b315db
Optionally disable ssl verification for mjpeg ( #19277 )
2018-12-18 11:22:47 +01:00
Paulus Schoutsen
6f4657fe02
Revert PR #18602 ( #19188 )
2018-12-12 11:44:50 +01:00
nragon
1ad3c3b1e2
Minor change to still image on mjpeg ( #18602 )
...
* Update mjpeg.py
* Lint
2018-11-21 23:12:16 +01:00
Jason Hu
f516550f9f
Fix camera mjpeg stream handling ( #18076 )
...
* Fix handle_async_mjpeg_stream
* Lint
2018-11-01 09:28:23 +01:00
Charles Garwood
0954eefa9f
MJPEG Camera Log Filter Fixes ( #17050 )
...
* Move filter to setup platform
* pylint
2018-10-02 10:24:44 +02:00
Charles Garwood
b197b8bab3
Suppress urllib3 header parsing error ( #17042 )
2018-10-01 20:39:40 +02:00
cdce8p
8444b9ba03
Async syntax 2, camera & climate & config ( #17016 )
2018-10-01 08:50:05 +02:00
Rohan Kapoor
19514ea500
Clean up MjpegCamera by removing unnused hass object in __init__ ( #16628 )
2018-09-15 11:26:29 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Pascal Vizeli
f3dfc433c2
Fix aiohttp connection reset errors ( #15577 )
...
* Fix aiohttp connection reset errors
* Update aiohttp_client.py
* Update aiohttp_client.py
* Update __init__.py
* Update mjpeg.py
* Update mjpeg.py
* Update ffmpeg.py
* Update ffmpeg.py
* Update ffmpeg.py
* Update proxy.py
* Update __init__.py
* Update aiohttp_client.py
* Update aiohttp_client.py
* Update proxy.py
* Update proxy.py
* Fix await inside coroutine
* Fix async syntax
* Lint
2018-07-23 14:36:36 +02:00
Ville Skyttä
4bd7a7eee3
Remove inline pylint disables for messages disabled in pylintrc ( #14978 )
2018-06-16 00:15:46 +02:00
Otto Winter
678f284015
Upgrade pylint to 1.8.2 ( #12274 )
...
* Upgrade pylint to 1.8.1
* Fix no-else-return
* Fix bad-whitespace
* Fix too-many-nested-blocks
* Fix raising-format-tuple
See https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.8.rst
* Fix len-as-condition
* Fix logging-not-lazy
Not sure about that TEMP_CELSIUS though, but internally it's probably just like if you concatenated any other (variable) string
* Fix stop-iteration-return
* Fix useless-super-delegation
* Fix trailing-comma-tuple
Both of these seem to simply be bugs:
* Nest: The value of self._humidity never seems to be used anywhere
* Dovado: The called API method seems to expect a "normal" number
* Fix redefined-argument-from-local
* Fix consider-using-enumerate
* Fix wrong-import-order
* Fix arguments-differ
* Fix missed no-else-return
* Fix no-member and related
* Fix signatures-differ
* Revert "Upgrade pylint to 1.8.1"
This reverts commit af78aa00f125a7d34add97b9d50c14db48412211.
* Fix arguments-differ
* except for device_tracker
* Cleanup
* Fix test using positional argument
* Fix line too long
I forgot to run flake8 - shame on me... 🙃
* Fix bad-option-value for 1.6.5
* Fix arguments-differ for device_tracker
* Upgrade pylint to 1.8.2
* 👕 Fix missed no-member
2018-02-11 09:20:28 -08:00
Paulus Schoutsen
f43db3c615
Replace executor with async_add_job ( #7658 )
...
* Remove executor
* Lint
* Lint
* Fix tests
2017-05-26 08:28:07 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
Paulus Schoutsen
714b516176
aiohttp 2 ( #6835 )
...
* Upgrade aiohttp2
* Fix resource caching
* Fix helpers.aiohttp_client
* Lint
* Use static path for api error_log
* Fix ClientErrors import
* Remove not needed DisconnectError
* Remove releasing responses code
* Add timeout if stream starts non responding
* More async_aiohttp_proxy_stream cleanup
* Fix references to ClientError
* Fix fingerprinting
* Fix aiohttp stream tests
* Rename aiohttp_proxy_stream
* Remove impossible darksky test
* Fix sleepiq requests escaping mocker
* Lint
* Remove deprecated parameter
* Break up aiohttp_proxy_stream in 2 methods
* Lint
* Upgrade to aiohttp 2.0.4
* Convert connector close to a callback
* Fix static fingerprinted links
2017-03-30 00:50:53 -07:00
Pascal Vizeli
185ccc4fc4
Fix some things
2017-03-09 01:00:57 +01:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
c972e90580
Bugfix mjpeg camera ( #5539 )
2017-01-24 20:25:51 +01:00
Pascal Vizeli
3da25c227f
lint v2 ( #5444 )
2017-01-19 19:33:15 +01:00
Pascal Vizeli
11083cf04b
Fix lint ( #5443 )
2017-01-19 19:18:32 +01:00
Pascal Vizeli
8da398c0bd
Proxy aiohttp websession / more rebust. ( #5419 )
2017-01-19 09:55:27 -08:00
Pascal Vizeli
9799631797
[camera/mjpeg] Support still image for thumbmail ( #5440 )
2017-01-19 09:53:08 -08:00
Pascal Vizeli
c458ee29f2
Rename log message / handle cancellederror on image proxy ( #5331 )
2017-01-15 08:35:58 -08:00
Pascal Vizeli
4b43537801
Bugfix camera streams ( #5306 )
...
* fix mjpeg streams
* fix trow error on close by frontend
* fix ffmpeg
2017-01-13 15:57:38 -08:00
St. John Johnson
9fdefa5a1d
Fix #5188 by Closing the stream instead of Releasing it ( #5235 )
...
* Fix #5188 by Closing the stream instead of Releasing it
Closing just terminates the connection, release attempts to download all the contents before closing. Since the MJPEG stream is infinite, it loads and loads content until the python script runs out of memory.
Source: 50b1d30f41/aiohttp/client_reqrep.py (L668-L672)
* Update mjpeg.py
2017-01-09 10:35:38 +01:00
Paulus Schoutsen
e5504b39ec
Close aiohttp responses ( #4624 )
...
* Close aiohttp responses
* Update generic.py
2016-11-30 13:05:58 -08:00
Pascal Vizeli
cf57db919e
Refactory aiohttp clientsession handling in HA ( #4602 )
...
* Refactory aiohttp clientsession handling in HA
* remove from core / update platforms / rename file
2016-11-27 16:26:46 -08:00
Pascal Vizeli
2e0c185740
Async cleanup part 3 ( #4302 )
2016-11-07 22:31:40 -08:00
Paulus Schoutsen
22c3d014aa
Remove chunked encoding ( #4230 )
2016-11-05 15:29:22 -07:00
Paulus Schoutsen
ee5f228309
Make services yield ( #4187 )
...
* Make services yield
* Disable pylint abstract-method check
* add input_select
* add input_slider
* change to async vers.
* fix lint
* yield on add_entities as other components does
2016-11-03 18:32:14 -07:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Pascal Vizeli
edeb31d74e
Fix bug with aioHTTP and none authentification ( #4116 )
2016-10-29 22:47:46 +02:00
Pascal Vizeli
3324995e70
Async clientsession / fix stuff on aiohttp and camera platform ( #4084 )
...
* add websession
* convert to websession
* convert camera to async
* fix lint
* fix spell
* add import
* create task to loop
* fix test
* update aiohttp
* fix tests part 2
* Update aiohttp.py
2016-10-27 21:40:10 -07:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -07:00
Fabian Affolter
e6b9d5f5b3
Migrate to voluptuous ( #2989 )
...
🍪 🐬
2016-08-27 14:42:34 -06:00
Matthias Grawinkel
8a3c511a04
Adding Digest Auth for webcam image retrieval ( #2821 )
...
* Adding Digest Auth for webcam image retrieval
* Update generic.py
* Update mjpeg.py
* Update generic.py
* Update mjpeg.py
* Update generic.py
* Update mjpeg.py
2016-08-17 19:08:47 +02:00
Fabian Affolter
a784f48022
Minor changes ( #2784 )
...
* Update link to docs
* Use fast.com
* Update docstring
* Add link to docs
* Add link to docs
* Update docstrings
* Update docstrings
* Fix typo
2016-08-11 11:14:24 +02:00
Pascal Vizeli
98c77dc08f
Add ffmpeg camera platform support ( #2755 )
2016-08-08 17:34:46 -07:00
Paulus Schoutsen
2508e9f9ff
Add timeout to mjpeg streams
2016-06-18 12:34:39 -07:00
St. John Johnson
3723c3a7e8
Fixing MJPEG streaming in Werkzeug by taking advantage of `direct_passthrough` ( #2277 )
2016-06-11 20:50:10 -07:00
Paulus Schoutsen
15e329a588
Tons of fixes - WIP
2016-05-21 15:01:33 -07: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
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -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
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08: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