Trying to parse Blue Iris shield state, and when you issue the following web command, it returns a simple page with text only.
http://192.168.1.31/admin?signal=7&user=#-#&pw=#-#
Returns:
<html><head></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">signal=green
profile=1
lock=0
transport=0,0/1
</pre></body></html>
I need to parse the signal= which will be green /or/ yellow /or/ red
But all the documentation shows just how to do it if there is CSS tags and the like, so not even sure how to make this work.
Even the Template page shows json tags, which doesn’t exist in this status return page.
Thank you in advance for any guidance!