forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from openhab/master
Merge with master
- Loading branch information
Showing
1,008 changed files
with
29,513 additions
and
2,660 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
addons/binding/org.openhab.binding.astro/OSGI-INF/AstroHandlerFactory.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Astro Binding | ||
|
||
The Astro binding is used for calculating many DateTime and positional values for sun and moon. | ||
|
||
## Supported Things | ||
|
||
This binding supports two Things: Sun and Moon | ||
|
||
## Discovery | ||
|
||
Discovery is not necessary, because all calculations are done within the binding. | ||
|
||
## Binding Configuration | ||
|
||
No binding configuration required. | ||
|
||
## Thing Configuration | ||
|
||
The things requires the geolocation (latitude, longitude) for which the calculation is done. Optionally, a refresh interval (in seconds) can be defined to also calculate positional data like azimuth and elevation. | ||
|
||
## Channels | ||
|
||
* **thing** `sun` | ||
* **group** `rise, set, noon, night, morningNight, astroDawn, nauticDawn, civilDawn, astroDusk, nauticDusk, civilDusk, eveningNight, daylight` | ||
* **channel** `start, end` (DateTime), `duration` (Number) | ||
* **group** `position` | ||
* **channel** `azimuth, elevation` (Number) | ||
* **group** `zodiac` | ||
* **channel** `start, end` (DateTime), `sign` (String) | ||
* **group** `season` | ||
* **channel**: `spring, summer, autumn, winter` (DateTime), `name` (String) | ||
* **group** `eclipse` | ||
* **channel**: `total, partial, ring` (DateTime) | ||
* **thing** `moon` | ||
* **group** `rise, set` | ||
* **channel** `start, end` (DateTime), `duration` (Number), **Note:** start and end is always equal, duration always 0. | ||
* **group** `phase` | ||
* **channel**: `firstQuarter, thirdQuarter, full, new` (DateTime), `age, illumination` (Number), `name` (String) | ||
* **group** `eclipse` | ||
* **channel**: `total, partial` (DateTime) | ||
* **group** `distance` | ||
* **channel**: `date` (DateTime), `kilometer, miles` (Number) | ||
* **group** `perigee` | ||
* **channel**: `date` (DateTime), `kilometer, miles` (Number) | ||
* **group** `apogee` | ||
* **channel**: `date` (DateTime), `kilometer, miles` (Number) | ||
* **group** `zodiac` | ||
* **channel** `sign` (String) | ||
* **group** `position` | ||
* **channel** `azimuth, elevation` (Number) | ||
|
||
## Full Example | ||
|
||
Things: | ||
``` | ||
astro:sun:home [ geolocation="xx.xxxxxx,xx.xxxxxx", interval=60] | ||
astro:moon:home [ geolocation="xx.xxxxxx,xx.xxxxxx", interval=60] | ||
``` | ||
Items: | ||
``` | ||
DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" { channel="astro:sun:home:rise#start" } | ||
DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" { channel="astro:sun:home:set#start" } | ||
Number Azimuth "Azimuth" { channel="astro:sun:home:position#azimuth" } | ||
Number Elevation "Elevation" { channel="astro:sun:home:position#elevation" } | ||
String MoonPhase "MoonPhase" { channel="astro:moon:home:phase#name" } | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Autelis Pool Control Binding | ||
|
||
Autelis manufactures a network enabled pool interface for many popular pool systems. See [the Autelis webiste](http://www.autelis.com) and the [Autelis Command Protocol](http://www.autelis.com/wiki/index.php?title=Pool_Control_(PI)_HTTP_Command_Reference) for more information. | ||
|
||
This binding supports: | ||
* Read circuit, auxiliary, temperature, pump, chemistry and system values | ||
* Control circuit, auxiliary lighting scenes, and temperature set points | ||
|
||
|
||
## Discovery | ||
|
||
The binding will automatically look for a device with the DNS name 'poolcontrol'. If found it will try and connect with the factory default username and password. | ||
|
||
## Binding Configuration | ||
|
||
The binding requires no special configuration | ||
|
||
## Thing Configuration | ||
|
||
The Autelis binding requires the host, port, username and password | ||
|
||
In the thing file, this looks e.g. like | ||
``` | ||
Thing autelis:myPool [ host="192.168.1.10", port="80", user="admin", password="admin"] | ||
``` | ||
|
||
## Channels | ||
|
||
All devices support some of the following channels: | ||
|
||
| Channel Type ID | Item Type | Description | | ||
|-------------------------|------------------------|--------------|----------------- |------------- | | ||
| system-runstate| Switch | | ||
| system-model| Number | | ||
| system-haddr| Number | | ||
| system-opmode| Number | | ||
| system-freeze| Number | | ||
| system-sensor1| Number | | ||
| system-sensor2| Number | | ||
| system-sensor3| Number | | ||
| system-sensor4| Number | | ||
| system-sensor5| Number | | ||
| system-version| String | | ||
| system-time| Number | | ||
| equipment-circuit1| Switch | | ||
| equipment-circuit2| Switch | | ||
| equipment-circuit3| Switch | | ||
| equipment-circuit4| Switch | | ||
| equipment-circuit5| Switch | | ||
| equipment-circuit6| Switch | | ||
| equipment-circuit7| Switch | | ||
| equipment-circuit8| Switch | | ||
| equipment-circuit9| Switch | | ||
| equipment-circuit10| Switch | | ||
| equipment-feature1| Number | | ||
| equipment-feature2| Number | | ||
| equipment-feature3| Number | | ||
| equipment-feature4| Number | | ||
| equipment-feature5| Number | | ||
| equipment-feature6| Number | | ||
| equipment-feature7| Number | | ||
| equipment-feature8| Number | | ||
| equipment-feature9| Number | | ||
| equipment-feature10| Number | | ||
| temp-poolht| Number | | ||
| temp-spaht| Number | | ||
| temp-htstatus| Number | | ||
| temp-poolsp| Number | | ||
| temp-spasp| Number | | ||
| temp-pooltemp| Number | | ||
| temp-spatemp| Number | | ||
| temp-airtemp| Number | | ||
| temp-tempunits| String | | ||
| temp-htpump| Number | | ||
| pump-pump1| String | | ||
| pump-pump2| String | | ||
| pump-pump3| String | | ||
| pump-pump4| String | | ||
| pump-pump5| String | | ||
| pump-pump6| String | | ||
| pump-pump7| String | | ||
| pump-pump8| String | | ||
| chlor-chloren| Number | | ||
| chlor-poolsp| Number | | ||
| chlor-spasp| Number | | ||
| chlor-salt| Number | | ||
| chlor-super| Number | | ||
| chlor-chlorerr| Number | | ||
| chlor-chlorname| String | | ||
| lightscmd| String | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry exported="true" kind="lib" path="lib/jackson-core-2.3.2.jar"/> | ||
<classpathentry exported="true" kind="lib" path="lib/jackson-databind-2.3.2.jar"/> | ||
<classpathentry exported="true" kind="lib" path="lib/jackson-module-jaxb-annotations-2.3.2.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.openhab.binding.avmfritz</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ds.core.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
11 changes: 11 additions & 0 deletions
11
addons/binding/org.openhab.binding.avmfritz/ESH-INF/binding/binding.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<binding:binding id="avmfritz" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:binding="http://eclipse.org/smarthome/schemas/binding/v1.0.0" | ||
xsi:schemaLocation="http://eclipse.org/smarthome/schemas/binding/v1.0.0 http://eclipse.org/smarthome/schemas/binding-1.0.0.xsd"> | ||
|
||
<name>AVM FRITZ! Binding</name> | ||
<description>This is the binding for AVM Fritz! devices.</description> | ||
<author>Robert Bausdorf</author> | ||
|
||
</binding:binding> |
19 changes: 19 additions & 0 deletions
19
addons/binding/org.openhab.binding.avmfritz/ESH-INF/i18n/avmfritz_de_DE.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# binding | ||
binding.fritzaha.name = AVM Fritz! AHA | ||
binding.fritzaha.description = AVM Fritz! AHA Geräte (DECT 100/200, Powerline 546E) | ||
|
||
# thing types | ||
thing-type.Fritz_DECT_200.description = Fritz!DECT200 schaltbare Steckdose | ||
|
||
# channel types | ||
channel-type.temperature.label = Temperatur | ||
channel-type.temperature.description = Aktuell gemessene Temperatur | ||
|
||
channel-type.energy.label = Verbrauch | ||
channel-type.energy.description = Akkumulierter Energieverbrauch in Wh | ||
|
||
channel-type.power.label = Last | ||
channel-type.power.description = Aktuelle Last in W | ||
|
||
channel-type.switch.label = Schalter | ||
channel-type.switch.description = Schaltbare Steckdose |
Oops, something went wrong.