Skip to content

Commit

Permalink
Include improvements from aioxcom
Browse files Browse the repository at this point in the history
  • Loading branch information
ankohanse committed Sep 5, 2024
1 parent fdfb2ea commit 657f177
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,11 @@ To reconfigure:
When the value of a Studer param is changed via this integration (via a Number, Select or Switch entity), these are written via Xcom to the affected device.
Changes are stored in the device's RAM memory, not in its flash memory as you can only write to flash a limited number of time over its lifetime.

However, reading back the value from the entity will be from flash (querying RAM gives unreliable responses). As a result, the change to the entity value is not visible. You can only tell from the behavior of the PV system that the Studer param was indeed changed.
However, reading back the value from the entity will be from flash. As a result, the change to the entity value is not visible. You can only tell from the behavior of the PV system that the Studer param was indeed changed.
After a restart/reboot of the PV system the system will revert to the value from Flash. So you may want to periodically repeat the write of changed param values via an automation.

**IMPORTANT**:

I will not take responsibility for damage to your PV system resulting from you choosing to change Studer params you are not supposed to change. Or setting a combination of param values that cause an invalid status.
Be very carefull in changing params marked as having level Expert, Installer or even Qualified Service Person. If you do not know what the effect of a Studer param change is, then do not change it.


Expand Down
2 changes: 1 addition & 1 deletion custom_components/studer_xcom/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ async def _async_request_all_data(self):
async def async_request_test(self, param, addr):
try:
value = await self._api.requestValue(param, addr)
if value:
if value is not None:
return True

except Exception as e:
Expand Down
4 changes: 2 additions & 2 deletions custom_components/studer_xcom/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/ankohanse/hass-studer-xcom/issues",
"loggers": ["custom_components.studer_xcom"],
"requirements": ["aioxcom>=1.0.1"],
"version": "2024.09.1"
"requirements": ["aioxcom>=1.0.2"],
"version": "2024.09.2"
}

0 comments on commit 657f177

Please sign in to comment.