So i make an item this way
String MotionTest "Current Channel [%s]" { http="<http://192.168.178.36/api.cgi?cmd=GetMdState&user=admin&password=123456:1000:JS(getValue.js)]" }
but i am not good in javascript, need your help how do i parse it inside the getValue.js ?