Zwave parameter configuration in OH2

I have come up with a solution in OH2 using the REST API :relaxed::

Item

Number		node5_emb_scene

Rule

rule "Embedded RGBW modes" when
	Item node5_emb_scene changed
then
	if (node5_emb_scene.state == 6) { 
		sendHttpPutRequest("http://[OpenHAB IP]/rest/things/zwave:device:1565731f053:node5/config", "application/json", "{'config_72_1':6}")
	} else if (node5_emb_scene.state == 7) { 
		sendHttpPutRequest("http://[OpenHAB IP]/rest/things/zwave:device:1565731f053:node5/config", "application/json", "{'config_72_1':7}")
	} else if (node5_emb_scene.state == 8) { 
		sendHttpPutRequest("http://[OpenHAB IP]/rest/things/zwave:device:1565731f053:node5/config", "application/json", "{'config_72_1':8}")
	} else if (node5_emb_scene.state == 9) { 
		sendHttpPutRequest("http://[OpenHAB IP]/rest/things/zwave:device:1565731f053:node5/config", "application/json", "{'config_72_1':9}")
	} else if (node5_emb_scene.state == 10) {
		sendHttpPutRequest("http://[OpenHAB IP]/rest/things/zwave:device:1565731f053:node5/config", "application/json", "{'config_72_1':10}")
	}
end

Rotini sitemap https://github.com/igorgladkov/rotini/wiki/Scene-Widget
(You will figure it out if you are using OpenHAB sitemap)

Frame label="Kontor scener {widget:scene}" {
	Selection item=node5_emb_scene mappings=[
		"6"="Fireplace {icon:fire}",
		"7"="Storm {icon:energy}",
		"8"="Rainbow {icon:umbrella}",
		"9"="Aurora {icon:wifi}",
		"10"="Police {icon:led}"
	]
}