pylxpweb 0.5.8__tar.gz → 0.5.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/PKG-INFO +1 -1
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/pyproject.toml +1 -1
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/_mid_runtime_properties.py +11 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/README.md +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/api_namespace.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/cli/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/cli/collect_device_data.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/client.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/api.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/devices.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/locations.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/registers.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/constants/scaling.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/_firmware_update_mixin.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/base.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/battery.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/battery_bank.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/_features.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/_runtime_properties.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/base.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/generic.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/inverters/hybrid.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/mid_device.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/models.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/parallel_group.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/devices/station.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/analytics.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/base.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/control.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/devices.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/export.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/firmware.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/forecasting.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/endpoints/plants.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/exceptions.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/models.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/py.typed +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/registers.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/__init__.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/capabilities.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/data.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/exceptions.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/factory.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/http.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/modbus.py +0 -0
- {pylxpweb-0.5.8 → pylxpweb-0.5.9}/src/pylxpweb/transports/protocol.py +0 -0
|
@@ -864,6 +864,17 @@ class MIDRuntimePropertiesMixin:
|
|
|
864
864
|
"""
|
|
865
865
|
return self._runtime is not None
|
|
866
866
|
|
|
867
|
+
@property
|
|
868
|
+
def is_off_grid(self) -> bool:
|
|
869
|
+
"""Check if the system is operating in off-grid/EPS mode.
|
|
870
|
+
|
|
871
|
+
Returns:
|
|
872
|
+
True if off-grid (on battery backup), False if grid is available.
|
|
873
|
+
"""
|
|
874
|
+
if self._runtime is None:
|
|
875
|
+
return False
|
|
876
|
+
return bool(getattr(self._runtime, "isOffGrid", False))
|
|
877
|
+
|
|
867
878
|
# ===========================================
|
|
868
879
|
# Energy Properties - UPS
|
|
869
880
|
# ===========================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|