Releases: starkillerOG/reolink_aio
Releases · starkillerOG/reolink_aio
0.4.0
breaking changes:
- expire_session changed from sync to async (needs await)
- ONVIF_event_callback returns list of channels instead of single channel
Changes:
- close connection on expire_session
- always use GetMdState instead of GetAlarm
- remove motion_detection_state update from GetAlarm
- only request GetAiState if it is supported
- ONVIF callback return ch list and do not poll if AI not supported
- reorganise supported capabalities
- Improve api_version and supported methods
- Use specific queries instead of get_host_data
- move GetOsd from get_states to get_host_data
Full Changelog: 0.3.4...0.4.0
0.3.4
- rtsp URL first GetEnc then GetRtspUrl
- Fix zoom and focus boundry
Full Changelog: 0.3.3...0.3.4
0.3.3
- Dynamic zoom/focus range
- RTSP stream, fall back to h264 encoding when GetEnc fails
Full Changelog: 0.3.2...0.3.3
0.3.2
subscibe
& renew
raise SubscriptionError instead of bool return
Full Changelog: 0.3.1...0.3.2
0.3.1
- Do not close aiohttp session during login
check_new_firmware
also check current firmware version- support python 3.11
- raise UnexpectedDataError instead of Exception for invalid version
0.3.0
- Improve ONVIF event handeling
- Compliance with latest beta NVR firmware which includes rich notifications for all channels
- Log errors for unexpected/incompatible ONFIV notifications in order for users to report bugs
- Only log ONVIF errors once
- Info log per ONVIF notification
- Simplify code and reduce code duplication
- raise errors instead of passing booleans and add new error types:
- LoginError
- UnexpectedDataError
- InvalidParameterError
- NotSupportedError
- Add firmware commands
- check_new_firmware
- update_firmware
- update_progress
- Add GetRtspUrl command, use that as primary for get_rtsp_stream_source
- Fall back to newest version of rtsp url when no Encoding available
- Split ai_detected and ai_detection_states, fix bool return type
- Full black compliance
- Add workflow tests for black formatting
- Full mypy compliance
- Add workflow tests for mypy type checking
- Countless small bugfixes for edge cases
Full Changelog: 0.2.3...0.3.0
0.2.3
- Get RTSP stream encoding from camera instead of always h264
- Do not unsubscribe_all unless a failure occurs
Full Changelog: 0.2.2...0.2.3
0.2.2
- Raise exception instead of returning False for get_host_data and get_states
- Fix renew debug log
- Do not log warnings when unsbuscribing all
0.2.1
-
Fix get_state for unkown command
-
Add ONVIF_event_callback method
-
Add flv protocol stream
-
Add visitor_detected method
-
Add host setting commands to get_state
-
Add username and user_level properties
-
Improve ai_supported property
-
Simplify ai_detected method
-
Improve motion detection state
-
Improve logging
-
Remove unneeded setters
Full Changelog: 0.2.0...0.2.1
0.1.3
Improve get states:
- Add GetEvents to get_states command
- Fix GetPowerLed returns incorrect channel
- Improve recognition of PTZ control capabilities
- Only request GetAlarm PTZ/zoom/autofocus when supported