[netio230b0] class_name = NetIO230B class_path = plugins.netio230b address = 10.0.0.10 user = username password = password # netio_id = 1
Description of the attributes:
There are two types of items in this plugin. Items to control the state of the power distribution (control item) and items to detect an error (error item). The error item is used to detect wether it is not possible to communicate with the device.
# items/netio230b.conf [someroom] [[control0]] type = bool netio_id = 1 netio_port = 0 [[control1]] type = bool netio_port = 3 [[control2]] type = bool netio_id = 2 netio_port = 2 [[error1]] type = bool netio_id = 1 [[error2]] type = bool netio_id = 2
The state of a port can be changed by setting the belonging item to True or False. For the example above mentioned:
sh.someroom.control0(True) sh.someroom.control1(False)