(a) A magistrate may require as a condition of release on bond that the defendant submit to:
(1) home confinement and electronic monitoring under the supervision of an agency designated by the magistrate; or
(2) testing on a weekly basis for the presence of a controlled substance in the defendant’s body.
(b) In this article, “controlled substance” has the meaning assigned by § 481.002, Health and Safety Code.

Terms Used In Texas Code of Criminal Procedure 17.44

  • Defendant: In a civil suit, the person complained against; in a criminal case, the person accused of the crime.
  • Justice: when applied to a magistrate, means justice of the peace. See Texas Government Code 312.011

(c) The magistrate may revoke the bond and order the defendant arrested if the defendant:
(1) violates a condition of home confinement and electronic monitoring;
(2) refuses to submit to a test for controlled substances or submits to a test for controlled substances and the test indicates the presence of a controlled substance in the defendant’s body; or
(3) fails to pay the reimbursement fee for monitoring or testing for controlled substances, if payment is ordered under Subsection (e) as a condition of bond and the magistrate determines that the defendant is not indigent and is financially able to make the payments as ordered.
(d) The community justice assistance division of the Texas Department of Criminal Justice may provide grants to counties to implement electronic monitoring programs authorized by this article.
(e) The cost of electronic monitoring or testing for controlled substances under this article may be assessed as a reimbursement fee or ordered paid directly by the defendant as a condition of bond.