Sorry - I don’t understand what the issue is? The log you’ve provided looks fine - there’s no errors. The message has been sent from a device - not requested from OH, and it looks like its processed the message ok?
Can you provide some more information on the issue?
^^ the log is triggered because I “open/close” the door sensor.
Its missing to update the “item state”.
The following is from another log when everything works fine and that part is just missing randomly after restarts:
2016-03-28 08:33:40.556 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Updating zwave:device:15348538564:node11:sensor_door to CLOSED
zwave_device_15348538564_node11_sensor_door changed from OPEN to CLOSED
Ok, understood… I know there’s a startup issue that I’m working on at the moment - this might be linked to that… Depending on the order things start in, it’s possible that the thing gets initialised before the node, and then events might not get through. I don’t think this should have changed in the last build, but as it’s a timing issue, it might change on each start.
Thanks - I should have asked before, but which parameter has the problem? I assume when you talk about option 5, and 4 to 7, that this is the option value, but I’m not sure what parameter it is… Looking at the database defintion for anything that has an option of 5, and they all look ok…
The only thing that looks out of place is some of the definitions use a value of -1, which isn’t allowed. I suspect that this might be the issue and it would be linked to the new feature in ESH where the values are validated.
OK, This is the first post
The post shows option/parameter 5, and I am trying to set it to BASIC_SET - it was empty.
Option/parameter 4 is working, but not 5 nor 6. I guess they might be -1 (hence edit field emtpy?).
Yes, so the problem will be the -1 value. This is a) not a valid value in Z-Wave (all values need to be unsigned) and b) outside of the range set in the database (which is actually what’s causing the error in openHAB).
I’m not sure I understand how it all ties together, but maybe it would be possible to give some sign in HABmin if an invalid option value is found upon presenting the configuration field.
Or maybe have some scanning for -1 when building the zwave device database (I guess that here’s where the problematic -1 originated).
The database already does this. The database provides a list of warnings on the top of the page, but most people are ignoring these messages. Up till now, it hasn’t mattered, but since ESH is now checking to ensure that values are within the limits, it must be resolved or things will fail.
I’ve fixed the errors for this device at least…
Agreed, but in this case, since the data is statically defined in the database, it should be right there since HABmin can’t do much about. I will add validation though for manually entered data…
1 While unplugging my zstick S2 controller from USB port, I include my another appliance binary swtich by pushing button.
2 then I start openhab by ./start.sh
3 when I push the button my appliance binary swtch.
Every time it shows MISMATCH.
Does any body have some suggestion for this problem? Thank you.
Here is my log.
No delegation command ‘OFF’ for item ‘Z_socket1’ to handle for channel
’zwave:aeon_dsc06_00_000:1:switch’, because thing is not initialized (must be in status ONLINE or OFFLINE)
I even do some modification for in source code,
public void initialize() {
logger.debug(“Initializing ZWave thing handler.”);
String nodeParm = this.getThing().getProperties().get(ZWaveBindingConstants.PROPERTY_NODEID);
if (nodeParm == null) {
logger.error("NodeID is not set in {}", this.getThing().getUID());
**String label = this.getThing().getLabel();**
**logger.error("Label = {}", label);**
**if (label.equals("zwave:aeon_dsc06_00_000:1")) {**
**//return;**
**nodeParm = "7";**
**} else {**
**//nodeParm = "7";**
**return;**
**}**
//return;
}
However, my aeon_dsc06_00_000:1:switch still stay in initialization forever.
But it looks like on controller side, a previous transaction is not completed. So the controller assume another packet instead of this one.
As on paper UI, it shows my appliance switch, which is zwave:aeon_dsc06_00_000:1, stay in initialization forever.
Is there a possibility the incomplete transaction MISMATCH related is part of the initialization?
Although we say the moment I push the button happen to be within a transaction, isn’t that strange this coincidence happen every time I push the button?
And also one other observation is it looks like the control flow call starting polling at the end of initialize function in zwaveThingHandler, then the pollingRunnable which is supposed to be schedule periodically only scheduled once.
Although I do not have solid evidence, it looks like the initialization stage forever problem, the pollingRunnable only schedule once problem and the MISMATCH problem is somehow related. Can someone shed some light for this?
Not from what I’ve seen in the log. As I said earlier, this is perfectly normal - it’s NOT an error.
No - this is EXACTLY what will cause this message. If you press the button, then the message is NOT part of a transaction, and you will see this message for sure. Again, this is normal.
I repeat again, this is NOT an problem. It’s a perfectly normal debug message.
I’m not really sure I follow your problem, or your messages. If the device is continuing to initialise, then this is something we can look at with a proper log. However, I’d really suggest that you try to consolidate your messages rather than writing lots of emails a few minutes apart as it makes it hard to follow, and therefore it’s hard to help you as I can’t follow the issue.
It looks like to me there is an incomplete transaction from the code below within checkTransactionComplete,
logger.debug(“Checking transaction complete: Sent message {}”, lastSentMessage.toString());
if (incomingMessage.getMessageClass() == lastSentMessage.getExpectedReply()
&& !incomingMessage.isTransactionCanceled()) {
If you say it isn’t, I will take it and thank you.