g1velo / SNAVXbee2

0 stars 0 forks source link

Unable to create item at things discovered #2

Closed kirantpatil closed 7 years ago

kirantpatil commented 7 years ago

I am getting below issue.

Received HTTP PUT request at 'items/DefaultXBeeCOORDINATOR0013A20040E7782D00030000_SNAVXbee2BindingAD0DIO0Port' with an invalid item type 'SwitchItem'.

The item type shows only 'SwitchItem'.

kirantpatil commented 7 years ago

I think code needs to be changed for itemtype in below file. https://github.com/g1velo/SNAVXbee2/blob/cc17fac6d5cc2916e12551baaeea22d25cf0533d/org.openhab.binding.snavxbee2/ESH-INF/thing/thing-types.xml#L2

Other commit where this issue is resolved. https://github.com/openhab/org.openhab.ui.habmin/pull/222/commits/7ec723c14f88bfc8f33915f2a045f66e14e2c2ac

kirantpatil commented 7 years ago

I can change the source code but don't know how to build this bundle and jar file.

Can you please send me the steps to create bundle and its jar file ?

kirantpatil commented 7 years ago

I am closing this right now, since I am not getting it with XBee devices.