Closed maggu2810 closed 8 years ago
Some more details. In the first session, I added my controller (so, with configuration). Then I added the device and I configured the device. After that I does not see any values in the Paper UI. So I looked at the log.
After I have done a restart I see no exception anymore, but still no values in the UI. Log: https://gist.github.com/maggu2810/a8c0f86a2c54ce52d1cb6020b78f417a
I will test to configure the device...
Configuration for that device using the Paper UI is not working. Will have a look at...
General Request URL:http://10.10.10.166:8080/rest/things/zwave:device:fc47e4bd:node2/config Request Method:PUT Status Code:400 Bad Request Remote Address:10.10.10.166:8080
Response Headers view source Content-Length:128 Content-Type:application/json Date:Thu, 21 Apr 2016 09:15:06 GMT Server:Jetty(9.2.14.v20151106)
Request Headers view source Accept:application/json, text/plain, / Accept-Encoding:gzip, deflate, sdch Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Connection:keep-alive Content-Length:898 Content-Type:application/json DNT:1 Host:10.10.10.166:8080 Origin:http://10.10.10.166:8080 Referer:http://10.10.10.166:8080/ui/index.html User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
Request Payload view source {zwave_class_basic: "ROUTING_SLAVE", zwave_class_generic: "BINARY_SENSOR", zwave_version: "2.6",…} config_1_1: 10 config_2_1: 15 config_3_1: 1 config_4_1: 2 config_6_2: 30 config_8_1: null config_9_2: 200 config_12_1: null config_14_1: null config_16_1: null config_20_1: 15 config_22_2: 30 config_24_1: null config_26_1: null config_40_2: 200 config_42_2: null config_60_1: 10 config_62_2: 900 config_64_2: null config_66_2: null config_80_1: 10 config_81_1: 50 config_82_2: 100 config_83_2: 1000 config_86_1: 18 config_87_1: 28 config_89_1: 1 group_1: [] group_2: [] group_3: ["node_1_0"] wakeup_interval: 7200 wakeup_node: 1 zwave_beaming: "true" zwave_class_basic: "ROUTING_SLAVE" zwave_class_generic: "BINARY_SENSOR" zwave_class_specific: "ROUTING_SENSOR_BINARY" zwave_deviceid: "4097" zwave_devicetype: "2048" zwave_frequent: "false" zwave_listening: "false" zwave_manufacturer: "271" zwave_nodeid: "2" zwave_routing: "true" zwave_version: "2.6"
Open the URL (http://10.10.10.166:8080/rest/things/zwave:device:fc47e4bd:node2/config) in browser gives me:
{
"error": {
"message": "HTTP 405 Method Not Allowed",
"http-code": 405,
"exception": {
"class": "javax.ws.rs.NotAllowedException",
"message": "HTTP 405 Method Not Allowed",
"localized-message": "HTTP 405 Method Not Allowed"
}
}
}
Thanks @maggu2810 I'll take a look at this tonight or tomorrow...
Markus - does this exception still happen with todays binding?
Configuration for that device using the Paper UI is not working.
This is possible linked to https://github.com/eclipse/smarthome/issues/1414 since I see properties in your configuration!
I will give it a try this weekend. Will report back (or you) :wink:
thanks.
I am using the Eclipse SmartHome Eclipse IDE setup now and added your openHAB Z-Wave binding and the serial transport to debug using the most recent versions. I started with a "clean" setup, and add the Z-Wave Serial Controller. I filled the serial port, enabled "master" and "suc" and accepted that settings to get the thing created.
Add this point I already see the input 2 excpetion.
https://gist.github.com/maggu2810/ebdaba8ea11c71b6ec6721201250b141#file-gistfile1-txt-L415
The SerialMessage constructor SerialMessage(int nodeId, byte[] buffer)
is used.
The line
this.messageClass = SerialMessageClass.getMessageClass(buffer[3] & 0xFF);
sets the messageClass member to null (in some cases).
Arrays.toString(buffer) returns this:
[1, 12, 0, 10, 5, 0, 1, 2, 1, 3, -1, -1, -1, 2]
and there is no message class with ID defined.
So, is the buffer wrong?
After a second start, I cannot reproduce this again.
I have to remove the USB device, add it again, restart the test and I see the exception again.
Here (https://github.com/yepher/RaZBerry#zwave-functions) the function ID 0x00 is listed as "None". It is listed and not missed like 0x01, so it is valid?
Sorry, wrong index. The unknown message class is 10, so 0x0A.
@cdjackson See #818
Closed by #818
Sorry, missed that
Hi, I added a Fibaro Motion Sensor (the eye). The device has a wakeup button. Every time I press this button I see "Exception during ZWave thread: Input 2" and I do not get any value displayed.
I set the log level of the Z-Wave binding to debug. I call "log:tail" and press the button, after a few seconds, I break that log and repeat the procedure. So every lines after log:tail will show one button press (and perhaps some timing related stuff).