MQTT - controlling Blue Iris

Post Reply
morten
Posts: 4
Joined: Sun Feb 09, 2020 3:05 pm

MQTT - controlling Blue Iris

Post by morten » Sun Feb 09, 2020 3:16 pm

I'm using Blue Iris together with Openhab. Sending data from Blue Iris via MQTT to Openhab works fine. I receive e.g. motion detection alerts and notification when profile is changed.

I would like to send a command to Blue Iris via MQTT, but I'm unable to find the correct format of the JSON string to send (or maybe the topic is wrong).

Example: If I use http to switch profile with: http://192.168.86.153:81/admin?profile= ... pw=xxxxxxx" it works.
If I post {"profile": 2,"user": "xyxyxyxy","pw": "xxxxxxxx"} to the topic BlueIris/admin nothing happens.

Can someone give an example of a topic and payload that works (e.g. changing profile)?

Post Reply