After placing those three .jar into addons, binding works.
It can resolve test telegram and data conversion is OK. After loading test configuration (2 posts before) and creating thing in paperUI it is visible and reading correct value for new data type!
Problems started when I tried to adopt test configuration to use template.
This is test configuration with template:
{
"id": "custom-vrc700",
"vendor": "Vaillant",
"label": "Vaillant VRC 700",
"description": "Vaillant weather compensating regulation VRC 700",
"authors": ["Sinisa Mikulandra, mikulandra@inet.hr"],
"identification": ["37 30 30 30 30"],
"templates": [
{"name":"b5.tempv", "template": [
{"type": "byte", "length": "4"},
{"name": "temp", "type": "float", "label": "%s temperature", "format": "%.1f°C"}
]
}
],
"commands":
[
{
"label": "HWC",
"id": "hwc.setpoint",
"command": "B5 24",
"get": {
"master": [
{"type": "static", "default": "02 00 01 00"},
{"type": "static", "default": "04 00"}
],
"slave": [
{"type": "template-block", "id":"b5.tempv", "name":"hwc_setpoint", "label":"HWC setpoint"}
]
}
}
]
}
After restarting of binding, configuration is listed in new things page, but can’t be configured and added.
This is from openhab.log:
2018-01-11 12:07:36.901 [WARN ] [ebus.cfg.std.EBusConfigurationReader] - Property 'name' is not allowed for type 'template-block', ignore property !
2018-01-11 12:07:36.908 [ERROR] [dev.ebus.command.EBusCommandRegistry] - error!
de.csdev.ebus.cfg.EBusConfigurationReaderException: Unable to find a template-block with id b5.tempv!
I could make configuration file without using templates, but it would be wrong approach so please help.