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)?