for (DeviceOneWire device : portAdapter.devicesOneWire) {
if (device.getChanged()) {
//building the event
ProtocolRead event = new ProtocolRead(this, "onewire", portAdapter.getAdapterName() + ":" + portAdapter.getPortName() + ":" + device.getAddress());
//adding some optional information to the event
event.addProperty("sensor.unit", "C");
event.addProperty("sensor.value", Double.toString(device.getValue()));
event.addProperty("sensor.name", "");
event.addProperty("sensor.state", "Alarm");
Freedomotic.logger.warning("Object " + device.getAddress() + " is change. New Value " + Double.toString(device.getValue()));
this.notifyEvent(event);