[SunSpec] Add missing Inverter Status, Add Channel for Vendor-Specific Status (#13480)
* [SunSpec] Added missing InverterStatus See e.g., https://github.com/sunspec/models/blob/master/json/model_101.json#L307 * [SunSpec] Added Channel for Vendor Specific Status * [SunSpec] Fixing two old TODOs VA and VAR are defined as alternate unit for WATT so no breaking change. Signed-off-by: Andreas Lanz <alanz@gmx.de>
This commit is contained in:
@@ -97,5 +97,12 @@ channel-type.modbus.status-type.label = Status
|
||||
channel-type.modbus.status-type.description = Device status
|
||||
channel-type.modbus.status-type.state.option.OFF = Off
|
||||
channel-type.modbus.status-type.state.option.SLEEP = Sleeping / Night mode
|
||||
channel-type.modbus.status-type.state.option.STARTING=Grid Monitoring/wake-up
|
||||
channel-type.modbus.status-type.state.option.ON = On - producing power
|
||||
channel-type.modbus.status-type.state.option.THROTTLED=Production (curtailed)
|
||||
channel-type.modbus.status-type.state.option.SHUTTING_DOWN=Shutting down
|
||||
channel-type.modbus.status-type.state.option.FAULT=Fault
|
||||
channel-type.modbus.status-type.state.option.STANDBY=Standby/Maintenance/Setup
|
||||
channel-type.modbus.status-vendor-type.label = Vendor-defined Status
|
||||
channel-type.modbus.status-vendor-type.description = Vendor-defined device status and error codes
|
||||
channel-type.modbus.transformer-temperature-type.label = Transformer Temperature
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<channel id="transformer-temperature" typeId="transformer-temperature-type"/>
|
||||
<channel id="other-temperature" typeId="other-temperature-type"/>
|
||||
<channel id="status" typeId="status-type"/>
|
||||
<channel id="status-vendor" typeId="status-vendor-type"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
|
||||
@@ -116,8 +116,20 @@
|
||||
<options>
|
||||
<option value="OFF">Off</option>
|
||||
<option value="SLEEP">Sleeping / Night mode</option>
|
||||
<option value="STARTING">Grid Monitoring/wake-up</option>
|
||||
<option value="ON">On - producing power</option>
|
||||
<option value="THROTTLED">Production (curtailed)</option>
|
||||
<option value="SHUTTING_DOWN">Shutting down</option>
|
||||
<option value="FAULT">Fault</option>
|
||||
<option value="STANDBY">Standby/Maintenance/Setup</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="status-vendor-type">
|
||||
<item-type>Number</item-type>
|
||||
<label>Vendor-defined Status</label>
|
||||
<description>Vendor-defined device status and error codes.</description>
|
||||
<state readOnly="true" pattern="%d"/>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
|
||||
Reference in New Issue
Block a user