Releases: matejgordon/unipyAccess
Releases · matejgordon/unipyAccess
v0.2.1
Removed hardcoded TLS verification parameter for a variable.
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Release Notes for unipyaccess 🎉
✨ Highlights
- Totally New Hardware Management Support 🚀: This release introduces comprehensive support for managing hardware devices through the Unifi Access API! 🎊
- Existing user management functions now follow a new organizational structure for improved clarity and usability.
💡 What's New
🌟 Hardware Management Features
-
Device Retrieval:
get_devices(): Fetch a list of hardware devices.get_device(device_id): Retrieve details of a specific device.
-
Device Configuration:
set_access_method(device_id, enabled_methods): Enable access methods like PIN, NFC, mobile tap, and mobile button.set_doorbell_trigger(device_id, trigger_type): Manage doorbell trigger configurations (e.g., tap, swipe, or off).set_status_light(device_id, status_light): Control status light settings (on/off).set_display_brightness(device_id, brightness): Adjust device display brightness (0-100).set_status_sound(device_id, status_sound): Modify notification sound levels (0-100 for UA G2 Pro or on/off for others).
-
Device Insights:
get_device_capabilities(device_id): Retrieve the capabilities of a device.get_device_model(device_id): Identify the model of a device.
-
Device Actions:
restart_device(device_id): Restart a hardware device.
⚠️ Breaking Changes
-
User Management API Restructuring:
- Old:
unifiApi.get_unifi_users() - New:
unipy.users.get_users() - Example: Replace all references to
unifiApi.<method>with theunipy.<class>.<method>format.
- Old:
-
This new structure enhances readability and modularity but requires updating your existing code to align with the new organizational design.
🔥 Why This Matters
The addition of hardware management marks a significant milestone for unipyaccess. Administrators can now:
- Configure and control devices directly through Python scripts.
- Integrate hardware functionality into automated workflows.
🛠️ Bug Fixes
- Improved API response handling for edge cases in user management.
- Resolved minor issues with group assignment edge cases.
🎉 Acknowledgements
I’d like to extend my gratitude to the community for their support through stars and forks.
v0.1.0
edited cicd to change tag in the setup file