Rest wrapper around the Telldus CLI (tdtool)
<dependency>
<groupId>org.ezand.telldus</groupId>
<artifactId>telldus-rest</artifactId>
<version>1.4</version>
</dependency>
Start a standalone webapp using the following commando:
java -jar telldus-rest-<version>.jar --telldus.tdtool=<path_to_tdtool> --server.port=<port_number> --security.user.name=<username> --security.user.password=<password>
Ex.:
java -jar telldus-rest-1.4.jar --telldus.tdtool=/usr/bin/tdtool --server.port=8081 --security.user.name=user --security.user.password=pass
You can ommit the --server.port=<port_number> to start the webapp at port 8080 by default.