I want to be able to change the profile setting in Blue Iris from HABPanel. I can change that to 6 for example from Postman with stmt shown below
http://192.168.1.6:31793/admin?user=user&pw=password&profile=6
So, I try to make that happen from a rule - Lots of ways but this is best so far but no joy.
rule "OH teaching me with a stick"
when
Item ohProfileNum changed
then
var String str1
var String str2
// str1 = ("http://192.168.1.6:31793/admin?user=user&pw=password&profile=")
str2 = ohProfileNum.state.toString
sendHttpGetRequest("http://192.168.1.6:31793/admin?user=user&pw=password&profile" + str2)
logInfo(str1,str2)
end
This is what I see in the log.
2020-04-13 14:53:21.859 [ome.event.ItemCommandEvent] - Item 'ohProfileNum' received command 6
2020-04-13 14:53:21.872 [vent.ItemStateChangedEvent] - ohProfileNum changed from 4 to 6
==> /var/log/openhab2/openhab.log <==
2020-04-13 14:53:21.883 [INFO ] [admin?user=user&pw=password&profile=] - 6