Skip to content
Permalink
Browse files

Move flyport to legacy plugins folder

  • Loading branch information...
mcicolella committed Aug 16, 2019
1 parent e9faef0 commit afe210c0fb63368059beab2251dcd32debcd6073
@@ -1,82 +1,82 @@

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.freedomotic</groupId>
<artifactId>freedomotic-plugins</artifactId>
<version>5.6-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>flyport</artifactId>
<packaging>jar</packaging>
<name>Openpicus Flyport plugin for Freedomotic</name>
<version>3.0</version>
<developers>
<developer>
<id>mauro</id>
<name>Mauro</name>
<email>mauro@freedomotic.com</email>
<organization>Freedomotic</organization>
<organizationUrl>http://www.freedomotic.com</organizationUrl>
<properties>
<nation>it</nation>
</properties>
<timezone>-1</timezone>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<freedomotic.basedir>${project.parent.basedir}</freedomotic.basedir>
<freedomotic.package.type>device</freedomotic.package.type>
<freedomotic.nodeid>900</freedomotic.nodeid>
<freedomotic.package.license>GNU GPL2</freedomotic.package.license>
<freedomotic.package.vendor.name>Mauro</freedomotic.package.vendor.name>
<freedomotic.package.vendor.surname>Cicolella</freedomotic.package.vendor.surname>
<freedomotic.package.vendor.contact>Cicolella</freedomotic.package.vendor.contact>
<freedomotic.package.vendor.company>Freedomotic</freedomotic.package.vendor.company>
<freedomotic.package.vendor.nation>it</freedomotic.package.vendor.nation>
<freedomotic.framework.required.major>5</freedomotic.framework.required.major>
<freedomotic.framework.required.minor>6</freedomotic.framework.required.minor>
<freedomotic.framework.required.build>x</freedomotic.framework.required.build>
<!--don't like this but works for the moment -->
<freedomotic.synch.dist.path>../../../framework/freedomotic-core/plugins/</freedomotic.synch.dist.path>
<freedomotic.marketplace.file>${project.artifactId}-${freedomotic.framework.required.major}.${freedomotic.framework.required.minor}.${freedomotic.framework.required.build}-${project.version}.${freedomotic.package.type}</freedomotic.marketplace.file>
<freedomotic.marketplace.username></freedomotic.marketplace.username>
<freedomotic.marketplace.password></freedomotic.marketplace.password>

</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>freedomotic-core</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.freedomotic</groupId>
<artifactId>freedomotic-plugins</artifactId>
<version>5.6-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>flyport</artifactId>
<packaging>jar</packaging>
<name>Openpicus Flyport plugin for Freedomotic</name>
<version>3.0</version>
<developers>
<developer>
<id>mauro</id>
<name>Mauro</name>
<email>mauro@freedomotic.com</email>
<organization>Freedomotic</organization>
<organizationUrl>http://www.freedomotic.com</organizationUrl>
<properties>
<nation>it</nation>
</properties>
<timezone>-1</timezone>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<freedomotic.basedir>${project.parent.basedir}</freedomotic.basedir>
<freedomotic.package.type>device</freedomotic.package.type>
<freedomotic.nodeid>900</freedomotic.nodeid>
<freedomotic.package.license>GNU GPL2</freedomotic.package.license>
<freedomotic.package.vendor.name>Mauro</freedomotic.package.vendor.name>
<freedomotic.package.vendor.surname>Cicolella</freedomotic.package.vendor.surname>
<freedomotic.package.vendor.contact>Cicolella</freedomotic.package.vendor.contact>
<freedomotic.package.vendor.company>Freedomotic</freedomotic.package.vendor.company>
<freedomotic.package.vendor.nation>it</freedomotic.package.vendor.nation>
<freedomotic.framework.required.major>5</freedomotic.framework.required.major>
<freedomotic.framework.required.minor>6</freedomotic.framework.required.minor>
<freedomotic.framework.required.build>x</freedomotic.framework.required.build>
<!--don't like this but works for the moment -->
<freedomotic.synch.dist.path>../../../framework/freedomotic-core/plugins/</freedomotic.synch.dist.path>
<freedomotic.marketplace.file>${project.artifactId}-${freedomotic.framework.required.major}.${freedomotic.framework.required.minor}.${freedomotic.framework.required.build}-${project.version}.${freedomotic.package.type}</freedomotic.marketplace.file>
<freedomotic.marketplace.username></freedomotic.marketplace.username>
<freedomotic.marketplace.password></freedomotic.marketplace.password>

</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>freedomotic-core</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

@@ -1,15 +1,15 @@
<command>
<name>Turn OFF on Flyport board</name>
<receiver>app.actuators.protocol.flyport.in</receiver>
<description>turns off the object linked to this Flyport board</description>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<timeout>0</timeout>
<properties>
<properties>
<property name="command" value="RELAY"/>
<property name="behavior" value="off"/>
<property name="address" value="@owner.object.address"/>
</properties>
</properties>
<command>
<name>Turn OFF on Flyport board</name>
<receiver>app.actuators.protocol.flyport.in</receiver>
<description>turns off the object linked to this Flyport board</description>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<timeout>0</timeout>
<properties>
<properties>
<property name="command" value="RELAY"/>
<property name="behavior" value="off"/>
<property name="address" value="@owner.object.address"/>
</properties>
</properties>
</command>
@@ -1,15 +1,15 @@
<command>
<name>Turn ON Flyport board</name>
<receiver>app.actuators.protocol.flyport.in</receiver>
<description>turns on the object linked to this Flyport board</description>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<timeout>0</timeout>
<properties>
<properties>
<property name="command" value="RELAY"/>
<property name="behavior" value="on"/>
<property name="address" value="@owner.object.address"/>
</properties>
</properties>
<command>
<name>Turn ON Flyport board</name>
<receiver>app.actuators.protocol.flyport.in</receiver>
<description>turns on the object linked to this Flyport board</description>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<timeout>0</timeout>
<properties>
<properties>
<property name="command" value="RELAY"/>
<property name="behavior" value="on"/>
<property name="address" value="@owner.object.address"/>
</properties>
</properties>
</command>
@@ -1,21 +1,21 @@
<trigger>
<name>Flyport board reads a state change</name>
<description>Flyport reads relay state change</description>
<channel>app.event.sensor.protocol.read.flyport</channel>
<payload>
<payload>
<statement>
<logical>SET</logical>
<attribute>behaviorValue</attribute>
<operand>EQUALS</operand>
<value>@event.flyport.isOn</value>
</statement>
</payload>
</payload>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<priority>0</priority>
<maxExecutions>-1</maxExecutions>
<numberOfExecutions>0</numberOfExecutions>
<suspensionTime>0</suspensionTime>
<trigger>
<name>Flyport board reads a state change</name>
<description>Flyport reads relay state change</description>
<channel>app.event.sensor.protocol.read.flyport</channel>
<payload>
<payload>
<statement>
<logical>SET</logical>
<attribute>behaviorValue</attribute>
<operand>EQUALS</operand>
<value>@event.flyport.isOn</value>
</statement>
</payload>
</payload>
<hardwareLevel>true</hardwareLevel>
<delay>0</delay>
<priority>0</priority>
<maxExecutions>-1</maxExecutions>
<numberOfExecutions>0</numberOfExecutions>
<suspensionTime>0</suspensionTime>
</trigger>
@@ -1,24 +1,24 @@
<config>
<!-- PLUGINS DEFAULT PARAMETERS -->
<properties>
<property name="description" value="Communicates with the flyport board developed by openpicus.com"/>
<property name="protocol.name" value="flyport"/>
<property name="category" value="protocol"/>
<property name="short-name" value="flyport"/>
<property name="address-delimiter" value=":"/>
<property name="startup-time" value="on load"/>
<property name="polling-time" value="200"/>
</properties>
<tuples>
<!-- DEVICES CONFIGURATION -->
<tuple>
<property name="ip-to-query" value="192.168.0.115"/>
<property name="port-to-query" value="80"/>
<property name="pot-number" value="2"/>
<property name="led-number" value="5"/>
<property name="btn-number" value="5"/>
<property name="starting-value" value="0"/>
<property name="line-to-monitorize" value="led"/>
</tuple>
</tuples>
<config>
<!-- PLUGINS DEFAULT PARAMETERS -->
<properties>
<property name="description" value="Communicates with the flyport board developed by openpicus.com"/>
<property name="protocol.name" value="flyport"/>
<property name="category" value="protocol"/>
<property name="short-name" value="flyport"/>
<property name="address-delimiter" value=":"/>
<property name="startup-time" value="on load"/>
<property name="polling-time" value="200"/>
</properties>
<tuples>
<!-- DEVICES CONFIGURATION -->
<tuple>
<property name="ip-to-query" value="192.168.0.115"/>
<property name="port-to-query" value="80"/>
<property name="pot-number" value="2"/>
<property name="led-number" value="5"/>
<property name="btn-number" value="5"/>
<property name="starting-value" value="0"/>
<property name="line-to-monitorize" value="led"/>
</tuple>
</tuples>
</config>

0 comments on commit afe210c

Please sign in to comment.
You can’t perform that action at this time.