I am trying to make use of the customSensor using org.openhab.binding.mysensors-2.1.0-SNAPSHOT.jar I see the node 12 var4 message arrive but it is not being assigned to my item; am I doing something wrong? I have tried both string and number item types.
10:37:37.879 [DEBUG] [rsAbstractConnection$MySensorsReader] - 12;0;1;0;27;1023
10:37:37.880 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 12 found in gateway
10:37:37.881 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 0 found in node 12
10:37:37.882 [DEBUG] [ensors.handler.MySensorsThingHandler] - Updating channel: var4(27) value to: 1023
10:37:37.896 [DEBUG] [ensors.handler.MySensorsThingHandler] - Setting last update for node/child 12/0 to 2017-06-03T10:37:37.000-0400
10:37:37.901 [DEBUG] [rsAbstractConnection$MySensorsReader] - 12;255;3;0;22;63464
10:37:37.912 [INFO ] [marthome.event.ItemStateChangedEvent] - Sensor12LastUpdate changed from 2017-06-03T10:37:26.000-0400 to 2017-06-03T10:37:37.000-0400
10:37:37.925 [INFO ] [marthome.event.ItemStateChangedEvent] - mySMsg01 changed from 1;4;1;0;1;64.2 to 12;0;1;0;27;1023
10:37:37.935 [INFO ] [marthome.event.ItemStateChangedEvent] - mySMsg01 changed from 12;0;1;0;27;1023 to 12;255;3;0;22;63464
10:37:41.974 [DEBUG] [rsAbstractConnection$MySensorsReader] - 2;0;1;0;17;544
10:37:41.975 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 2 found in gateway
10:37:41.976 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 0 found in node 2
10:37:41.976 [DEBUG] [ensors.handler.MySensorsThingHandler] - Updating channel: watt(17) value to: 544
10:37:41.984 [DEBUG] [ensors.handler.MySensorsThingHandler] - Setting last update for node/child 2/0 to 2017-06-03T10:37:41.000-0400
10:37:41.995 [INFO ] [marthome.event.ItemStateChangedEvent] - watt01 changed from 547 to 544
10:37:42.005 [DEBUG] [rsAbstractConnection$MySensorsReader] - 2;0;1;0;24;1138982
10:37:42.006 [INFO ] [marthome.event.ItemStateChangedEvent] - Sensor02LastUpdate changed from 2017-06-03T10:37:27.000-0400 to 2017-06-03
Things
Bridge mysensors:bridge-eth:ethGatewayPi [ ipAddress="127.0.0.1", tcpPort=5003, sendDelay=200 ]
{
/** define things connected to that bridge here */
humidity hum01 [ nodeId="1", childId="0" ]
temperature temp01 [ nodeId="1", childId="1" ]
humidity hum02 [ nodeId="1", childId="2" ]
temperature temp02 [ nodeId="1", childId="3" ]
humidity hum03 [ nodeId="1", childId="4" ]
temperature temp03 [ nodeId="1", childId="5" ]
power power01 [ nodeId="2", childId="0" ]
rgbLight rgb02 [ nodeId="6", childId="0", requestAck=true ]
light relay01 [ nodeId="7", childId="0", requestAck=true ]
motion motion01 [ nodeId="8", childId="0", requestAck=true ]
motion motion02 [ nodeId="9", childId="0", requestAck=true ]
light relay02 [ nodeId="9", childId="1", requestAck=true ]
cover cover03 [ nodeId="10", childId="0", requestAck=true, smartSleep=true ]
cover cover02 [ nodeId="11", childId="0", requestAck=true, smartSleep=true ]
customSensor blind01 [ nodeId="12", childId="0", requestAck=true, smartSleep=true ]
mySensorsMessage mySMsg01 [ nodeId="999", childId="999" ]
}
items:
String blind1BatReading "Blind#1 Battery A/D Reading" <battery> { channel="mysensors:customSensor:ethGatewayPi:blind01:var4" }
DateTime Sensor12LastUpdate "Last seen Nd12 [%1$ta %1$tT]" <clock> { channel="mysensors:customSensor:ethGatewayPi:blind01:lastupdate" }
edit 6/7: I stand corrected, the variables are being updated. I was fooled by the log. For some reason the log does not show the change the way it did it binding 2.0.0. I placed debug messages in my rules and they're updating.