Mqtt and change Shield Armed/Disarmed possible ?

Vaikis

n3wb
Aug 24, 2021
9
3
Lithuania
Hi, I was looking for mqtt commands and couldnt find any option how to change Shield status to Armed or Disarmed, maybe anybody figured out? My idea is to integrate with Openhab were I have my house security system integrated and want to sync with BI, when I go outside and arm security system need Shield to be Armed in BI.
 
From BI's Help at "HTTP Commands":

"/admin?signal=x
Changes the shield icon state and returns the current state. x=0 for red, x=1 for green, x=2 for yellow. This requires admin authentication."​

From "Authentication":

"You may add &user=username&pw=password to any HTTP request, but only if use secure session keys and login page is disabled on the Advanced page in Settings/Web server."
Summary: This code below sets shield on my BI server to red, second code sets it back to green:

Code:
http://192.168.1.239:81/admin?signal=0&user=myusername&pw=mypassword

http://192.168.1.239:81/admin?signal=1&user=myusername&pw=mypassword
 
  • Like
Reactions: Vaikis