-
Notifications
You must be signed in to change notification settings - Fork 5
Home
The netio230a is a software to control the Koukaam NETIO-230A, a cheap but advanced multiple socket. It is programmed in the scripting language Python. It is easy to use and you may use it in your own projects according to the terms of the GPL v3 as included in the notes of the code.
You can find more information on the Koukaam NETIO-230A on the wiki page [Koukaam NETIO 230A.
If you are using Windows and are not that much into programming, then you might have a look at the very good C# project by Christoph Schaffhauser. It includes a reusable DLL as well as a GUI and the software is Freeware. The DLL is released in source code too.
The core of this software is the Python netio230a:
- netio230a.py - The class netio230a with the functionality to query and command the Koukaam NETIO-230A
There is a command line tool (to switch on/off ports) included in the package:
- netio230a_ctrl.py
And a graphical user interface is also included. PyGTK gui for the NETIO-230A (query status / switch on/off ports):
- netio230a_gui.py
You can find screenshots on the screenshots site of the project website.
To show you how you can take advantage of that class in your own scripts, there are also several example files included. Take a look:
- example.querySystemStatus.py Query all information of the NETIO-230A
- example.switchPower.py switch on/off a port of the device
- example.setTime.py manually set the time of the box
- example.interrupt.py interrupt an output for a predefined time
- example.querySystemStatus.py about 8 hours ago mostly changed examples [pklaus]
- example.reboot.py reboot the NETIO-230A (without loosing the power status on the ports)
There is also a discovery tool implemented in Python trying to give the same functionality as the Windows Tool NetioDiscover.exe by Koukaam. It is however just a command line tool yet. It is able to detect all Koukaam NETIO-230A devices on your network. It cannot set the IP etc. of any of the devices yet.
- discoverNETIOsOnLAN.py
example run: $ python discoverNETIOsOnLAN.py
Trying to discover any Koukaam NETIO-230A available on your LAN
UPD answer in 3.40 ms from: 192.168.100.2
Found a Koukaam NETIO-230A:
Name is: PCwatcher
IP address: 192.168.100.2
Subnet Mask: 255.255.255.0
Gateway address: 192.168.100.1
MAC address: 00:92:58:00:6F:07
Exiting after having found a number of 1 Koukaam NETIO-230A devices.
h3. Hardware and Software of NETIO-230A
Wiki sites documenting the hardware and software interface of the NETIO-230A:
|. Wiki-Site|. description| | "Koukaam NETIO-230A":http://wiki.github.com/pklaus/netio230a/koukaam-netio-230a | product informations, links to the producer and the manual| | "NETIO-230A Hardware":http://wiki.github.com/pklaus/netio230a/netio-230a-hardware | documentation of the hardware of the NETIO-230A| | "network discovery protocol":http://wiki.github.com/pklaus/netio230a/netdiscover-protocol | documentation of the UDP protocol used to discover the available devices on your net| | "NETIO-230A firmware changelog":http://wiki.github.com/pklaus/netio230a/netio-230a-firmware-changelog | changelog of the NETIO-230A firmware versions| | "Raw TCP Interface Protocol":http://wiki.github.com/pklaus/netio230a/raw-tcp-interface-protocol | documentation on the standard telnet responses| | "RS232 Serial Communication":http://wiki.github.com/pklaus/netio230a/rs232-communication | documentation on the serial terminal of the NETIO-230A|
h3(#other-tcp-interaction-possibilities). Other TCP Interaction Possibilities
Wiki sites that do not make use of the software in this repository but show other possibilities to access the NETIO-230A:
_. Wiki-Site | _. description |
---|---|
C# Project | C# Project - recommended for WINDOWS users! |
"Bash Demo":http://wiki.github.com/pklaus/netio230a/bash-demo | command NETIO-230A using Bash |
"Java Demo":http://wiki.github.com/pklaus/netio230a/java-demo | command NETIO-230A using Java |
"PHP Demo":http://wiki.github.com/pklaus/netio230a/php-demo | command NETIO-230A using PHP |
"Ruby Demo":http://wiki.github.com/pklaus/netio230a/ruby-demo | command NETIO-230A using Ruby |
"Windows plink.exe Demo":http://wiki.github.com/pklaus/netio230a/windows-plinkexe-demo | command NETIO-230A using plink.exe from putty project |