Skip to content

Commit

Permalink
Oh3.0 (#15)
Browse files Browse the repository at this point in the history
* License update

* Target OH3.0

* openHAB 3.0 initial commit

* Update waiting

* Class name uppercase

* Channel information class

* Update channels types

* Simatic config

* Refactoring

* Collect channel configuration

* Channels data prepare

* shields

* Update README.md

openHAB shield

* Float fix

* Device connection fix

* Thing update status

* Extend by onConnectionChanged

* Read date from device

* Cleaning
  • Loading branch information
docbender authored Sep 17, 2020
1 parent 8cb981a commit fa5972f
Show file tree
Hide file tree
Showing 65 changed files with 2,861 additions and 2,466 deletions.
23 changes: 23 additions & 0 deletions .github/openHAB18.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions .github/openHAB30.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target
org.openhab.binding.simatic_1.8
415 changes: 244 additions & 171 deletions LICENSE

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
## Introduction

This binding for openHAB has ability to connect Simatic PLC over Ethernet with isoTCP. So it should be possible to connect to the Simatic PLC S7-300, S7-400, S7-1200 and S7-1500 series.
This binding for openHAB has ability to connect Simatic PLC over Ethernet with isoTCP. So it should be possible to connect to the Simatic PLC S7-300, S7-400, S7-1200 and S7-1500 series.

[![openHAB](/.github/openHAB30.svg)](https://github.com/openhab)
[![Version](https://img.shields.io/github/v/release/docbender/openHAB-Simatic?include_prereleases)](https://github.com/docbender/openHAB-Simatic/releases/latest)
[![Download](https://img.shields.io/github/downloads/docbender/openHAB-Simatic/total.svg)](https://github.com/docbender/openHAB-Simatic/releases/latest)
[![Issues](https://img.shields.io/github/issues/docbender/openHAB-Simatic)](https://github.com/docbender/openHAB-Simatic/issues)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/docbender/openHAB-Simatic.svg)](http://isitmaintained.com/project/docbender/openHAB-Simatic "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/docbender/openHAB-Simatic.svg)](http://isitmaintained.com/project/docbender/openHAB-Simatic "Percentage of issues still open")

Binding uses libnodave library to provide connection (https://sourceforge.net/projects/libnodave/).

More about this can be found on wiki page: https://github.com/docbender/openHAB-Simatic/wiki

Compiled binding is inserted into release branch: https://github.com/docbender/openHAB-Simatic/releases

Binding is working with openHAB 1.8 and openHAB 2.0 (in 1.x compatibility mode)
Binding is compatible with openHAB 3.0. For previous openHAB versions (1.8 and 2.x) see oh1.8 branch.
50 changes: 46 additions & 4 deletions org.openhab.binding.simatic/.classpath
Original file line number Diff line number Diff line change
@@ -1,8 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Loading

0 comments on commit fa5972f

Please sign in to comment.