add restful rpc (device)