134 Commits

Author SHA1 Message Date
starkillerOG
8474c25cf1
Reolink remove unneeded str() (#100718) 2023-09-22 14:20:34 +02:00
starkillerOG
868afc037e
Try Reolink ONVIF long polling if ONVIF push not supported (#100375) 2023-09-17 22:28:52 +02:00
starkillerOG
3f2a660dab
Bump reolink-aio to 0.7.10 (#100376) 2023-09-14 21:24:23 +02:00
starkillerOG
56678851af
Fix inverse naming of function in Reolink (#100113) 2023-09-11 18:03:22 +02:00
starkillerOG
0037385336
Reolink onvif not supported fix (#99714)
* only subscibe to ONVIF if supported

* Catch NotSupportedError when ONVIF is not supported

* fix styling
2023-09-06 14:46:24 +02:00
starkillerOG
3f3d8b1e1e
Bump reolink_aio to 0.7.9 (#99680) 2023-09-05 21:21:27 +02:00
starkillerOG
834f3810d3
Check new IP of Reolink camera from DHCP (#99381)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 21:00:33 +02:00
starkillerOG
bab7d289a6
Reolink fix unknown value in select enums (#99012) 2023-08-25 11:42:55 +02:00
starkillerOG
9a0507af3c
Bump reolink-aio to 0.7.8 (#98942) 2023-08-24 12:01:22 +02:00
starkillerOG
ade1d33367
Add entity name translations for Reolink (#98589)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-22 23:07:31 +02:00
starkillerOG
59900a49e2
Add Reolink AI detection delay time (#98398) 2023-08-22 18:02:44 +02:00
starkillerOG
2a78d7fa2d
Add Reolink zoom in/out buttons (#97638) 2023-08-22 09:33:32 +02:00
starkillerOG
39fc4b3d66
Reolink add pan position sensor (#98592)
* Add PTZ pan position sensor

* fix typing

* fix typing
2023-08-19 12:31:40 +02:00
Marc Mueller
063ce9159d
Use asyncio.timeout [o-s] (#98451) 2023-08-15 17:21:49 +02:00
starkillerOG
b1e5b3be34
Bump Reolink_aio to 0.7.7 (#98425) 2023-08-15 10:43:19 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Sam Reed
bfc578a757
Fix address typo in Reolink SSL issue description (#98060) 2023-08-08 19:13:35 +02:00
starkillerOG
d72057f41b
Add repair issue for Reolink when using it with an incompatible global ssl certificate (#91597) 2023-08-07 11:52:14 +02:00
starkillerOG
121fc7778d
Bump reolink_aio to 0.7.6 + Timeout (#97464) 2023-07-31 21:01:25 +02:00
starkillerOG
b266514068
Delay creation of Reolink repair issues (#97476)
* delay creation of repair issues

* fix tests
2023-07-31 09:07:13 +02:00
starkillerOG
f4e79bbab8
Regard long poll without events as valid (#97383) 2023-07-30 18:49:27 +02:00
starkillerOG
c32b15c754
Reolink long poll recover (#97465) 2023-07-30 18:49:00 +02:00
starkillerOG
053f4b08b6
Bump reolink_aio to 0.7.5 (#97357)
* bump reolink-aio to 0.7.4

* Bump reolink_aio to 0.7.5
2023-07-27 23:33:08 +02:00
starkillerOG
8a58675be2
Reolink improve webhook URL error message (#96088)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-24 22:01:45 +02:00
Franck Nijhof
e449f8e0e5
Remove Reolink event connection sensor (#96903) 2023-07-19 14:40:00 +02:00
starkillerOG
bc9b9048f0
Add Reolink sensor platform (#96323)
* Add Reolink sensor platform

* fix styling

* Add state class

* Add Event connection sensor

* Update homeassistant/components/reolink/sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Use translation keys

* fix json

* fix json 2

* fix json 3

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-11 21:36:44 +02:00
starkillerOG
a0e20c6c6b
Bump reolink_aio to 0.7.3 (#96284) 2023-07-11 19:42:59 +02:00
starkillerOG
d9f27400b7
Reolink add reboot button (#96311) 2023-07-11 14:10:32 +02:00
Jan Bouwhuis
c26dc0940c
Use common translations for On, Off, Open and Closed (#95779)
* Use common translations for On and Off

* Used common translations for open and closed

* Update homeassistant/components/sensibo/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Only update state translations

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
starkillerOG
b3e1a3f624
Reolink fix missing title_placeholders (#95827) 2023-07-04 13:40:22 +02:00
starkillerOG
ee4459f41e
Extend Reolink update entity (#94323)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-06-28 13:32:14 +02:00
starkillerOG
d2cd0c9934
Add reolink channel based record, push, email, ftp, and buzzer switches (#91006)
* Add channel based email, ftp, push, rec and buzzer switches

* fix dataclass
2023-06-28 09:18:14 +02:00
starkillerOG
0bec93fa37
Reolink ONVIF long polling (#94770) 2023-06-26 21:54:40 +02:00
starkillerOG
ee7f44b3da
Bump reolink-aio to 0.7.1 (#94761) 2023-06-18 13:13:21 +02:00
starkillerOG
117ab4a0e5
Bump reolink-aio to 0.6.0 (#94259) 2023-06-09 17:00:07 +02:00
starkillerOG
b91c6911d9
Reolink autotrack streams for TrackMix and high/low resolution snapshots (#90591)
* Add auto track stream for Trackmix connected to NVR

* Enable autotracking stream by default

* Add snapshot high/low resolution

* Improve naming

* fix snapshots camera's not beeing added

* keep unique ID the same

* fix styling
2023-05-30 21:42:58 -04:00
starkillerOG
49f10eecaa
Fix false reolink ONVIF webhook warning (#91015) 2023-05-30 23:13:08 +02:00
starkillerOG
f5358d3863
Bump reolink-aio to 0.5.16 (#93540) 2023-05-25 22:15:33 +02:00
starkillerOG
16780bf4c2
Prevent firmware update error when internet blocked for Reolink camera (#91738)
* Prevent firmware update error when internet blocked

* fix styling

* switch back to async_config_entry_first_refresh

* fix still raising when starting

* missing return

* Catch CancelledError
2023-05-24 15:16:35 +02:00
starkillerOG
051d631504
Poll Reolink motion when ONVIF not available (#92837)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-05-12 18:48:32 +02:00
starkillerOG
4a50c3fbae
Bump reolink-aio to 0.5.15 (#92979) 2023-05-12 23:04:36 +09:00
starkillerOG
228233ae0c
Bump reolink-aio to v0.5.13 (#91550) 2023-04-22 16:14:36 +02:00
starkillerOG
8544d73b88
Reolink doorbell extend features (#90469) 2023-04-22 13:57:10 +02:00
krazos
717898fc92
Change entity category of IR light setting from control to config (#91382) 2023-04-17 11:10:06 +02:00
starkillerOG
88bde2a914
Reolink ONVIF move read to primary callback (#91478)
* Move read to primary callback

* fix styling

* Do not raise on ConnectionResetError

* Split request.text() to .read() and decode("utf-8")
2023-04-16 22:48:39 -10:00
starkillerOG
adc8a13f93
Reolink prevent ONVIF push being lost due to ConnectionResetError (#91070)
* Make "Connection lost" error less likely

* Handle connection loss during ONVIF event reading

* tweak

* fix styling

* catch asyncio.CancelledError from request.text()

* missing ()

* re-raise cancelation for proper cleanup

* Simplify

* Also set webhook_reachable if connection lost

* fix styntax

* Send HTTP_OK directly after data read done

* protect agains garbage collection

* Protect shielded task (inner) not shielded future (outer)

* fix black

* Make sure exceptions are logged

* fix spelling

* fix black

* fix spelling

* Simplify using hass.async_create_task

* clarify comment

* Eleborate comment

* Update homeassistant/components/reolink/host.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Apply suggestions from bdraco

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 21:05:22 -04:00
starkillerOG
e8142987a7
Reolink config flow fix custom port when USE_HTTPS not selected (#91137)
give USE_HTTPS a default
2023-04-10 12:44:25 -04:00
starkillerOG
fca9052430
Bump reolink-aio to 0.5.10 (#90963)
* use is_doorbell instead of is_doorbell_enabled

* Bump reolink-aio to 0.5.10
2023-04-06 14:35:22 -04:00
starkillerOG
a05fbdeedb
Add async_write_ha_state to Reolink select (#90764)
Add async_write_ha_state to select
2023-04-04 11:48:14 +02:00
starkillerOG
ddb1610e90
Reolink late review comments (#90668)
review comments
2023-04-03 07:22:38 +02:00