Thanks Rich, It was the reboot that was needed, not just restart of openhab…
So what is better : sendHttpPostRequest(url,timeout)
or executeCommandLine(curl, timeout)
I am running openhab as root due to GPIO, and its work with the execute binding , but the hex conversion gives me the same output no matter what I do, I assume it might be due to casting. I will investigate it further, but this might be a HUE ledstrip killer. 14USD for wio link(drive up to 5 ledstrip) or 9 USD for WIO node 1 ledstrip and ws2811 ledstrip from 3usd per meter
hexValue = Integer::toHexString( (hsbValueKitchen.red*2.55).intValue ) + Integer::toHexString( (hsbValueKitchen.green*2.55).intValue ) + Integer::toHexString( (hsbValueKitchen.blue*2.55).intValue )
ommandEvent ] - Item 'Color_RGBKitchen' received command 102,93,100
11:59:20.163 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:20.446 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:45.280 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 101,92,100
11:59:45.294 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 102,93,100 to 101,92,100
11:59:45.309 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:45.570 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 118,60,100
11:59:45.576 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 101,92,100 to 118,60,100
11:59:45.585 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:45.863 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 212,13,100
11:59:45.873 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 118,60,100 to 212,13,100
11:59:45.883 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:46.166 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 245,89,100
11:59:46.178 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 212,13,100 to 245,89,100
11:59:46.183 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:46.433 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:46.465 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 244,92,100
11:59:46.474 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 245,89,100 to 244,92,100
11:59:46.481 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:46.703 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:46.770 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 244,92,100
11:59:46.998 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:47.062 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 245,95,100
11:59:47.073 [INFO ] [marthome.event.ItemStateChangedEvent] - Color_RGBKitchen changed from 244,92,100 to 245,95,100
11:59:47.079 [INFO ] [.eclipse.smarthome.model.script.Info] - Redvalue: 255
11:59:47.298 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:47.371 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Color_RGBKitchen' received command 245,95,100
11:59:47.596 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351
11:59:48.192 [INFO ] [.eclipse.smarthome.model.script.Info] - Hexvalue: ff3351