iobroker-community-adapters / ioBroker.mqtt-client

Publish and subscribe ioBroker states to MQTT Brokers
MIT License
10 stars 10 forks source link
home-automation iobroker mqtt smarthome

Logo

ioBroker.mqtt-client

NPM version Downloads node-lts Libraries.io dependency status for latest release

GitHub GitHub repo size GitHub commit activity GitHub last commit GitHub issues GitHub Workflow Status

Versions

Beta Stable Installed

Publish and subscribe ioBroker states to MQTT Brokers

Sentry

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

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.

on disconnect topic and message

The on disconnect message is published to the on disconnect topic when the adapter stops gracefully.

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 unexpectedly.

subscriptions

Comma separated list of topics that are not covered by existing states. Received messages are converted to states within the adapter's 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

Changelog

2.0.1 (2024-09-23)

2.0.0 (2024-06-21)

1.8.0 (2024-04-07)

1.7.0 (2023-10-30)

1.6.5 (2023-09-28)

1.6.4 (2023-07-26)

1.6.3 (2022-06-16)

1.6.2 (2022-04-02)

1.6.1 (2022-02-24)

1.6.0 (2022-02-19)

1.5.0 (2022-01-26)

1.4.1 (2022-01-26)

1.4.0 (2021-07-16)

1.3.2 (2021-04-19)

1.3.1 (2020-03-17)

1.3.0 (2020-03-11)

1.2.1 (2019-10-17)

1.2.0 (2019-10-14)

1.1.1 (2018-01-30)

1.1.0 (2017-12-30)

1.0.1 (2017-11-16)

1.0.0 (2017-11-16)

0.3.2 (2016-11-18)

0.3.1 (2016-11-16)

0.3.0 (2016-09-08)

0.2.5 (2016-09-08)

0.2.0 (2016-09-08)

0.1.1 (2016-06-09)

0.1.0 (2016-06-08)

License

The MIT License (MIT)

Copyright (c) 2024, iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2016-2023 Pmant

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.