Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Repository files navigation

netio

NETIO is a series of smart sockets and PDU (Power Distribution Unit) by Koukaam.

This library gives you a Java-Interface to control them.

Include

To use this library (in the current state), you have to build it yourself. Once the next release is done, you can use it via maven, gradle, ….

The next release includes support for java 9 modules. You require org.rjung.util.netio.

Current State

This library is in a non stable state at the moment. The library on maven central can be used and uses a socket connection. The current main branch has changed to use a http connection, but it's not done yet.

Unfortunately I don't own a device any more, so I cannot test this is working. I'd love to get a response that this is working, so I can make a new release.

Example

NetworkSwitchnetworkSwitch = NetworkSwitch.builder("switch.host.name", 2345)
.username("admin").password("secret").build();
networkSwitch.set(1, Switch.ON); // Switch unit 1 onnetworkSwitch.set(2, Switch.OFF); // Switch unit 2 offnetworkSwitch.set(3, Switch.INTERRUPT); // Send interrupt to unit 3

Info

About

Java Library to control Netio 230B from Koukaam

Topics

Resources

Code of conduct

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages