INSTAR Deutschland GmbHINSTAR Deutschland GmbH

ioBroker MQTT overwrites Camera Settings



Q: I installed my MQTT camera according to your guide in ioBroker. But now I am unable to access my cameras web interface. The camera no longer accepts my login.

A: Make sure that you deactivate the option to update states when a device is connecting in the MQTT adapter configuration:

INSTAR MQTT Explorer for ioBroker

This function will update your camera configuration with empty strings when ioBroker did not yet receive the actual state from your camera. This might overwrite parts of your configuration with the string ${val}. For example your username or your password might end up being substituted.

Try to login with ${val} as your password or username and see if you can access your camera. When you are back on the webUI use the Soft Reset that allows you to return your camera to it's factory default but keep your network settings.

Alternatively, you can use a tool like the MQTT Explorer or MQTT.fx to reset all affected topics.

Start by searching for topics that are set to a incorrect value - But note: when you connect to the MQTT server of your camera, you will see all status topics, except user logins! All logins are intentionally hidden. But you can find the corresponding command topics in our MQTT documentation - e.g. the camera admin login is set by system/user/admin/name and system/user/admin/password.

Once you found a problematic topic use the command topic to update it to the correct value:

INSTAR MQTT Explorer for ioBroker

Shortly after updating the command topic, the status topic should update as well:

INSTAR MQTT Explorer for ioBroker

If the object tree in ioBroker does not update, try to refresh the view manually. Or restart the MQTT Adapter or ioBroker itself:

INSTAR MQTT Explorer for ioBroker

In this example we updated the MQTT topic to enable the first alarm detection area - we can check the camera webUI to verify that the area was switched on:

INSTAR MQTT Explorer for ioBroker

But be careful when editing the values directly inside the ioBroker Object Tree! The camera only retains the values for Status Topics. If you restart the MQTT Adpater or ioBroker the Object Tree will loose all values it had for Command Topics. This does not matter during regular operations. But when you are manually updating those values, make sure that you do not click into such field and leave this field again without typing in a correct value:

INSTAR MQTT Explorer for ioBroker

Again, this would delete your camera settings...