added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="solaredge" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
|
||||
<name>SolarEdge Binding</name>
|
||||
<description>This is the binding for SolarEdge.</description>
|
||||
<author>Alexander Friese</author>
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config-description:config-descriptions
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
<config-description uri="thing-type:solaredge:web">
|
||||
<parameter-group name="authentication">
|
||||
<label>Authentication</label>
|
||||
<description>Authentication settings.</description>
|
||||
</parameter-group>
|
||||
<parameter-group name="connection">
|
||||
<label>Connection</label>
|
||||
<description>Connection settings.</description>
|
||||
</parameter-group>
|
||||
<parameter-group name="general">
|
||||
<label>General</label>
|
||||
<description>General settings.</description>
|
||||
</parameter-group>
|
||||
|
||||
<parameter name="tokenOrApiKey" type="text" required="true" groupName="authentication">
|
||||
<label>Token or API Key</label>
|
||||
<description>API Key to access the official solaredge API. If using Private API this must be fills with Spring
|
||||
Security Token (Check Browser Cookies when logged into website)</description>
|
||||
<context>password</context>
|
||||
</parameter>
|
||||
<parameter name="solarId" type="text" required="true" groupName="general">
|
||||
<label>Solar ID</label>
|
||||
<description>The ID to identify the solarplant at SolarEdge.</description>
|
||||
</parameter>
|
||||
<parameter name="meterInstalled" type="boolean" required="false" groupName="general">
|
||||
<label>Meter Installed</label>
|
||||
<description>If your setup contains a modbus meter, please activate this, to get more detailed data.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
<parameter name="usePrivateApi" type="boolean" required="false" groupName="general">
|
||||
<label>Private API</label>
|
||||
<description>Private API allows to avoid the limit of 300 API calls per day but is less documented and therefore less
|
||||
stable. If no meter is available you cannot use the private API, it does not provide live data for this kind of
|
||||
setup.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
<parameter name="liveDataPollingInterval" type="integer" required="false" min="1" max="60" unit="m"
|
||||
groupName="connection">
|
||||
<label>Polling Interval</label>
|
||||
<description>Interval in which live data is polled from SolarEdge (in minutes). If not using private API this should
|
||||
not be less than 10 minutes.</description>
|
||||
<default>10</default>
|
||||
</parameter>
|
||||
<parameter name="aggregateDataPollingInterval" type="integer" required="false" min="5" max="1440" unit="m"
|
||||
groupName="connection">
|
||||
<label>Polling Interval</label>
|
||||
<description>Interval in which aggregate data is polled from SolarEdge (in minutes). If not using private API this
|
||||
must not be less than 60 minutes.</description>
|
||||
<default>60</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</config-description:config-descriptions>
|
||||
@@ -0,0 +1,28 @@
|
||||
# binding
|
||||
binding.solaredge.name = SolarEdge Binding
|
||||
binding.solaredge.description = Abfrage von Kennzahlen der Photovoltaikanlage über die Web-API von SolarEdge.
|
||||
|
||||
# thing types
|
||||
thing-type.solaredge.web.label = SolarEdge Wechselrichter
|
||||
thing-type.solaredge.web.description = WebZugang zu SolarEdge
|
||||
|
||||
# groups
|
||||
thing-type.config.solaredge.web.group.authentication.label = Authentifizierung
|
||||
thing-type.config.solaredge.web.group.authentication.description = Einstellungen für die Authentifizierung.
|
||||
thing-type.config.solaredge.web.group.connection.label = Verbindung
|
||||
thing-type.config.solaredge.web.group.connection.description = Einstellungen für die Verbindung.
|
||||
thing-type.config.solaredge.web.group.general.label = Allgemeines
|
||||
thing-type.config.solaredge.web.group.general.description = Allgemeine Einstellungen.
|
||||
|
||||
thing-type.config.solaredge.web.tokenOrApiKey.label = Token oder API-Key
|
||||
thing-type.config.solaredge.web.tokenOrApiKey.description = Spring Security Token (Browser Cookie bei Verwendung der Solaredge Webseite) bei Verwendung der Private API, API-Key bei Verwendung der Public API.
|
||||
thing-type.config.solaredge.web.solarId.label = SolarEdge ID
|
||||
thing-type.config.solaredge.web.solarId.description = ID der PV-Anlage bei SolarEdge.
|
||||
thing-type.config.solaredge.web.usePrivateApi.label = Private API
|
||||
thing-type.config.solaredge.web.usePrivateApi.description = Die Private API umgeht die Einschränkung auf 300 API Aufrufen pro Tag, sie ist jedoch nicht offiziell dokumentiert und es gibt keine Funktionsgarantie. Ohne ein Meter funktioniert diese API nicht, da in diesem Fall keine Live-Daten zur Verfügung gestellt werden.
|
||||
thing-type.config.solaredge.web.meterInstalled.label = Modbus Meter vorhanden
|
||||
thing-type.config.solaredge.web.meterInstalled.description = Sofern ein Modbus Meter vorhanden ist, sollte dies unbedingt aktiviert werden, um detailliertere Daten zu erhalten.
|
||||
thing-type.config.solaredge.web.liveDataPollingInterval.label = Abfrageintervall Livedaten
|
||||
thing-type.config.solaredge.web.liveDataPollingInterval.description = Intervall in welchem Abfragen für Live-Daten an SolarEdge geschickt werden.
|
||||
thing-type.config.solaredge.web.aggregateDataPollingInterval.label = Abfrageintervall Aggregatedaten
|
||||
thing-type.config.solaredge.web.aggregateDataPollingInterval.description = Intervall in welchem Abfragen für aggregierte Daten an SolarEdge geschickt werden.
|
||||
@@ -0,0 +1,200 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="solaredge"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-group-type id="genericweb-live">
|
||||
<label>Live Data</label>
|
||||
<channels>
|
||||
<channel id="production" typeId="type-power">
|
||||
<label>Production</label>
|
||||
<description>Current Production</description>
|
||||
</channel>
|
||||
<channel id="pv_status" typeId="type-status">
|
||||
<label>PV Status</label>
|
||||
<description>Current PV Status</description>
|
||||
</channel>
|
||||
<channel id="consumption" typeId="type-power">
|
||||
<label>Consumption</label>
|
||||
<description>Current Consumption</description>
|
||||
</channel>
|
||||
<channel id="load_status" typeId="type-status">
|
||||
<label>Load Status</label>
|
||||
<description>Current Load Status</description>
|
||||
</channel>
|
||||
<channel id="battery_charge" typeId="type-power">
|
||||
<label>Battery Charge</label>
|
||||
<description>Current Charge Rate</description>
|
||||
</channel>
|
||||
<channel id="battery_discharge" typeId="type-power">
|
||||
<label>Battery Discharge</label>
|
||||
<description>Current Discharge Rate</description>
|
||||
</channel>
|
||||
<channel id="battery_charge_discharge" typeId="type-power">
|
||||
<label>Battery Charge/Discharge</label>
|
||||
<description>Current Charge/Discharge Rate</description>
|
||||
</channel>
|
||||
<channel id="battery_level" typeId="type-percent">
|
||||
<label>Battery Level</label>
|
||||
<description>Current Charge Level</description>
|
||||
</channel>
|
||||
<channel id="battery_status" typeId="type-status">
|
||||
<label>Battery Status</label>
|
||||
<description>Current Battery Status</description>
|
||||
</channel>
|
||||
<channel id="battery_critical" typeId="type-status">
|
||||
<label>Battery Critical</label>
|
||||
<description>Battery Critical</description>
|
||||
</channel>
|
||||
<channel id="import" typeId="type-power">
|
||||
<label>Import</label>
|
||||
<description>Current Import from Grid</description>
|
||||
</channel>
|
||||
<channel id="export" typeId="type-power">
|
||||
<label>Export</label>
|
||||
<description>Current Export to Grid</description>
|
||||
</channel>
|
||||
<channel id="grid_status" typeId="type-status">
|
||||
<label>Grid Status</label>
|
||||
<description>Current Grid Status</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="genericweb-aggregate-day">
|
||||
<label>Aggregate Day Data</label>
|
||||
<description>Aggregate data (by day)</description>
|
||||
<channels>
|
||||
<channel id="production" typeId="type-energy">
|
||||
<label>Production</label>
|
||||
<description>Aggregate Day Production</description>
|
||||
</channel>
|
||||
<channel id="consumption" typeId="type-energy">
|
||||
<label>Consumption</label>
|
||||
<description>Aggregate Day Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionForConsumption" typeId="type-energy">
|
||||
<label>Self Consumption</label>
|
||||
<description>Aggregate Day Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionCoverage" typeId="type-percent">
|
||||
<label>Self Consumption Coverage</label>
|
||||
<description>Aggregate Day Self Consumption Coverage</description>
|
||||
</channel>
|
||||
<channel id="batterySelfConsumption" typeId="type-energy">
|
||||
<label>Battery Self Consumption</label>
|
||||
<description>Aggregate Day Battery Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="import" typeId="type-energy">
|
||||
<label>Import</label>
|
||||
<description>Aggregate Day Import</description>
|
||||
</channel>
|
||||
<channel id="export" typeId="type-energy">
|
||||
<label>Export</label>
|
||||
<description>Aggregate Day Export</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
<channel-group-type id="genericweb-aggregate-week">
|
||||
<label>Aggregate Week Data</label>
|
||||
<description>Aggregate data (by week)</description>
|
||||
<channels>
|
||||
<channel id="production" typeId="type-energy">
|
||||
<label>Production</label>
|
||||
<description>Aggregate Week Production</description>
|
||||
</channel>
|
||||
<channel id="consumption" typeId="type-energy">
|
||||
<label>Consumption</label>
|
||||
<description>Aggregate Week Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionForConsumption" typeId="type-energy">
|
||||
<label>Self Consumption</label>
|
||||
<description>Aggregate Week Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionCoverage" typeId="type-percent">
|
||||
<label>Self Consumption Coverage</label>
|
||||
<description>Aggregate Week Self Consumption Coverage</description>
|
||||
</channel>
|
||||
<channel id="batterySelfConsumption" typeId="type-energy">
|
||||
<label>Battery Self Consumption</label>
|
||||
<description>Aggregate Week Battery Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="import" typeId="type-energy">
|
||||
<label>Import</label>
|
||||
<description>Aggregate Week Import</description>
|
||||
</channel>
|
||||
<channel id="export" typeId="type-energy">
|
||||
<label>Export</label>
|
||||
<description>Aggregate Week Export</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
<channel-group-type id="genericweb-aggregate-month">
|
||||
<label>Aggregate Month Data</label>
|
||||
<description>Aggregate data (by month)</description>
|
||||
<channels>
|
||||
<channel id="production" typeId="type-energy">
|
||||
<label>Production</label>
|
||||
<description>Aggregate Month Production</description>
|
||||
</channel>
|
||||
<channel id="consumption" typeId="type-energy">
|
||||
<label>Consumption</label>
|
||||
<description>Aggregate Month Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionForConsumption" typeId="type-energy">
|
||||
<label>Self Consumption</label>
|
||||
<description>Aggregate Month Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionCoverage" typeId="type-percent">
|
||||
<label>Self Consumption Coverage</label>
|
||||
<description>Aggregate Month Self Consumption Coverage</description>
|
||||
</channel>
|
||||
<channel id="batterySelfConsumption" typeId="type-energy">
|
||||
<label>Battery Self Consumption</label>
|
||||
<description>Aggregate Month Battery Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="import" typeId="type-energy">
|
||||
<label>Import</label>
|
||||
<description>Aggregate Month Import</description>
|
||||
</channel>
|
||||
<channel id="export" typeId="type-energy">
|
||||
<label>Export</label>
|
||||
<description>Aggregate Month Export</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
<channel-group-type id="genericweb-aggregate-year">
|
||||
<label>Aggregate Year Data</label>
|
||||
<description>Aggregate data (by year)</description>
|
||||
<channels>
|
||||
<channel id="production" typeId="type-energy">
|
||||
<label>Production</label>
|
||||
<description>Aggregate Year Production</description>
|
||||
</channel>
|
||||
<channel id="consumption" typeId="type-energy">
|
||||
<label>Consumption</label>
|
||||
<description>Aggregate Year Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionForConsumption" typeId="type-energy">
|
||||
<label>Self Consumption</label>
|
||||
<description>Aggregate Year Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="selfConsumptionCoverage" typeId="type-percent">
|
||||
<label>Self Consumption Coverage</label>
|
||||
<description>Aggregate Year Self Consumption Coverage</description>
|
||||
</channel>
|
||||
<channel id="batterySelfConsumption" typeId="type-energy">
|
||||
<label>Battery Self Consumption</label>
|
||||
<description>Aggregate Year Battery Self Consumption</description>
|
||||
</channel>
|
||||
<channel id="import" typeId="type-energy">
|
||||
<label>Import</label>
|
||||
<description>Aggregate Year Import</description>
|
||||
</channel>
|
||||
<channel id="export" typeId="type-energy">
|
||||
<label>Export</label>
|
||||
<description>Aggregate Year Export</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="solaredge"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-type id="type-power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power</label>
|
||||
<state pattern="%.2f %unit%" readOnly="true">
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="type-energy">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Energy</label>
|
||||
<state pattern="%.1f %unit%" readOnly="true">
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="type-status">
|
||||
<item-type>String</item-type>
|
||||
<label>Status Text</label>
|
||||
<state pattern="%s" readOnly="true">
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="type-percent">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Percent</label>
|
||||
<state pattern="%.0f %unit%" readOnly="true">
|
||||
</state>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="solaredge"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<thing-type id="generic">
|
||||
<label>SolarEdge</label>
|
||||
<description>data retrieved from SolarEdge web interface</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group typeId="genericweb-live" id="live"/>
|
||||
<channel-group typeId="genericweb-aggregate-day" id="aggregate_day"/>
|
||||
<channel-group typeId="genericweb-aggregate-week" id="aggregate_week"/>
|
||||
<channel-group typeId="genericweb-aggregate-month" id="aggregate_month"/>
|
||||
<channel-group typeId="genericweb-aggregate-year" id="aggregate_year"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description-ref uri="thing-type:solaredge:web"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user