-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
There are new endpoints with Solarbank 2 / Smartmeter / Smart plugs support that needs to be explored for capability and usability:
print(json.dumps((await myapi.request("post", "power_service/v1/app/device/get_device_attrs",json={"device_sn": deviceSn, "attributes": []})), indent=2))
print(json.dumps((await myapi.request("post", "power_service/v1/app/device/set_device_attrs",json={"device_sn": deviceSn, "attributes": []})), indent=2))
The get_device_attrs endpoint is included now in the export_system tool, but it is not clear which keywords can/should be specified for the mandatory attributes list.
- Will an empty list export all attributes supported by a device? => NO, only valid device attributes will be returned, but attributes are unknown
- Can the set_device_attrs endpoint be used to modify a supported attribute? Probably, if the attribute is known and changeable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed