You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/shinephone.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ Any methods that may be useful.
63
63
|`api.update_mix_inverter_setting(serial_number, setting_type, parameters)`| serial_number: String, setting_type: String, parameters: Dict/Array | Apply the provided parameters for the specified setting on the specified Mix inverter. see: [details](./shinephone/inverter_settings.md)|
64
64
|`api.update_ac_inverter_setting(serial_number, setting_type, parameters)`| serial_number: String, setting_type: String, parameters: Dict/Array | Apply the provided parameters for the specified setting on the specified AC-coupled inverter. see: [details](./shinephone/inverter_settings.md)|
65
65
|`api.update_noah_settings(serial_number, setting_type, parameters)`| serial_number: String, setting_type: String, parameters: Dict/Array | Apply the provided parameters for the specified setting on the specified Noah device. see: [details](./shinephone/noah_settings.md)|
66
+
|`api.update_classic_inverter_setting(default_parameters, parameters)`| default_parameters: Dict, parameters: Dict/Array | Applies settings for specified system based on serial number. This function is only going to work for classic inverters. |
Copy file name to clipboardExpand all lines: docs/shinephone/inverter_settings.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,16 @@ Known working settings & parameters are as follows (all parameter values are str
78
78
* start_time: timedate object with start time of segment with format HH:MM
79
79
* end_time: timedate object with end time of segment with format HH:MM
80
80
* enabled: time segment enabled, boolean: True (Enabled), False (Disabled)
81
+
***Classic inverter settings**
82
+
* function: `api.update_classic_inverter_setting`
83
+
* description: Applies settings for specified system based on serial number. This function is only going to work for classic inverters.
84
+
* params:
85
+
*`param1`: First parameter (specific to the setting type)
86
+
*`param2`: Second parameter (specific to the setting type)
87
+
* Additional parameters can be passed as needed.
81
88
82
89
The four functions `update_tlx_inverter_setting`, `update_mix_inverter_setting`, `update_ac_inverter_setting`, and `update_inverter_setting` take either a dictionary or an array. If an array is passed it will automatically generate the `paramN` key based on array index since all params for settings seem to used the same numbering scheme.
83
90
84
-
Only the settings described above have been tested with `update_tlx_inverter_setting` and they all take only one single parameter. It is very likely that the function works with all settings returned by `tlx_get_enabled_settings`, but this has not been tested. A helper function `update_tlx_inverter_time_segment` is provided for the settings that require more than one parameter.
91
+
Only the settings described above have been tested with `update_tlx_inverter_setting` and they all take only one single parameter. It is very likely that the function works with all settings returned by `tlx_get_enabled_settings`, but this has not been tested. A helper function `update_tlx_inverter_time_segment` is provided for the settings that require more than one parameter.
92
+
93
+
The `api.get_mix_inverter_settings` method can be used to get the current inverter settings for the specified serial number including charge/discharge schedule for hybrid systems.
0 commit comments