node package manager

iobroker.mqtt-client

Logo # iobroker.mqtt-client

Adapter Settings

Adapter

on connect topic and message

The on connect message is published to the on connect topic every time the client connects or reconnects to the server.

last will topic and message

The last will message is published to the last will topic every time the client connects or reconnects to the server. The Server will store this message and send it to its subscribers when the client disconnects.

subscriptions

Comma separated list of topics that are not covered by existing states. Received messages are converted to states within the adapters namespace (e.g. mqtt.0) and subscribed. You can remove topics after all states have been created.

publish prefix

When publishing this will be prepended to all topics. Default is empty (no prefix).

subscribe prefix

When subscribing this will be prepended to all topics. Default is empty (no prefix).

State Settings

State

enabled

Enables or disables the mqtt-client functionality for this state. Disabling will delete any mqtt-client settings from this state.

topic

The topic this state is published to and subscribed from. default: state-ID converted to a mqtt topic.

publish

subscribe

Note

  • when ack is set to true it will overwrite objects ack, see as object
  • to prevent message loops, if both publish and subscribe are enabled changes only is always on for subscribe

Changelog

0.3.0 (2016-09-08)

  • (Pmant) add optional publish and subscribe prefixes

0.2.5 (2016-09-08)

  • (Pmant) reduce logging -> debug

0.2.0 (2016-09-08)

  • (Pmant) use new custom settings

0.1.1 (2016-06-09)

  • (Pmant) fix possible loop

0.1.0 (2016-06-08)

  • (Pmant) initial commit